@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

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

body {
  font-family: "Lexend", sans-serif;
}

#navbar {
  position: fixed;
  width: 100%;
  z-index: 100;
}

#navbar .nav {
  max-width: 80rem;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.nav .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav .logo img {
  height: 3rem;
}

.btns {
  display: inline-flex;
  gap: 0.5rem;
  margin-right: 0.75rem;
}

.btns a {
  text-decoration: none;
}

[dir="rtl"] .btns {
  margin-left: 0.75rem;
  margin-right: 0;
}

.compte {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;

  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;

  padding: 0.5rem 0.75rem;
  box-sizing: border-box;

  border: 1px solid transparent;
  border-radius: 9999px;

  background-color: #ed6841;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.compte:hover {
  background-color: #000000;
  color: #ffffff;
}

.compte:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(237, 104, 65, 0.4);
}

.ul {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ul li {
  list-style: none;
}
.ul li a {
  text-decoration: none;
  color: #fff;
}

.menu {
  display: none;
}

.video {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(#0000001a, rgba(0, 0, 0, 0.884));
}

video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
}

.video .contenue {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: aliceblue;
  padding-bottom: 3rem;
  gap: 1rem;
}

.video .contenue img {
  width: 250px;
}

.contenue .texte h1 {
  font-size: 3rem;
  text-align: center;
}

.contenue .texte p {
  font-size: 1.5rem;
  text-align: center;
  width: 70%;
  margin: auto;
}

.video .app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.video .app img {
  height: 60px;
  width: auto;
  object-fit: cover;
}

.video .app img:hover {
  transform: scale(1.1);
}

.down {
  display: flex;
  font-size: 1rem;
  font-weight: bold;
  animation: down 0.8s ease-in-out infinite;
  padding-top: 2rem;
}

@keyframes down {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(40%);
  }
}

.section2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  gap: 2rem;
}

.section2 .gauche {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
  width: 70%;
  height: 100%;
  transform: translateX(-70%);
}

.section2 .gauche img {
  height: auto;
  width: 100%;
}

.section2 .droite {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  object-fit: cover;
  z-index: -2;
  width: 70%;
  height: 100%;
  transform: translateX(70%);
}

.section2 .droite img {
  height: auto;
  width: 100%;
}

.section2 .element {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.element h1 {
  color: #ef4f5f;
  text-align: center;
  font-size: 4rem;
  width: 50%;
  font-weight: 600;
}
.element p {
  text-align: center;
  font-size: 1.5rem;
  width: 40%;
  font-weight: 300;
  color: #596378;
}

.img1 {
  position: absolute;
  width: auto;
  height: 200px;
  left: 12%;
  top: 25%;
}

.img2 {
  position: absolute;
  width: auto;
  height: 200px;
  right: 10%;
  top: 20%;
}

.img3 {
  position: absolute;
  width: auto;
  height: 200px;
  right: 5%;
  bottom: 25%;
}

.img4 {
  position: absolute;
  width: 40px;
  height: auto;
  left: 5%;
  bottom: 35%;
}

.img5 {
  position: absolute;
  width: 50px;
  height: auto;
  left: 30%;
  top: 10%;
}

.img6 {
  position: absolute;
  width: 40px;
  height: auto;
  right: 5%;
  top: 40%;
}

.section2 .card {
  display: flex;
  max-width: 1200px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  color: #596378;
  border-radius: 20px;
  gap: 1rem;
  padding: 1rem;
}

.card .info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid #59637815;
  padding: 1rem;
}

.card .info img {
  height: 3rem;
  width: auto;
}

.der {
  width: 100%;
  height: 60vh;
  background-color: #efe1cc;
  overflow-y: hidden;
}

.der .de {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.der .de .image {
  width: 40%;
  height: auto;
}

.der .de .image img {
  width: 400px;
}

.der .app {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.der .app img {
  height: 50px;
  width: auto;
  object-fit: cover;
}

.der .de .cont {
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
  gap: 3rem;
  width: 50%;
}

.der .de .cont h2 {
  font-size: 2rem;
}

.der .de .cont .elements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.der .de .cont .elements .details {
  display: flex;
  gap: 1rem;
}

footer {
  background: #2b0200;
}

.footer {
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  margin: auto;
  color: #fff;
  gap: 3rem;
  padding: 1rem;
  padding-top: 2rem;
}

.fou {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer .app {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer .app img {
  height: 50px;
  width: auto;
  object-fit: cover;
}

.grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.grid .cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 0%;
}

.grid .cards a {
  color: #bea393;
  text-decoration: none;
}

.grid .cards a:hover {
  color: white;
}

.imgf {
  display: flex;
  justify-content: space-between;
}

.imgf img {
  height: 30px;
}

.imgf .icons {
  display: flex;
  gap: 1rem;
}

.imgf .icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f7f71a;
  border-radius: 1rem;
  padding: 8px;
}

.imgf .icons a:hover {
  background: #f8f7f744;
}

.mentions {
  display: flex;
  gap: 1rem;
}

.mentions hr {
  color: #bea393;
}

.mentions a {
  color: #bea393;
  text-decoration: none;
}

.mentions a:hover {
  color: white;
}

.fin {
  display: flex;
  flex-direction: column;
  color: #bea393;
  gap: 1rem;
}

.pour {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sect3 {
  max-width: 1000px;
  margin: auto;
  padding: 3rem;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.sectgrid3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

hr {
  font-weight: 100;
  color: #ef4f5f;
}

.sectgrid3 img {
  height: 150px;
  width: auto;
}

.detail3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail3text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail3 a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eb1700ff;
  gap: 1rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

.sect4 {
  max-width: 1000px;
  margin: auto;
}

.sect4cont {
  display: flex;
  gap: 2rem;
}

.sect4text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

.sect4text h2 {
  font-size: 2rem;
  font-weight: bold;
}

.sect4text a {
  display: inline-flex;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  background-color: #eb1700ff;
  padding: 10px;
  border-radius: 2rem;
}

.sect4text a:hover {
  background-color: #b71000ff;
}

.image4 img {
  max-width: 530px;
}

.sect5 {
  background-color: #fef1ee;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.sect5cont {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
}

.sect5text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
}

.sect5text h2 {
  font-size: 2rem;
  font-weight: bold;
}

.sect5text a {
  display: inline-flex;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  background-color: #eb1700ff;
  padding: 10px;
  border-radius: 2rem;
}

.sect5text a:hover {
  background-color: #b71000ff;
}

.image5 img {
  max-width: 530px;
}

.sect6 {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.548);
  /* Superpose l'effet sombre (overlay) directement sur l'image */
  background:
    linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.36)),
    url("https://img.cdn4dd.com/cdn-cgi/image/fit=cover,format=auto,quality=60/https://cdn.doordash.com/managed/consumer/seo/home/landing_cta/grocery_desktop.png");

  /* Propriétés essentielles pour que l'image couvre tout l'espace proprement */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.sect6text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 700px;
}

.sect6text h2 {
  font-size: 2rem;
  font-weight: bold;
}

.sect6text a {
  display: inline-flex;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  background-color: #eb1700ff;
  padding: 10px;
  border-radius: 2rem;
}

.sect6text a:hover {
  background-color: #b71000ff;
}

/* responsive  */

@media (max-width: 1013px) {
  .grid3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
  }

  .sectgrid3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .sectgrid3 {
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    gap: 1rem;
  }

  .detail3 a {
    display: flex;
    justify-content: start;
  }
}

@media (max-width: 767px) {
  .video .contenue img {
    width: 200px;
  }

  .contenue .texte h1 {
    font-size: 2rem;
    text-align: center;
  }

  .contenue .texte p {
    font-size: 1rem;
  }

  .video .app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .video .app img {
    height: 40px;
    width: auto;
    object-fit: cover;
  }

  .element h1 {
    color: #ef4f5f;
    text-align: center;
    font-size: 2rem;
    width: 80%;
  }
  .element p {
    text-align: center;
    font-size: 1rem;
    width: 80%;
    font-weight: lighter;
  }

  .img1 {
    position: absolute;
    width: auto;
    height: 90px;
    left: 10%;
    top: 15%;
  }

  .img2 {
    position: absolute;
    width: auto;
    height: 90px;
    right: 15%;
    top: 10%;
  }

  .img3 {
    position: absolute;
    width: auto;
    height: 90px;
    right: 3%;
    bottom: 60%;
  }

  .img4 {
    position: absolute;
    width: 20px;
    height: auto;
    left: 5%;
    bottom: 55%;
  }

  .img5 {
    position: absolute;
    width: 20px;
    height: auto;
    left: 30%;
    top: 10%;
  }

  .img6 {
    position: absolute;
    width: 20px;
    height: auto;
    right: 5%;
    top: 30%;
  }

  .section2 .card {
    display: inline-flex;
    width: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    color: #596378;
    border-radius: 20px;
    gap: 2px;
    padding: 1rem;
  }

  .card .info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid #59637815;
    padding: 1rem;
  }

  .card .info h1 {
    font-size: medium;
  }
  .card .info p {
    font-size: small;
  }

  .card .info img {
    height: 2rem;
    width: auto;
  }

  .der {
    width: 100%;
    height: 100%;
    background-color: #efe1cc;
    overflow: hidden;
    padding: 2rem;
  }

  .der .de {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .der .de .cont {
    width: 100%;
  }

  .der .de .image {
    width: 100%;
  }

  .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .mentions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .sect4cont {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .image4 img {
    max-width: 100%;
    padding: 1rem;
  }

  .sect5cont {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .image5 img {
    max-width: 100%;
    padding: 1rem;
  }

  .sect4text {
    padding: 2rem;
  }

  .sect5text {
    padding: 2rem;
  }

  .btns {
    order: 2;
    margin-left: 0;
    margin-right: 0;
  }

  .mc {
    display: none;
  }

  .ul {
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    margin-top: 14rem;
    width: 100%;
    left: 0;
  }

  .ul.flex {
    display: flex;
    background: #fff;
    color: black;
  }

  .ul li a {
    color: #000000;
  }

  .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.5rem;
    box-sizing: border-box;
    font-size: 0.875rem;
    color: #4b5563;
    border: none;
    border-radius: 0.375rem;
    background-color: transparent;
    cursor: pointer;
    transition:
      background-color 0.2s,
      color 0.2s,
      box-shadow 0.2s;
  }

  .menu:hover {
    background-color: #f3f4f6;
    color: #111827;
  }

  .menu:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #d1d5db;
  }
}

@media (max-width: 482px) {
  .section2 .card {
    display: inline-flex;
    flex-direction: column;
  }

  .img3 {
    position: absolute;
    width: auto;
    height: 90px;
    right: 3%;
    bottom: 40%;
  }
}
