/**
 * Lucidaily Landing Page - CSS v3
 * Design bienveillant, épuré, éditorial
 */

:root {
    --black: #111;
        --reverse: #111;
    --white: #fff;
        --white-always: #fff;
    --cream: #FDFCFA;
    --gray-100: #F7F6F3;
    --gray-200: #ECEAE5;
    --gray-400: #A8A49C;
    --gray-500: #787470;
    --gray-600: #5C5854;
    --gray-800: #2E2C2A;
    
    --accent: #4A6FA5;
    --accent-dark: #47699D;
    --accent-soft: #F4F7F5;
    
    --font-serif: 'Newsreader', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    
    --radius: 10px;
    --radius-lg: 16px;
}

/* Mode sombre - Landing */
[data-theme="dark"] {
    --black: #fff;/*#E8E6E3*/
            --reverse: #2E2E2E;
    --white: #1E1E1E;
            --white-always: #fff;
    --cream: #141414;
    --gray-100: #1E1E1E;
    --gray-200: #2E2E2E;
    --gray-400: #888;
    --gray-500: #999;
    --gray-600: #AAA;
    --gray-800: #E0E0E0;
    
    --accent: #6B9BD2;
    --accent-dark: #7DAADE;
    --accent-soft: rgba(107, 155, 210, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--gray-800);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent-soft);
    color: var(--accent);
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 24px 0;
    background: transparent;
    transition: all 0.3s;
}

.navbar.scrolled {
        background: var(--cream);
    /*background: rgba(253, 252, 250, 0.97);*/
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
}

.navbar-brand, .navbar-brand:hover {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 500;
    color: var(--black)!important;
    text-decoration: none;
    letter-spacing: -0.01em;
}



.navbar-brand .navbar-brand-highlight {
    color: var(--accent);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-custom {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-link-custom:hover {
    color: var(--black);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--gray-200);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg { padding: 16px 32px; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 660px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    color: var(--black);
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--reverse);
    color: var(--white);
}

.section-gray {
    background: var(--gray-100);
}

.section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.section-dark .section-label {
    color: var(--gray-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.75;
}

.section-dark .section-intro {
    color: var(--gray-400);
}

/* ===== HOW IT WORKS GRID ===== */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

@media (max-width: 768px) {
    .how-grid { grid-template-columns: 1fr; gap: 16px; }
}

.how-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
}

.how-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}

.how-card .how-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--black);
    font-weight: 400;
}

.how-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== BELIEVE / CONVICTIONS ===== */
.believe-grid {
    margin-top: 56px;
}

.believe-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: baseline;
}

.believe-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.believe-marker {
    color: var(--accent);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.believe-content h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 6px;
}

.believe-content p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.65;
}
#believe-title, .believe-item {
    color: var(--white-always);

}


/* ===== PREVIEW CARD ===== */
.preview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 620px;
    margin: 56px auto 0;
}

.preview-label {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.preview-title {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    line-height: 1.35;
    margin-bottom: 14px;
    color: var(--black);
}

.preview-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 24px;
}

.preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.preview-time {
    color: var(--gray-500);
}

.preview-link {
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
}

.preview-link:hover {
    color: var(--accent);
}

/* ===== WHY / L'IDÉE DERRIÈRE ===== */
.why-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.why-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.65;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.why-text-highlight {
    color: var(--black);
    margin-bottom: 0;
}

/* ===== CTA ===== */
.section-cta {
    padding: 80px 0;
    background: var(--gray-100);
}

.cta-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.cta-card h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: var(--black);
}

.cta-card > p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.form-note a {
    color: var(--accent);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ===== FAQ CUSTOM ===== */
.faq-list {
    max-width: 640px;
    margin: 56px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
}

.faq-q::after {
    content: '+';
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: transform 0.2s;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-a p {
    padding-bottom: 24px;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===== FOOTER ===== */
/*
    .footer {
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
}

.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(--black);
    text-decoration: none;
}

.footer-brand span {
    color: var(--accent);
}

.footer-tag {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--black);
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
*/
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .preview-card {
        padding: 28px 20px;
    }
    
    .nav-link-custom {
        display: none;
    }
    
    .believe-item {
        flex-direction: column;
        gap: 12px;
    }
}
/* ============================================================
   FOOTER REFONTE — à ajouter / remplacer dans style.css
   ============================================================ */

/* Reset de l'ancienne règle .footer-inner si elle existe */
.footer-inner { display: none; }

/* ── Structure générale ── */
.footer {
    padding: 56px 0 0;
    border-top: 1px solid var(--gray-200, #E5E7EB);
    background: var(--white, #FDFCFA);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.6fr;
    gap: 48px;
    padding-bottom: 48px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-col--newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-col--newsletter {
        grid-column: auto;
    }
}

/* ── Col Brand ── */
.footer-brand {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.375rem;
    color: var(--black, #111);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}
.footer-brand span { color: var(--accent, #4A7C6F); }

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray-500, #6B7280);
    margin: 0 0 20px;
    line-height: 1.5;
}

/* ── Réseaux sociaux ── */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500, #6B7280);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    width: fit-content;
}

.footer-social-link:hover {
    color: var(--accent, #4A7C6F);
}

/* ── Col Nav ── */
.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400, #9CA3AF);
    margin: 0 0 14px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.footer-nav-list li + li { margin-top: 8px; }

.footer-nav-list a {
    color: var(--gray-600, #4B5563);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav-list a:hover { color: var(--black, #111); }

.footer-nav-list--legal a {
    color: var(--gray-400, #9CA3AF);
    font-size: 0.8125rem;
}
.footer-nav-list--legal a:hover { color: var(--gray-600, #4B5563); }

/* ── Col Newsletter ── */
.footer-nl-desc {
    font-size: 0.9rem;
    color: var(--gray-500, #6B7280);
    margin: 0 0 16px;
    line-height: 1.6;
}

.footer-nl-row {
    display: flex;
    gap: 8px;
}

.footer-nl-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200, #E5E7EB);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--white, #fff);
    color: var(--black, #111);
    transition: border-color 0.2s;
    min-width: 0;
}

.footer-nl-input:focus {
    outline: none;
    border-color: var(--accent, #4A7C6F);
}

.footer-nl-input::placeholder { color: var(--gray-400, #9CA3AF); }

.footer-nl-btn {
    padding: 10px 18px;
    background: var(--accent, #4A7C6F);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, opacity 0.2s;
}

.footer-nl-btn:hover  { background: var(--accent-dark, #3a6359); }
.footer-nl-btn:disabled { opacity: 0.6; cursor: default; }

.footer-nl-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--gray-400, #9CA3AF);
}

.footer-nl-feedback {
    margin: 6px 0 0;
    font-size: 0.85rem;
    min-height: 1.2em;
}

.footer-nl-feedback--success { color: #059669; }
.footer-nl-feedback--error   { color: #DC2626; }

/* ── Bas de footer ── */
.footer-bottom {
    border-top: 1px solid var(--gray-200, #E5E7EB);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-400, #9CA3AF);
    margin: 0;
}

.footer-bottom a {
    color: var(--gray-400, #9CA3AF);
    text-decoration: none;
}

.footer-bottom a:hover { color: var(--gray-600, #4B5563); }

/* ── Dark mode ── */
[data-theme="dark"] .footer {
    border-top-color: rgba(255,255,255,0.08);
    background: var(--bg-card, #1e1e1e);
}

[data-theme="dark"] .footer-brand           { color: var(--text, #f0ece4); }
[data-theme="dark"] .footer-nav-list a      { color: var(--text-muted, #aaa); }
[data-theme="dark"] .footer-nav-list a:hover { color: var(--text, #f0ece4); }
[data-theme="dark"] .footer-nl-input {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--text, #f0ece4);
}
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-bottom a       { color: rgba(255,255,255,0.3); }
[data-theme="dark"] .footer-bottom         { border-top-color: rgba(255,255,255,0.08); }