/* HERO BANNER STYLING */

#hero_banner {
  position: relative;
  width: 100%;
  height: 40vh;
  max-height: 400px;
  overflow: hidden;
}

#hero_banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hero_banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 95%);
  z-index: 1;
}

#hero_banner > div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 75%;
  z-index: 2; /* Le contenu doit être au-dessus du dégradé */
}

#hero_banner > div > p {
  font-family: "Ruda", sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--background-color);
}

/* END */

/* FIRST SECTION STYLING */
#brief_description {
  margin-left: 11rem;
  margin-right: 11rem;
  margin-bottom: 8rem;
  margin-top: 8rem;
}

#brief_description > div {
  display: flex;
  justify-content: space-between;
}
#brief_description > img {
  margin-bottom: 2.5rem;
}

#brief_description h1 {
  color: var(--text-color);
  font-size: 3rem;
  line-height: 1;
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  margin: 0;
}

#brief_description > div > div:first-child {
  display: flex;
  flex-direction: column;
  row-gap: 2.25rem;
  width: 40%;
}

#brief_description > div > div:first-child > img {
  width: 240px;
}

#brief_description > div > div:first-child > p {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin: 0;
}

#brief_description > div > div:last-child {
  position: relative;
  width: 515px;
  height: 390px;
}

#brief_description > div > div:last-child > img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: var(--border-radius);
}

#brief_description > div > div:last-child > img:nth-child(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  border-radius: var(--border-radius);
}

#brief_description > div > div:last-child > img:nth-child(3) {
  position: absolute;
  bottom: 25px;
  right: 270px;
  z-index: 1;
}

.networks {
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  align-items: center;
  padding: 0;
}

.networks > li {
  list-style: none;
  height: 2.5rem;
}

.networks img {
  width: auto;
  height: 100%;
  filter: grayscale(100%);
}

/* END */

/* SECOND SECTION STYLING */

#prestations {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10rem;
  margin-left: 11rem;
  margin-right: 11rem;
}

#prestations > h2 {
  font-size: 3rem;
  line-height: 1;
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  margin: 0;
  color: var(--text-color);
  width: 548px;
  text-align: center;
}

#prestations > a {
  margin: 1.75rem 0;
  color: var(--background-color);
}

#prestations > .element_container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2.5rem;
}

#prestations > .element_container > .element {
  width: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#prestations > .element_container > .element > p {
  font-family: "Ruda", sans-serif;
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--text-color);
  text-align: center;
  margin: 0;
  margin-bottom: 1.75rem;
}

/* END */

/* LINK STYLING */
.underline_link {
  font-family: "Roboto", sans-serif;
  color: var(--tertiary-color);
  font-weight: 700;
  width: fit-content;
}
.underline_link::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 2px solid var(--tertiary-color);
  margin-top: 1rem;
}
.underline_link:hover {
  color: var(--tertiary-color);
  opacity: 0.6;
}
/* END */

/* DECORATIVE IMAGE STYLING */
.image_with_logo_ontop {
  position: relative;
  width: 470px;
  height: 292px;
}

.image_with_logo_ontop > img:first-child {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  height: 115%;
}

.image_with_logo_ontop > img:nth-child(2) {
  position: absolute;
  bottom: -15%;
  right: 10%;
  z-index: 1;
}
/* END */

/* THIRD SECTION STYLING */
#stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15rem;
  margin-left: 11rem;
  margin-right: 11rem;
}

#stats h2 {
  font-size: 3rem;
  line-height: 1;
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  margin: 0;
  color: var(--text-color);
  width: 548px;
}

#stats > div:nth-child(1) {
  display: flex;
  justify-content: space-between;
  column-gap: 3rem;
  width: 100%;
}

#stats > div:nth-child(1) > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#stats > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 3.5rem;
  margin-top: 10rem;
}

#stats > div:nth-child(2) > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 210px;
}

#stats > div:nth-child(2) > div > p:first-child {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin: 0;
  color: var(--tertiary-color);
}

#stats > div:nth-child(2) > div > p:last-child {
  font-family: "Archivo", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5rem;
  margin: 0;
  text-align: center;
}
/* END */

/* FOURTH SECTION STYLING */
#morals {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10rem;
  margin-left: 11rem;
  margin-right: 11rem;
}

#morals h2 {
  font-size: 3rem;
  line-height: 1;
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  margin: 0;
  color: var(--text-color);
  width: 548px;
}

#morals > div {
  display: flex;
  justify-content: space-between;
  column-gap: 3rem;
  width: 100%;
}

#morals > div:first-child > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 2rem;
  width: 40%;
}

#morals > div:first-child > div > p {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin: 0 auto;
}

#morals .quotes {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4rem;
}
#morals .quote_element {
  display: flex;
  flex-direction: column;
  width: 310px;
}
#morals .quote_element > p:nth-child(1) {
  font-family: "Archivo", sans-serif;
  color: var(--tertiary-color);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: bottom;
  margin: 0;
}
#morals .quote_element > p:nth-child(2) {
  font-family: "Ruda", sans-serif;
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: var(--text-color);
  font-weight: 700;
  margin: 0;
}
#morals .quote_element > p:nth-child(3) {
  margin-top: 1.75rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.25rem;
  line-height: 2rem;
}

/* END */

/* FIFTH SECTION STYLING */
#channels {
  display: flex;
  justify-content: space-between;
  margin-top: 15rem;
  margin-left: 11rem;
  margin-bottom: 18rem;
}

#channels h2 {
  font-size: 3rem;
  line-height: 1;
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  margin: 0;
  color: var(--text-color);
  width: 548px;
}

#channels > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 2rem;
  width: 30%;
}

#channels > div:first-child > div:first-child > p {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
#channels > div:first-child > div:last-child {
  display: flex;
  align-items: center;
  width: 75%;
}

#channels > div:last-child {
  width: 65%;
  overflow: hidden;
}

/* <!-- W4tch Slider Blocs | CSS --> */
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-wrapper {
  display: flex;
  align-items: center;
}

.slider-content {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius);
  width: 547px !important;
}
.slider-content > img {
  max-width: 547px;
  height: auto;
  object-fit: cover;
}
.slider-content > div {
  display: flex;
  justify-content: space-between;
  background-color: #000000;
  padding: 1.75rem 2.5rem;
  height: 151px;
  max-width: 547px;
}
.slider-content > div > div:first-child {
  display: flex;
  flex-direction: column;
  width: 65%;
}
.slider-content > div > div:first-child > .subtitle {
  font-family: "Archivo", sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #d9d9d9;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slider-content > div > div:first-child > .title {
  font-family: "Ruda", sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--background-color);
  font-weight: 900;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slider-content > div > div:last-child {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 50%;
}
.slider-content > div > div:last-child > a {
  font-weight: 400;
  font-family: "Archivo", sans-serif;
}
.slider-content > div > div:last-child > a::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 2px solid var(--tertiary-color);
  margin-top: 0.5rem;
}
/* END */

@media (min-width: 1536px) {
  main {
    padding-left: 5%;
    padding-right: 5%;
  }
}
