section[class^="home"] {
  padding: 40px 0;
}

@media (min-width: 768px) {
  section[class^="home"] {
    padding: 50px 0;
  }
}

.home #wrapper {
  padding-top: 0;
}

/* Section 1 */
.home-s1__sliderItem {
  position: relative;
}

@media (min-width: 768px) {
  .home-s1__sliderItem {
    aspect-ratio: 11 / 5;
  }
}

@media (max-width: 767px) {
  .home-s1__sliderItem>img {
    aspect-ratio: 390 / 354;
    object-position: right;
  }
}

@media (min-width: 768px) {
  .home-s1__sliderItem>img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
  }
}

.home-s1__subtitle {
  background-color: var(--white);
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: var(--light);
  -webkit-box-shadow: 5px 1px 0px 3px var(--white), -5px 1px 0px 3px var(--white);
  box-shadow: 5px 1px 0px 3px var(--white), -5px 1px 0px 3px var(--white);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 1200px) {
  .home-s1__subtitle {
    font-size: 2.1rem;
  }
}

.home-s1_desc {
  margin-top: -28px;
}

@media (min-width: 768px) {
  .home-s1_desc {
    padding: 40px 0;
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .home-s1_desc {
    padding: 74px 0;
  }
}

.home-s1_desc h1,
.home-s1_desc .like-h1 {
  font-family: 'permanent marker', sans-serif;
  font-size: 6rem;
  line-height: 67%;
  margin-bottom: 40px;
}

@media (min-width: 1200px) {

  .home-s1_desc h1,
  .home-s1_desc .like-h1 {
    font-size: 12rem;
    line-height: 75%;
    margin-bottom: 92px;
  }
}

@media (max-width: 1199px) {

  .home-s1_desc h1,
  .home-s1_desc .like-h1 {
    margin-top: 20px;
  }
}

.home-s1_desc>a {
  font-weight: var(--bold);
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: 4px;
  transition: all .2s;
  background-color: var(--color-primary);
  margin-bottom: 46px;
  display: inline-block;
  color: var(--white);
}

@media (min-width: 768px) {
  .home-s1_desc>a.btn-border-blue {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    margin-bottom: 0;
    background-color: transparent;
  }

  .home-s1_desc>a.btn-border-white {
    border: 1px solid var(--white);
    color: var(--white);
    margin-bottom: 0;
    background-color: transparent;
  }

  .home-s1_desc>a.btn-border-blue:hover {
    background-color: var(--color-primary);
    color: var(--white);
  }

  .home-s1_desc>a.btn-border-white:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
  }
}

.home-s1__product-item {
  position: relative;
  aspect-ratio: 326 / 305;
}

@media (min-width: 768px) {
  .home-s1__product-item {
    aspect-ratio: 326 / 296;
  }
}

.home-s1__product-item--2 {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.home-s1__product-picture--1 {
  position: absolute;
  bottom: -27px;
  right: -33px;
  filter: blur(3px);
  transform: rotate(-15deg);
  z-index: 1;
}

.home-s1__product-picture--2 {
  position: absolute;
  top: 0;
  left: 0;
}

.home-s1__product-title {
  z-index: 2;
  position: relative;
}

.home-s1__product-title--1 {
  padding: 48px 0 0 40px;
}

.home-s1__product-title--2 {
  padding: 0 28px 34px 0;
}

.home-s1__product-title h3 {
  font-family: 'permanent marker';
  font-size: 3.5rem;
  color: var(--blue-dark);
  margin-bottom: 0;
  line-height: 145%;
}

.home-s1__product-title>a {
  padding: 10px 12px;
}

.slider-header {
  margin: 0 -30px 46px;
}

@media (min-width: 768px) {
  .slider-header {
    margin: 0 0 14px;
  }
}

.home-s1__otherProduct {
  background-color: var(--color-primary);
  padding: 14px 25px 28px;
}

@media (min-width: 768px) {
  .home-s1__otherProduct {
    padding: 12px 46px 44px;
  }
}

.home-s1__otherProduct p {
  font-family: 'permanent marker', sans-serif;
  color: var(--white);
  font-size: 3.5rem;
  line-height: 145%;
  margin-bottom: 24px;
}

.home-s1__productCat--1 {
  padding: 0;
  margin-bottom: 17px;
}

@media (min-width: 768px) {
  .home-s1__productCat--1 {
    padding: 0 9px 0 0;
    margin-bottom: 0;
  }
}

.home-s1__productCat--2 {
  padding: 0;
}

@media (min-width: 768px) {
  .home-s1__productCat--2 {
    padding: 0 0 0 9px;
  }
}

.home-s1__productCat-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.home-s1__otherProduct ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
}

@media (max-width: 767px) {
  .home-s1__otherProduct ul {
    flex-direction: column;
  }
}

.home-s1__otherProduct ul li {
  flex: 0 0 33.33%;
  padding: 0;
}

#wrapperInner .home-s1__otherProduct ul li::before {
  content: unset;
}

.home-s1__otherProduct ul li a {
  color: var(--white);
  font-size: 1.6rem;
  transition: color .2s;
}

.home-s1__otherProduct ul li a:hover {
  color: var(--yellow-dark);
}

.home-s1__product--left {
  padding: 0 8px 0 0;
}

.home-s1__product--right {
  padding: 0 0 0 8px;
}

.home-s1__product {
  display: flex;
  flex-wrap: wrap;
}

.home-s1__productCat--3 {
  position: relative;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 992px) {
  .home-s1__productCat--3 {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .home-s1__productCat--3 {
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .home-s1__productCat--3 {
    aspect-ratio: 326 / 388;
  }
}

.home-s1__product-picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-s1__product-title--3 {
  padding: 0 0 79px 31px;
}

@media (min-width: 768px) {
  .home-s1__product-title--3 {
    padding: 0 0 40px 32px;
  }
}

@media (min-width: 992px) {
  .home-s1__product-title--3 {
    padding: 0 0 102px 32px;
  }
}

.home-s1__product-title--3 h3 {
  color: var(--white);
}

.home-s1__product-picture--3 {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: 200px;
}

section.home-s1 {
  padding-top: 0;
}

/* section 2 */
.home-s2_product {
  padding-left: 30px;
}

@media (min-width: 768px) {
  .home-s2_product {
    padding-left: calc((100vw - 720px)/2);
  }
}

@media (min-width: 992px) {
  .home-s2_product {
    padding-left: calc((100vw - 1140px)/2);
  }
}

@media (min-width: 1200px) {
  .home-s2_product {
    padding-left: calc((100vw - 1140px)/2);
  }
}

.slider-product .slick-list {
  padding: 0 10% 30px 0;
}

.slider-product .media:hover {
  box-shadow: none;
}

.slider-product .media .media-content::before {
  content: unset;
}

.slider-product button.slick-arrow {
  top: 100%;
  transform: initial;
}

.slider-product button.slick-arrow.slick-prev {
  right: initial;
  left: -39px;
}

@media (min-width: 768px) {
  .slider-product button.slick-arrow.slick-prev {
    /* 64vw: largeur de l'image de fond */
    right: calc(100vw - 64vw);
    left: initial;
  }
}

@media (min-width: 768px) {
  .slider-product button.slick-arrow.slick-prev::before {
    color: var(--white);
  }
}

.slider-product button.slick-arrow.slick-next {
  right: 0;
  left: initial;
}

@media (min-width: 768px) {
  .slider-product button.slick-arrow.slick-next {
    /* 64vw: largeur de l'image de fond */
    right: calc(100vw - 64vw);
    transform: translateX(100%);
  }
}

@media (max-width: 767px) {
  .slider-product button.slick-arrow {
    width: 130px;
    height: 130px;
  }

  .slider-product button.slick-arrow::before {
    font-size: 35px;
  }
}

.tease__product-home {
  margin: 0 8px;
}

.tease__product-home .media-content {
  min-height: 206px;
}

@media (min-width: 768px) {
  .tease__product-home .media-content {
    min-height: 202px;
  }
}

@media (min-width: 1500px) {
  .tease__product-home .media-content {
    min-height: 180px;
  }
}

@media (max-width:991px) {
  .tease__product-home .media-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .tease__product-home .media-content a.button {
    margin-top: auto;
  }
}

a.tease__product-homeMore {
  display: flex;
  align-items: center;
  color: var(--color-primary);
}

.tease__product-homeMore span.icon-plus {
  width: 14px;
  height: 14px;
  display: inline-flex;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: var(--white);
  font-size: 6px;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
}

.tease__product-homeMore span:not(.icon-plus) {
  text-decoration: underline;
}

section.home-s2 {
  position: relative;
  padding-bottom: 130px;
}

.home-s2>img {
  display: none;
}

@media (min-width: 768px) {
  .home-s2>img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 64vw;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

@media (min-width: 768px) {
  .home-s2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64vw;
    height: 100%;
    background-color: var(--yellow);
    z-index: -1;
  }
}

/* Section 3 */
.home-s3 h2 {
  font-size: 2.2rem;
  font-weight: var(--regular);
}

@media (min-width: 768px) {
  .home-s3 h2 {
    font-size: 4rem;
  }
}

.home-s3 h2 strong {
  font-family: 'permanent marker', sans-serif;
  font-size: 3rem;
}

@media (min-width: 768px) {
  .home-s3 h2 strong {
    font-size: 6rem;
  }
}

.home-s3__tribu-picture {
  aspect-ratio: 1 / 1;
}

.home-s3__tribu-desc {
  position: relative;
  text-align: center;
  padding-bottom: 20px;
  margin-top: -75px;
  z-index: 1;
}

.home-s3__tribu-desc>svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.home-s3__tribu-title {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: var(--bold);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .home-s3__tribu-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 767px) {
  .home-s3__tribu-title {
    line-height: 120%;
  }
}

.home-s3__tribu-title--black {
  color: #c3c3c3;
}

.home-s3__tribu-title--green {
  color: #F3E75F;
}

.home-s3__tribu-title--red {
  color: var(--pink);
}

.home-s3__tribu-title--yellow {
  color: #72e001;
}

.home-s3__tribu-title strong {
  font-size: 2rem;
  font-family: 'permanent marker', sans-serif;
  color: var(--white);
  line-height: 64%;
}

@media (min-width: 768px) {
  .home-s3__tribu-title strong {
    font-size: 5rem;
  }
}

.home-s3__tribu-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .home-s3__tribu-icon {
    width: 86px;
    height: 86px;
  }
}

@media (max-width: 767px) {
  .home-s3__tribu-icon--grey img {
    max-width: 20px;
  }

  .home-s3__tribu-icon--green img {
    max-width: 35px;
  }

  .home-s3__tribu-icon--red img {
    max-width: 33px;
  }

  .home-s3__tribu-icon--yellow img {
    max-width: 17px;
  }
}

.home-s3__tribu-icon--grey {
  background-color: #C3C3C3;
}

.home-s3__tribu-icon--green {
  background-color: #F3E75F;
}

.home-s3__tribu-icon--red {
  background-color: var(--pink);
}

.home-s3__tribu-icon--yellow {
  background-color: #72e001;
}

.home-s3__tribu-item {
  padding: 0 8px;
}

@media (max-width: 991px) {
  .home-s3__tribu-item {
    margin-bottom: 10px;
  }
}

.home-s3__title {
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .home-s3__title {
    margin: 0 -8px 40px;
  }
}

/* Section 4 */
.home-s4_cochiz {
  background-color: var(--color-primary);
  padding: 18px 20px;
  position: relative;
}

@media (min-width: 768px) {
  .home-s4_cochiz {
    padding: 52px 58px;
  }
}

@media (min-width: 1200px) {
  .home-s4_cochiz {
    padding: 52px 72px;
  }
}

.home-s4_cochiz>img {
  position: absolute;
  bottom: 19px;
  right: 14px;
}

@media (min-width: 768px) {
  .home-s4_cochiz>img {
    bottom: 45px;
    right: 28px;
  }
}

@media (min-width: 1200px) {
  .home-s4_cochiz>img {
    bottom: 53px;
    right: 50px;
  }
}

.home-s4_cochiz-desc {
  font-size: 2rem;
  font-weight: var(--light);
  line-height: 105%;
  color: var(--gray-100);
}

@media (min-width: 768px) {
  .home-s4_cochiz-desc {
    font-size: 4rem;
  }
}

.home-s4_cochiz-desc p:first-child {
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .home-s4_cochiz-desc p:first-child {
    margin-bottom: 42px;
  }
}

.home-s4_cochiz-desc a {
  font-size: 1.4rem;
}

.home-s4__service {
  padding: 25px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.home-s4__service.bg_green {
  background-color: #72E001;
}

.home-s4__service img {
  margin-bottom: 10px;
}

.home-s4__service a {
  color: var(--blue-dark);
  margin-bottom: 0;
}

.home-s4__service .like-h2 {
  line-height: 1;
}

@media (max-width: 767px) {
  .home-s4__service .like-h2 {
    font-size: 2rem;
    margin-bottom: 0;
  }
}

.home-s4__item {
  margin-bottom: 16px;
  padding: 0;
}

@media (min-width: 768px) {
  .home-s4__item {
    padding: 0 8px;
  }
}

.home-s4__serviceContainer {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  height: 100%;
}

.home-s4__serviceItem {
  padding: 0 8px;
}

.home-s4__serviceItem:nth-child(1),
.home-s4__serviceItem:nth-child(2) {
  margin-bottom: 16px;
}

.home-s4__picture {
  background-color: #C3C3C3;
  height: 100%;
}

.home-s4__picture img {
  opacity: .5;
}

.home-s4__3d {
  background-color: var(--blue-dark);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .home-s4__3d {
    padding: 45px;
  }
}

.home-s4__3d .btn-primary {
  border: 1px solid var(--color-primary);
}

.home-s4__3d img {
  flex: 0 0 62px;
  margin-right: 16px;
}

@media (min-width: 768px) {
  .home-s4__3d img {
    margin-right: 44px;
  }
}

.home-s4__3d-desc {
  flex: 1;
  color: var(--white);
}

.home-s4__3d-desc strong {
  font-size: 4rem;
  line-height: 1;
  color: var(--gray-100);
}


/* Section 5 */
.home-s5__intro {
  margin-bottom: 45px;
}

.home-s5__intro img {
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .home-s5__intro img {
    max-width: 136px;
  }
}

.home-s5__intro-text h2 {
  font-size: 2.2rem;
  font-weight: var(--regular);
  line-height: 145%;
  margin-bottom: 19px;
}

@media (min-width: 768px) {
  .home-s5__intro-text h2 {
    font-size: 4rem;
    line-height: 105%;
    margin-bottom: 38px;
  }
}

.home-s5__intro-text h2 strong {
  font-size: 2.2rem;
}

@media (min-width: 768px) {
  .home-s5__intro-text h2 strong {
    font-size: 3.2rem;
  }
}

.home-s5__blog {
  margin-bottom: 56px;
}

section.home-s5 {
  padding-top: 105px;
  position: relative;
}

@media (min-width: 768px) {
  section.home-s5 {
    padding-top: 190px;
  }
}

.home-s5 .bloc__texte-img--1 {
  max-width: 156px;
  transform: rotate(-17deg);
  top: 33px;
  left: -50px;
}

@media (min-width: 768px) {
  .home-s5 .bloc__texte-img--1 {
    max-width: 400px;
    left: -140px;
  }
}

@media (min-width: 992px) {
  .home-s5 .bloc__texte-img--1 {
    max-width: 100%;
    left: -188px;
  }
}

.home-s5 .bloc__texte-img--2 {
  bottom: initial;
  top: 22px;
  right: -15px;
  max-width: 117px;
}

@media (min-width: 768px) {
  .home-s5 .bloc__texte-img--2 {
    right: -34px;
    max-width: 270px;
    top: 60px;
  }
}

/* Section 6 */
.slider-client .slick-track {
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .slider-client .slick-list {
    padding: 0 7% 0 0;
  }
}

@media (max-width: 767px) {
  .slider-client .slick-slide.slick-current {
    display: flex;
    justify-content: center;
  }
}

.home-s6__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .home-s6__title {
    font-size: 3.2rem;
    margin-bottom: 35px;
  }
}

/* Section 7 */
.home-s7 {
  background-color: var(--yellow);
}

.home-s7__title img {
  margin-bottom: 14px;
  max-width: 70px;
}

.home-s7__title h2 {
  font-size: 3.2rem;
  color: var(--blue-dark);
}

.group-order {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 190px;
  margin-bottom: 14px;
}
