/* --- Base & Normalized Styles --- */

.home_presentation {
  position: relative;
  margin-top: -100px;
  z-index: 888;
}

.home_presentation_wave {
  display: flex;
  position: relative;
  z-index: 1;
  height: clamp(100px, 20vw, 180px); /* Fluid height for wave */
  overflow: hidden;
}

.wave-svg {
  width: 100%;
  height: 100%;
}

.wave-move {
  animation: waveMove 25s linear infinite;
}

@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-1600px); }
}

.home_presentation_data {
  background-image: linear-gradient(180deg, #D8ECF9 0%, #D8ECF9 50%, #FFF 100%);
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 10px; /* Replaces calc(100% - 20px) on children */
  box-sizing: border-box;
  margin-top: -50px;
}

.home_presentation_sized {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px; /* Added logical constraint */
}

.home_presentation_chiffre_s {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px; /* Replaces individual margins on circles */
  padding: 20px 0;
}

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

.home_presentation_chiffre_i_sized {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(180px, 25vw, 250px); /* Fluid sizing for circles */
  aspect-ratio: 1/1;
  background: #FFFFFF;
  border-radius: 50%;
  border: 4px solid #3FB0E5;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.home_presentation_chiffre_i > img {
  height: clamp(50px, 8vw, 74px); /* Fluid image height */
  width: auto;
}

.home_presentation_chiffre_i div:nth-child(2) {
  max-width: 90%;
  margin-top: 20px;
  color: #242424;
  font: 400 clamp(1.25rem, 3vw, 1.75rem) / 1.2 OS_ALT_Regular_Italic;
  text-align: center;
  letter-spacing: -0.84px;
}

.home_presentation_chiffre_i div:nth-child(3) {
  max-width: 80%;
  color: #242424;
  font: 400 clamp(1rem, 2.5vw, 1.375rem) / 1.3 OS_Regular;
  text-align: center;
  letter-spacing: -0.84px;
}

.home_presentation_about {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allows stacking on smaller screens */
  gap: 40px; /* Space between left and right columns */
  width: 100%;
  max-width: 1600px;
  padding: 40px 10px 60px 10px;
  box-sizing: border-box;
}

.home_presentation_about_left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55%;
  max-width: 1000px;
}

.home_presentation_about_left img {
  width: 100%;
  height: auto;
  max-width: 800px;
}

.home_presentation_about_right {
  display: flex;
  flex-direction: column;
  width: 35%;
}

.home_presentation_about_right h2 {
  display: flex;
  align-items: flex-start;
}

.home_presentation_about_right h2 div.tilde {
  display: flex;
  align-items: center;
  width: 36px;
  height: clamp(40px, 6vw, 60px);
  margin-right: 10px;
  flex-shrink: 0;
}

.home_presentation_about_right h2 div.tilde img {
  width: 100%;
  height: auto;
}

.home_presentation_about_right h2 div.flex_title_text {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 46px); /* Adjusted based on tilde width + margin */
}

.home_presentation_about_right h2 div.flex_title_text > div:nth-child(1) {
  width: 100%;
  color: #3FB0E5;
  font: 400 clamp(2rem, 5vw, 3.75rem) / 1.1 OS_ALT_Regular_Italic;
  text-align: left;
  letter-spacing: -0.84px;
}

.home_presentation_about_right h2 div.flex_title_text > div:nth-child(2) {
  width: 100%;
  color: #242424;
  font: 400 clamp(1.5rem, 4vw, 2.5rem) / 1.1 OS_ALT_Regular_Italic;
  text-align: left;
  letter-spacing: -0.84px;
}

.home_presentation_about_right .home_presentation_about_paragraph {
  max-width: 520px;
  margin-top: 20px;
  color: #242424;
  font: 400 clamp(1.125rem, 2vw, 1.375rem) / 1.5 OS_Regular;
  text-align: left;
}

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

/* Tablet Devices */
@media (max-width: 900px) {
  .home_presentation {
    margin-top: -60px; /* Reduce overlap on smaller screens */
  }

  .home_presentation_about_left,
  .home_presentation_about_right {
    width: 100%; /* Stack columns vertically */
    max-width: 600px;
    align-items: center;
    text-align: center;
  }

  .home_presentation_about_right h2 {
    justify-content: center; /* Center the title block */
  }

  .home_presentation_about_right h2 div.flex_title_text > div:nth-child(1),
  .home_presentation_about_right h2 div.flex_title_text > div:nth-child(2),
  .home_presentation_about_right .home_presentation_about_paragraph {
    text-align: flex-start; /* Center text when stacked */
  }
  
  .home_presentation_about_right .home_presentation_about_paragraph {
    max-width: 100%;
  }
}

/* Mobile Devices */
@media (max-width: 480px) {
  
  .home_presentation_wave {
    display: none;
  }

  .home_presentation {
    margin-top: -40px; /* Minimal overlap on mobile */
  }

  .home_presentation_chiffre_s {
    gap: 15px; /* Tighten gap between circles */
  }
  
  .home_presentation_about {
    gap: 20px; /* Tighten gap between stacked sections */
    padding: 40px 10px 0px 10px;
  }
}