@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Document */
/* Reset des règles par défaut */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font: inherit;
  vertical-align: baseline;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1rem;
  font: inherit;
  vertical-align: baseline;
}

textarea,
input {
  font-family: inherit;
  font-size: inherit;
}

/* Règles globales */

@font-face {
  font-family: "DM-Sans";
  font-weight: 400;
  src: url("../fonts/DMSans-Regular.ttf") format("TrueType");
  font-display: swap;
}

@font-face {
  font-family: "DM-Sans";
  font-weight: 700;
  src: url("../fonts/DMSans-Bold.ttf") format("TrueType");
  font-display: swap;
}

body {
  font-family: DM-sans, Arial, sans-serif;
  --color1: #191a19;
  --color2: #ffffff;
  --color3: #f54f29;
  --color4: #4a5e3b;
  --colorError: #a72a2a;
  color: var(--color1);
  background: var(--color2);
}

@media (max-width: 599px) {
  body {
    font-size: .9rem;
  }
}

h1 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.5rem;
}

h2 {
  font-weight: 400;
  font-size: 2rem;
}

p {
  line-height: 1.5rem;
}

a {
  color: var(--color3);
  cursor: pointer;
  transition: 150ms;
}

a:visited {
  color: var(--color3);
}

a:hover {
  color: var(--color4);
}

a:active {
  color: var(--color4);
}

button,
input[type=submit] {
  cursor: pointer;
  transition: 300ms;
}

.standard>div {
  width: min(1200px, 90%);
  margin: auto;
}

/* NAV */

nav {
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  z-index: 5;
}

nav>div:nth-child(1) {
  background-color: var(--color1);
  color: var(--color2);
}

nav>div:nth-child(1) a {
  color: inherit;
  transition: 150ms;
}

nav>div:nth-child(2) {
  background-color: var(--color2);
}

nav>div:nth-child(2) a {
  color: inherit;
}

nav>div:nth-child(1)>div,
nav>div:nth-child(2)>div {
  width: min(1400px, 90%);
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

nav>div:nth-child(1)>div {
  justify-content: space-between;
  padding: .5rem 0;
}

nav>div:nth-child(1)>div>div:nth-child(1) {
  width: 180px;
  height: 70px;
}

nav>div:nth-child(1)>div>div:nth-child(1)>a {
  width: 100%;
  height: 100%;
}

nav>div:nth-child(1)>div>div:nth-child(1)>a>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 0% 50%;
}

nav>div:nth-child(1)>div>div:nth-child(2) {
  display: flex;
  gap: 4rem;
}

nav>div:nth-child(1)>div>div:nth-child(2)>div {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav>div:nth-child(1)>div>div:nth-child(2)>div>div:first-child {
  border: 1px solid var(--color2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

nav>div:nth-child(1)>div>div:nth-child(2)>div>div:first-child>i {
  color: var(--color2);
}

nav>div:nth-child(1)>div>div:nth-child(2)>div>div:last-child>div:first-child {
  opacity: .7;
}

nav>div:nth-child(1)>div>div:nth-child(2)>div>div:last-child>div:last-child>a {
  transition: 300ms;
  padding: .5rem 0;
}

nav>div:nth-child(1)>div>div:nth-child(2)>div>div:last-child>div:last-child>a:hover {
  color: var(--color3);
}

nav>div:nth-child(1)>div>div:nth-child(3) {
  display: flex;
  gap: .5rem;
}

nav>div:nth-child(1)>div>div:nth-child(3) i:not(:first-child) {
  color: #e2ad1b;
  transition: 300ms;
}

@media (max-width: 1200px) {
  nav>div:nth-child(1)>div {
    column-gap: 0rem;
    row-gap: .5rem;
  }

  nav>div:nth-child(1)>div>div:nth-child(2)>div>div:first-child,
  nav>div:nth-child(1)>div>div:nth-child(2)>div>div:last-child>div:first-child {
    display: none;
  }

  nav>div:nth-child(1)>div>div:nth-child(2) {
    order: 3;
    flex: 100%;
    gap: 2rem;
    justify-content: center;
  }

  nav>div:nth-child(1)>div>div:nth-child(3) {
    order: 2;
    flex-wrap: wrap;
    gap: 0;
  }
}

nav>div:nth-child(1)>div>div:nth-child(3)>div>a {
  transition: 300ms;
  padding: .5rem;
}

nav>div:nth-child(1)>div>div:nth-child(3)>div>a:hover {
  color: var(--color2);
}

nav>div:nth-child(1)>div>div:nth-child(3)>div>a:hover i {
  color: var(--color2);
}

nav>div:nth-child(2)>div>div,
nav>div:nth-child(2)>div>div>div>div {
  position: relative;
}

nav>div:nth-child(2)>div>div:last-child {
  margin-left: auto;
}

nav>div:nth-child(2)>div>div:first-child>button {
  outline: 0;
  display: grid;
  place-items: center;
  background-color: transparent;
  margin: auto;
}

nav>div:nth-child(2)>div>div:not(:first-child):before,
nav>div:nth-child(2)>div>div>div>div:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--color4);
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  z-index: 1;
}

nav>div:nth-child(2)>div>div:not(:first-child):hover:before,
nav>div:nth-child(2)>div>div>div>div:hover:before {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

nav>div:nth-child(2)>div>div>a,
nav>div:nth-child(2)>div>div>div>div>a {
  display: block;
  width: fit-content;
  padding: .8rem 2rem;
  position: relative;
  z-index: 2;
  transition: 300ms;
}

nav>div:nth-child(2)>div>div:hover>a,
nav>div:nth-child(2)>div>div>div>div:hover>a {
  color: var(--color2);
}

nav>div:nth-child(2)>div>div:last-child:before {
  background-color: var(--color3);
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

nav>div:nth-child(2)>div>div:last-child>a {
  color: var(--color2);
}

nav>div:nth-child(2)>div>div>div {
  position: absolute;
  background-color: var(--color2);
  color: var(--color4);
  max-height: 0;
  overflow: hidden;
  transition: 300ms;
}

@media (min-width: 1200px) {
  nav>div:nth-child(2)>div>div:first-child {
    display: none;
  }

  nav>div:nth-child(2)>div>div:hover>div {
    max-height: 200px;
  }
}

@media (max-width: 1500px) {
  nav>div:nth-child(2)>div {
    gap: 1rem;
  }

  nav>div:nth-child(2)>div>div>a,
  nav>div:nth-child(2)>div>div>div>div>a {
    padding: .8rem 1rem;
  }
}

@media (max-width: 1200px) {
  nav>div:nth-child(2)>div {
    width: 100%;
    gap: 0rem;
    max-height: 80px;
    overflow: hidden;
    transition: 300ms;
  }

  nav[nav-expanded=true]>div:nth-child(2)>div {
    max-height: 500px;
  }

  nav>div:nth-child(2)>div>div {
    flex: 100%;
  }

  nav>div:nth-child(2)>div>div.active>div {
    max-height: 200px;
  }

  nav>div:nth-child(2)>div>div>a,
  nav>div:nth-child(2)>div>div>div>div>a {
    margin: auto;
  }

  nav>div:nth-child(2)>div>div>div {
    position: relative;
  }
}

@media (max-width: 600px) {
  nav>div:nth-child(1)>div {
    justify-content: center;
    column-gap: 2rem;
  }

  nav>div:nth-child(1)>div>div:nth-child(1),
  nav>div:nth-child(1)>div>div:nth-child(3) {
    flex-grow: 0;
    width: fit-content;
  }

  nav>div:nth-child(1)>div>div:nth-child(2) {
    font-size: .8rem;
    gap: 1rem;
  }
}

/* NAV - HAMBURGER */

.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.hamRotate.active {
  transform: rotate(45deg);
}

.hamRotate180.active {
  transform: rotate(180deg);
}

.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: var(--color1);
  stroke-width: 5.5;
  stroke-linecap: round;
}

.ham8 .top {
  stroke-dasharray: 40 160;
}

.ham8 .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}

.ham8 .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}

.ham8.active .top {
  stroke-dashoffset: -64px;
}

.ham8.active .middle {
  transform: rotate(90deg);
}

.ham8.active .bottom {
  stroke-dashoffset: -64px;
}


/* HEADER */

header {
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

header>div:first-child {
  text-align: center;
  padding: 12rem 0 8rem 0;
}

header>div:first-child>span {
  color: var(--color4);
  font-weight: 700;
  font-size: 1.2rem;
}

header>div:first-child>ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: opacity 300ms ease-in-out 700ms forwards;
}

header>div:first-child>ul:first-child {
  gap: 1rem;
  font-weight: 700;
  animation: opacity 300ms ease-in-out forwards;
}

header>div:first-child>ul:first-child>li {
  color: var(--color4);
  background-color: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  padding: .5rem;
  border-radius: 10px;
}

header>div:first-child>h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-size: 6rem;
  line-height: 6.5rem;
  margin: 1rem auto 2rem auto;
  max-width: 90%;
  opacity: 0;
  animation: opacity 500ms ease-in-out 200ms forwards;
}

header.cafards>div:first-child>h1 {
  max-width: min(800px, 90%);
}

header>div:first-child>h1>span {
  color: var(--color3);
}

header>div:first-child>p {
  font-size: 1.4rem;
  max-width: min(600px, 90%);
  margin: auto;
  opacity: 0;
  animation: opacity 300ms ease-in-out 400ms forwards;
}

header>div:first-child>div {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  animation: opacity 300ms ease-in-out 500ms forwards;
}

header>div:first-child>div>button {
  cursor: pointer;
  padding: 1rem 2rem;
  border: 1px solid var(--color4);
  background-color: var(--color4);
  color: var(--color2);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: 300ms ease-in-out;
}

header>div:first-child>div>button:hover {
  background-color: transparent;
  color: var(--color4);
}

header>div:first-child>div>button:nth-child(2) {
  background-color: transparent;
  color: var(--color4);
}

header>div:first-child>div>button:nth-child(2):hover {
  background-color: var(--color4);
  color: var(--color2);
}

header>div:first-child>ul:not(:first-child) {
  gap: 2rem;
  font-size: 1.2rem;
}

header>div:first-child>ul:not(:first-child)>li>span {
  color: var(--color4);
}

header>div:first-child>div:last-of-type {
  margin: 2rem auto 0 auto;
  flex-wrap: wrap;
  animation: opacity 300ms ease-in-out 900ms forwards;
}

header.cafards>div:first-child>div:last-of-type {
  margin: 2rem auto;
}

header>div:first-child>div:last-of-type>div {
  height: 130px;
  width: 300px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, .5);
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  box-shadow: rgba(50, 50, 93, 0.10) 0px 13px 27px -5px, rgba(0, 0, 0, 0.15) 0px 8px 16px -8px;

}

header>div:first-child>div:last-of-type>div>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

header>div:last-child {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

header>div:last-child>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1200px) {
  header>div:first-child {
    padding: 16rem 0 8rem 0;
  }
}

@media (max-width: 1000px) {
  header>div:first-child>h1 {
    font-size: 5rem;
    line-height: 5.5rem;
  }
}

@media (max-width: 600px) {
  header>div:first-child>h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  header>div:first-child>p {
    font-size: 1.2rem;
  }

  header>div:first-child>div {
    gap: 2rem;
  }

  header>div:first-child>div>button {
    padding: 1rem;
    font-size: 1rem;
  }

  header>div:first-child>ul:not(:first-child) {
    gap: .5rem;
    font-size: 1rem;
  }

}

/* PRESENTATION */

.s-presentation {
  padding: 8rem 0;
  background-color: #eeeeee;
  overflow: hidden;
}

.s-presentation>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.s-presentation>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.s-presentation>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 4rem auto;
  max-width: 800px;
}

.s-presentation>div>div {
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.s-presentation>div>div>div:nth-child(1) {
  flex: 2;
}

.s-presentation>div>div>div:nth-child(2) {
  flex: 3;
}

.s-presentation>div>div>div:nth-child(1)>p {
  text-align: justify;
}

.s-presentation>div>div>div:nth-child(1)>p:first-child {
  margin-bottom: 2rem;
}

.s-presentation>div>div>div:nth-child(1)>p>span {
  font-weight: 700;
}

.s-presentation>div>div>div:nth-child(2)>h3 {
  width: fit-content;
  margin: 0 auto 2rem auto;
  font-size: 1.2rem;
}

.s-presentation>div>div>div:nth-child(2)>div {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.s-presentation>div>div>div:nth-child(2)>div>div {
  flex: 40%;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: rgba(50, 50, 93, 0.15) 0px 13px 27px -5px, rgba(0, 0, 0, 0.2) 0px 8px 16px -8px;
  opacity: 0;
}

.s-presentation>div>div>div:nth-child(2)>div>div.animate {
  animation: to-left 1.5s ease-in-out forwards;
}

@media (min-width: 600px) {
  .s-presentation>div>div>div:nth-child(2)>div>div.animate:nth-child(2n) {
    animation-delay: 200ms;
  }
}

.s-presentation>div>div>div:nth-child(2)>div>div>div:first-child {
  height: 80px;
  background-color: var(--color4);
  color: var(--color2);
  display: grid;
  place-content: center;
  font-weight: 700;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.s-presentation>div>div>div:nth-child(2)>div>div>div:last-child {
  padding: 1rem;
  box-sizing: border-box;
  height: 150px;
  display: grid;
  place-content: top center;
}

@media (max-width: 1250px) {
  .s-presentation>div>div>div:nth-child(2)>div>div>div:last-child {
    height: 190px;
  }
}

@media (max-width: 1000px) {
  .s-presentation>div>h3 {
    max-width: 80%;
    text-align: center;
  }
  .s-presentation>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .s-presentation>div>div {
    flex-direction: column;
  }

  .s-presentation>div>div>div:nth-child(1)>p {
    text-align: center;
  }

  .s-presentation>div>div>div:nth-child(2)>div>div>div:last-child {
    text-align: center;
  }
}

@media (max-width: 600px) {

  .s-presentation>div>div>div:nth-child(2)>div>div {
    flex: 80%;
  }

  .s-presentation>div>div>div:nth-child(2)>div>div>div:last-child {
    padding: 2rem 1rem;
    height: auto;
  }
}

/* ENTREPRISE */

.entreprise>div {
  width: 100%;
  display: flex;
  gap: 0rem;
}

.entreprise>div>div {
  flex: 5;
  transition: 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  height: 600px;
}

.entreprise>div>div:hover {
  flex: 7;
}

.entreprise>div>div>a {
  height: 100%;
  color: var(--color2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.entreprise>div>div>a>span {
  padding: 1rem 2rem;
  border: 1px solid var(--color2);
  border-radius: 50px;
  font-size: 1.2rem;
  transition: 600ms;
}

.entreprise>div>div>a:hover>span {
  background-color: rgba(0, 0, 0, .5);
  font-size: 1.5rem;
}

.entreprise>div>div>a>img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(50%);
  transition: 600ms;
  z-index: -1;
}

.entreprise>div>div>a:hover>img {
  filter: brightness(100%);
}

@media (max-width: 1200px) {
  .entreprise>div {
    display: block;
  }

  .entreprise>div>div>a>span {
    max-width: 90%;
    box-sizing: border-box;
    margin: auto;
    text-align: center;
  }

  .entreprise>div>div>a:hover>span {
    font-size: 1.2rem;
  }
}

/* APPROCHE */

.s-approche {
  padding: 8rem 0;
  background-color: var(--color4);
  color: var(--color2);
}

.s-approche.cafards {
  margin-bottom: 10rem;
}

.s-approche>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.s-approche>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.s-approche>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 4rem auto;
  max-width: 800px;
}

.s-approche>div>p {
  max-width: min(800px, 100%);
  text-align: center;
  margin: 6rem auto 0 auto;
}

.s-approche>div>div {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  position: relative;
}

.s-approche>div>div>div.step {
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  flex: 3;
}

.s-approche>div>div>div.step>div:first-child {
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .s-approche.cafards>div>div>div.step>div:first-child {
    height: 170px;
  }
}

.s-approche>div>div>div.step>div:first-child>div:first-child {
  background-color: var(--color2);
  color: var(--color4);
  width: 64px;
  height: 64px;
  border-radius: 10px;
  margin: auto;
  display: grid;
  place-content: center;
  overflow: hidden;
}

.s-approche>div>div>div.step>div:first-child>div:first-child>img {
  filter: drop-shadow(0px 64px 0 var(--color4));
  transform: translateY(-64px);
}

.s-approche>div>div>div.step>div:first-child>div:last-child {
  text-align: center;
  font-weight: 700;
  margin-top: 2rem;
}

.s-approche>div>div>div.step>div:last-child {
  padding: 1rem;
  box-sizing: border-box;
}

.s-approche>div>div>div.step>div:last-child>p {
  margin: 1rem 0;
}

.s-approche>div>div>div.step>div:last-child>p>span {
  font-weight: 700;
}

.s-approche>div>div>div.arrow {
  height: 2px;
  background-color: var(--color2);
  flex: 1;
  display: grid;
  place-content: center;
  align-self: center;
}

.s-approche>div>div>div.arrow>div {
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background-color: var(--color4);
  border: 2px solid var(--color2);
}

.s-approche>div>div>div.cover {
  position: absolute;
  width: 105%;
  height: 105%;
  top: -2.5%;
  left: -2.5%;
  background-size: 200% 100%;
  background-position: right;
  background-image: linear-gradient(to right, transparent 50%, var(--color4) 50%, var(--color4) 100%);
}

.s-approche>div>div>div.cover.animate {
  animation: process 2s ease-in-out forwards;
}

@keyframes process {
  0% {
    background-position: right;
  }

  95% {
    background-position: left;
  }

  100% {
    background-position: left;
    visibility: hidden;
  }
}

@media (max-width: 1000px) {
  .s-approche>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

@media (max-width: 900px) {
  .s-approche>div>div {
    flex-direction: column;
  }

  .s-approche>div>div>div.step>div:last-child {
    height: auto;
    text-align: center;
  }

  .s-approche>div>div>div.arrow {
    padding: 2rem 0;
    width: 2px;
  }

  .s-approche>div>div>div.arrow>div {
    transform: rotate(90deg);
  }

  .s-approche>div>div>div.cover {
    background-size: 100% 200%;
    background-position: bottom;
    background-image: linear-gradient(to bottom, transparent 50%, var(--color4) 50%, var(--color4) 100%);
  }

  @keyframes process {
    0% {
      background-position: bottom;
    }

    95% {
      background-position: top;
    }

    100% {
      background-position: top;
      visibility: hidden;
    }
  }
}

/* AVIS GOOGLE */

.splide {
  padding: 8rem 0;
  background-color: var(--color2);
  color: var(--color1);
}

.splide>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.splide>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.splide>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 4rem auto;
  max-width: min(800px, 90%);
}

@media (max-width: 1000px) {
  .splide>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

.splide>div:first-of-type {
  text-align: center;
}

.splide>div:first-of-type>div:first-child {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin: 4rem 0 1rem 0;
}

.splide>div:first-of-type>div:first-child>i {
  color: #e2ad1b;
  font-size: 2rem;
}

.splide>div:first-of-type>div:last-child>div:first-child {
  font-weight: 700;
}

.splide__track {
  overflow: hidden;
  width: min(1200px, 90%);
  margin: 4rem auto 2rem auto;
}

.splide__slide>div {
  padding: 1rem;
  background-color: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px;
}

.splide__slide>div>div:nth-child(1) {
  opacity: .9;
  height: 168px;
  /* la taille du plus grand paragraphe pour aligner les différents avis */
}

.splide__slide>div>div:nth-child(2) {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}

.splide__slide>div>div:nth-child(2)>i {
  color: #e2ad1b;
  font-size: .8rem;
}

.splide__slide>div>div:nth-child(2)>i.gray {
  color: #d6d6d6;
}

.splide__slide>div>div:nth-child(3) {
  font-size: 700;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.splide__slide>div>div:nth-child(4) {
  font-size: .9rem;
  opacity: .9;
}

@media (max-width: 600px) {
  .splide__slide>div {
    text-align: center;
  }

  .splide__slide>div>div:nth-child(2) {
    justify-content: center;
  }
}

.splide__pagination {
  display: flex !important;
  /* prendre en compte la hauteur de la pagination avant le chargement du JS pour ne pas créer de décalage */
  height: 19.5px;
  gap: .5rem;
  padding: 0;
  position: relative;
}

.splide__pagination__page {
  outline: none;
  background-color: transparent;
  width: 6px;
  height: 6px;
  border: 0;
  margin: 0;
  padding: 6px;
  cursor: pointer;
  position: relative;
}

.splide__pagination__page.is-active {
  background-color: transparent;
  transform: scale(1);
}

.splide__pagination__page::after {
  /* ::after pour un visuel de point plus petit mais une zone de clic effective plus grande */
  position: absolute;
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  transition: 150ms;
  background-color: var(--color4);
}

.splide__pagination__page:hover::after {
  background-color: darkgrey;
}

.splide>div:last-of-type>a {
  display: block;
  width: fit-content;
  margin: 4rem auto 1rem auto;
  padding: 1rem;
  background-color: transparent;
  color: var(--color3);
  border: 1px solid var(--color3);
  border-radius: 20px;
  font-weight: 700;
  transition: 300ms ease-in-out;
  transform: translateX(0);
}

.splide>div:last-of-type>a:hover {
  transform: translateX(20px);
}

/* FORMULAIRE */

.s-contact {
  padding: 0 0 8rem 0;
}

.s-contact>div {
  background-color: var(--color4);
  color: var(--color2);
  border-radius: 20px;
  padding: 3rem;
  box-sizing: border-box;
  position: relative;
}

.s-contact>div>div:first-child {
  width: 600px;
  margin-left: auto;
}

.s-contact>div>div:first-child>h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.s-contact>div>div:first-child>form>div.miel {
  width: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
}

.s-contact>div>div:first-child>form>div:not(:first-child) {
  margin-top: 1rem;
}

.s-contact>div>div:first-child>form>div:nth-child(2) {
  display: flex;
  gap: .5rem;
}

.s-contact>div>div:first-child>form>div:nth-child(2)>div {
  flex: 1;
}

.s-contact>div>div:first-child>form input[type=text],
.s-contact>div>div:first-child>form input[type=email] {
  width: 100%;
  padding: .5rem 1rem;
  box-sizing: border-box;
  outline: none;
  border-radius: 10px;
  border: 0;
}

.s-contact>div>div:first-child>form textarea {
  width: 100%;
  padding: .5rem 1rem;
  box-sizing: border-box;
  outline: none;
  border-radius: 10px;
  border: 0;
}

.s-contact>div>div:first-child>form input[type="checkbox"] {
  width: 1.15em;
  height: 1.15em;
  accent-color: var(--color4);
  border: 0;
  outline: none;
}

.s-contact>div>div:first-child>form a {
  color: inherit;
}

.s-contact>div>div:first-child>form input[type=submit],
.s-contact>div>div:first-child>form button {
  margin-top: 1rem;
  padding: .8rem 3rem;
  border-radius: 30px;
  box-sizing: border-box;
  outline: none;
  background-color: var(--color2);
  border: 1px solid var(--color2);
  box-shadow: 0 0 0 5px var(--color4), 0 0 0 6px var(--color2);
  color: var(--color4);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 300ms ease-in-out;
  transform: translateX(0);
}

.s-contact>div>div:first-child>form input[type=submit]:hover,
.s-contact>div>div:first-child>form button:hover {
  transform: translateX(20px);
  background-color: var(--color4);
  color: var(--color2);
  box-shadow: 0 0 0 0px var(--color4), 0 0 0 0px var(--color2);
}

.s-contact>div>div:first-child>form p {
  margin-top: 2rem;
  height: 24px;
}

@media (max-width: 1200px) {
  .s-contact>div>div:first-child>form p {
    height: 66px;
  }
}

.s-contact>div>div:last-child {
  position: absolute;
  width: calc(100% - 2*3rem - 600px - 3rem);
  /* Soit la div parente moins le padding de chaque côté moins la taille du formulaire moins un gap équivalent au padding */
  left: 3rem;
  bottom: 0;
  height: 120%;
}

.s-contact>div>div:last-child>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

@media (max-width: 1200px) {

  .s-contact>div>div:first-child {
    width: 100%;
  }

  .s-contact>div>div:last-child {
    display: none;
  }
}

@media (max-width: 800px) {

  .s-contact>div {
    padding: 2rem;
  }

  .s-contact>div>div:first-child>h2 {
    text-align: center;
  }

  .s-contact>div>div:first-child>form>div:nth-child(2) {
    flex-direction: column;
    gap: 1rem;
  }

  .s-contact>div>div:first-child>form>div:not(:first-child) {
    text-align: center;
  }

}

/* INTERVENTION */

.s-intervention {
  padding: 2rem 0;
  background-color: #eeeeee;
  color: var(--color1);
}

.s-intervention>div>h3 {
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.s-intervention>div>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  column-gap: 3rem;
}

.s-intervention>div>div>div {
  margin: .5rem 0;
}

@media (max-width: 1100px) {
  .s-intervention>div>div {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

@media (max-width: 680px) {
  .s-intervention>div>div {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 2rem;
  }
}

/* FOOTER */

footer {
  color: var(--color2);
  background: var(--color4);
}

footer a {
  color: inherit;
  transition: 150ms ease-in-out;
}

footer a:hover {
  color: var(--color1);
}

footer>div {
  width: min(1200px, 80%);
  margin: auto;
}

footer>div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0 4rem 0;
}

@media (max-width: 799px) {
  footer>div:first-child {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

footer>div:first-child>div:nth-child(1) {
  order: 2;
}

footer>div:first-child>div:nth-child(2) {
  order: 3;
}

footer>div:first-child>div:nth-child(3) {
  order: 1;
}

footer>div:first-child>div>div {
  padding: .5rem 0;
}

footer>div:first-child>div:nth-child(1)>div:first-child,
footer>div:first-child>div:nth-child(2)>div:first-child {
  text-transform: uppercase;
}

footer>div:first-child>div:last-child>div {
  text-align: center;
}

footer>div:first-child>div>div>div.logo {
  width: 300px;
  height: 150px;
  margin: 0 auto 2rem auto;
}

footer>div:first-child>div>div>div.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}

footer>div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 .5rem 0;
  font-size: .9rem;
}

@media (max-width: 599px) {
  footer>div:last-child {
    font-size: .7rem;
  }
}

footer>div:last-child>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: .5rem 0;
}

@media (max-width: 799px) {
  footer>div:last-child {
    flex-direction: column;
    gap: 2rem;
  }

  footer>div:last-child>div:first-child {
    flex-direction: column;
  }
}

footer i {
  font-size: 1.2rem;
  position: relative;
  top: .1rem;
  transition: 300ms;
}

.s-final {
  background: var(--color1);
  color: var(--color2);
}

.s-final a {
  color: inherit;
  transition: 300ms ease-in-out;
}

.s-final a:hover {
  color: var(--color4);
}

.s-final>div {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .3rem 0;
}

@media (max-width: 699px) {
  .s-final>div {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: .5rem 0;
  }
}

/* BANDEAU DES COOKIES */

.cookie-bandeau {
  background: var(--color1);
  color: var(--color2);
  position: fixed;
  bottom: 25px;
  width: 100vw;
  z-index: 50;
}

.cookie-bandeau.active {
  display: none;
}

.cookie-bandeau a {
  color: inherit;
}

.cookie-bandeau button {
  border: none;
  padding: 0.5rem;
  border-radius: 5px;
  margin: 0 5px 0 5px;
  background: transparent;
  color: var(--color2);
  border: 1px solid var(--color2)
}

.cookie-bandeau button:hover {
  background: rgba(255, 255, 255, .2)
}

.cookie-bandeau>div {
  margin: auto;
  padding: 10px 0;
  width: 80vw;
}

.cookie-bandeau>div>div:nth-child(1) {
  text-align: left;
}

@media (max-width: 599px) {
  .cookie-bandeau>div>div:nth-child(1) {
    text-align: center;
  }
}

@media (max-width: 1199px) {
  .cookie-bandeau>div {
    width: 90vw;
  }

  .cookie-bandeau>div>div:nth-child(2) {
    text-align: center;
    margin-top: 15px;
  }
}

@media (min-width: 1200px) {
  .cookie-bandeau>div {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 50px;
  }

  .cookie-bandeau>div>div:nth-child(1) {
    flex: 2;
  }

  .cookie-bandeau button {
    margin: 0 0 0 5px;
    padding: 1rem;
  }
}

/* PREFERENCES COOKIES */

#cookies-prefs {
  width: min(300px, 90%);
  margin: 5rem auto;
  padding: 10px;
  text-align: center;
}

@media (min-width: 1200px) {
  #cookies-prefs {
    margin: 5rem auto 11rem auto;
  }
}

#cookies-prefs>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
}

#cookies-prefs>div>div:nth-child(1) {
  text-align: left;
}

#cookies-prefs input[type=submit] {
  border: none;
  padding: 15px 32px;
  margin: 10px;
  border-radius: 20px;
  background: var(--color4);
  color: var(--color2);
  font-weight: 700;
  font-family: DM-sans, Arial, sans-serif;
  font-size: 1rem;
}

#cookies-prefs input[type=submit]:hover {
  background: var(--color3);
}

#cookies-prefs input[type=submit].active {
  background: var(--color4);
  color: var(--color4);
  cursor: auto;
}

#cookies-prefs .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0;
}

#cookies-prefs .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#cookies-prefs .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

#cookies-prefs .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

#cookies-prefs input:checked+.slider {
  background-color: var(--color3);
}

#cookies-prefs input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#cookies-prefs .slider.round {
  border-radius: 34px;
}

#cookies-prefs .slider.round:before {
  border-radius: 50%;
}

/* MENTIONS LEGALES ET CONFIDENTIALITE */

.s-mentions>div:first-child,
.s-confidentialite>div:first-child,
.s-cookies-pref>div:first-child {
  min-height: 25vh;
  background-image: linear-gradient(to bottom right, var(--color3), var(--color4));
  color: var(--color2);
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 130px;
  text-align: center;
}

@media (max-width: 1200px) {

  .s-mentions>div:first-child,
  .s-confidentialite>div:first-child,
  .s-cookies-pref>div:first-child {
    margin-top: 190px;
  }
}

.s-mentions>div:nth-child(2) {
  text-align: center;
  margin-top: 50px;
}

@media (min-width: 1200px) {
  .s-mentions>div:last-child {
    display: flex;
    justify-content: center;
    column-gap: 100px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 1200px) {
  .s-mentions>div:last-child {
    text-align: center;
  }
}

.s-mentions>div:last-child>div {
  margin: 50px 0;
}

.s-confidentialite h2 {
  margin-bottom: 2rem;
}

.s-confidentialite h3 {
  margin: 30px 0;
  text-transform: uppercase;
}

.s-confidentialite h4,
.s-confidentialite h5 {
  margin: 20px 0;
}

.s-confidentialite>div>div {
  margin: 50px auto;
}

.s-confidentialite p,
.s-confidentialite li {
  margin-bottom: 5px;
}

.s-confidentialite li {
  text-indent: 10px;
  list-style: inside;
}

@media (min-width: 1200px) {
  .s-confidentialite {
    margin-bottom: 8rem;
  }

  .s-confidentialite p,
  .s-confidentialite li {
    text-align: justify;
  }
}

/* ANCHOR */

.anchor {
  position: relative;
  top: -110px;
}

/* TARIFS */

.s-tarifs {
  padding: 10rem 0 4rem 0;
  background-color: #eeeeee;
}

.s-tarifs>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.s-tarifs>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.s-tarifs>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 2rem auto;
  max-width: 800px;
}

.s-tarifs>div>p {
  max-width: min(600px, 90%);
  margin: 2rem auto 2rem auto;
  text-align: center;
}

.s-tarifs>div>p:first-of-type {
  max-width: min(600px, 90%);
  margin: 0 auto;
  text-align: center;
}

.s-tarifs>div>a {
  display: block;
  cursor: pointer;
  width: fit-content;
  margin: 6rem auto;
  padding: 1rem 2rem;
  border: 1px solid var(--color4);
  background-color: var(--color4);
  color: var(--color2);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  text-align: center;
  transition: 300ms ease-in-out;
}

.s-tarifs>div>a:hover {
  background-color: transparent;
  color: var(--color4);
}

.s-tarifs>div>form {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.s-tarifs>div>form>* {
  flex: 1;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, .1);
  font-size: 1rem;
  background-color: transparent;
  outline: 0;
  color: var(--color1);
}

.s-tarifs>div>form>*::placeholder {
  opacity: 1;
}

.s-tarifs>div>div {
  display: flex;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .1);
  font-size: 1.5rem;
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto 4rem auto;
  box-shadow: rgba(50, 50, 93, 0.15) 0px 13px 27px -5px, rgba(0, 0, 0, 0.2) 0px 8px 16px -8px;
}

.s-tarifs>div>div>div {
  padding: 2rem;
}

.s-tarifs>div>div>div:last-child {
  background-color: rgba(0, 0, 0, .05);
  border-left: 1px solid rgba(0, 0, 0, .1);
  font-weight: 700;
  color: var(--color4);
}

@media (max-width: 1000px) {
  .s-tarifs>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

.s-tarifs>div>ul {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.s-tarifs>div>ul>li {
  flex: 1;
  background-color: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: rgba(50, 50, 93, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.15) 0px 8px 16px -8px;
  border-radius: 20px;
  padding: 2rem;
  box-sizing: border-box;
  display: grid;
  gap: 2rem;
  text-align: center;
  justify-items: center;
  align-content: start;
}

@media (max-width: 1000px) {
  .s-tarifs>div>ul>li {
    flex: 40%
  }
}

@media (max-width: 600px) {
  .s-tarifs>div>ul>li {
    flex: 80%
  }
}

/* GESTION DES POPUPS */

div[data-function="popup"] {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  justify-content: center;
  align-items: center;
  z-index: 55;
  transition-timing-function: ease-in-out;
}

div[data-function="popup"][aria-expanded="false"] {
  visibility: hidden;
  opacity: 0;
  transition: visibility .1s 300ms, opacity 300ms;
}

div[data-function="popup"][aria-expanded="true"] {
  opacity: 1;
  visibility: visible;
  transition: visibility .1s, opacity 300ms;
}

div[data-function="popup"]>div {
  background-color: #ffffff;
  width: min(1200px, 80%);
  padding: 2rem;
  box-sizing: border-box;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  border-radius: 50px;
  box-shadow: rgba(50, 50, 93, 0.15) 0px 13px 27px -5px, rgba(0, 0, 0, 0.2) 0px 8px 16px -8px;
}

@media (max-width: 599px) {
  div[data-function="popup"]>div {
    padding: .5rem;
    max-height: 90%;
  }
}

button[data-function="close-popup"][data-forme="croix"] {
  position: absolute;
  right: 0;
  top: 0;
  height: 60px;
  width: 60px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, .1);
  color: var(--color1);
  transition: 150ms;
  box-sizing: border-box;
}

button[data-function="close-popup"][data-forme="croix"]:hover {
  background-color: rgba(0, 0, 0, .2);
}

button[data-function="close-popup"][data-forme="bouton"] {
  display: block;
  margin: 2rem auto 0 auto;
  padding: 1rem 2rem;
  cursor: pointer;
  background-color: var(--color1);
  color: var(--color2);
  transition: 300ms;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
}

button[data-function="close-popup"][data-forme="bouton"]:hover {
  background-color: var(--color4);
}

div[data-function="popup"]>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

div[data-function="popup"]>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

div[data-function="popup"]>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 2rem auto;
  max-width: 800px;
}

div[data-function="popup"]>div>p:first-of-type {
  max-width: min(600px, 90%);
  margin: 0 auto 2rem auto;
  text-align: center;
}

@media (max-width: 1000px) {
  div[data-function="popup"]>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

/* POPUP RAPPEL */

div[data-function="popup"][data-id="rappel"]>div>form {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  display: flex;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px;
}

div[data-function="popup"][data-id="rappel"]>div>form>input[type=text],
div[data-function="popup"][data-id="rappel"]>div>form>input[type=datetime-local],
div[data-function="popup"][data-id="rappel"]>div>form>input[type=submit] {
  display: block;
  flex: 1;
  padding: 1rem;
  box-sizing: border-box;
  outline: none;
  background-color: transparent;
}

div[data-function="popup"][data-id="rappel"]>div>form>input[type=email] {
  height: 0px;
  width: 0px;
  overflow: hidden;
  flex-grow: 0;
}

div[data-function="popup"][data-id="rappel"]>div>form>input[type=submit] {
  color: var(--color2);
  background-color: var(--color3);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  transition: 300ms;
}

div[data-function="popup"][data-id="rappel"]>div>form>input[type=submit].active {
  color: var(--color3);
}

div[data-function="popup"][data-id="rappel"]>div>p:last-of-type {
  max-width: min(600px, 90%);
  margin: auto;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  transition: 300ms ease-in-out;
}

@media (max-width: 900px) {
  div[data-function="popup"][data-id="rappel"]>div>form {
    flex-direction: column;
    text-align: center;
  }

  div[data-function="popup"][data-id="rappel"]>div>form>input[type=submit] {
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
  }
}

@media (max-width: 599px) {
  div[data-function="popup"][data-id="rappel"]>div {
    padding: 2rem 1rem;
  }
}

/* STICKER */

#top {
  cursor: pointer;
  color: var(--color2);
  background-color: var(--color4);
  position: fixed;
  right: 12px;
  bottom: 86px;
  width: 48px;
  height: 48px;
  /*right: 50px;
  bottom: 50px;*/
  border-radius: 50%;
  border: 1px solid var(--color2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  transition: 300ms;
  visibility: hidden;
  opacity: 0;
  z-index: 40;
}

#top:hover {
  transform: scale(1.1);
}

#top.scrolled {
  visibility: visible;
  opacity: 1;
}

/* SECTION HEADER */

.header {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color2);
  background-color: var(--color1);
  position: relative;
  z-index: 0;
}

.header>div:nth-child(1) {
  width: min(1200px, 90%);
}

.header>div:nth-child(1)>h1 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 8rem 0 2rem 0;
  max-width: min(1000px, 100%);
  opacity: 0;
  animation: opacity 600ms ease-in-out 300ms forwards;
}

@media (max-width: 1000px) {
  .header {
    min-height: 80vh;
  }

  .header>div:nth-child(1)>h1 {
    margin: 12rem 0 2rem 0;
    font-size: 3rem;
    line-height: 3.5rem;
  }
}

.header>div:nth-child(1)>h2 {
  font-size: 1.4rem;
  max-width: min(1000px, 100%);
  margin: 0;
  opacity: 0;
  animation: opacity 800ms ease-in-out 600ms forwards;
}

.header>div:nth-child(2) {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.header>div:nth-child(2)::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(to bottom right, var(--color3), var(--color4));
  opacity: .3;
}

.header>div:nth-child(2)>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(50%);
}

@media (max-width: 800px) {
  .header {
    text-align: center;
  }

  .header>div:nth-child(1)>h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
}

/* DESINSECTISATION */

.s-desinsectisation {
  padding: 8rem 0;
  background-color: #eeeeee;
  opacity: 0;
}

.s-desinsectisation.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.s-desinsectisation>div:first-child {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
}

.s-desinsectisation>div:first-child>div {
  flex: 1;
}

.s-desinsectisation>div:first-child>div:first-child>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.s-desinsectisation>div:first-child>div:first-child>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.s-desinsectisation>div:first-child>div:first-child>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 0 auto;
  max-width: 800px;
}

.s-desinsectisation>div:first-child>div:last-child>p {
  text-align: justify;
}

.s-desinsectisation>div:first-child>div:last-child>p:not(:last-child) {
  margin-bottom: 2rem;
}

.s-desinsectisation>div:first-child>div:last-child>p>span {
  font-weight: 700;
}

.s-desinsectisation>div:first-child>div:last-child ul {
  list-style: initial;
}

.s-desinsectisation>div:first-child>div:last-child ul>li>span {
  font-weight: 700;
}

.s-desinsectisation>div:first-child>div:last-child ul li:not(:last-child) {
  margin-bottom: 1rem;
}

.s-desinsectisation>div:last-child>a {
  display: block;
  cursor: pointer;
  width: fit-content;
  margin: 4rem auto 0 auto;
  padding: 1rem 2rem;
  border: 1px solid var(--color4);
  background-color: var(--color4);
  color: var(--color2);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: 300ms ease-in-out;
}

.s-desinsectisation>div:last-child>a:hover {
  background-color: transparent;
  color: var(--color4);
}

@media (max-width: 1000px) {
  .s-desinsectisation>div:first-child {
    flex-direction: column;
  }

  .s-desinsectisation>div:first-child>div:first-child>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .s-desinsectisation>div:first-child>div:last-child>p {
    text-align: center;
  }

  .s-desinsectisation>div:first-child>div:last-child ul {
    text-align: center;
    list-style-position: inside;
  }

}

/* INFOS */

.infos {
  padding: 8rem 0 10rem 0;
  opacity: 0;
}

.infos.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.infos>div:first-child {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
}

.infos>div:first-child>div:first-child {
  flex: 1;
}

.infos>div:first-child>div:last-child {
  flex: 2;
}

.infos>div:first-child>div:first-child>i {
  background-color: var(--color4);
  color: var(--color2);
  font-size: 3rem;
  width: 128px;
  height: 128px;
  border-radius: 20px;
  margin: auto;
  display: grid;
  place-content: center;
}

.infos>div:first-child>div:last-child>p {
  text-align: justify;
}

.infos>div:first-child>div:last-child>p>span {
  font-weight: 700;
}

.infos>div:first-child>div:last-child>p:not(:last-child) {
  margin-bottom: 2rem;
}

@media (max-width: 1000px) {
  .infos {
    padding: 8rem 0;
  }

  .infos>div:first-child {
    flex-direction: column;
  }

  .infos>div:first-child>div:last-child>p {
    text-align: center;
  }
}

/* DESINFECTION */

.s-desinfection {
  padding: 8rem 0;
  background-color: var(--color4);
  color: var(--color2);
  overflow: hidden;
}

.s-desinfection>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.s-desinfection>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.s-desinfection>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 2rem auto;
  max-width: 800px;
}

.s-desinfection>div>p {
  max-width: min(600px, 100%);
  text-align: center;
  margin: 0 auto 6rem auto;
}

.s-desinfection>div>div {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.s-desinfection>div>div>div {
  flex: 20%;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  opacity: 0;
}

.s-desinfection>div>div>div.animate {
  animation: bounce-in 1.5s ease-in-out forwards;
}

@media (min-width: 600px) {
  .s-desinfection>div>div>div.animate:nth-child(2) {
    animation-delay: 200ms;
  }

  .s-desinfection>div>div>div.animate:nth-child(3) {
    animation-delay: 100ms;
  }

  .s-desinfection>div>div>div.animate:nth-child(4) {
    animation-delay: 300ms;
  }
}

.s-desinfection>div>div>div>div:first-child {
  height: 80px;
  background-color: var(--color2);
  color: var(--color1);
  display: grid;
  place-content: center;
  font-weight: 700;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
}

.s-desinfection>div>div>div>div:last-child {
  padding: 1rem;
  box-sizing: border-box;
  display: grid;
  place-content: top center;
}

@media (max-width: 1000px) {
  .s-desinfection>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .s-presentation>div>div {
    flex-direction: column;
  }

  .s-desinfection>div>div>div {
    flex: 40%;
  }

  .s-desinfection>div>div>div>div:last-child {
    text-align: center;
    height: auto;
  }
}

@media (max-width: 600px) {

  .s-desinfection>div>div>div {
    flex: 80%;
  }

  .s-desinfection>div>div>div>div:last-child {
    padding: 2rem 1rem;
    height: auto;
  }
}

/* ATOUTS (basé sur DESINSECTISATION) */

.s-desinsectisation.s-atouts {
  background-color: var(--color2);
}

.s-desinsectisation.s-atouts>div {
  gap: 2rem;
}

.s-desinsectisation.s-atouts>div>div:first-child {
  flex: 4;
}

.s-desinsectisation.s-atouts>div>div:first-child>p {
  max-width: min(600px, 100%);
  text-align: center;
  margin: 2rem auto 0 auto;
}

.s-desinsectisation.s-atouts>div>div:last-child {
  flex: 7;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.s-desinsectisation.s-atouts>div>div:last-child>div {
  width: 210px;
  background-color: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: rgba(50, 50, 93, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.15) 0px 8px 16px -8px;
  border-radius: 20px;
  padding: 1rem .5rem;
  box-sizing: border-box;
  opacity: 0
}

.s-desinsectisation.s-atouts>div>div:last-child>div.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.s-desinsectisation.s-atouts>div>div:last-child>div>div:nth-child(1) {
  display: grid;
  place-content: center;
  color: var(--color4);
  /*overflow: hidden;*/
}

/*.s-desinsectisation.s-atouts>div>div:last-child>div>div:nth-child(1)>img {
  filter: drop-shadow(0px 64px 0 var(--color4));
  transform: translateY(-64px);
}*/

.s-desinsectisation.s-atouts>div>div:last-child>div>div:nth-child(2) {
  text-align: center;
  font-weight: 700;
  margin: 1rem 0;
}

.s-desinsectisation.s-atouts>div>div:last-child>div>div:nth-child(3) {
  text-align: center;
}

@media (max-width: 600px) {
  .s-desinsectisation.s-atouts>div>div:last-child>div {
    flex: 80%;
  }
}

/* PUNAISES FAQ */


.punaises-faq {
  background-color: #eeeeee;
  padding: 8rem 0;
}

.punaises-faq>div {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.punaises-faq>div>div:first-child {
  text-align: left;
}

.punaises-faq>div>div:first-child>h3 {
  width: fit-content;
  position: relative;
  font-size: 1.2rem;
}

.punaises-faq>div>div:first-child>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.punaises-faq>div>div:first-child>h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  max-width: 800px;
  margin: 1rem auto 2rem auto;
}

.punaises-faq>div>div:first-child>h2>span {
  color: var(--color3);
}

.punaises-faq>div>div:first-child>p {
  font-size: 1.2rem;
}

.punaises-faq>div>div:first-child>div {
  margin-top: 1rem;
  overflow: hidden;
}

.punaises-faq>div>div:first-child>div:first-of-type {
  margin-top: 2rem;
}

.punaises-faq>div>div:first-child>div>div:first-child {
  padding: .5rem 2rem;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, .2);
  transition: 300ms;
  cursor: pointer;
}

.punaises-faq>div>div:first-child>div.active>div:first-child {
  background-color: var(--color4);
  color: var(--color2);
}

.punaises-faq>div>div:first-child>div>div:first-child:hover {
  background-color: rgba(0, 0, 0, .2);
  color: var(--color1);
}

.punaises-faq>div>div:first-child>div>div:first-child>h3 {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.punaises-faq>div>div:first-child>div>div:first-child>h3>i {
  flex-shrink: 0;
  font-size: 2rem;
  transition: 150ms ease-in-out;
}

.punaises-faq>div>div:first-child>div.active>div:first-child>h3>i {
  transform: rotate(180deg);
}

.punaises-faq>div>div:first-child>div>div:last-child {
  padding: 0rem 2rem;
  box-sizing: border-box;
  border-bottom: 0px solid rgba(0, 0, 0, .2);
  border-left: 1px solid rgba(0, 0, 0, .2);
  border-right: 1px solid rgba(0, 0, 0, .2);
  max-height: 0px;
  transition: 300ms ease-in-out;
}

.punaises-faq>div>div:first-child>div>div:last-child ul {
  list-style: initial;
}

.punaises-faq>div>div:first-child>div>div:last-child ol {
  list-style: decimal;
}

.punaises-faq>div>div:first-child>div>div:last-child ol ul {
  list-style: inside;
}

.punaises-faq>div>div:first-child>div>div:last-child ol ul li {
  text-indent: 24px;
}

.punaises-faq>div>div:first-child>div>div:last-child p:not(:last-child) {
  margin-bottom: 1rem;
}

.punaises-faq>div>div:first-child>div>div:last-child p>span,
.punaises-faq>div>div:first-child>div>div:last-child ul li span,
.punaises-faq>div>div:first-child>div>div:last-child ol li span {
  font-weight: 700;
}

.punaises-faq>div>div:first-child>div>div:last-child ul li:not(:last-child),
.punaises-faq>div>div:first-child>div>div:last-child ol li:not(:last-child) {
  margin-bottom: 1rem;
}

.punaises-faq>div>div:first-child>div.active>div:last-child {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  max-height: 300px;
}

.punaises-faq.cafards>div>div:first-child>div.active>div:last-child {
  max-height: 1200px;
}

.punaises-faq>div>div:last-child {
  width: min(550px, 90%);
  height: 900px;
  border-radius: 20px;
}

.punaises-faq.cafards>div>div:last-child {
  width: min(450px, 90%);
}

@media (min-width: 1000px) {
  .punaises-faq>div>div:last-child {
    flex-shrink: 0;
  }
}

.punaises-faq>div>div:last-child>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .punaises-faq>div {
    flex-direction: column;
    align-items: center;
  }

  .punaises-faq>div>div:first-child>h3 {
    margin: auto;
  }

  .punaises-faq>div>div:first-child>h3,
  .punaises-faq>div>div:first-child>h2,
  .punaises-faq>div>div:first-child>p {
    text-align: center;
  }

  .punaises-faq>div>div:last-child {
    height: auto;
  }
}

@media (max-width: 1000px) {
  .punaises-faq>div>div:first-child>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

@media (max-width: 600px) {
  .punaises-faq:not(.cafards)>div>div:first-child>h3::after {
    right: calc(50% - 8px);
    top: calc(100% + 16px / 2);
  }
}

/* PRESENCE */


.presence {
  padding: 8rem 0;
}

.presence>div>h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  max-width: 800px;
  margin: 1rem auto 4rem auto;
  text-align: center;
}

.presence>div>h2>span {
  color: var(--color3);
}

.presence>div>div {
  display: flex;
  gap: 4rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.presence>div>div>div {
  flex: 1;
  background-color: rgba(0, 0, 0, .05);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: rgba(50, 50, 93, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.15) 0px 8px 16px -8px;
  border-radius: 20px;
  opacity: 0;
}

.presence>div>div>div.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.presence>div>div>div>div:first-child {
  height: 300px;
}

.presence>div>div>div>div:first-child>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.presence>div>div>div>div:last-child {
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
}


@media (max-width: 1000px) {
  .presence>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .presence>div>div>div>div:first-child {
    height: 200px;
  }
}

@media (max-width: 800px) {
  .presence>div>div>div {
    flex: 80%;
  }

  .presence>div>div>div>div:first-child {
    height: 250px;
  }
}

/* CHIMIQUE (basé sur DESINSECTISATION) */

.s-desinsectisation.chimique {
  opacity: 0;
}

.s-desinsectisation.chimique.animate {
  animation: opacity 500ms ease-in-out forwards;
}

@media (min-width: 1000px) {
  .s-desinsectisation.chimique>div:first-child {
    flex-direction: row-reverse;
  }
}

/* DUO */


.duo {
  padding: 8rem 0;
  /*background-color: var(--color4);*/
  /*color: var(--color2);*/
  opacity: 0;
}

.duo.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.duo>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.duo>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.duo>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 4rem auto;
  max-width: 800px;
}

.duo>div>p {
  max-width: min(800px, 100%);
  margin: auto;
  text-align: center;
}

.duo>div>p>span {
  font-weight: 700;
}

.duo>div>p:not(:last-child) {
  margin-bottom: 2rem;
}

.duo>div>div {
  display: flex;
  gap: 2rem;
}

.duo>div>div>div {
  padding: 1rem;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 20px;
  text-align: center;
}

@media (max-width: 1000px) {
  .duo>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .duo>div>div {
    flex-direction: column;
  }
}

/* POLTI (basé sur DESINSECTISATION) */

@media (min-width: 1000px) {
  .s-desinsectisation.polti>div:first-child>div:first-child>h3 {
    margin: 0;

  }

  .s-desinsectisation.polti>div:first-child>div:first-child>h2 {
    text-align: left;
  }
}

.s-desinsectisation.polti>div:first-child>div:first-child>p {
  text-align: justify;
  margin: 2rem 0;
}

.s-desinsectisation.polti>div:first-child>div:first-child>p>span {
  font-weight: 700;
}

.s-desinsectisation.polti>div:first-child>div:last-child {
  height: 550px;
}

.s-desinsectisation.polti>div:first-child>div:last-child>img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

.s-desinsectisation.polti>div:last-child {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
}

.s-desinsectisation.polti>div:last-child>span {
  margin: 0;
  display: block;
  width: fit-content;
  padding: 1rem 2rem;
  border: 1px solid var(--color4);
  background-color: var(--color4);
  color: var(--color2);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  text-align: center;
}

/* CIMEX (basé sur DUO) */

.duo.cimex {
  padding: 16rem 0 12rem 0;
  background-color: initial;
  color: initial;
}

@media (max-width: 1000px) {
  .duo.cimex {
    padding: 16rem 0 8rem 0;
  }
}

.duo.cimex.gris {
  background-color: #eeeeee;
}

.duo.cimex>div>div {
  width: min(800px, 90%);
  margin: 0 auto 4rem auto;
}

.duo.cimex>div>div>img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

@media (min-width: 1000px) {
  .duo.cimex>div>p {
    text-align: justify;
  }
}

.duo.cimex>div>ul {
  list-style: inside;
  max-width: min(800px, 100%);
  margin: auto;
}

@media (max-width: 1000px) {
  .duo.cimex>div>ul {
    text-align: center;
  }
}

.duo.cimex>div>div {
  align-items: center;
  margin-top: 4rem;
}

.duo.cimex>div>div>div:first-child {
  width: 300px;
  padding: 0;
  background-color: transparent;
  border: 0;
}

.duo.cimex>div>div>div:first-child>img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

.duo.cimex>div>div>div:last-child {
  flex: 1;
  padding: 0;
  background-color: transparent;
  border: 0;
}

.duo.cimex>div>div>div:last-child>ul {
  list-style: inside;
}

.duo.cimex>div>div>div:last-child>ul>span {
  font-weight: 700;
}

.duo.cimex>div>div>div:last-child>ul>li:first-of-type {
  margin-top: 1rem;
}

/* TARIF CIMEX (basé sur DUO) */

.duo.tarifs>div>p:not(:last-child) {
  margin-bottom: 4rem;
}

.duo.tarifs>div>div {
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.duo.tarifs>div>div>div {
  width: min(450px, 100%);
  display: grid;
  gap: 2rem;
}

@media (min-width: 1000px) {
  .duo.tarifs>div>div>div {
    grid-template-rows: 35px 35px 220px 140px;
    align-items: center;
  }
}

@media (max-width: 1000px) {
  .duo.tarifs>div>div>div {
    margin: auto;
  }
}

.duo.tarifs>div>div>div>div {
  line-height: 1.65rem;
}

.duo.tarifs>div>div>div>div:nth-child(1) {
  text-transform: uppercase;
}

.duo.tarifs>div>div>div>div:nth-child(2) {
  font-weight: 700;
  font-size: 1.5rem;
}

.duo.tarifs>div>div>div>div:nth-child(4) {
  font-weight: 700;
  font-size: 1.2rem;
}

.duo.tarifs .prix>span:first-of-type {
  font-size: 1.5rem;
}

.duo.tarifs .prix>span:nth-of-type(2) {
  font-size: .7rem;
}

/* VIDEO */


.video {
  padding: 8rem 0 0 0;
  background-color: #eeeeee;
  opacity: 0;
}

.video.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.video>div {
  display: flex;
  justify-content: center;
  gap: 8rem;
  align-items: center;
  flex-wrap: wrap;
}

.video>div>div>h3 {
  width: fit-content;
  position: relative;
  font-size: 1.2rem;
}

.video>div>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.video>div>div>h2 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem 0 2rem 0;
  max-width: 800px;
}

.video>div>div>p>span {
  font-weight: 700;
}

.video>div>div:last-child {
  width: 350px;
  height: 622px;
}

.video>div>div:last-child > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

@media (max-width: 1000px) {
  .video>div {
    flex-direction: column;
    gap: 4rem;
  }

  .video>div>div>h3 {
    margin: auto;
  }

  .video>div>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .video>div>div>p {
    text-align: center;
  }

}

/* ARTICLES */


.articles {
  padding: 8rem 0;
  background-color: #eeeeee;
  opacity: 0;
}

.articles.animate {
  animation: opacity 500ms ease-in-out forwards;
}

.articles>div>h3 {
  width: fit-content;
  margin: auto;
  position: relative;
  font-size: 1.2rem;
}

.articles>div>h3::after {
  content: '';
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color3);
  right: calc(-16px * 1.5);
  top: calc(50% - 16px / 2);
}

.articles>div>h2 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  line-height: 4.5rem;
  margin: 1rem auto 4rem auto;
  max-width: 800px;
}

.articles>div>p {
  max-width: min(800px, 100%);
  margin: auto;
  text-align: center;
}

.articles>div>p:not(:last-child) {
  margin-bottom: 4rem;
}

.articles>div>p>span {
  font-weight: 700;
}

.articles>div>div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.articles>div>div>div {
  padding: 1rem;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 20px;
  text-align: center;
  width: 300px;
}

.articles>div>div>div>img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
}

.articles>div>div>div>h4>a {
  display: block;
  color: inherit;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 1rem 0;
}

@media (min-width: 1000px) {
  .articles>div>div>div>h4>a {
    min-height: 156px;
    display: grid;
    place-content: center;
  }
}

@media (max-width: 1000px) {
  .articles>div>h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

/* ANIMATIONS */

@keyframes maxheight {
  0% {
    max-height: 0px;
    padding: 0;
  }

  100% {
    max-height: 100px;
    padding: 1rem;
  }
}

@keyframes BGcolor {
  0% {
    background-position: 100% 50%;
  }

  20% {
    background-position: 50% 50%;
  }

  40% {
    background-position: 50% 50%;
  }

  80%,
  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow-direction {
  0% {
    stroke-dashoffset: 0px;
  }

  100% {
    stroke-dashoffset: -100px;
  }
}

@keyframes fallingstars {
  0% {
    transform: rotate(315deg) translateX(0);
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: rotate(315deg) translateX(-1500px);
    opacity: 0;
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(.3) translateY(1000px);
  }

  30% {
    opacity: 1;
    transform: scale(1.5) translateY(0px);
  }

  55% {
    transform: scale(.90);
  }

  70% {
    transform: scale(1.05);
  }

  85% {
    transform: scale(.95);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  @keyframes bounce-in {
    0% {
      opacity: 0;
      transform: scale(.3) translateY(1000px);
    }

    30% {
      opacity: 1;
      transform: scale(1.2) translateY(0px);
    }

    55% {
      transform: scale(.90);
    }

    70% {
      transform: scale(1.05);
    }

    85% {
      transform: scale(.95);
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
}

@keyframes square {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-1500px) rotate(600deg);
  }
}

@keyframes spin {
  0% {
    transform: translateZ(-50px) rotateY(0);
  }

  100% {
    transform: translateZ(-50px) rotateY(360deg);
  }
}

@keyframes to-left {
  0% {
    opacity: 0;
    transform: translateX(1000px);
  }

  50% {
    opacity: 1;
    transform: translateX(0px);
  }

  60% {
    transform: translateX(20px);
  }

  70% {
    transform: translateX(0px);
  }

  85% {
    transform: translateX(10px);
  }

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

@keyframes to-right {
  0% {
    opacity: 0;
    transform: translateX(-1000px);
  }

  50% {
    opacity: 1;
    transform: translateX(0px);
  }

  60% {
    transform: translateX(-20px);
  }

  70% {
    transform: translateX(0px);
  }

  85% {
    transform: translateX(-10px);
  }

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

@keyframes svg-rotate {
  0% {
    transform: scale(4) rotate(45deg);
  }

  100% {
    transform: scale(4) rotate(405deg);
  }
}

@keyframes opacity {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}

@keyframes circleBorder {
  0% {
    stroke-dasharray: 0 648;
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 648;
  }
}

@keyframes circleOpacity {
  0% {
    opacity: 1;
    stroke-dashoffset: 0;
    stroke-dasharray: 648;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
    stroke-dasharray: 648;
  }
}

@keyframes circleBackground {
  0% {
    background: var(--color1);
  }

  100% {
    background: var(--color10);
  }
}

@keyframes circleBack {
  0% {
    background: var(--color10);
  }

  100% {
    background: var(--color1);
  }
}