/* FAQ mobile uniquement — rythme, accordéon, CTA et footer. */
@media only screen and (max-width: 639px) {
  body#collection-689f048d1dcd37215f4b47c2 {
    --faq-page-gutter: 20px;
    --faq-block-padding: 16px;
    --faq-section-gap: 30px;
  }

  /* Retire les lignes de grille vides du template sans modifier le desktop. */
  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f048d1dcd37215f4b47c5"] {
    height: auto !important;
    min-height: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f048d1dcd37215f4b47c5"] :is(
      .content-wrapper,
      .content,
      .fluid-engine
    ) {
    height: auto !important;
    min-height: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f048d1dcd37215f4b47c5"] .fluid-engine {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--faq-section-gap) !important;
    padding-bottom: var(--faq-section-gap) !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f048d1dcd37215f4b47c5"] .fluid-engine > .fe-block {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - (2 * var(--faq-page-gutter))) !important;
    height: auto !important;
    margin: 0 var(--faq-page-gutter) !important;
    transform: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f048d1dcd37215f4b47c5"] .fe-block > .sqs-block {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  /* Questions : 20px, 16px à gauche et 16px avant le chevron. */
  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__click-target {
    display: flex !important;
    align-items: center !important;
    gap: var(--faq-block-padding) !important;
    min-height: 69px !important;
    padding: var(--faq-block-padding) !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__title-wrapper {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__title {
    display: block !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-icon-container {
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__dropdown--open {
    margin-top: -16px !important;
    padding: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__description,
  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__description p {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2 .sqs-block-accordion .accordion-item__description {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 0 var(--faq-block-padding) var(--faq-block-padding) !important;
  }

  /* CTA : carte en flux normal, texte aligné et bouton pleine largeur. */
  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] {
    height: auto !important;
    min-height: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .content-wrapper {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    padding: var(--faq-section-gap) 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] :is(.content, .fluid-engine) {
    height: auto !important;
    min-height: 0 !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .fluid-engine {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--faq-section-gap) !important;
    width: calc(100% - (2 * var(--faq-page-gutter))) !important;
    margin: 0 var(--faq-page-gutter) !important;
    padding: 20px 20px var(--faq-section-gap) !important;
    overflow: hidden !important;
    background: #3e6254 !important;
    border-radius: 16px !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .fluid-engine > .fe-block {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .fe-block:has(.sqs-shape-block-container) {
    display: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .fe-block > .sqs-block {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .sqs-html-content {
    width: 100% !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .sqs-block-button-container {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    main section[data-section-id="689f08340978c14b3b9bb91f"] .sqs-block-button-element {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Même centrage du groupe légal que les footers mobiles déjà validés. */
  body#collection-689f048d1dcd37215f4b47c2
    #footer-sections #block-01b1a27a9fa4825bae04 {
    transform: translateY(26px) !important;
  }

  body#collection-689f048d1dcd37215f4b47c2
    #footer-sections #block-01b1a27a9fa4825bae04:has(p:last-child br:nth-of-type(2)) {
    transform: translateY(13px) !important;
  }
}
