/* New homepage - Thomas More / pluralisme et neutralité */

.home-body {
    background: #fff;
    overflow-x: hidden;
}

/* Header */
.home-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0.75rem 1rem;
}

.home-logo {
    height: 48px;
    width: auto;
    display: block;
}

.home-logo-link {
    line-height: 0;
}

.home-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.home-nav-link {
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.home-nav-link:hover,
.home-nav-link.active {
    color: #111827;
    background: #f3f4f6;
}

.home-nav-link.active {
    font-weight: 600;
}

/* Hero */
.home-hero {
    padding: 4rem 0 4.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.25;
    margin-bottom: 1rem;
    max-width: 20ch;
}

.home-hero-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 52ch;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.btn-home-primary,
.btn-home-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-home-primary {
    background: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-home-primary:hover {
    background: #c40404;
    color: #fff;
    box-shadow: 0 4px 12px rgba(229, 4, 4, 0.35);
}

.btn-home-secondary {
    background: #fff;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-home-secondary:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #9ca3af;
}

.home-hero-stats {
    margin-top: 2rem;
}

.home-stat-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.home-stat-label {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
}

/* Section titles */
.home-section-title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
}

/* Intro */
.home-intro {
    padding: 3.5rem 0;
    background: #fff;
}

.home-intro-text {
    max-width: 65ch;
    font-size: 1.0625rem;
    color: #374151;
    line-height: 1.7;
}

.home-intro-text p {
    margin-bottom: 1rem;
}

.home-intro-text p:last-child {
    margin-bottom: 0;
}

/* 3 volets - cards */
.home-volets {
    padding: 3.5rem 0;
    background: #f8fafc;
}

.home-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.home-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.home-card-text {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.btn-home-card {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e40af;
    background: transparent;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    text-decoration: none;
    align-self: flex-start;
}

.btn-home-card:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Crédibilité / Méthodologie */
.home-credibilite {
    padding: 3.5rem 0;
    background: #fff;
}

.home-credibilite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem 2rem;
    margin-bottom: 0.5rem;
}

.home-credibilite-item {
    padding: 1rem 0;
}

.home-credibilite-item strong {
    display: block;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.home-credibilite-item p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Encadrés Principaux enseignements */
.home-enseignement-encadre {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.home-enseignement-encadre strong {
    display: block;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.home-enseignement-encadre p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.btn-home-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e40af;
    background: transparent;
    border: 2px solid #1e40af;
    border-radius: 6px;
    text-decoration: none;
}

.btn-home-outline:hover {
    background: #1e40af;
    color: #fff;
}

/* Footer */
.home-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.home-footer-inner {
    text-align: center;
}

.home-footer-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}

.home-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.home-footer-links a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.9375rem;
}

.home-footer-links a:hover {
    text-decoration: underline;
}

.home-footer-copy {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.home-footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

/* Sous-navigation page Résultats (3 volets + chaînes + explorer par jour) */
.results-subnav {
    padding: 1rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.results-subnav-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.results-subnav-row:last-child {
    margin-bottom: 0;
}

.results-subnav-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.results-volet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.results-volet-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.results-volet-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.results-volet-btn.active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}

.results-volet-btn.active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.results-chaine-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.results-chaine-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.results-chaine-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.results-chaine-btn.active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}

.results-chaine-btn.active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.results-chaine-logo {
    height: 20px;
    width: auto;
    flex-shrink: 0;
}

.results-explore-jour {
    display: flex;
    align-items: center;
}

.results-explore-jour-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
    border-radius: 6px;
    border: 1px dashed #93c5fd;
    transition: background 0.2s;
}

.results-explore-jour-btn:hover {
    background: #eff6ff;
}

.results-explore-jour-btn.active {
    background: #1e40af;
    border-color: #1e40af;
    border-style: solid;
    color: #fff;
}

.results-explore-jour-btn.active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

/* Page Chaîne - Enseignements clés */
.chaine-enseignements .section-title {
    font-size: 1.25rem;
}

.chaine-enseignement-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    height: 100%;
    min-height: 90px;
}


.chaine-enseignement-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.chaine-enseignement-value {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
}

.chaine-enseignement-value.small {
    font-size: 0.9375rem;
}

/* Page Équité */
.equite-explore {
    padding-top: 2rem;
}

.equite-chaines {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.equite-chaine-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.equite-chaine-link:hover {
    background: #fef2f2;
    border-color: rgba(229, 4, 4, 0.4);
    color: #c40404;
}

.equite-chaine-logo {
    height: 24px;
    width: auto;
    flex-shrink: 0;
}

/* Pages équité famille et chaîne */
.equite-breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.equite-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.equite-breadcrumb a:hover {
    text-decoration: underline;
}

.equite-breadcrumb .sep {
    margin: 0 0.5rem;
}

.equite-famille-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.equite-famille-link:hover {
    background: #fef2f2;
    border-color: rgba(229, 4, 4, 0.4);
    color: #c40404;
}

.equite-chaine-hero .equite-chaine-logo {
    height: 48px;
    width: auto;
}

.equite-famille-day-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.equite-famille-chaine-block {
    padding-left: 1rem;
    border-left: 3px solid #e5e7eb;
}

.equite-famille-chaine-name {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.equite-famille-episodes {
    margin-bottom: 0.5rem;
}

.equite-famille-episode {
    padding: 0.35rem 0;
    font-size: 0.9375rem;
}

.equite-famille-episode .equite-famille-attitude {
    min-width: 2.5rem;
    text-align: center;
}

/* Graphique barres horizontales (équité famille / jour) */
.equite-famille-bars { margin: 1rem 0; }
.equite-famille-bars .jour-bars-row { display: flex; align-items: center; margin-bottom: 10px; min-height: 36px; }
.equite-famille-bars .jour-bars-name { flex: 0 0 200px; font-size: 14px; font-weight: 500; padding-right: 12px; }
.equite-famille-bars .jour-bars-zone { flex: 1; position: relative; height: 28px; min-width: 200px; }
.equite-famille-bars .jour-bars-zone::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #999; z-index: 0; }
.equite-famille-bars .jour-bars-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 2px; min-width: 4px; }
.equite-famille-bars .jour-bars-val { position: absolute; top: 50%; font-size: 12px; font-weight: 600; color: #333; z-index: 2; text-shadow: 0 0 2px #fff; pointer-events: none; }
.equite-famille-bars .jour-bars-legend-row { margin-bottom: 0; min-height: auto; }
.equite-famille-bars .jour-bars-legend-wrap { flex: 1; min-width: 200px; display: flex; justify-content: center; align-items: center; padding-top: 8px; }
.equite-famille-bars .jour-bars-legend { font-size: 11px; color: #666; }

/* Graphique évolution par mois avec flèches */
.equite-famille-chart-scroll-wrap { display: flex; align-items: stretch; gap: 0.5rem; }
.equite-famille-scroll-btn {
    flex-shrink: 0;
    width: 40px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.equite-famille-scroll-btn:hover { background: #f3f4f6; border-color: #9ca3af; }
.equite-famille-scroll-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.equite-famille-chart-scroll-inner {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.equite-famille-chart-scroll-inner .equite-famille-bars { min-width: min-content; }

.equite-chaine-family-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
}

.equite-chaine-content-item a {
    color: #1e40af;
    text-decoration: none;
}

.equite-chaine-content-item a:hover {
    text-decoration: underline;
}

.equite-chaine-person-clickable {
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.equite-chaine-person-clickable:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.equite-chaine-person-clickable .equite-chaine-content-item a {
    pointer-events: auto;
}
.equite-chaine-person-clickable .card-header a,
.equite-chaine-person-clickable .card-body a {
    pointer-events: auto;
}

.equite-chaine-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    font-size: 0.875rem;
    color: #374151;
}
.equite-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.equite-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Page Méthodologie */
.methodologie-hero {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.methodologie-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.methodologie-subtitle {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 70ch;
}

.methodologie-intro {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.methodologie-intro-list {
    margin: 0 0 1rem 1.5rem;
    padding: 0;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.methodologie-intro-list li {
    margin-bottom: 0.35rem;
}

/* Carte "Pourquoi l'IA ?" (style type VRscores / Politicsatwork) */
.methodologie-ia-card {
    padding: 2rem 0;
}

.methodologie-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.methodologie-card-ia {
    border-left: 4px solid #1e40af;
    max-width: 72ch;
}

.methodologie-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.methodologie-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.methodologie-card p:last-child {
    margin-bottom: 0;
}

/* Procédé d'analyse (liste numérotée 1-2-3-4) */
.methodologie-procede {
    padding: 2.5rem 0;
    background: #f8fafc;
}

.methodologie-section-title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.methodologie-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: methodologie-step;
}

.methodologie-step {
    counter-increment: methodologie-step;
    margin-bottom: 2.5rem;
    padding-left: 4rem;
    position: relative;
}

.methodologie-step:last-child {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .methodologie-step {
        padding-left: 3.5rem;
    }
}

.methodologie-step::before {
    content: counter(methodologie-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 2.5rem;
    text-align: center;
}

.methodologie-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.methodologie-step p,
.methodologie-step-block p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.methodologie-step p:last-child,
.methodologie-step-block p:last-child {
    margin-bottom: 0;
}

.methodologie-step-block {
    margin-bottom: 1.25rem;
}

.methodologie-step-block:last-child {
    margin-bottom: 0;
}

.methodologie-step-block h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Limites encart bas de page */
.methodologie-limites {
    padding: 2.5rem 0 4rem;
    background: #fff;
}

.methodologie-limites-encart {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 1.75rem 2rem;
}

.methodologie-limites-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
}

.methodologie-limites-list {
    margin: 0 0 1rem 1.5rem;
    padding: 0;
    font-size: 0.9375rem;
    color: #78350f;
    line-height: 1.6;
}

.methodologie-limites-list li {
    margin-bottom: 0.35rem;
}

.methodologie-limites-encart p {
    font-size: 0.9375rem;
    color: #78350f;
    line-height: 1.65;
    margin: 0;
}

/* Page Benchmark */
.benchmark-hero .methodologie-subtitle {
    margin-bottom: 1rem;
}

.benchmark-resultat {
    padding: 2rem 0;
    background: #fff;
}

.benchmark-resultat-text p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.benchmark-resultat-text p:last-of-type {
    margin-bottom: 0;
}

.benchmark-modeles {
    padding: 2rem 0 3rem;
    background: #f8fafc;
}

.benchmark-modeles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benchmark-modele-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.benchmark-modele-mistral {
    border-left: 4px solid #7c3aed;
}

.benchmark-modele-openai {
    border-left: 4px solid #059669;
}

.benchmark-modele-gemini {
    border-left: 4px solid #1e40af;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

.benchmark-modele-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.benchmark-modele-list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
}

.benchmark-modele-list li {
    margin-bottom: 0.5rem;
}

.benchmark-modele-list li:last-child {
    margin-bottom: 0;
}

.benchmark-conclusion {
    text-align: center;
    padding: 1.5rem;
    background: #eff6ff;
    border-radius: 10px;
    border: 1px solid #93c5fd;
}

.benchmark-conclusion p {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
}

/* Page FAQ */
.faq-hero .methodologie-subtitle {
    margin-bottom: 0.5rem;
}

.faq-content {
    padding: 2rem 0 4rem;
    background: #fff;
}

.faq-list {
    max-width: 65ch;
}

.faq-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question-btn:hover {
    color: var(--accent-color);
}

.faq-question-text {
    flex: 1;
}

.faq-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: transform 0.25s ease;
}

.faq-question-btn[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.65;
}

.faq-answer-inner {
    padding-bottom: 1.25rem;
}

.faq-answer-inner p {
    margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-hero a,
.faq-answer a {
    color: #1e40af;
    text-decoration: none;
}

.faq-hero a:hover,
.faq-answer a:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */

/* Header mobile */
@media (max-width: 768px) {
    .home-logo {
        height: 40px;
    }
    .home-header-inner {
        padding: 0.5rem 1rem;
    }
    .home-nav-link {
        font-size: 0.875rem;
        padding: 0.3rem 0.4rem;
    }
    .home-hero {
        padding: 2.5rem 0 3rem;
    }
    .home-hero-title {
        max-width: none;
    }
    .home-hero-buttons {
        flex-direction: column;
        margin-bottom: 2.5rem;
    }
    .btn-home-primary,
    .btn-home-secondary {
        width: 100%;
        justify-content: center;
    }
    .home-section-title {
        font-size: 1.25rem;
    }
    .home-intro,
    .home-credibilite {
        padding: 2.5rem 0;
    }
    .results-subnav {
        padding: 0.75rem 0;
    }
    .results-subnav-row {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    .results-chaine-buttons {
        gap: 0.4rem;
    }
    .results-chaine-btn,
    .results-volet-btn,
    .results-explore-jour-btn {
        font-size: 0.8125rem;
        padding: 0.35rem 0.6rem;
    }
    .results-chaine-logo {
        height: 16px;
    }
    .methodologie-hero,
    .faq-hero .methodologie-hero {
        padding: 2rem 0 1.5rem;
    }
    .methodologie-title {
        font-size: 1.5rem;
    }
    .methodologie-subtitle,
    .methodologie-intro {
        font-size: 1rem;
    }
    .home-footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Barres horizontales (équité famille / jour) - mobile */
@media (max-width: 576px) {
    .equite-famille-bars .jour-bars-row,
    .jour-bars-row {
        flex-wrap: wrap;
        gap: 4px 0;
    }
    .equite-famille-bars .jour-bars-name,
    .jour-bars-name {
        flex: 0 0 100%;
        font-size: 13px;
        padding-right: 0;
    }
    .equite-famille-bars .jour-bars-zone,
    .jour-bars-zone {
        flex: 1 1 100%;
        min-width: 140px;
    }
    .equite-famille-bars .jour-bars-legend-wrap,
    .jour-bars-legend-wrap {
        min-width: 120px;
    }
    .equite-famille-chart-scroll-wrap {
        flex-direction: column;
    }
    .equite-famille-scroll-btn {
        width: 100%;
    }
}

/* Page équité chaîne - header flexible */
@media (max-width: 576px) {
    .equite-chaine-hero .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .equite-chaine-hero .equite-chaine-logo {
        height: 36px;
    }
    #equite-chaine-chart {
        min-height: 320px !important;
    }
}

/* Page chaîne - graphiques plus lisibles sur mobile */
@media (max-width: 576px) {
    #chaine-personalities-chart {
        max-height: 520px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    #chaine-themes-chart,
    #chaine-orientation-chart,
    #chaine-preoccupation-spider {
        min-height: 320px;
    }
    .chart-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Grille familles - plus compact sur mobile */
@media (max-width: 575px) {
    .equite-familles .row [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .equite-famille-link {
        display: block;
        padding: 0.6rem 0.75rem;
    }
}

/* Très petit écran */
@media (max-width: 400px) {
    .home-hero-title {
        font-size: 1.5rem;
    }
    .home-stat-value {
        font-size: 1.5rem;
    }
    .home-stat-label {
        font-size: 0.75rem;
    }
    .methodologie-title {
        font-size: 1.35rem;
    }
}
