/* Text utility */
/* Mobile utility */
/* link hover utility */
/* Container utility mixin */
/* Container avec variable CSS */
/* Text content styles */
/* Centered content */
/* from... */
/* to... */
/* from... to... */
/* at... */
.section.s-legal {
  position: relative;
  z-index: 3;
  --s-edge: var(--wp--preset--color--rouge, #da4d4a);
  --s-ribbon-img: var(--title-beige);
  --s-ribbon-fg: var(--wp--preset--color--bleu, #333f66);
  --s-copy: var(--wp--preset--color--beige, #e9debe);
  --s-link: var(--wp--preset--color--bleu-fonce, #374268);
  background-color: var(--wp--preset--color--rouge, #da4d4a);
  color: var(--s-copy);
}
.section.s-legal.has-rouge-background-color {
  --s-edge: var(--wp--preset--color--rouge, #da4d4a);
  --s-ribbon-img: var(--title-beige);
  --s-ribbon-fg: var(--wp--preset--color--bleu, #333f66);
  --s-copy: var(--wp--preset--color--beige, #e9debe);
  --s-link: var(--wp--preset--color--bleu-fonce, #374268);
  background-color: var(--wp--preset--color--rouge, #da4d4a);
}
.section.s-legal.has-bleu-background-color {
  --s-edge: var(--wp--preset--color--bleu, #333f66);
  --s-ribbon-img: var(--title-red);
  --s-ribbon-fg: #fff;
  --s-copy: #e9debe;
  --s-link: var(--wp--preset--color--rouge, #da4d4a);
  background-color: var(--wp--preset--color--bleu, #333f66);
}
.section.s-legal.has-beige-background-color {
  --s-edge: var(--wp--preset--color--beige, #e9debe);
  --s-ribbon-img: var(--title-blue);
  --s-ribbon-fg: #fff;
  --s-copy: #374268;
  --s-link: var(--wp--preset--color--rouge, #da4d4a);
  background-color: var(--wp--preset--color--beige, #e9debe);
}

.s-legal__edge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 6px;
  transform: translateY(-100%);
  pointer-events: none;
  background-color: var(--s-edge, var(--wp--preset--color--rouge, #da4d4a));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpath fill='black' d='M5.944,3.146C4.415,1.213,2.174,0,0,0v6h18V0c-2.175,0-4.414,1.213-5.944,3.146C10.271,5.397,7.729,5.397,5.944,3.146'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpath fill='black' d='M5.944,3.146C4.415,1.213,2.174,0,0,0v6h18V0c-2.175,0-4.414,1.213-5.944,3.146C10.271,5.397,7.729,5.397,5.944,3.146'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 18px 6px;
  mask-size: 18px 6px;
  -webkit-mask-position: left top;
  mask-position: left top;
}

.s-legal__grid {
  display: grid;
}

.s-legal__title {
  margin: 0;
  max-width: 100%;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.s-legal__ribbon {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.08em 0.85em 0.12em;
  background-color: transparent;
  background-image: var(--s-ribbon-img);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  color: var(--s-ribbon-fg);
  font-family: "Amatic SC", cursive;
  font-size: 2.5625rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.s-legal__copy {
  margin-top: 8%;
}

.section.s-legal .s-home__text,
.section.s-legal .s-home__text :is(p, li, strong, b) {
  color: var(--s-copy) !important;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.5em;
}

.section.s-legal .s-home__text :is(strong, b) {
  font-weight: 400;
}

.s-legal .s-home__text p {
  margin: 0 0 20px;
}

.section.s-legal br {
  display: unset;
}

.section.s-legal .s-home__text :is(a, a strong, a b) {
  color: var(--s-link) !important;
  text-decoration: none;
}

.section.s-legal .s-home__text :is(a, a strong, a b):hover,
.section.s-legal .s-home__text :is(a, a strong, a b):focus-visible {
  text-decoration: underline;
}

.s-legal__empty {
  margin: 0;
  font-family: "Oswald", sans-serif;
}

@media (min-width: 768px) {
  .s-legal__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 4rem;
    grid-template-areas: "title ." "main aside";
  }
  .s-legal__title {
    grid-area: title;
  }
  .s-legal__copy--main {
    grid-area: main;
  }
  .s-legal__copy--aside {
    grid-area: aside;
  }
}
@media (max-width: 1020px) {
  .s-legal__ribbon {
    font-size: 2.125rem;
  }
}
@media (max-width: 767px) {
  .s-legal__ribbon {
    font-size: 1.875rem;
  }
  .s-legal__copy--aside {
    margin-top: 0;
  }
}