/* ── Hero ─────────────────────────────────────────── */
    .symptoms-hero {
      background: linear-gradient(
        108deg,
        #162D5E 0%,
        #1D3F8A 30%,
        #2460D8 62%,
        #2E76F5 85%,
        #3D8FFF 100%
      );
      padding: calc(var(--header-height) + 3rem) 0 1.5rem;
      position: relative;
      overflow: hidden;
    }

    /* Grille subtile côté droit */
    .symptoms-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 44px 44px;
      pointer-events: none;
      -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.85) 25%, transparent 68%);
      mask-image: linear-gradient(to left, rgba(0,0,0,.85) 25%, transparent 68%);
    }

    .symptoms-hero__inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 3.5rem;
      align-items: center;
    }

    @media (max-width: 860px) {
      .symptoms-hero__inner { grid-template-columns: 1fr; }
      .symptoms-hero__right { display: none; }
    }

    /* Carte glassmorphism droite */
    .symptoms-hero__card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 2rem 2rem 1.75rem;
      text-align: center;
    }

    .symptoms-hero__card-stat {
      font-family: var(--font-sans);
      font-size: 5.5rem;
      font-weight: 900;
      color: #fff;
      line-height: 1;
      margin-bottom: 0.5rem;
      letter-spacing: -3px;
    }

    .symptoms-hero__card-label {
      font-size: 0.8125rem;
      color: rgba(255,255,255,0.55);
      line-height: 1.5;
    }

    .symptoms-hero__breadcrumb {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.65);
      margin-bottom: 1.25rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 999px;
      padding: 0.3rem 0.85rem;
    }
    .symptoms-hero__breadcrumb a {
      color: rgba(255,255,255,0.65);
      text-decoration: none;
      transition: color .2s;
    }
    .symptoms-hero__breadcrumb a:hover { color: #fff; }
    .symptoms-hero__breadcrumb .bc-sep { color: rgba(255,255,255,0.35); }
    .symptoms-hero__breadcrumb span.bc-current { color: #fff; font-weight: 600; }

    .symptoms-hero__title {
      font-family: var(--font-sans);
      font-size: clamp(2rem, 4vw, 3.25rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 1rem;
      letter-spacing: -1px;
    }

    .symptoms-hero__sub {
      font-size: 0.9375rem;
      color: rgba(255,255,255,0.9);
      line-height: 1.6;
      max-width: 520px;
      margin-bottom: 1.75rem;
    }

    /* Inline search in hero */
    .symptoms-hero__search {
      position: relative;
      max-width: 420px;
      margin-bottom: 2rem;
    }
    .symptoms-hero__search input {
      width: 100%;
      padding: 0.75rem 1rem 0.75rem 2.5rem;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px;
      color: #fff;
      font-size: 0.9rem;
      outline: none;
      transition: border-color .2s, background .2s;
    }
    .symptoms-hero__search input::placeholder { color: rgba(255,255,255,0.35); }
    .symptoms-hero__search input:focus {
      border-color: rgba(255,255,255,0.35);
      background: rgba(255,255,255,0.12);
    }
    .symptoms-hero__search-icon {
      position: absolute;
      left: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(255,255,255,0.35);
      pointer-events: none;
    }

    /* Category anchor tabs at bottom of hero */
    .symptoms-hero__tabs {
      display: flex;
      gap: 0;
      border-top: 1px solid rgba(255,255,255,0.08);
      margin: 0 -1.5rem;
      padding: 0 1.5rem;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .symptoms-hero__tabs::-webkit-scrollbar { display: none; }

    .symptoms-hero__tab {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.875rem 1.125rem;
      font-size: 0.8125rem;
      font-weight: 500;
      color: rgba(255,255,255,0.45);
      white-space: nowrap;
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
      text-decoration: none;
      cursor: pointer;
      background: none;
      border-top: none;
      border-left: none;
      border-right: none;
      font-family: var(--font-sans);
    }
    .symptoms-hero__tab:hover { color: rgba(255,255,255,0.85); }
    .symptoms-hero__tab[data-color="cardio"]:hover,
    .symptoms-hero__tab[data-color="cardio"].active { color: #FCA5A5; border-bottom-color: #DC2626; }
    .symptoms-hero__tab[data-color="respi"]:hover,
    .symptoms-hero__tab[data-color="respi"].active { color: #93C5FD; border-bottom-color: #2563EB; }
    .symptoms-hero__tab[data-color="neuro"]:hover,
    .symptoms-hero__tab[data-color="neuro"].active { color: #C4B5FD; border-bottom-color: #7C3AED; }
    .symptoms-hero__tab[data-color="digestif"]:hover,
    .symptoms-hero__tab[data-color="digestif"].active { color: #86EFAC; border-bottom-color: #16A34A; }
    .symptoms-hero__tab[data-color="muscu"]:hover,
    .symptoms-hero__tab[data-color="muscu"].active { color: #FED7AA; border-bottom-color: #EA580C; }
    .symptoms-hero__tab[data-color="tous"]:hover,
    .symptoms-hero__tab[data-color="tous"].active { color: #fff; border-bottom-color: rgba(255,255,255,0.75); }

    .symptoms-hero__stat-label {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.6);
      margin-top: 0.1rem;
    }

    /* ── Search / filter ──────────────────────────────── */
    .symptoms-filter {
      background: var(--sand-100);
      border-bottom: 1px solid var(--border);
      padding: 1.5rem;
      position: sticky;
      top: 60px;
      z-index: 50;
    }

    .symptoms-filter__inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .symptoms-search {
      flex: 1;
      min-width: 200px;
      position: relative;
    }

    .symptoms-search__icon {
      position: absolute;
      left: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-light);
      pointer-events: none;
    }

    .symptoms-search input {
      width: 100%;
      padding: 0.65rem 0.75rem 0.65rem 2.25rem;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      background: #fff;
      font-size: 0.9rem;
      color: var(--text-primary);
      outline: none;
      transition: border-color 0.2s;
    }

    .symptoms-search input:focus {
      border-color: var(--deep-500);
    }

    .symptoms-search input::placeholder { color: var(--text-muted); }

    .filter-btns {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .filter-btn {
      padding: 0.45rem 0.85rem;
      border-radius: 20px;
      border: 1.5px solid var(--border);
      background: #fff;
      color: var(--text-secondary);
      font-size: 0.8rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .filter-btn.active,
    .filter-btn:hover {
      border-color: var(--deep-500);
      color: var(--deep-600);
      background: rgba(27,58,143,0.06);
    }

    .filter-btn.active {
      background: var(--deep-700);
      color: #fff;
      border-color: var(--deep-700);
    }

    /* ── Symptoms grid ────────────────────────────────── */
    .symptoms-main {
      padding: 3.5rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }

    .symptoms-category {
      margin-bottom: 3.5rem;
    }

    .symptoms-category__header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid var(--border);
    }

    .symptoms-category__icon {
      width: 40px; height: 40px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem;
    }

    .symptoms-category__title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .symptoms-category__count {
      margin-left: auto;
      font-size: 0.78rem;
      color: var(--text-muted);
      background: var(--sand-200);
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
    }

    .symptoms-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .symptom-card-link {
      text-decoration: none;
      display: block;
      height: 100%;
    }

    .symptom-card-hub {
      background: #fff;
      border: 1px solid #E8ECF0;
      border-radius: 16px;
      padding: 1.5rem;
      transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
      display: flex;
      flex-direction: column;
      gap: 0;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    }

    .symptom-card-hub:hover {
      border-color: #C5D4E8;
      box-shadow: 0 8px 28px rgba(27,110,194,0.10);
      transform: translateY(-3px);
    }

    .symptom-card-hub__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .symptom-card-hub__emoji {
      font-size: 1.75rem;
      line-height: 1;
    }

    .symptom-card-hub__crisis-badge {
      font-size: 0.68rem;
      font-weight: 600;
      color: #EF4444;
      background: rgba(239, 68, 68, 0.07);
      border: 1px solid rgba(239, 68, 68, 0.18);
      padding: 0.2rem 0.5rem;
      border-radius: 20px;
      white-space: nowrap;
      letter-spacing: 0.01em;
    }

    .symptom-card-hub__name {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.35;
      margin-bottom: 0.45rem;
    }

    .symptom-card-hub__feel {
      font-size: 0.855rem;
      color: var(--text-secondary);
      line-height: 1.6;
      flex: 1;
    }

    .symptom-card-hub__arrow {
      margin-top: 1.1rem;
      padding-top: 0.85rem;
      border-top: 1px solid #F0F2F5;
      font-size: 0.8rem;
      color: var(--brand, #1B6EC2);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      letter-spacing: 0.01em;
    }

    .symptom-card-link:hover .symptom-card-hub__arrow svg {
      transform: translateX(3px);
    }

    .symptom-card-hub__arrow svg {
      transition: transform 0.2s;
    }

    /* No results */
    .no-results {
      text-align: center;
      padding: 3rem 1.5rem;
      color: var(--text-muted);
      display: none;
    }

    .no-results__icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .no-results__text { font-size: 0.95rem; }

    /* ── Crisis CTA ───────────────────────────────────── */
    .symptoms-crisis-cta {
      background: linear-gradient(135deg, #0D2B6B, #1B6EC2);
      padding: 3rem 1.5rem;
      text-align: center;
    }

    .symptoms-crisis-cta__title {
      font-family: var(--font-sans);
      font-size: 1.75rem;
      color: #fff;
      margin-bottom: 0.75rem;
    }

    .symptoms-crisis-cta__sub {
      color: rgba(255,255,255,0.7);
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
    }

    /* ── Disclaimer ───────────────────────────────────── */
    .disclaimer-band {
      background: var(--sand-200);
      border-top: 1px solid var(--border);
      padding: 1rem 1.5rem;
      text-align: center;
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    @media (max-width: 768px) {
      .symptoms-filter__inner { flex-direction: column; align-items: stretch; }
      .filter-btns { justify-content: flex-start; }
      .symptoms-hero__stats { gap: 1.5rem; }
      .symptoms-grid { grid-template-columns: repeat(2, 1fr); gap: calc(0.75rem + 5px); }
    }

    /* Category color borders */
    [data-cat="cardio"]   .symptom-card-hub { border-top: 3px solid #DC2626; }
    [data-cat="respi"]    .symptom-card-hub { border-top: 3px solid #2563EB; }
    [data-cat="neuro"]    .symptom-card-hub { border-top: 3px solid #7C3AED; }
    [data-cat="digestif"] .symptom-card-hub { border-top: 3px solid #16A34A; }
    [data-cat="muscu"]    .symptom-card-hub { border-top: 3px solid #EA580C; }

    /* ── Sticky filter bar ────────────────────────────── */
    .symp-filter-bar {
      background: #fff;
      border-bottom: 1px solid var(--border, #E5E7EB);
      position: sticky;
      top: var(--header-height, 64px);
      z-index: 40;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .symp-filter-bar__inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: flex;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .symp-filter-bar__inner::-webkit-scrollbar { display: none; }

    .symp-tab {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 0.875rem;
      font-size: 0.8125rem;
      font-weight: 500;
      color: #6B7280;
      white-space: nowrap;
      border: none;
      border-bottom: 2px solid transparent;
      background: none;
      cursor: pointer;
      transition: color .18s, border-color .18s;
      font-family: var(--font-sans);
    }
    .symp-tab__icon {
      width: 26px; height: 26px;
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: transform .18s;
    }
    .symp-tab:hover .symp-tab__icon { transform: scale(1.08); }
    .symp-tab em { opacity: 0.45; font-style: normal; font-size: 0.72rem; margin-left: 0.1rem; }

    .symp-tab:hover { color: #1F2937; }
    .symp-tab[data-filter="tous"].active    { color: #1B6EC2; border-bottom-color: #1B6EC2; }
    .symp-tab[data-filter="cardio"].active  { color: #DC2626; border-bottom-color: #DC2626; }
    .symp-tab[data-filter="respi"].active   { color: #2563EB; border-bottom-color: #2563EB; }
    .symp-tab[data-filter="neuro"].active   { color: #7C3AED; border-bottom-color: #7C3AED; }
    .symp-tab[data-filter="digestif"].active{ color: #16A34A; border-bottom-color: #16A34A; }
    .symp-tab[data-filter="muscu"].active   { color: #EA580C; border-bottom-color: #EA580C; }

    /* ── Flat "tous" grid ─────────────────────────────── */
    #all-grid {
      display: none;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2.5rem;
    }
    #all-grid.visible { display: grid; }
    @media (max-width: 768px) {
      #all-grid { grid-template-columns: repeat(2, 1fr); gap: calc(0.75rem + 5px); }
    }

    /* ── Card icon (style page d'accueil) ─────────────── */
    .symptom-card-hub__icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    [data-cat="cardio"]   .symptom-card-hub__icon { background: #FEE2E2; }
    [data-cat="respi"]    .symptom-card-hub__icon { background: #DBEAFE; }
    [data-cat="neuro"]    .symptom-card-hub__icon { background: #EDE9FE; }
    [data-cat="digestif"] .symptom-card-hub__icon { background: #DCFCE7; }
    [data-cat="muscu"]    .symptom-card-hub__icon { background: #FFEDD5; }
    /* In tous mode, cards leave their data-cat parent visually → inline bg fallback */
    .symptom-card-hub__icon[data-bg] { background: attr(data-bg); }

/* ── Intro section ────────────────────────────────── */
.symptoms-intro {
  background: #fff;
  border-bottom: 1px solid var(--border, #E5E7EB);
  padding: 2.5rem 1.5rem;
}
.symptoms-intro__inner {
  max-width: 820px;
  margin: 0 auto;
}
.symptoms-intro__inner p {
  color: var(--text-secondary, #4B5563);
  font-size: 0.97rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}
.symptoms-intro__inner p:last-child { margin-bottom: 0; }

/* ── Category description ─────────────────────────── */
.symptoms-category__desc {
  font-size: 0.9rem;
  color: var(--text-muted, #9CA3AF);
  line-height: 1.7;
  margin: -0.75rem 0 1.25rem;
}

/* ── FAQ section ──────────────────────────────────── */
.symptoms-faq {
  background: var(--sand-100, #F9F7F4);
  border-top: 1px solid var(--border, #E5E7EB);
  padding: 3.5rem 1.5rem;
}
.symptoms-faq__inner {
  max-width: 820px;
  margin: 0 auto;
}
.symptoms-faq__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary, #111827);
  margin-bottom: 2rem;
}
.symptoms-faq__item {
  border-bottom: 1px solid var(--border, #E5E7EB);
  padding: 1.25rem 0;
}
.symptoms-faq__item:last-child { border-bottom: none; }
.symptoms-faq__q {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary, #111827);
  margin-bottom: 0.5rem;
}
.symptoms-faq__a {
  font-size: 0.9rem;
  color: var(--text-secondary, #4B5563);
  line-height: 1.75;
  margin: 0;
}
