/* ══════════════════════════════════════════════════════
   RBQC — faq.html
   ─────────────────────────────────────────────────────
   Sections :
     1. Hero
     2. FAQ layout & sidebar nav (faq-layout, faq-nav, faq-nav-links)
     3. Catégories & Accordéon (faq-category, faq-list, faq-item, faq-q, faq-a)
     4. CTA section
     5. @media ≤ 900px  (sidebar collapse)
     6. @media ≤ 768px
     7. @media ≤ 480px
   ══════════════════════════════════════════════════════ */

    .hero {
      min-height: auto;
      display: flex; flex-direction: column;
      justify-content: flex-end;
      padding: 80px 64px 56px;
      position: relative; overflow: hidden;
      background: var(--paper);
    }
    .hero::before {
      content: '';
      position: absolute; top: 0; right: 0;
      width: 55%; height: 100%;
      background: radial-gradient(ellipse 50% 60% at 80% -5%, rgba(200,53,26,0.12) 0%, transparent 65%);
      pointer-events: none;
    }
    .hero-eyebrow {
      font-size: 0.7rem; font-weight: 500;
      letter-spacing: 0.3em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 24px;
      display: flex; align-items: center; gap: 14px;
      opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards;
    }
    .hero-eyebrow::before {
      content: ''; width: 22px; height: 2px;
      background: var(--red); display: block; flex-shrink: 0;
    }
    .hero-title {
      font-family: 'Big Shoulders Display', sans-serif;
      font-weight: 900; font-size: clamp(1.5rem, 2.2vw, 2.5rem);
      text-transform: uppercase; line-height: 0.88;
      letter-spacing: -0.02em; color: var(--dark);
      opacity: 0; animation: fadeUp 0.7s ease 0.35s forwards;
      margin-bottom: 24px; position: relative; z-index: 1;
    }
    .hero-title .accent { color: var(--red); }
    .hero-sub {
      font-size: clamp(1rem, 1.8vw, 1.15rem);
      color: var(--muted); line-height: 1.7; max-width: 520px;
      opacity: 0; animation: fadeUp 0.7s ease 0.5s forwards;
    }

    /* FAQ layout */
    .faq-section { background: var(--surface); }
    .faq-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 64px; align-items: start;
    }
    .faq-nav {
      /* Reset du CSS global nav { display:flex; position:fixed; ... } */
      display: block;
      position: sticky; top: 100px;
      left: auto; right: auto;
      z-index: auto;
      justify-content: initial;
      align-items: initial;
      padding: 0;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      transition: none;
      /* Styles propres */
      background: var(--card);
      border: 1px solid var(--border);
      overflow: hidden;
    }
    .faq-nav-title {
      font-size: 0.55rem; font-weight: 700;
      letter-spacing: 0.3em; text-transform: uppercase;
      color: var(--muted); text-align: center;
      padding: 13px 16px;
      background: var(--surface);
      border-bottom: 2px solid var(--red);
    }
    .faq-nav-links { list-style: none; }
    .faq-nav-links a {
      display: block;
      font-family: 'Big Shoulders Display', sans-serif;
      font-weight: 700; font-size: 0.82rem;
      text-transform: uppercase; color: var(--muted);
      text-decoration: none; padding: 12px 16px;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s, background 0.2s;
      line-height: 1.2;
    }
    .faq-nav-links li:last-child a { border-bottom: none; }
    .faq-nav-links a:hover,
    .faq-nav-links a.active { color: var(--dark); background: var(--paper); }

    /* FAQ categories */
    .faq-category { margin-bottom: 48px; }
    .faq-category-title {
      font-family: 'Big Shoulders Display', sans-serif;
      font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.8rem);
      text-transform: uppercase; color: var(--dark);
      line-height: 0.95; letter-spacing: -0.01em;
      margin-bottom: 24px; padding-bottom: 16px;
      border-bottom: 2px solid var(--border);
    }
    .faq-list { display: flex; flex-direction: column; gap: 2px; }
    .faq-item {
      background: var(--card);
      border-left: 3px solid transparent;
      transition: border-color 0.2s, background 0.2s;
    }
    .faq-item:hover { border-left-color: var(--red); background: var(--paper); }
    .faq-item.open { border-left-color: var(--red); background: var(--paper); }
    .faq-q {
      font-family: 'Big Shoulders Display', sans-serif;
      font-weight: 700; font-size: 1.05rem;
      text-transform: uppercase; color: var(--dark);
      padding: 22px 28px; cursor: pointer;
      display: flex; justify-content: space-between;
      align-items: center; gap: 16px; line-height: 1.2;
    }
    .faq-q::after { content: '+'; color: var(--red); font-size: 1.4rem; flex-shrink: 0; }
    .faq-item.open .faq-q::after { content: '−'; }
    .faq-a {
      font-size: 1rem; color: var(--muted);
      line-height: 1.8; padding: 0 28px 22px;
      display: none;
    }
    .faq-a a { color: var(--red); text-decoration: none; }
    .faq-a a:hover { text-decoration: underline; }
    .faq-a-link {
      display: inline-block; margin-top: 12px;
      font-size: 0.82rem; font-weight: 600;
      color: var(--red); text-decoration: none;
      letter-spacing: 0.04em;
      border-bottom: 1px solid rgba(200,53,26,0.3);
      transition: border-color 0.2s;
    }
    .faq-a-link:hover { border-bottom-color: var(--red); }
    .faq-item.open .faq-a { display: block; }

    /* CTA */
    .cta-section {
      background: var(--dark); padding: 100px 64px;
      text-align: center;
    }
    .cta-label {
      font-size: 0.68rem; font-weight: 500;
      letter-spacing: 0.3em; text-transform: uppercase;
      color: rgba(255,255,255,0.35); margin-bottom: 20px;
    }
    .cta-title {
      font-family: 'Big Shoulders Display', sans-serif;
      font-weight: 900; font-size: clamp(2.5rem, 6vw, 6rem);
      color: white; text-transform: uppercase;
      line-height: 0.9; letter-spacing: -0.02em; margin-bottom: 40px;
    }
    .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
    .cta-sub { margin-top: 20px; font-size: 0.72rem; color: rgba(255,255,255,0.25); }

    @media (max-width: 900px) {
      .faq-layout { grid-template-columns: 1fr; }
      .faq-nav { position: static; display: none; }
    }
    @media (max-width: 768px) {
      .hero { padding: 72px 24px 40px; min-height: 0; }
      .faq-q { padding: 18px 20px; font-size: 0.95rem; }
      .faq-q::after { font-size: 1.2rem; }
      .faq-a { padding: 0 20px 18px; font-size: 1rem; }
      .faq-category-title { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 16px; padding-bottom: 12px; }
      .cta-section { padding: 72px 24px; }
      .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    }
    @media (max-width: 480px) {
      .hero { padding: 64px 20px 32px; min-height: 0; }
      .faq-section > div { padding: 0; }
      .faq-q { padding: 16px 16px; }
      .faq-a { padding: 0 16px 16px; }
    }
