:root {
  --coleur-principal: #028c35;
  --coleur-principal-lumineuse: #6eee9d;
}
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  background-color: #ececec;
  color: #333;
  /* background-color:var(--coleur-principal) ; */
}

a {
  text-decoration: none;
  transition: all 0.3s;
}

a:link,
a:visited {
  color: black;
}

a:hover,
a:active {
  font-weight: bold;
  color: var(--coleur-principal);
}

.heading-secondary {
  font-size: 16px;
  color: black;
  font-weight: bolder;
  color: white;
  text-transform: capitalize;
}

.header {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

h1 {
  color: var(--coleur-principal-lumineuse);
  font-size: 54px;
}

.logo {
  /* height: 150px; */
  width: 250px;
}

.menu {
  display: flex;
  justify-content: space-between;
  min-width: 1020px;
  align-items: center;
}
.nav {
  display: flex;
  gap: 40px;
}

.nav a:link,
.nav a:visited {
  color: var(--coleur-principal-lumineuse);
}

.nav a:hover {
  background-color: var(--coleur-principal);
  color: var(--coleur-principal-lumineuse);
  /* width: 200px;
  height: 50px; */

  padding: 5px 10px;
}

.header-container {
  height: 100vh;
  background:
    linear-gradient(
      to right bottom,
      rgba(0, 0, 0, 0.548),
      rgba(2, 137, 52, 0.45)
    ),
    url(./img/header-img.avif);
  background-size: cover;
}

.header-text-block {
  width: 750px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 150px;
}
section.rendezVous {
  width: 90%;
  margin: -100px auto 50px auto;
  padding: 50px 40px;

  background-color: #fff;

  box-shadow: 3px 1px 20px 1px var(--coleur-principal);
}

.rendezVous h3 {
  margin-bottom: 30px;
  text-align: center;
}

#prendreRendezvous input,
#prendreRendezvous select {
  width: 130px;
  height: 50px;
  font-size: 16px;
  padding: 0 10px;
}

#prendreRendezvous button {
  font-size: 16px;
  text-transform: capitalize;
  cursor: pointer;
}

form#prendreRendezvous {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* GLOBAL */
section h2 {
  font-size: 32px;
  text-align: center;
  line-height: 1.6;
}

section.global-section {
  padding: 96px 0;
}
/* CHANGED */
section.global-section span {
  color: var(--coleur-principal);
  text-decoration: underline;
}

section.global-section p:nth-child(2) {
  text-align: center;
  text-transform: lowercase;
}
/* End Changed */

.icon-box-container,
.etapes-fonction {
  margin-top: 96px;
  display: flex;
  padding: 0 40px;
  gap: 20px;
}

.icon-box,
.etape {
  box-shadow: 0px 1px 9px 0px rgb(175, 174, 174);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;

  background-color: #fff;
  padding: 30px 40px;
}

.icon-box:hover {
  transform: translateY(-20px);
}

.icon-box p,
.etape p {
  text-transform: lowercase;
  text-align: center;
}

.icon-box img,
.etape img {
  width: 70px;
}

.container-cta {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 15px 20px;
  font-weight: bold;
  border: 1px solid black;
}

.btn.noir:link,
button.btn-noir,
.btn.noir:visited {
  background-color: #000;
  color: #fff;
}

.btn.noir:hover,
.btn.noir:active,
.btn.transparent:hover,
.btn.transparent:active,
button.btn-noir:hover {
  background-color: var(--coleur-principal);
  border: 1px solid var(--coleur-principal);
  color: #fff;
}

.qui-sommes-nous {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;

  margin: 96px 0;
  padding: 96px 40px;
  background-color: #f5f5f5;
  row-gap: 100px;
  column-gap: 59px;
}

.qui-sommes-nous h2 {
  text-align: start;
  line-height: 1.3;
}

.apropos.center {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.apropos.center a {
  margin-top: 30px;
}

.apropos p {
  margin-top: 20px;
  line-height: 1.6;
}

.apropos ul {
  margin-top: 50px;
  line-height: 1.6;
  list-style: none;
}

.apropos ul li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.img-block {
  display: flex;
  justify-content: center;
  align-content: center;
}

.img-block img.img {
  object-fit: cover;
  width: 100%;
  margin: 0 auto;
}

img.icon-list {
  width: 25px;
  height: 25px;
}

.etape {
  position: relative;
}

.etape:hover {
  transform: scale(108%);
}

.numerotation {
  background-color: var(--coleur-principal);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 24px;

  position: absolute;
  top: 0;
  left: 0;
  /* right: 0; */
  /* bottom: 0; */
}

#apercu {
  height: 400px;
  width: 100%;

  position: relative;
}

#apercu .apercu-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#apercu .video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;

  color: #fff;
}

.video-play {
  display: block;
  font-size: 72px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px var(--coleur-principal);
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  margin-top: 56px;
  padding: 0 56px;
}

.testimonial {
  background-color: #fff;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 10px 2px rgb(196, 196, 196);
}

.testimonial p {
  font-weight: bold;
  font-size: 20px;
}

.testimonial blockquote {
  font-style: italic;
  color: #888;
}

.footer {
  display: flex;
  box-shadow: 0px 6px 20px 5px #bbb;
  gap: 50px;
  padding: 42px 96px;
  background-color: #fff;
  position: relative;
}

.footer > div {
  width: 100%;
}

.footer .logo {
  width: 100%;
  margin-bottom: 25px;
}

.footer ul {
  list-style: none;
}

.footer h2 {
  margin-bottom: 25px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 10px;
  /* font-weight: bold; */
}

.list-service {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copyright {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons img {
  width: 40px;
  margin-bottom: 32px;
}

/* SCREEN LESS THAN 600px */
@media only screen and (max-width: 600px) {
  body {
    font-size: 12px;
  }

  h1 {
    font-size: 24px;
  }

  .header-text-block {
    width: 60%;
  }

  .nav {
    display: none;
  }

  .menu {
    min-width: 100%;
    max-width: 100%;
  }

  .icon-box-container,
  .etapes-fonction,
  form#prendreRendezvous,
  .footer {
    flex-wrap: wrap;
  }

  /* form#prendreRendezvous {
    flex-wrap: wrap;
  }

  .footer {
    flex-wrap: wrap;
  } */
}
