* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ✅ centre verticalement */
  min-height: 100vh;
}

.container {
  background-color: rgba(240,240,240,.95);
  padding: 40px 25px;
  border-radius: 25px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  /* margin:40px auto;  ✅ supprimé pour centrer */
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.highlight {
  color: #0073ff;
}

.section {
  text-align: center; /* ✅ au lieu de justify */
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  padding: 0 10px;
}

.section ul {
  padding-left: 20px;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0073ff;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  transition: all .3s ease;
  min-width: 120px;
  text-align: center;
}

.btn:hover {
  background-color: #005ed6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.arrows {
  display: flex;
  justify-content: space-between;
  margin: 30px auto 10px auto;
  max-width: 300px;
  width: 100%;
  gap: 10px;
  flex-wrap: wrap;
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #000;
  padding: 10px 18px;
  border-radius: 30px;
  border: 2px solid #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s ease;
  flex: 1;
  text-align: center;
}

.arrow:hover {
  background-color: rgba(0,0,0,.05);
}

footer {
  text-align: center;
  font-size: .9rem;
  color: #666;
  margin-top: 30px;
}

.images-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.images-wrapper img {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 10px;
  object-fit: contain;
}

.text-image-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  margin: 30px 0;
}

.text-image-row.reverse {
  flex-direction: row-reverse;
}

.text-image-row img {
  width: 45%;
  border-radius: 10px;
  flex-shrink: 0;
}

.text-image-row .text {
  width: 55%;
}

.top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: space-between;
}

.top-row .left-text {
  flex: 1;
  min-width: 250px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  padding: 0 10px;
}

.top-row .right-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
}

.top-row .right-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 15px auto;
}

.text-image-row {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.text-image-row.left img {
  order: 0;
  margin: 0 15px 0 0;
}

.text-image-row.right img {
  order: 1;
  margin: 0 0 0 15px;
}

.text-image-row img {
  max-width: 40%;
  height: auto;
  flex-shrink: 0;
}

.three-images-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.three-images-row img {
  flex: 1 1 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
  height: auto;
  border-radius: 10px;
}

@media(max-width:600px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .btn, .arrow {
    font-size: .95rem;
    padding: 12px 16px;
    width: 90%;
  }

  .btn-wrapper {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .arrows {
    flex-direction: column-reverse !important;
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }

  .arrow {
    width: 100% !important;
    max-width: 90%;
  }

  .images-wrapper img {
    max-width: 100%;
  }

  .text-image-row, .text-image-row.reverse {
    flex-direction: column;
  }

  .text-image-row img, .text-image-row .text {
    width: 100%;
  }

  .top-row {
    flex-direction: column;
  }

  .section img, .three-images-row img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}