:root {
    --color-primary: #5D83FF;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f8f9fc;
    color: #1E2431;;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
  }
  
  .logo {
    height: 32px;
  }
  
  .cta-header {
    background-color: transparent;
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    padding: 10px 20px;
    border-radius: 9999px; /* ⬅️ mêmes coins arrondis que le bouton principal */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
  }
  
  .hero {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fc;
    padding-bottom: 180px; /* pour laisser la place à l'onde */
  }

  .hero-inner {
    text-align: center;
    padding: 80px 20px 0;
    position: relative;
    z-index: 1;
  }
  

  .wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    bottom: 70px;
  }
  
  
  .hero h1 {
    font-size: 3.6rem; /* ↑ taille augmentée */
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
    margin: 20px auto 40px;
    padding: 0 20px; /* padding latéral pour respirer */
  }
  
  .hero p {
    max-width: 750px;
    font-size: 1.4rem;
    color: #565656;
    margin: 20px auto 50px;
  }

  .bold {
    font-weight: 600;
  }
  
  .cta-main {
    background-color: var(--color-primary);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border-radius: 9999px;
  }
  
  
  .cta-main:hover,
  .cta-header:hover {
    opacity: 0.9;
  }
  
  .benefits {
    padding: 60px 20px;
    text-align: center;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--color-primary);
    fill: currentColor;
  }
  
  
  .benefits h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  
  .benefit-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .benefit {
    max-width: 250px;
  }
  
  footer {
    text-align: center;
    padding: 40px 20px;
    color: #888;
  }
  
  .footer-logo {
    height: 32px;
    margin-bottom: 10px;
  }
  
  /* Animation du mot */
  
.animated-wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 2px; /* espace naturel entre mot et point */
}

.word-slider {
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  text-align: center;
  min-width: 10ch;
}

.words {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  align-items: center;
}

.words span {
  height: 1.5em;
  line-height: 1.5em;
  display: block;
  white-space: nowrap;
  color: var(--color-primary);
}

.dot {
  color: #111;
  font-weight: 400;
}

 /* ===== Responsive mobile ===== */
@media (max-width: 768px) {
    header {
      flex-direction: column;
      gap: 16px;
      padding: 20px;
    }

    .hero-inner {
        padding-top: 40px; /* au lieu de 80px sur desktop */
      }

    .cta-header {
        display: none;
    }
  
    .hero h1 {
      font-size: 2.2rem;
      padding: 0 16px;
    }
  
    .hero p {
      font-size: 1rem;
      padding: 0 16px;
      margin: 20px auto 40px;
    }
  
    .cta-main {
      padding: 12px 24px;
      font-size: 1rem;
    }
  
    .benefit-list {
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }
  
    .benefit {
      max-width: 90%;
    }
  }
   