/* ex-inline legal/faq.html — externalisé pour la mise en cache */
  .faq-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    padding: 6rem 0 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
  }

  .faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
  }

  .faq-hero-content {
    position: relative;
    z-index: 1;
  }

  .faq-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .faq-search-box {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
  }

  .faq-search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .faq-search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #f59e0b;
    font-size: 1.2rem;
  }

  .faq-content {
    padding: 4rem 0;
  }

  .faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
  }

  .category-card.active {
    border-color: #f59e0b;
    background: #fffbeb;
  }

  .category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
  }

  .category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .category-card h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .category-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
  }

  .faq-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }

  .faq-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f59e0b;
  }

  .faq-section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
  }

  .faq-section-title {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0;
  }

  .accordion-item {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .accordion-item:hover {
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.1);
  }

  .accordion-item.active {
    border-color: #f59e0b;
  }

  .accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: all 0.3s ease;
  }

  .accordion-item.active .accordion-header {
    background: #fffbeb;
  }

  .accordion-header:hover {
    background: #fffbeb;
  }

  .accordion-question {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
  }

  .accordion-icon {
    width: 35px;
    height: 35px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .accordion-item.active .accordion-icon {
    background: #f59e0b;
    color: white;
    transform: rotate(180deg);
    border-color: #f59e0b;
  }

  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .accordion-item.active .accordion-body {
    max-height: 1000px;
    padding: 1.5rem;
  }

  .accordion-answer {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1rem;
  }

  .accordion-answer ul,
  .accordion-answer ol {
    margin: 1rem 0 1rem 1.5rem;
  }

  .accordion-answer li {
    margin-bottom: 0.5rem;
  }

  .accordion-answer strong {
    color: #2c3e50;
  }

  .contact-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
  }

  .contact-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
  }

  .contact-cta .btn {
    background: white;
    color: #f59e0b;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }

  .contact-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }

  .no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
  }

  .no-results i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
  }

  @media (max-width: 991px) {
    .faq-hero h1 {
      font-size: 2rem;
    }
    
    .faq-section {
      padding: 2rem;
    }

    .faq-categories {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .accordion-question {
      font-size: 1rem;
    }
  }

  @media (max-width: 576px) {
    .faq-categories {
      grid-template-columns: 1fr;
    }

    .accordion-header {
      padding: 1rem;
    }

    .accordion-question {
      font-size: 0.95rem;
    }
  }
