.m-formulaire {
  .m-formulaire__titre {
    text-align: center;
    margin-top: 0;

    @media(width < 991px) {
      font-size: 2.25rem;
    }
  }

  .m-formulaire__wrap {


    .m-formulaire__content {
      &.admin {
        background-color: #f5f5f5;
        padding: 2em;
        text-align: center;
        color: #000;
      }
    }

    .gform_confirmation_wrapper {
      text-align: center;

      .gform_confirmation_message {
        text-align: center;
      }
    }

    #gform_wrapper_2 {
      display: flex;
      flex-direction: column;

      .gform_heading {
        order: 2;

        .gform_description {
          font-size: .75rem;
          line-height: 1.125rem;
          margin-bottom: 0;
        }
      }

      .gform_body {
        .gform_fields {
          @media(width < 768px) {
            row-gap: 16px;
          }
        }
      }

      .gform-footer {
        margin: 0;
      }

      #field_submit {
        @media(width < 768px) {
          justify-content: center;
        }
      }

      .gform-button {
        width: 100%;
        border-radius: 50px;

        @media(width < 768px) {
          width: auto;
        }
      }
    }
  }

  &.is-style-stylise {
    .m-formulaire__wrap {
      position: relative;
      padding: 4.375rem;
      background-color: var(--wp--preset--color--main);
      border-radius: 30px;
      overflow: hidden;

      @media(width < 991px) {
        padding: 3.75rem 1.25rem 1.25rem;
      }

      &:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(../../../assets/img/bg-newsletter.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        opacity: .7;
        z-index: 0;
      }

      .m-formulaire__titre,
      .m-formulaire__content {
        position: relative;
        z-index: 1;
      }

    }

  }
}