:root {
  --primary-h: 43; /* hue */
  --primary-s: 40%; /* saturation */
  --primary-l: 68%; /* luminosity */

  --accent-h: 43; /* hue */
  --accent-s: 40%; /* saturation */
  --accent-l: 68%; /* luminosity */

  --text-h: 0; /* hue */
  --text-s: 0%; /* saturation */
  --text-l: 33%; /* luminosity */

  --background-h: 0; /* hue */
  --background-s: 0%; /* saturation */
  --background-l: 100%; /* luminosity */

  --primary-font: "Mulish", sans-serif;
  --secondary-font: "Noto Serif", serif;

  --h1-font-size: 54px;
  --h2-font-size: 40px;
  --h3-font-size: 32px;
  --headings-line-height: 1.333333;

  --link-color: var(--primary-color-40);

  --border-radius: 2rem;
  --button-border-radius: 6px;

  --img-slide-01: url("../../../../public/assets/gifs/slider/slide-01.jpg");
  --img-slide-02: url("../../../../public/assets/gifs/slider/slide-02.jpg");
  --img-slide-03: url("../../../../public/assets/gifs/slider/slide-03.jpg");
}

@media only screen and (min-width: 601px) {
  /* ANIMATION */
  /*
==============================================
slideDown
==============================================
*/
  .fade {
    display: none;
  }
  .slideDown.animated {
    -webkit-animation-name: slideDown;
    animation-name: slideDown;

    -webkit-animation-duration: 1s;
    animation-duration: 1s;

    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
  }

  @keyframes slideDown {
    0% {
      transform: translateY(-4rem);
      opacity: 0;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @-webkit-keyframes slideDown {
    0% {
      -webkit-transform: translateY(-4rem);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      opacity: 1;
    }
  }

  /*
==============================================
slideUp
==============================================
*/

  .slideUp.animated {
    -webkit-animation-name: slideUp;
    animation-name: slideUp;

    -webkit-animation-duration: 1s;
    animation-duration: 1s;

    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
  }

  @keyframes slideUp {
    0% {
      transform: translateY(4rem);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @-webkit-keyframes slideUp {
    0% {
      -webkit-transform: translateY(4rem);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      opacity: 1;
    }
  }

  /*
==============================================
fadeIn
==============================================
*/

  .fadeIn.animated {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;

    -webkit-animation-duration: 1s;
    animation-duration: 1s;

    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  @keyframes fadeIn {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      -webkit-transform: scale(0.95);
      opacity: 0;
    }
    100% {
      -webkit-transform: scale(1);
      opacity: 1;
    }
  }

  /*
==============================================
Masquer les éléments animés au scroll avant
le déclenchement de l'animation
==============================================
*/

  .onScroll {
    opacity: 0;
  }

  .animated {
    opacity: initial;
  }

  /*
==============================================
Ajouter un délai
==============================================
*/

  [class*="delay"] {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }

  .delay200 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
  }

  .delay400 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
  }

  .delay600 {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }

  .delay800 {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
  }
}

/* BRAND */
/* ===== */

header .brand img.footer-only,
footer .brand img.header-only,
.rappel_telephonique .brand img.footer-only {
  display: none;
}

/* typo titres */
h1,
h2,
.title-2,
h3 {
  font-family: var(--secondary-font);
}

/* BTN */
.btn-contact span {
  background-color: var(--text-color);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: 19px;
  padding: 1px;
  margin-right: 10px;
}
.btn-contact {
  width: max-content;
}
.btn-contact a {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 30px;
  font-size: 14px;
}
.btn.accent {
  color: var(--text-color);
}

#encart-contact .btn-contact a {
  background-color: var(--primary-color);
}
#encart-contact .btn.accent {
  color: var(--background-color);
}
#encart-contact .btn-contact span {
  background-color: var(--background-color);

  color: var(--primary-color);
}

/* HEADER/NAV */

#main-nav ul li a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}
@media only screen and (min-width: 993px) and (max-width: 1050px) {
  .header-content .nav#main-nav > ul > li > a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media only screen and (min-width: 993px) {
  .main-header-content .row {
    height: 100px;
    position: relative;
  }
}

.main-header-content .brand-container {
  height: 170px;
  background-color: #eeeff6;
  padding: 16px 0;
  position: absolute;
  left: 0;
  top: -50px;
  z-index: 2;
}
.main-header-content .brand {
  position: relative;
  height: 100%;
}
.main-header-content .brand::before {
  content: "";
  position: absolute;
  background-color: #eeeff6;
  transform: skew(-16deg);
  height: 148%;
  width: 100%;
  left: 50px;
  top: -50px;
}
.main-header-content .brand::after {
  content: "";
  position: absolute;
  background-color: #eeeff6;

  height: 148%;
  width: 800%;
  right: 0;
  top: -50px;
  z-index: -1;
}
.brand img {
  height: 150px;
  width: auto;
}
header .lien-maps br {
  display: none;
}
header .lien-maps:hover,
footer .lien-maps:hover,
footer address.coordonnee-mail a:hover {
  opacity: 0.75;
}
.top-bar {
  padding: 10px 0;
}
.top-bar .row .col.desktop-only {
  display: flex;
  align-items: center;
}
.topbar-brand .brand img {
  height: 50px;
  background-color: var(--background-color);
}

.top-bar .row .col.desktop-only span {
  padding-right: 8px;
}

.top-bar .row .col.desktop-only:not(:last-child) {
  border-right: 1px solid var(--background-color);
}
@media only screen and (max-width: 992px) {
  .top-bar .reseaux-sociaux,
  .top-bar .col.desktop-only.coordonnes {
    display: none;
  }
  .top-bar .col.bold.desktop-only {
    justify-content: center;
  }
}
#main-nav li.sous_menu.opened.selected > a,
#main-nav li.sous_menu.opened > a {
  background-color: transparent;
  color: var(--text-color);
  padding-left: 1.5rem;
}

/* MENU MOBILE */
.menu-mobile {
  background-color: var(--background-color);
}

#menu-burger,
#menu-back,
.menu-title {
  color: var(--text-color);
}
@media only screen and (max-width: 992px) {
  .header-content .nav#main-nav li:not(.opened) a.selected {
    color: var(--text-color);
  }
}

/* SLIDER */
.slider-slick {
  display: block;
  height: 100%;
}
.slide-img {
  padding-top: 120px;
  padding-bottom: 200px;
  background-position: 75% center;
  position: relative;
}
.slide-img::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.534);
  top: 0;
  left: 0;
  z-index: 0;
}
.slide-content {
  z-index: 2;
}
.slide-content .welcome {
  font-family: var(--secondary-font);
  font-style: 22px;
  font-weight: 500;
}

.slide-content h1 span {
  font-family: var(--secondary-font);
  font-size: var(--h2-font-size);
}

@media only screen and (max-width: 992px) {
  .slide-img {
    padding-top: 60px;
  }
}
.slick-autoplay-toggle-button {
  display: none;
}
.slick-slider {
  margin-bottom: 0;
}

/* BLOCS */
@media only screen and (max-width: 992px) {
  .title-avocat p {
    padding-top: 12px;
  }
}

.title-avocat p {
  margin-bottom: 0;
}
#bloc-01 {
  padding: 0;
}
#bloc-01 .h1-geoloc,
#bloc-01 span {
  margin: 0;
}
#bloc-02 {
  padding: 0;
}
#bloc-02 .row.l-stretch {
  background-color: var(--background-color);
  padding: 60px;
  margin-top: -200px;
  position: relative;
  z-index: 1;
}
#bloc-02 .col.s12.l6:last-child {
  position: relative;
}
#bloc-02 .col.s12.l6:last-child::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  height: 1px;
  width: 70%;
  top: 0;
  left: 15px;
}
@media only screen and (min-width: 993px) {
  #bloc-02 .col.s12.l6:last-child::after {
    position: absolute;
    content: "";
    background-color: var(--primary-color);
    height: 2px;
    width: 70px;
    top: 16%;
    left: -20%;
  }
}
@media only screen and (max-width: 992px) {
  #bloc-02 .row.l-stretch {
    padding: 20px;
    margin-top: -100px;
  }
}

#bloc-03 .col.s12.l8 {
  position: relative;
}

#bloc-03 .col.s12.l8::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  height: 1px;
  width: 120%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (max-width: 992px) {
  #bloc-03 .col.s12.l8::before {
    width: 80%;
  }
}

#bloc-05 {
  background: linear-gradient(
      90deg,
      rgba(206, 188, 141, 0.85) 0%,
      rgba(206, 188, 141, 0.85) 80%
    ),
    url(../assets/gifs/bloc-05-bg.jpg);
  padding-top: 250px;
  padding-bottom: 50px;
  background-repeat: no-repeat;
  background-size: cover;
}

#bloc-05 .col.s12 {
  display: flex;
  align-items: center;
}

#bloc-05 .col h2 {
  width: 330%;
}
#bloc-05 .col p {
  padding-left: 40px;
  margin: 0;
}
@media only screen and (max-width: 992px) {
  #bloc-05 .col.s12 {
    padding-top: 24px;
    flex-direction: column;
    text-align: center;
  }
  #bloc-05 .col p {
    padding-left: 0px;
  }
}
#bloc-06-07-wrapper {
  padding: 120px 0;
  background-color: #f3f2f2;
}
@media only screen and (max-width: 992px) {
  #bloc-06-07-wrapper {
    padding: 60px 0;
  }
}
#bloc-06 {
  padding-top: 0;
}
#bloc-06 .title-avocat p {
  margin-top: 30px;
}
#bloc-06 .row {
  position: relative;
}
/* before > voir avec encart presta  */
#bloc-07 {
  padding: 0;
}
/* #bloc-08 .row.l-stretch .col.s12 {
  display: flex;
  flex-direction: row;
  align-items: center;
} */

/* #bloc-08 p {
  column-count: 2;
  column-gap: 60px;
  padding-left: 40px;
  margin: 0;
} */

#bloc-09 {
  padding: 90px 0;
  background: linear-gradient(
      90deg,
      rgba(206, 188, 141, 0.85) 0%,
      rgba(206, 188, 141, 0.85) 80%
    ),
    url(../assets/gifs/bloc-09-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#bloc-09 .row.l-stretch {
  flex-direction: column;
  align-items: center;
}
@media only screen and (max-width: 992px) {
  #bloc-09 .row .col:first-child {
    display: flex;
  }
}

#bloc-09 .row .col img,
#encart-contact .card img {
  border-radius: 50%;
  overflow: hidden;
  height: 110px;
  width: auto;
  aspect-ratio: 1/1;
  margin: auto;
}

/* CONTACT */
.index-page #encart-contact {
  margin-bottom: -285px;
}
#encart-contact {
  display: flex;
  justify-content: center;
}
#encart-contact .card img {
  margin: 0;
}
#encart-contact .row {
  background-color: #f3f2f2;
  border-radius: 5px;
  box-shadow: 0px 0px 5.5px 0px rgba(226, 213, 202, 0.25);
  padding: 70px 40px;
  width: 80%;
  max-width: 1200px;
}
#encart-contact .row .col {
  display: flex;
  align-items: flex-end;
}
#encart-contact .title-4 {
  font-family: var(--secondary-font);
  font-size: 40px;
  color: var(--primary-color);
}
#encart-contact .tel {
  font-size: 29px;
  color: var(--primary-color);
}
@media only screen and (max-width: 600px) {
  #encart-contact .row .col {
    flex-direction: column;
    align-items: center;
  }
}

/* PRESTATIONS */
#encart-prestations {
  margin: 120px 0;
  padding: 30px 0 0 0;
  position: relative;
}
@media only screen and (max-width: 992px) {
  #encart-prestations {
    margin: 60px 0;
  }
}

#encart-prestations::before,
#bloc-06 .row::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  height: 1px;
  width: 80%;
  max-width: 1000px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
#encart-prestations .title-avocat,
#encart-prestations .title-avocat p {
  margin: 0;
}
.prestations-card {
  background-color: #f3f2f2;
  border-radius: 5px;
  box-shadow: 0px 0px 5.5px 0px rgba(226, 213, 202, 0.25);
  padding: 40px 20px;
  aspect-ratio: 1/1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
}
.prestations-card-content {
  padding-top: 25px;
}
.prestations-card p {
  margin: 0;
}
.prestations-card-image:hover {
  transform: scale(1.1);
  transition: ease-in 0.3s;
}
.prestations-card-title a {
  text-decoration: none;

  font-family: var(--secondary-font);
  color: #272b2e;
  font-weight: bold;
  font-size: 24px;
}
.prestations-card-title a:hover {
  color: var(--primary-color);
}
/* ACTUS*/
#encart-actualites {
  padding-bottom: 120px;
}

#encart-actualites .title-avocat {
  position: relative;
}
#encart-actualites .title-avocat::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  height: 1px;
  width: 80%;
  max-width: 1000px;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (max-width: 992px) {
  #encart-actualites {
    padding-bottom: 60px;
  }
}
.actualites-card,
.actualites-card a {
  position: relative;
}

.actualites-card a::after {
  content: "";
  position: absolute;
  background-color: rgb(206 188 141 / 81%);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.actualites-card a:hover::after {
  content: "";
  position: absolute;
  background-color: #000000ce;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.actualites-card a:hover::before {
  content: "+";
  position: absolute;
  color: var(--background-color);

  font-size: 120px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.actualites-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 30px 30px 20px;
  width: 100%;
}
.actualites-card-title {
  font-family: var(--secondary-font);
  font-size: 24px;
  font-weight: bold;
  color: var(--background-color);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--background-color);
  width: 100%;
}
.actualites-card-date {
  color: var(--background-color);
  margin-top: 15px;
}
.actualites-card-date span {
  border-right: 1px solid var(--background-color);
  padding-right: 12px;
  margin-right: 12px;
}

.actualites-encart-btn {
  display: flex;
  justify-content: flex-end;
}

.actualites-encart-btn .btn.outlined {
  border: none;
  padding: 0 0 30px;
  color: var(--primary-color);
  position: relative;
  overflow: visible;
}
.actualites-encart-btn .btn.outlined::before {
  position: absolute;
  content: "";
  background-color: var(--primary-color);
  height: 2px;
  width: 18px;
  top: 25%;
  transform: translateX(-25%);
  right: -30px;
  z-index: 1;
}
.actualites-encart-btn .btn.outlined:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media screen and (min-width: 601px) {
  .container_actualite .recherche_actu #recherche_actu_submit {
    width: 3rem;
    padding: 0.5rem;
  }
}

/* FOOTER */
footer {
  overflow-x: hidden;
}
@media only screen and (max-width: 992px) {
  footer .content-wrapper,
  footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer nav ul,
  footer .row .col.m3,
  footer .footer-content .row.m-start.m-top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer address.coordonnee-mail {
    width: max-content;
  }
  footer .title-3 {
    padding-bottom: 15px;
    padding-top: 30px;
  }
}

@media only screen and (max-width: 600px) {
  footer .row.m-middle {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  footer .footer-content,
  footer .footer-content .row .col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .footer-content nav ul li::before {
    display: none;
  }
}
footer .content-wrapper .col.m3:first-child {
  background-color: var(--background-color);
}
footer .content-wrapper .col.m3:first-child,
footer .content-wrapper .col.m3:last-child {
  position: relative;
  z-index: 1;
}

@media only screen and (min-width: 993px) {
  footer .content-wrapper .col.m3:first-child::before {
    content: "";
    position: absolute;
    background-color: var(--background-color);
    height: 100%;
    width: 2000px;
    top: 0;
    left: -1990px;
    z-index: 0;
  }
  footer .content-wrapper .col.m3:last-child::before {
    content: "";
    position: absolute;
    background-color: var(--background-color);
    height: 100%;
    width: 2000px;
    top: 0;
    right: -1990px;
    z-index: 0;
  }
}
footer .section {
  padding: 60px 0 0 0;
}
footer .content-wrapper {
  padding-bottom: 40px;
}

footer .coordonnee-mail .gtm-global-email {
  text-decoration: none;
}
footer .col.m4 .contact-infos:hover {
  color: white;
  opacity: 0.75;
}

footer .title-3 {
  margin: 0;
  padding-bottom: 30px;
  font-family: var(--secondary-font);
}
footer .footer-content .row .col {
  padding-right: 0;
  padding-left: 0;
}
footer nav a:hover {
  color: white;
}
footer .footer-content nav {
  padding-right: 2rem;
}
footer .footer-content nav ul {
  margin: 0;
}

footer .footer-content nav ul li,
footer .contact-infos {
  padding-bottom: 14px;
}
footer .footer-content nav ul li span,
footer .contact-infos span:not(.lien-maps) {
  font-size: 24px;
  padding-right: 10px;
}
footer .footer-content a,
footer .contact-infos {
  display: flex;
  flex-direction: row;
  align-items: center;
}
footer .footer-content a {
  width: max-content;
}
footer .col .siret {
  padding: 30px 0;
}
footer .siret-wrapper {
  position: relative;
}
footer .siret-wrapper:before {
  content: "";
  position: absolute;
  border-bottom: 1px solid var(--background-color);
  height: 100%;
  width: 75%;
  top: -100%;
  left: 0;
}
@media only screen and (max-width: 992px) {
  footer .siret-wrapper:before {
    width: 100%;
  }
  footer .section {
    padding: 30px 0 0 0;
  }
  footer .content-wrapper {
    padding-bottom: 20px;
  }
}

/* PAGE CONTACT */
body.contact-page table.horaires tr td:first-child {
  padding-right: 8px;
}
@media only screen and (max-width: 600px) {
  .contact-page .row.s-start.s-stretch {
    padding-top: 16px;
  }
}

/* MODIF SLICK DOTS */

.slick-dots li button .slick-dot-icon:before {
  font-size: 15px;
}

/* politique de confidentialite */
#confidentialite .btn-contact {
  padding-top: 12px;
}
