
.imx-faq-section {
  padding: 48px 24px;
}
.imx-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.imx-faq-header {
  text-align: center;
  margin-bottom: 36px;
}
.imx-faq-overline {
  font-size: 11px;
  font-weight: 500;
  color: #A32D2D;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.imx-faq-title {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px 0;
  color: #2c2c2a;
  letter-spacing: -0.3px;
}
.imx-faq-subtitle {
  font-size: 14px;
  color: #5f5e5a;
  max-width: 540px;
  margin: 0 auto;
}

.imx-faq-list {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 0.5px solid var(--color-border-tertiary);
  overflow: hidden;
}

.imx-faq-item {
  border-bottom: 0.5px solid var(--color-border-tertiary);
}
.imx-faq-item:last-child { border-bottom: none; }

.imx-faq-question {
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.imx-faq-question::-webkit-details-marker { display: none; }

.imx-faq-question-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.imx-faq-number {
  width: 32px;
  height: 32px;
  background: #f1efe8;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c2c2a;
  font-size: 13px;
  font-weight: 500;
}
.imx-faq-item[open] .imx-faq-number,
.imx-faq-number.active {
  background: #A32D2D;
  color: white;
}

.imx-faq-question-text {
  font-size: 15px;
  font-weight: 500;
  color: #2c2c2a;
  flex: 1;
  min-width: 0;
}

.imx-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.imx-faq-item[open] .imx-faq-chevron {
  transform: rotate(180deg);
}

.imx-faq-answer {
  padding: 0 24px 22px 70px;
  font-size: 14px;
  color: #2c2c2a;
  line-height: 1.7;
}
.imx-faq-answer p {
  margin: 0 0 10px 0;
}
.imx-faq-answer p:last-child { margin-bottom: 0; }
.imx-faq-answer ul {
  margin: 0 0 10px 0;
  padding-left: 20px;
}
.imx-faq-answer li {
  margin-bottom: 4px;
}

.imx-faq-highlight {
  background: #FCEBEB;
  border-left: 3px solid #A32D2D;
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 12px;
}
.imx-faq-highlight strong {
  font-weight: 500;
  color: #A32D2D;
}

.imx-faq-disclaimer {
  font-size: 13px;
  color: #5f5e5a;
  font-style: italic;
}

.imx-faq-block-title {
  font-weight: 500;
  color: #2c2c2a;
  display: block;
  margin-bottom: 4px;
}

.imx-faq-link {
  color: #0C447C;
  text-decoration: none;
  font-weight: 500;
}
.imx-faq-link:hover { text-decoration: underline; }


.imx-faq-cta {
  background: white;
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.imx-faq-cta-text-block {
  flex: 1;
  min-width: 0;
}

.imx-faq-cta-title {
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2a;
  margin-bottom: 2px;
}
.imx-faq-cta-desc {
  font-size: 13px;
  color: #5f5e5a;
  line-height: 1.4;
}

.imx-faq-cta-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.imx-btn {
  border-radius: var(--border-radius-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.imx-btn-secondary {
  background: white;
  color: #2c2c2a;
  border: 1px solid #2c2c2a;
}
.imx-btn-secondary:hover {
  background: #fcfcfc;
}
.imx-btn-primary {
  background: #2c2c2a;
  color: white;
  border: 1px solid #2c2c2a;
}
.imx-btn-primary:hover {
  background: #000;
}


@media (max-width: 768px) {
  .imx-faq-section {
    padding: 36px 16px;
  }
  .imx-faq-title {
    font-size: 22px;
  }
  .imx-faq-subtitle {
    font-size: 13px;
  }

  /* Question */
  .imx-faq-question {
    padding: 16px 18px;
    gap: 12px;
  }
  .imx-faq-question-content {
    gap: 12px;
  }
  .imx-faq-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .imx-faq-question-text {
    font-size: 14px;
    line-height: 1.4;
  }
  .imx-faq-answer {
    padding: 0 18px 18px 58px;
    font-size: 13px;
    line-height: 1.6;
  }

  /* CTA Box passe en colonne */
  .imx-faq-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .imx-faq-cta-text-block {
    text-align: center;
  }
  .imx-faq-cta-title {
    font-size: 15px;
  }
  .imx-faq-cta-desc {
    font-size: 13px;
  }
  .imx-faq-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .imx-btn {
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
  }
}


@media (max-width: 480px) {
  .imx-faq-section {
    padding: 28px 12px;
  }
  .imx-faq-title {
    font-size: 20px;
  }
  .imx-faq-question {
    padding: 14px 14px;
  }
  .imx-faq-answer {
    padding: 0 14px 16px 50px;
  }
  .imx-faq-number {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .imx-faq-question-text {
    font-size: 13.5px;
  }
}
