* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  line-height: 27px;
  overflow-x: hidden;
}

body {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
  color: #1E1E1E;
  background-color: #F5F5F5;
  overflow-x: hidden;
}

h1,
h2,
h3,
span,
a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 2.625rem;
  text-transform: uppercase;

  & span {
    font-size: 1.438rem;
    font-weight: 400;
    line-height: 2.156rem;
    text-transform: lowercase;
  }
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2.625rem;
  text-transform: uppercase;
}

p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.688rem;
}

a {
  text-decoration: none;
  line-height: 1.5rem;
  color: #1E1E1E;
}

ul {
  list-style-type: none;
}

img {
  -webkit-transform: scale(1);
  /* Préfixe pour Chrome, Safari */
  -moz-transform: scale(1);
  /* Préfixe pour Firefox */
  -ms-transform: scale(1);
  /* Préfixe pour IE */
  transform: scale(1);
  /* Propriété standard */
}


/* ------------------------ header ------------------------------ */

header {
  padding: 2.5rem 6% 2.5rem 6%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

/* ---------------------- Section : Presentation ----------------------- */

.home-section {
  padding: 4rem 6% 2.5rem 6%;
  position: relative;
}

.presentation,
.professionals {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.presentation .home-section-header {
  position: relative;
}

.presentation .home-section-header .first-title,
.presentation .home-section-header .second-title {
  max-width: 77%;
  margin-left: auto;
  margin-right: auto;
}

.presentation .home-section-header,
.presentation .card-container {
  margin-bottom: 4rem;
}

.presentation .card-container {
  display: grid;
  gap: 48px;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.presentation .card-container span {
  font-size: 1.25rem;
  font-weight: bold;
}

.presentation .card-container p {
  font-size: 1.25rem;
}

.presentation .card-container .card {
  display: flex;
  gap: 30px;
}


/* ---------------------- Section : Professionals ----------------------- */

.professionals {
  background-color: #1C1631;
  color: #FBFDFB;
  position: relative;
}

.professionals .container {
  max-width: 80vw;
  margin-bottom: 4rem;
  position: relative;
}

.professionals .container .professionals-wrapper h2 {
  font-size: 1.688rem;
  font-weight: 700;
  line-height: 2.531rem;
  text-transform: none;
  margin: 4rem 0 4rem 0;
  text-transform: none;
}

.professionals .container .list-professionals {
  display: flex;
  justify-content: center;
  max-width: 80%;
}

.professionals .container .list-professionals ul {
  display: grid;
  gap: 36px;
  margin-left: 2rem;
}

/* ---------------------- Section : Coopératives ----------------------- */

.cooperatives {
  position: relative;
}

.cooperatives .home-section,
.references .home-section {
  padding: 2rem 6% 2.5rem 6%;
}

.cooperatives .container {
  margin: 7rem 0 2rem 0;
}

.cooperatives .container .title-wrapper,
.references .container .title-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.cooperatives .container .title-wrapper h2,
.references .container .title-wrapper h2 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 3.15rem;
  padding-left: 12px;
}

.cooperatives .container .cooperatives-list {
  display: grid;
  justify-content: center;
  margin-top: 1rem;
  grid-template-columns: auto auto;
  gap: 24px;
}

.cooperatives .container .cooperatives-list .scoop-logo img {
  height: 66px;
  width: 109px;
}

/* ---------------------- Section : Références ----------------------- */

.references .container {
  margin: 4rem 0 2rem 0;
}

.references .container .card-container {
  margin-bottom: 7rem;
}

.references .container .card-container .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}

.references .container .card-container .card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2.438rem;

  & span {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.875rem;
    text-transform: lowercase;
  }
}

.references .container .card-container .card .description {
  display: grid;
  text-align: center;
  gap: 16px;
}


/* ---------------------- Card-content ----------------------- */

.contact-us {
  position: relative;
  bottom: 295px;
  display: flex;
  justify-content: center;
}

.contact-us .contact-us-wrapper {
  position: absolute;
  height: 258px;
  max-width: 318px;
  background-color: #6667AD;
}

.contact-us .card-content {
  color: #FFFFFF;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-us .card-content p:first-child {
  font-size: 1.5rem;
  margin-bottom: 16px;

}

.contact-us .card-content p {
  font-size: 1rem;
  font-weight: 200;
  text-align: center;
  margin-bottom: 16px;
}

.contact-us .card-content .contact-button {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 22px 30px;
  border: 1.5px solid #FFFFFF;
  background-color: transparent;
  height: 39px;
}

.contact-us .card-content .contact-button:hover {
  outline: 2px solid #FFFFFF;
  font-weight: bold;
  box-shadow: 0 0 10px 1px #FFFFFF;
}

/* ---------------------- Footer ----------------------- */

footer {
  background-color: #1C1631;
  color: #FFFFFF;
  padding: 8rem 7% 2rem 7%;
}

footer .content-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  margin-bottom: 18px;
}

footer .content-info .email {
  font-size: inherit;
  color: inherit;
}

footer .content-info a:hover {
  -webkit-text-stroke: 1px #FFFFFF;
}

footer .content-info .content {
  text-align: center;
}

footer .content-info .content p:last-child {
  font-size: 1rem;
  line-height: 1.5rem;
}

footer .copyright p {
  font-size: 0.813rem;
  line-height: 1rem;
  text-align: center;
}

footer .content-info .visibility {
  visibility: hidden;
}


/* ---------------------------- Responsive ----------------------- */

/* For screens larger than 769px */
@media screen and (min-width: 769px) {

  h1 {
    font-size: 3rem;
    line-height: 3.6rem;
  }

  .card-container img {
    width: 55px;
    height: 48px;
  }

  .presentation .home-section-header {
    margin-bottom: 6rem;
  }

  .presentation .home-section-header .first-title {
    max-width: 67%;
    margin-bottom: 4rem;
  }

  .presentation .home-section-header .title-wrapper .content {
    max-width: 40vw;
  }

  .presentation .home-section-header .second-title {
    max-width: 67%;
  }

  .presentation .card-container {
    max-width: 40%;
  }

  .professionals .container {
    display: flex;
    flex-direction: column;
  }

  .professionals .container .professionals-wrapper {
    max-width: 65%;
  }

  .professionals .container .professionals-wrapper h2 {
    margin: 2rem 2rem 4rem 0;
  }

  .professionals .container .list-professionals {
    position: relative;
    display: flex;
    justify-content: flex-end;
    max-width: 50%;
    margin-left: auto;
  }

  .professionals .container .list-professionals ul {
    margin-left: 1rem;
  }

  .cooperatives .container .title-wrapper h2,
  .references .container .title-wrapper h2 {
    font-size: 2rem;
    line-height: 3.6rem;
  }

  .cooperatives .container .cooperatives-list {
    grid-template-columns: auto auto auto;
    display: grid;
    justify-content: center;
    gap: 48px;
  }

  .cooperatives .container .cooperatives-list .scoop-logo img {
    height: 115px;
    width: 200px;
  }

  .references .container .card-container {
    grid-template-columns: auto auto;
    display: grid;
    justify-content: center;
    gap: 80px;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .references .container .card-container .card {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: flex-start;
    max-width: 85%;
  }

  .references .container .card-container .card .description {
    text-align: left;
  }

  .contact-us {
    bottom: 318px;
    right: -200px;
  }

  .contact-us .card-content {
    height: 258px;
    max-width: 357px;
  }

  footer {
    padding: 8rem 2rem 2rem 2rem;
  }

  footer .content-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
  }

  footer .content-info a {
    padding: 0 2rem 0 2rem;
  }

  footer .content-info .content {
    max-width: 35vw;
    padding: 0 2rem 0 2rem;
  }

  footer .content-info .visibility {
    visibility: visible;
  }

}