/**
 * Lucidaily - Styles
 * "Un peu plus clair, chaque jour"
 */

:root {
    --bg: #FDFCFA;
    --bg-card: #FFFFFF;
    --text: #2E2C2A;
    --text-muted: #787470;
    --text-light: #A8A49C;
    --accent: #4A6FA5;
    --accent-hover: #47699D;
    --accent-soft: #F4F7F5;
    --border: #ECEAE5;
    --success: #A6FA5;
    --error: #C23A2B;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Newsreader', Georgia, serif;
    --radius: 12px;
    --radius-full: 100px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

.container { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    position: sticky; top: 0;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem; font-weight: 500;
    color: var(--text); text-decoration: none;
}
.logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 0.9375rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: var(--radius-full);
    font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500;
    text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-secondary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Cards */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
.form-input {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--font-sans); font-size: 1rem; transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder { color: var(--text-light); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* Flash */
.flash { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9375rem; }
.flash-success { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.flash-error { background: #FEF2F2; color: var(--error); border: 1px solid var(--error); }

/* Subjects */
.subjects-grid { display: flex; flex-direction: column; gap: 16px; }
.subject-choice { cursor: pointer; transition: all 0.2s; }
.subject-choice:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.subject-theme {
    display: inline-block; font-size: 0.75rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 8px;
}
.subject-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.subject-accroche { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* Reading */
.reading { padding: 48px 0 80px; }
.reading-header, .action-header { margin-bottom: 40px; text-align: center; }
.action-header {     margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);}
.reading-theme, .action-theme { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 16px; }
.reading-title, .action-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 16px; }
.reading-accroche, .action-accroche { font-size: 1.125rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.reading-content { font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.75; }
.reading-section { margin-bottom: 32px; }
.reading-section p { margin-bottom: 20px; }
.reading-section-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 16px; }

/* ============================================
   TEMPS DE LECTURE - Styles uniformisés
   ============================================ */

/* Style de base réutilisable */
.reading-time,
.subject-reading-time,
.history-reading-time,
.archive-reading-time {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Avec badge (cartes sujets, page lecture) */
.subject-reading-time,
.history-reading-time,
.archive-reading-time {
    padding: 3px 8px;
    background: var(--accent-soft);
    border-radius: var(--radius-full);
    margin-top: -8px;
}

.reading-time {
    padding: 4px 10px;
    background: var(--accent-soft);
    border-radius: var(--radius-full);
}

/* Inline (historique) - pas de badge */
.history-reading-time {
    /* Hérite juste du style de base, pas de background */
}

/* Container meta pour cartes */
.subject-meta,
.archive-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Container meta pour page lecture */
.reading-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.reading-meta .reading-theme {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 640px) {
    .subject-meta,
    .archive-meta {
        gap: 8px;
    }
    
    .subject-reading-time,
    .archive-reading-time,
    .reading-time {
        font-size: 0.6875rem;
        padding: 2px 6px;
    }
}

/* Integration */
.integration { background: var(--accent-soft); border-radius: var(--radius); padding: 32px; margin: 48px 0; }
.integration-title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; margin-bottom: 20px; color: var(--accent); }
.integration-question {
    font-family: var(--font-serif); font-size: 1rem; font-style: italic;
    margin-bottom: 16px; padding-left: 16px; border-left: 2px solid var(--accent);
}
.integration-question:last-child { margin-bottom: 0; }

/* Humanisation */
.humanisation { text-align: center; padding: 32px 0; margin: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.humanisation-text { font-family: var(--font-serif); font-size: 1.125rem; font-style: italic; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* Actions */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Invitation */
.invitation-card { background: var(--accent-soft); border-color: var(--accent); }
.invitation-from { font-size: 0.875rem; color: var(--accent); margin-bottom: 12px; }
.invitation-message { font-style: italic; color: var(--text-muted); margin-top: 12px; padding: 12px; background: rgba(255,255,255,0.5); border-radius: 8px; }

/* Stats */
.stat-subtle { text-align: center; color: var(--text-light); font-size: 0.875rem; }
.stat-number { font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 4px; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); }

/* Modal */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 1000;
    align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-card); border-radius: var(--radius); padding: 32px; max-width: 400px; width: 100%; }
.modal-title { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 24px; }

/* History */
.history-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.history-item a { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }


.history-item:last-child { border-bottom: none; }
/*.history-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }*/
.history-meta {
    display: inline-block; font-size: 0.75rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 8px;
}
.history-date { font-size: 0.8125rem; color: var(--text-light);text-transform:lowercase; }

.history-saved { font-size: 0.75rem; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 4px; }
.history-title { font-family: var(--font-serif); font-size: 1.0625rem; text-decoration: none; display: block; margin-bottom: 4px; }
.history-title:hover { color: var(--accent); }
.history-note { font-size: 0.875rem; font-style: italic; color: var(--text-muted); margin-top: 8px; padding: 8px 12px; background: var(--accent-soft); border-radius: 6px; }

/* Premium */
.premium-banner { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: #fff; border-radius: var(--radius); padding: 32px; text-align: center; }
.premium-banner h2 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 12px; }
.premium-banner p { opacity: 0.9; margin-bottom: 24px; }
.premium-price { font-size: 2rem; font-weight: 600; }
.premium-price span { font-size: 1rem; font-weight: 400; opacity: 0.8; }

/* Footer */
.footer { margin-top: auto; padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-family: var(--font-serif); font-size: 1.25rem; color: var(--text); text-decoration: none; }
.footer-brand span { color: var(--accent); }
.footer-tag { color: var(--text-muted); font-size: 0.875rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--text); }

/* Auth */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { max-width: 400px; width: 100%; }
.auth-title { font-family: var(--font-serif); font-size: 1.75rem; text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9375rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent); text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.875rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Responsive */
@media (max-width: 640px) {
    .header-inner { height: 56px; }
    .nav { gap: 16px; }
    .reading-title { font-size: 1.5rem; }
    .actions { flex-direction: column; }
    .btn { width: 100%; }
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ===== NOUVELLES SECTIONS EXPOSÉ ===== */

/* Points / Listes à puces simples */
.reading-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
    line-height: 1.75;
}

.reading-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Erreurs fréquentes - style plus doux */
.reading-erreurs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-erreurs li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    line-height: 1.75;
}

.reading-erreurs li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 500;
}

/* Section Débat */
.reading-section-debat {
    background: #FFFBF5;
    margin-left: -20px;
    margin-right: -20px;
    padding: 24px 20px;
    border-left: 3px solid #E8A84C;
}

.reading-section-debat .reading-section-title {
    color: #B07D2A;
}

/* Section Synthèse */
.reading-section-synthese {
    background: var(--accent-soft);
    margin-left: -20px;
    margin-right: -20px;
    padding: 24px 20px;
    border-radius: 0;
}

.reading-section-synthese .reading-section-title {
    color: var(--accent);
}

/* Section Ouverture */
.reading-section-ouverture {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-top: 32px;
}

.reading-section-ouverture .reading-section-title {
    color: var(--accent);
    font-style: italic;
}

/* Sources */
.reading-sources {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.reading-sources-title {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 12px;
}

.reading-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-sources li {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.source-fiabilite {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 4px;
}

.source-fiabilite-haute {
    background: #E8F5E9;
    color: #2E7D32;
}

.source-fiabilite-moyenne {
    background: #FFF8E1;
    color: #F57F17;
}

.source-fiabilite-à.nuancer,
.source-fiabilite-a-nuancer {
    background: #FBE9E7;
    color: #D84315;
}
/* ============================================== */
/* NOUVEAU FORMAT v2 : Lecture narrative fluide  */
/* ============================================== */

/* Section narrative - pas de rupture visuelle */
.reading-section-narrative {
    margin-bottom: 1.5rem;
}

.reading-section-narrative p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text-primary, #1a1a1a);
}

.reading-section-narrative p:last-child {
    margin-bottom: 0;
}

/* Nuances - légère respiration visuelle */
.reading-section-nuances {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light, rgba(0, 0, 0, 0.06));
}

/* Ouverture finale - invitation à continuer à penser */
.reading-section-ouverture {
    margin-top: 3rem;
    padding: 2rem 1.5rem 3rem;
    position: relative;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bg-subtle, rgba(74, 111, 165, 0.04)) 30%,
        transparent 100%
    );
}

.reading-ouverture {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary, #444);
    text-align: center;
    margin: 0;
}

/* ============================================== */
/* Ajustements mobile                            */
/* ============================================== */

@media (max-width: 600px) {
    .reading-section-narrative p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

}

/**
 * Lucidaily - Pages légales (mentions légales / CGV)
 * Design cohérent avec la charte graphique
 */

/* Utilise les variables CSS existantes de Lucidaily */
/* Container principal - reprend le style des autres pages */
.legal-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    font-family: var(--font-sans);
    line-height: 1.65;
}

/* Header de la page - style épuré comme le reste */
.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.page-header .last-update {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* Sections légales - reprend le style des cards */
.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    line-height: 1.3;
}

.legal-section h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text);
    margin: 24px 0 12px 0;
}

/* Contenu des sections */
.legal-content {
    color: var(--text);
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.65;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    font-weight: 600;
    color: var(--text);
}

/* Listes - style cohérent avec le reste */
.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
    list-style: none;
}

.legal-content li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 4px;
}

.legal-content li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Liens - reprend le style des liens existants */
.legal-content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-content a:hover,
.legal-content a:focus {
    color: var(--accent-hover);
    outline: none;
}

/* Footer des pages légales */
.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-footer p {
    margin-bottom: 16px;
}

.legal-footer .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--text);
    color: var(--bg-card);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.legal-footer .back-link:hover,
.legal-footer .back-link:focus {
    background: #333;
    color: var(--bg-card);
    transform: translateY(-1px);
}

.legal-footer a:not(.back-link) {
    color: var(--text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
}

.legal-footer a:not(.back-link):hover {
    color: var(--text);
}

/* Responsive - reprend les breakpoints existants */
@media (max-width: 640px) {
    .legal-page {
        padding: 24px 20px 60px;
    }
    
    .page-header {
        margin-bottom: 32px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .legal-section {
        margin-bottom: 32px;
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }

    .legal-footer {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .legal-footer .back-link {
        width: 100%;
        max-width: 280px;
    }
}

/* Accessibilité - cohérent avec les standards du site */
@media (prefers-reduced-motion: reduce) {
    .legal-content a,
    .legal-footer .back-link {
        transition: none;
    }
}

/* Focus visible pour accessibilité */
.legal-content a:focus-visible,
.legal-footer .back-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Style pour les contenus longs - améliore la lisibilité */
@media (min-width: 641px) {
    .legal-content p {
        max-width: 70ch;
    }
    
    .legal-content li {
        max-width: 66ch;
    }
}
/* ============================================== */
/* LUCIDAILY v3 : Accordéons et repères          */
/* À ajouter à la fin de style.css               */
/* ============================================== */

/* ===== ACCORDÉON "APPROFONDIR" ===== */

.reading-approfondir {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.reading-approfondir summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s;
    list-style: none;
}

.reading-approfondir summary::-webkit-details-marker {
    display: none;
}

.reading-approfondir summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s;
}

.reading-approfondir[open] summary::before {
    content: "−";
}

.reading-approfondir summary:hover {
    background: rgba(74, 111, 165, 0.12);
}

.reading-approfondir-content {
    padding: 20px;
    background: linear-gradient(
        to bottom,
        var(--accent-soft) 0%,
        transparent 100%
    );
    border-left: 2px solid var(--accent);
    margin-left: 10px;
    margin-top: 4px;
}

.reading-approfondir-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.reading-approfondir-content p:last-child {
    margin-bottom: 0;
}

/* ===== SECTIONS v3 ===== */

/* Entrée : pas de marge spéciale, juste le flux */
.reading-section-entree {
    margin-bottom: 2rem;
}

/* Sections avec titre */
.reading-section-mecanisme,
.reading-section-reconnaissance,
.reading-section-tension {
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Titres de section v3 - style plus léger */
.reading-section-mecanisme .reading-section-title,
.reading-section-reconnaissance .reading-section-title,
.reading-section-tension .reading-section-title {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

/* Ouverture v3 - style distinct avec couleur complémentaire */
.reading-section-ouverture {
    margin-top: 3rem;
    padding: 2rem 1.5rem 3rem;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(74, 111, 165, 0.08) 0%,
        rgba(165, 123, 74, 0.06) 100%
    );
    border-radius: 12px;
    border-bottom: 2px solid rgba(165, 123, 74, 0.25);
}

.reading-ouverture {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b5a40;
    text-align: center;
    margin: 0;
    font-style: italic;
}

/* ===== SOURCES v3 ===== */

.reading-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reading-sources li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.reading-sources li:last-child {
    border-bottom: none;
}

.reading-sources a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.reading-sources a:hover {
    text-decoration: underline;
}

.source-contexte {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-left: 4px;
}

.source-fiabilite {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.source-fiabilite-haute {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.source-fiabilite-moyenne {
    background: rgba(255, 152, 0, 0.1);
    color: #e65100;
}

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

@media (max-width: 600px) {
    .reading-approfondir summary {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
    
    .reading-approfondir-content {
        padding: 16px;
        margin-left: 0;
    }
    
    .reading-approfondir-content p {
        font-size: 0.9375rem;
    }
    
    .reading-section-ouverture {
        margin-left: -20px;
        margin-right: -20px;
        padding: 1.75rem 1.25rem 2.5rem;
        border-radius: 0;
    }
    
    .reading-ouverture {
        font-size: 1.05rem;
    }
    
    .reading-section-mecanisme .reading-section-title,
    .reading-section-reconnaissance .reading-section-title,
    .reading-section-tension .reading-section-title {
        font-size: 0.8125rem;
    }
}

/* ===== ACCESSIBILITÉ ===== */

@media (prefers-reduced-motion: reduce) {
    .reading-approfondir summary::before,
    .reading-approfondir summary {
        transition: none;
    }
}

.reading-approfondir summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
/* ============================================== */
/* LUCIDAILY - Sélecteur de style (profil)       */
/* À ajouter à style.css                         */
/* ============================================== */

/* Container des options */
.style-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Option individuelle */
.style-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
}

.style-option:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.style-option-active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* Cacher le radio natif */
.style-option input[type="radio"] {
    display: none;
}

/* Contenu de l'option */
.style-option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.style-option-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.style-option-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Check mark */
.style-option-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .style-option {
        padding: 14px;
    }
    
    .style-option-name {
        font-size: 0.9375rem;
    }
    
    .style-option-desc {
        font-size: 0.8125rem;
    }
}

/* ============================================== */
/* Card title (si pas déjà défini)               */
/* ============================================== */

.card-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}

/* Espacement entre les cards */
.card + .card {
    margin-top: 20px;
}

/* Premium banner spacing */
.premium-banner {
    margin-top: 24px;
}

/**
 * Styles pour la phrase-clé partageable
 */

/* Phrase-clé partageable */
.phrase-cle-container {
    margin: 32px 0 40px;
    text-align: center;
}

.phrase-cle {
    position: relative;
    padding: 24px 32px;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, var(--accent-soft) 0%, #F8F7F5 100%);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.phrase-cle p {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

.phrase-cle-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.phrase-cle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.phrase-cle-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.phrase-cle-btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

.phrase-cle-btn-ghost:hover {
    background: transparent;
    border-color: var(--text);
    color: var(--text);
}

.phrase-cle-btn svg {
    flex-shrink: 0;
}

/* État copié */
.phrase-cle-btn.copied {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

/* Mobile */
@media (max-width: 640px) {
    .phrase-cle {
        padding: 20px 24px;
    }
    
    .phrase-cle p {
        font-size: 1.0625rem;
    }
    
    .phrase-cle-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .phrase-cle-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* Bandeau de crédibilité */
.credibility-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    margin: -20px 0 24px 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.credibility-icon {
    display: flex;
    align-items: center;
    color: var(--accent);
}

.credibility-text {
    font-weight: 500;
}

.credibility-sources {
    font-weight: 400;
    color: var(--text-light);
}

/* Mobile */
@media (max-width: 640px) {
    .credibility-banner {
        flex-wrap: wrap;
        text-align: center;
    }
    
    .credibility-sources {
        display: block;
        width: 100%;
        margin-top: 2px;
    }
}