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

.main-title {
    margin-top: 118px;
    padding: 0 32px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    color: #DC4226;
    font-size: 24px;
    text-align: center;
}

.subtitle {
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.solutions {
    margin: 32px;
    display: flex;
    flex-direction: column;
}

.solution-card {
    position: relative;
    min-height: 250px; /* pour contenir correctement le contenu en position absolute */
}

.number-circle {
    position: absolute;
    width: 69px;
    height: 69px;
    background: #e8f0f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 50px;
    color: #21509e;
    -webkit-text-stroke: 1px #21509e;
}

.card {
    position: absolute;
    top: 42px;
    width: 430px;
    background: rgba(163, 196, 233, 0.25);
    border-radius: 20px;
    padding: 26px 17px;
}

.card h2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: #21509e;
    font-size: 24px;
    margin-bottom: 20px;
}

.card p {
    font-size: 18px;
    line-height: 1.5;
}

.cta-button {
    margin-bottom: 30px;
    display: inline-block;
    padding: 12px 24px;
    background-color: #DC4226;
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin-left: 30px;
}

.cta-button:hover {
    background: #c13820;
}

/* TABLETTE : ≥ 600px */
@media (min-width: 600px) {
  .main-title {
    font-size: 28px;
    padding: 20px;
    width: 600px;
  }

  .solutions {
    margin: 60px;
    gap: 32px;
  }

  .solution-card {
    height: 200px;
  }

  .card {
    width: 600px;
    height: auto;
    padding: 32px 24px;
  }

  .card h2 {
    font-size: 28px;
  }

  .card p {
    font-size: 14px;
  }

  .number-circle {
    width: 80px;
    height: 80px;
    font-size: 54px;
  }

  .cta-button {
    font-size: 16px;
    padding: 14px 28px;
    margin: 50px;
  }
}


/* DESKTOP : ≥ 1024px */
@media (min-width: 1024px) {
  .main-title {
    font-size: 36px;
    width: 100%;
    text-align: center;
    margin-top: 100px;
    margin-left: 30px;
  }

.subtitle {
    font-style: italic;
    text-align: center;
} 

  .solutions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .solution-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    height: auto;
  }

  .card {
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .number-circle {
    position: absolute;
    top: -30px;
    left: -30px;
  }

  .card h2 {
    font-size: 30px;
    text-align: center;
  }

  .card p {
    font-size: 16px;
  }

  .cta-button {
    font-size: 18px;
    padding: 16px 32px;
    margin-top: 8px;
  }
}


