/* ========== Responsive global ========== */

/* Grands écrans (≥1400px) */
@media (min-width: 1400px) {
  .hero-text h1 {
    font-size: 56px;
  }
  #funnel img {
    max-height: 450px;
  }
}

/* Écrans moyens (tablettes horizontales ≤1200px) */
@media (max-width: 1200px) {
  .container{
    max-width: unset !important;
  }
  .hero-section {
    padding: 0px 40px 80px 40px;
  }
  .hero-text h1 {
    font-size: 42px;
  }
  .benefices-hero-section {
    font-size: 21px;
  }
  .form-card {
    margin-top: 40px;
  }
}

/* Tablettes verticales ≤992px */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .logo-header {
    position: relative;
    margin: 0 auto 0px;
  }

  .hero-text {
    text-align: center;
    margin-top: 0px !important;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .form-card {
    max-width: 500px;
    margin: 40px auto;
  }

  .flex-cols-2 {
    flex-direction: column;
    text-align: center;
  }

  .flex-cols-2 .details {
    margin-bottom: 40px;
  }

  .flex-cols-3 {
    flex-wrap: wrap;
    gap: 25px;
  }

  .flex-cols-3 > div .img-bloc {
    width: 180px;
    height: 180px;
  }

  #steps {
    /* background-attachment: scroll; */
    margin-bottom: 45px;
  }

  #funnel h2 {
    text-align: center;
  }

  #funnel .funnel-description {
    text-align: center;
    font-size: 19px;
  }
  #goals .goals-results{
    width: 90%;
  }
  .benefices-hero-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    display: inline-block;
}
.benefices-hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #sib-container {
    padding: 0 !important;
}
.form-card {
        padding: 8px !important;
    }
}

/* Smartphones ≤768px */
@media (max-width: 768px) {
  .hero-section {
    padding: 0px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .benefices-hero-section {
    font-size: 18px;
    margin-top: 25px;
  }

  .form-card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .flex-cols-3 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .flex-cols-3 .bloc-element {
    max-width: 85%;
  }

  #funnel img {
    max-width: 80%;
  }
  #lang-switcher {
    bottom: 0;
    top: auto;
}

  /* #goals .goals-results {
    grid-template-columns: 1fr;
    text-align: center;
  } */

  /* #goals .arrow span{
    transform: rotate(90deg);
    margin: -5px 0;
  } */

  /* #goals .header.arrow-header {
    display: none;
  } */

  #footer button {
    font-size: 22px;
    padding: 12px 20px;
  }
}

/* Petits mobiles ≤576px */
@media (max-width: 576px) {
  .hero-section {
    padding: 0 15px;
  }
  .text-white.hero-text {
    margin-bottom: 0;
}
#funnel img {
        max-width: 90%;
        max-height: unset;
    }

  .hero-text h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .benefices-hero-section {
    font-size: 17px;
    line-height: 1.5;
  }

  .form-card {
    padding: 15px;
  }

  #processus .up-title,
  #processus .title {
    font-size: 22px;
  }

  #steps h2 {
    font-size: 22px;
  }

  #funnel img {
    width: 100%;
    height: auto;
  }

  #goals h2 {
    font-size: 22px;
    text-align: center;
  }
  #goals .goals-results>div {
      display: flex;
      flex-direction: column;
      width: 100%;
      justify-content: space-between;
      align-items: center;
  }
  #goals .goals-results>div .cell{
      width: 100%;
  }
  #goals .goals-results>div .cell:first-child{
      font-weight: bold;
  }
  #goals .goals-results>div .cell {
    background-color: #e8f0ff;
  }
  [dir="rtl"] #goals .goals-results>div {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
  #goals .goals-results>div .cell.arrow,   [dir="rtl"] #goals .goals-results>div .cell.arrow{
    transform: rotate(90deg);
    height: 5px;
    width: 0;
    background-color: #fff;
    /* margin: -10px 0; */
  }
  #goals .goals-results .row-table .header{
    display: none;
  }
  #goals .goals-results .row-table {
    border-top: solid 3px #0c378c;
    margin-bottom: 25px;
}
  #goals .goals-results .row-table:first-child {
    border-top: unset;
    margin-bottom: unset;
}


}

/* Très petits écrans (≤400px et ≤320px) */
@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 22px;
  }
  .benefices-hero-section {
    font-size: 16px;
  }
  #footer button {
    font-size: 18px;
    padding: 10px 16px;
  }
}

@media (max-width: 320px) {
  .hero-section {
    padding: 0 10px;
  }

  .hero-text h1 {
    font-size: 20px;
  }

  .form-card {
    padding: 10px;
  }

  #funnel img {
    max-width: 100%;
  }

  #footer h2 {
    font-size: 20px;
  }
}
