@media(min-width: 481px){}

@media(min-width: 768px){
  /*-------------------REASSURANCES------------------*/
	.picto-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media(min-width: 1025px){
     /*------------------- BANNER ---------------------*/
  #banner::before,#banner::after {
    height: 150px;
  }
  
  /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header-coordonnees::before {
    border: 1px solid rgb(255 255 255 / 40%);
    border-top: none;
    height: calc(100% - 5px);
    box-sizing: border-box;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 59% 100%, 57% 90%, 43% 90%, 41% 100%, 0 100%);
  }

  .navigmenu .naviglink.lvl-2 span {
    padding: 0 0 0 15px;
    display: block
  }

  .navigmenu .naviglink.lvl-2 {
    text-align: left;
    padding: 10px;
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 6px;
    position: absolute;
    top: 5px;
    left: 0;
    background: var(--primary-color);
    width: var(--size);
    height: var(--size);
    border-radius: 100%
  }

  #navprimary {
    border-bottom: 1px solid rgb(255 255 255 / 40%);
    position: relative;
  }

  #infoadresse br {
    display: none;
  }

  #logoCoordonnees {
    order: 0;
    grid-row: span 2;
  }

  #header-coordonnees>:nth-child(1) {
    order: -1;
    align-items: flex-end
  }

  #header-coordonnees .right {
    order: 2
  }

  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4),
  #header-coordonnees>:nth-child(6) {
    padding: 0 24px 0 0;
    text-align: right;
  }

  #header-coordonnees>:nth-child(1) span,
  #header-coordonnees>:nth-child(4) span,
  #header-coordonnees>:nth-child(6) span {
    text-align: right;
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before,
  #header-coordonnees>:nth-child(6):before {
    right: 0;
    left: auto;
  }

  #infotelportButton {
    padding: 6px 40px 6px 20px;
  }


  #header-coordonnees #infotelportButton:before {
    right: 15px;
  }

  #logoCoordonnees>a,
  #logo>a {
    height: 110px;
    padding: 0px;
    margin: 0 auto;
    position: relative;
  }
  /*-------------------- HEADERHOME -------------------*/
  #headerHome .imageDiapo
  {
    height: 140%!important;
  }
  /*-----------------INTRO / CONTENT-----------------------*/
  .home #content
  {
    margin-top: -100Px;
    padding-top: 150Px;
  }
  .home #content .wrappercontent.medium
  {
    margin: 0 auto!important;
  }
  .home #content::before,.home #content::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    z-index: -1;
    bottom: -1px;
    height: 100%;
    background: var(--background-color);
  }
  .home #content::before
  {
    clip-path: polygon(100% 100%, 100% 25%, 50% 0, 0 25%, 0 100%);
    height: 50%;
    bottom: 50%;
  }
  .home #content::after
  {
    background: var(--secondary-color);
    z-index: -2;
    top: 0;
    bottom: initial;
    clip-path: polygon(50% 25%, 100% 0, 100% 100%, 0 100%, 0 0);
    height: 50%;
  }
  .home h1{
    max-width: 650Px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .home #content blockquote {
    margin-top: 0 !important;
  }

  .grid-img {
    gap: 3em;
  }


  .grid-img .first .wp-block-image {
    height: 440px;
  }

  .grid-img .second .wp-block-image {
    height: 299px
  }

  .grid-img .third .wp-block-image {
    margin-top: 2.5rem;
    height: 299px
  }

  .grid-img .fourth .wp-block-image {
    height: 440px
  }

  .intro-txt {
    max-width: 500px;
    margin: 0 auto 0 18% !important;
    padding-right: 20px
  }

  .intro-img {
    margin: 0 15% 0 auto !important
  }

  .intro-img .wp-block-image {
    width: 160%;
    height: 300px
  }
  /*-------------------- COMPARAISONS -------------------*/
  #comparaisons
  {
    padding-top: 0;
  }
  .widget_comparaisons, .bloc_comparaisons .wrap-element,
  .home .wp-block-essential-blocks-image-comparison, .home .eb-image-comparison-wrapper>*
  {
      min-height: clamp(500px, 70vh,700px)!important;
  }
  /*-----------------REASSURANCES-----------------------*/
	#reassurances {
		padding-top: 100Px;
		padding-bottom: 0;
	}

	#reassurances::before,
	#reassurances .overlay {
		height: 450Px;
	}

	.imgRea {
		height: 500Px;
	}

	.picto-container {
		grid-template-columns: repeat(4, 1fr);
		position: relative;
	}

	.picto-container::before {
		content: '';
		position: absolute;
		top: calc(100% + 40px);
		left: 0;
		width: 100%;
		height: 1px;
		z-index: -1;
		border-bottom: 1Px solid var(--primary-color);
	}

	.picto-container li {
		padding: 30Px;
		margin-top: -50Px;
		border-radius: 10px;
		background: var(--background-color);
		box-shadow: -10px -10px 20px #0000000f;
		position: relative;
		z-index: 1;
	}

	.picto-container li::before {
		content: '';
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		width: 1px;
		height: 57px;
		z-index: -1;
		border-right: 1Px solid var(--primary-color);
	}

	.picto-container li::after {
		content: '';
		position: absolute;
		top: calc(100% - 1px);
		left: 50.25%;
		transform: translateX(-50%);
		--size: 10px;
		width: var(--size);
		height: var(--size);
		z-index: -1;
		background: var(--primary-color);
		clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	}

	.nohome #reassurances {
		padding-bottom: 0;
	}

  /*------------PRESTATIONS------------------------*/
  .home #prestations::before,
  .home #prestations .overlay {
    top: -350Px;
    height: calc(100% + 350px);
  }

  #prestations {
    padding-top: 0px;
    padding-bottom: 140Px;
    z-index: 0;
  }

  .prestations-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: calc(100% + 100Px);
    z-index: -1;
    background: var(--secondary-color);
    transform: translateY(-50%) translateX(-50%) skewX(-10deg);
  }

  #wrapperPrestations {
    margin-left: -20%;
  }
  /*-------------------CTATOP----------------------*/
  #ctaTop
  {
    width: calc(100% - 60px);
    margin: 0 auto;
    margin-bottom: 130Px;
  }
  /*-----------------TORCH---------------------*/
  .torch {
      margin: -150px 0 0 -150px;
      --size: 300px;
      width: var(--size);
      height: var(--size);
      opacity: 1;
      /* border-radius: 50%; */
      clip-path: polygon(0 0, 40% 100%, 100% 10%);
      position: absolute;
      background: linear-gradient(to right, var(--primary-color),var(--secondary-color));
      z-index: -1;
      opacity: 0.75;
  }
  /*---------------------NEWS--------------------*/
  #news
  {
    padding-top: 0;
    margin-top: 150px;
    z-index: 2;
  }
  .formeBefore::before
  {
    clip-path: polygon(0 0, 50% 0, 60% 55%, 100% 55%, 100% 100%, 0 100%);
  }

  #news .thumbnail_slider {
    height: 700Px;
  }

  #news .content_slider {
    padding: 40Px;
  }

  #news :is(.prev, .next) {
    top: 48%;
    transform: translateY(-50%);
    padding: 40px 70px;
  }

  .wrapper_slider {
    padding: 0 50Px;
  }

  #news::before,
  #news::after {
    background: url(../images/home-bg1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 30%;
    height: 40%;
    top: 50%;
    transform: translateY(-50%);
    left: 0%;
    filter: brightness(0.5);
  }

  #news::after {
    left: initial;
    right: 0;
    background-image: url(../images/home-bg2.jpg);
  }

  #news .content_slider
  {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background: var(--background-color);
  }
  /*-----------------*/
  /* SECTIONS */
  /*-----------------*/
  #sections
  {
    padding: 100px 50px;
    padding-bottom: 30px;
  }
  #sections::before
  {
    width: calc(100% - 100px);
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 90% 0, 90% 13%, 100% 13%, 100% 100%, 15% 100%, 15% 75%, 0 75%);
  }
  #sections .section_txt .title {
    left: -25%;
    width: 122%;
    margin-bottom: 50px;
  }

  #sections .section_txt {
    padding: 50px 60px 50px 0;
  }

  .sectionsbloc {
    padding: 70px 0
  }

  #sections .section_thumb .specialthumb {
    position: absolute;
    bottom: 58px;
    left: -28px;
    width: 155px;
    height: 220px;
    border-radius: 120px 120px 0 0;
    overflow: hidden;
  }

  .sectionsbloc .wrap-text {
    padding: 0;
    max-width: 62%;
    margin-left: auto;
  }

  #sections .tertiarythumb {
    position: absolute;
    left: 0%;
    bottom: 6%;
    width: 29.5%;
    height: 34%;
  }

  /*---------------VIDEO----------------*/
  #video
  {
    width: calc(100% - 60px);
    margin: 0 auto;
    margin-bottom: 50px;
  }
  /*---------------FOOTER----------------*/
   .home #footer {
    margin-top: -100px;
  }

  #menu-footer .menu-item {
    padding: 5Px;
  }

  #footerbloc::before {
    clip-path: polygon(0 0, 23% 0, 25% 10%, 100% 10%, 100% 100%, 0 100%);
  }

  #footer {
    margin-top: -50px;
  }

  #footer #footerbloc {
    padding-top: 60px;
  }
}

@media(min-width: 1281px){
      /*------------------- INTRO / CONTENT ---------------------*/
  .home #content::before,
  .home #content::after
  {
    height: 99%;
    bottom: 0;
  }
  .home #content {
    margin-top: -150Px;
  }
  /*------------------- REASSURANCES ---------------------*/
	.picto-container li {
		border-radius: 50%;
		--size: 200px;
		width: var(--size);
		height: var(--size);
		display: grid;
		align-items: center;
		justify-items: center;
		align-content: center;
		padding: 20px 10px;
	}

	.picto-container li p {
		margin-top: 20px;
	}
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt {
	  padding: 100px 110px 100px 0;
	}

	#sections .tertiarythumb{
	  width: 34.5%;
	  height: 60%;
	}

	.sectionsbloc .wrap-text {
	  max-width: 52%;
	}

	#sections .section_thumb .specialthumb {
	  left: -98px;
	  width: 225px;
	  height: 280px;
	}
}

@media(min-width: 1481px){
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt {
	  padding: 70px 150px 100px 0;
	}
  	/*------------------- REASSURANCES ---------------------*/
	#reassurances {
		padding-top: 300Px;
	}

	#reassurances::before,
	#reassurances .overlay {
		height: 600Px;
		clip-path: polygon(0 0, 0 100%, 10% 100%, 12% 95%, 88% 95%, 90% 100%, 100% 100%, 100% 0);
		width: calc(100% - 40px);
		left: 50%;
		transform:translateX(-50%);
	}
}

@media(min-width: 1681px){}

@media(max-width: 1680px){}

@media(max-width: 1480px){
  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/

  #contentPrestations:before {
    width: 85%;
  }

  #choixPrestations {
    width: 220px;
  }
}

@media(max-width: 1280px){
    /*-----------------*/
  /* HEADER + NAVPRIMARY */
  /*-----------------*/
  #header:before {
    right: 5%;
    left: 5%;
  }

  .navigmenu .navbloctitle {
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@media(max-width: 1024px){
/*---------------HEADER---------------------*/
  #header {
    padding: 0;
  }

  #logoCoordonnees img {
    max-width: 200px;
  }

  .navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
    bottom: 0;
  }

  #header-coordonnees>div {
    margin: 10px auto;
  }

  #logoCoordonnees>a,
  #logo>a {
    padding-top: 10Px;
  }

  #logo {
    position: relative;
  }

  .navigmenu .naviglink span {
    padding: 5px 0;
  }

  .menuarticle,
  .navigmenu .navbloctitle {
    display: none;
  }

  #header:before {
    bottom: 72px;
    left: 35px;
    right: 35px;
  }

  body:not(.is-toggle-open) #header .ckmenu {
    position: relative;
    z-index: 1000
  }

  .logoParent {
    display: none;
  }

  #header .ckmenu-nav {
    top: 0;
    padding-top: 50px
  }

  #headerGrid {
    align-items: start;
  }

  #header-coordonnees {
    pointer-events: none;
  }

  #header-coordonnees>* {
    pointer-events: all;
  }
  /*-------------------MDTAC---------------------*/
  .md-tac {
    text-align: center;
  }

  .title.md-tac:not(.no-after):after {
    left: 50%;
    transform: translateX(-50%);
  }
    /*------------------- HEADERHOME ---------------------*/
  #headerHome-accroche
  {
    min-height: 80px;
    display: grid;
    align-items: center;
    justify-items: center;
  }
  .widget_certifications li .wrap-element
  {
    --size: 100px;
      width: var(--size)!important;
      height: var(--size)!important;
  }
  /*-------------------- MOT -------------------*/
  .reaSvg
  {
    position: static;
  }

  /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/
  #prestations {
    overflow: hidden;
  }

  #choixPrestations {
    width: 100%;
    display: grid;
    justify-content: center;
  }

  #choixPrestations .linkPresta p {
    padding: 10px 12px;
    line-height: 1.3;
    font-size: 14px;
    text-align: center;
    letter-spacing: .5px;
  }

  #choixPrestations .linkPresta p:before {
    width: 2px;
    top: 100%;
    height: 100%;
    right: auto;
    left: 50%;
    margin-left: -1px;
  }

  #contentPrestations {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: 700Px;
  }

  #contentPrestations:before {
    content: none;
  }

  .prestations-wrapper {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .prestations-img {
    width: 100%;
    min-width: auto;
    height: 200px;
  }

  .prestations-content {
    padding: 30px 16px;
    background: var(--black);
    width: 100%;
  }

  #wrapperPrestations {
    flex-direction: column;
    grid-gap: 50px;
    margin-top: 0px;
  }
     /*------------------CTATOP----------------------*/
   #ctaTop .title
   {
     margin-bottom: 50px;
   }
   #ctaTop .wrappercontent{
     max-width: 500Px;
   }
   .textPartCta blockquote
   {
    max-width: 250px;
    margin: 0 auto!important;
   }
    /*------------------SECTIONS-----------------*/
  .wrap-text
  {
    max-width: 700Px;
    margin: 0px auto;
  }

  #choixSections {
    display: none;
  }

  #sections .sectionsbloc {
    flex-direction: column;
    display: flex;
  }

  #sections .section_thumb {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    margin: 0 auto;
    max-width: 700Px;
    width: 100%;
    gap: 10px;
    padding: 0 20px;
    z-index: 1;
    margin-bottom: -150px;
  }
  #sections .tertiarythumb {
    height: 300px;
    order: -1;
  }
  .section_txt
  {
    display: grid;
  }
  .sectionsbloc
  {
    position: relative;
  }
  .sectionsbloc.section_num0{z-index: 4;}
  .sectionsbloc.section_num1{z-index: 3;}
  .sectionsbloc.section_num2{z-index: 2;}

  .sectionsbloc.section_num2{
    margin-top: 200px;
  }
  #sections
  {
    margin-bottom: 200Px;
  }

  .sectionsbloc.section_num2 .tertiarythumb,
  .sectionsbloc.section_num2 .blocthumb{
      display: none;
  }
    #sections .sectionsbloc.section_num2 .section_thumb{
        display: block;
        margin-bottom: 0;
    }



        /*------------------FOOTER---------------------*/
  .wrapBas {
    padding: 20Px;
    padding-top: 30px;
  }

  .coordWrap .title,
  #footerLogo {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 40px
  }

  .sociblock .share-buttons {
    justify-items: center;
    justify-content: center;
  }
}

@media(max-width: 767px){
  
    /*-----------------*/
  /* PRESTATIONS */
  /*-----------------*/

  #choixPrestations {
    /* border-left: 2px solid #ebebeb; */
    border-right: 0;
    text-align: left;
    flex-direction: column;
  }

  #choixPrestations .linkPresta p {
    padding: 10px 15px;
    line-height: 1.8;
    text-align: left;
    font-size: 15px;
  }

  #choixPrestations .linkPresta p:before {
    width: 2px;
    left: -1px;
    right: auto;
    top: 0;
    height: 100%;
  }
  /*-----------------*/
  /* HEADER */
  /*-----------------*/

  #logoCoordonnees>a {
    width: 140px;
  }

  #header:before {
    bottom: 48px;
  }
  /*-------------------- MOT -------------------*/
  #lebonpro
  {
    display: inline-grid;
    align-items: center;
    align-content: center;
    justify-items: center;
  }
}

@media(max-width: 480px){
   /*----------------PRESTATIONS--------------------------*/
  #choixPrestations .linkPresta>.big {
    font-size: 1.25em;
  }
}