/* FAQ & Centre d'assistance — SIMECO.CI */
.support-page {
  padding-top: 140px;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #f4f5fc 0%, #fff 140px);
  min-height: 100vh;
}

.support-hero {
  background: linear-gradient(135deg, #080054 0%, #120d72 55%, #1a1580 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.support-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 90% 10%, rgba(255, 145, 0, 0.18), transparent 55%);
  pointer-events: none;
}

.support-hero .container {
  position: relative;
  z-index: 1;
  width: min(92%, 960px);
  margin-inline: auto;
}

.support-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.support-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 44rem;
}

.support-wrap {
  width: min(92%, 960px);
  margin-inline: auto;
}

/* ——— FAQ accordéon ——— */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.faq-filter {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-filter:hover,
.faq-filter.is-active {
  border-color: #ff9100;
  background: #fff8f0;
  color: #080054;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(8, 0, 84, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.faq-item.is-open {
  border-color: rgba(255, 145, 0, 0.45);
  box-shadow: 0 8px 32px rgba(8, 0, 84, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #080054;
  line-height: 1.45;
}

.faq-question:hover {
  color: #ff9100;
}

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f4f5fc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9100;
  transition: transform 0.3s ease, background 0.2s;
}

.faq-item.is-open .faq-question .faq-chevron {
  transform: rotate(180deg);
  background: #fff3e0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: #4b5563;
  font-size: 0.975rem;
  line-height: 1.85;
  border-top: 1px solid #f0f0f5;
  padding-top: 1rem;
}

.faq-answer-inner a {
  color: #080054;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer-inner a:hover {
  color: #ff9100;
}

.faq-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #080054, #1a1580);
  color: #fff;
  text-align: center;
}

.faq-cta h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.faq-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.faq-cta-btns a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.faq-cta-btns a:hover {
  transform: translateY(-2px);
}

.faq-cta-btns .btn-accent {
  background: #ff9100;
  color: #fff;
}

.faq-cta-btns .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ——— Centre d'assistance ——— */
.assist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.assist-card {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(8, 0, 84, 0.05);
  transition: transform 0.25s, border-color 0.25s;
}

.assist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 145, 0, 0.35);
}

.assist-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9100, #ffb347);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.assist-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #080054;
  margin-bottom: 0.5rem;
}

.assist-card p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.assist-card a.assist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ff9100;
  text-decoration: none;
}

.assist-card a.assist-link:hover {
  color: #080054;
}

.assist-section {
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 28px rgba(8, 0, 84, 0.04);
}

.assist-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #080054;
  margin-bottom: 1rem;
}

.assist-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.assist-hours div {
  padding: 1rem;
  background: #f8f9ff;
  border-radius: 12px;
  font-size: 0.9rem;
}

.assist-hours strong {
  display: block;
  color: #080054;
  margin-bottom: 0.25rem;
}

.assist-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.assist-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.95rem;
}

.assist-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #080054;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assist-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.assist-topics a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #ececf3;
  color: #080054;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.assist-topics a:hover {
  border-color: #ff9100;
  background: #fffaf5;
}

.assist-topics i {
  color: #ff9100;
}

@media (max-width: 640px) {
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem;
  }
}
