/* ========================================
   LANDING PAGE V2 - KILOTRACKR
   Design moderne optimisé SEO
   ======================================== */

/* ========================================
   1. STRUCTURE GÉNÉRALE
   ======================================== */

body.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* ========================================
   2. HEADER / NAVBAR
   ======================================== */

.landing-header {
    background: #ffffff; /* Fallback opaque pour Safari */
    background: var(--bg-card, #ffffff);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    backdrop-filter: none; /* Désactivé — causait transparence sur Safari iOS */
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] .landing-header,
[data-theme-choice="dark"] .landing-header,
[data-theme-choice="auto"] .landing-header {
    background: #1e293b;
}

[data-theme="light"] .landing-header,
[data-theme-choice="light"] .landing-header {
    background: #ffffff;
}

.landing-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-header .logo {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.landing-header nav {
    display: flex;
    flex-direction: row; /* 🔥 FIX : navbar.css impose "nav { flex-direction: column }"
                             en dessous de 1024px (pensé pour la navbar connectée) ;
                             sans cette ligne, ça fait empiler Soutenir/Blog/Connexion/
                             Inscription verticalement sur mobile au lieu de les garder
                             alignés à droite du logo. */
    gap: 1rem;
    align-items: center;
}

/* Bouton Ko-fi : version mobile pleine largeur, cachée par défaut.
   Voir @media (max-width: 480px) plus bas pour le switch desktop <-> mobile. */
.btn-kofi-nav--mobile {
    display: none;
}

/* Boutons du header */
.btn-login,
.btn-register {
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: var(--bg-hover);
    border-color: var(--border-color-hover);
}

.btn-register {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-register:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   3. HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.btn-primary:hover {
    color: var(--primary);
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    opacity: 0.9;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   4. SECTION TYPES DE CONTRATS (NOUVEAU)
   ======================================== */

.contract-types {
    padding: 5rem 0;
    background: var(--bg-body);
}

.contract-types h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.contract-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.contract-card-featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.1);
}

.contract-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contract-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contract-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contract-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contract-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contract-features li {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
}

.contract-features li:last-child {
    border-bottom: none;
}

.contract-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contract-badge-new {
    background: var(--success);
}

.contract-cta {
    text-align: center;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.contract-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

/* ========================================
   5. SECTION PROBLÈME
   ======================================== */

.problem-section {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.problem-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.problem-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.price-examples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-item {
    background: rgba(var(--danger-rgb), 0.1);
    border-left: 3px solid var(--danger);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-item strong {
    color: var(--danger);
    font-size: 1.25rem;
}

.price-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.problem-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
}

.problem-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-reasons li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-primary);
    position: relative;
    line-height: 1.5;
}

.problem-reasons li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
    font-size: 1.25rem;
}

.solution-box {
    background: linear-gradient(135deg, rgba(var(--success-rgb), 0.1) 0%, rgba(var(--success-rgb), 0.05) 100%);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.solution-box h3 {
    font-size: 1.5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.solution-box p {
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-primary-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--success);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-inline:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   6. FEATURES SECTION
   ======================================== */

.features {
    padding: 5rem 0;
    background: var(--bg-body);
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ========================================
   7. TIPS SECTION
   ======================================== */

.tips-section {
    padding: 5rem 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
}

.tips-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    padding-top: 4rem;
}

.tip-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* ========================================
   8. HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ========================================
   9. FAQ SECTION (TRÈS IMPORTANT SEO)
   ======================================== */

.faq-section {
    padding: 5rem 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border-color);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 1rem 0 1rem 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-answer .formula {
    background: var(--bg-body);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    margin: 1rem 0;
}

.faq-answer code {
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    color: var(--primary);
}

/* ========================================
   10. AUDIENCE SECTION
   ======================================== */

.audience-section {
    padding: 5rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.audience-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.audience-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.audience-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   11. CTA FINAL SECTION
   ======================================== */

.cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.btn-primary-large {
    padding: 1.25rem 3rem;
    background: white;
    color: var(--primary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
}

.btn-primary-large:hover {
    color: var(--primary);
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-reassurance {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-reassurance span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   12. FOOTER
   ======================================== */

.landing-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
}

.landing-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-footer p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.landing-footer-links {
    display: flex;
    gap: 2rem;
}

.landing-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.landing-footer-links a:hover {
    color: var(--primary);
}

/* ========================================
   13. CONTAINER GLOBAL
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   14. RESPONSIVE
   ======================================== */

/* Tablettes */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero .subtitle {
        font-size: 1.125rem;
    }
    
    .contract-grid,
    .problem-grid,
    .features-grid,
    .tips-grid,
    .steps,
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .landing-header .container {
        padding: 0 1rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .landing-header .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    
    .landing-header nav {
        gap: 0.4rem;
        flex-shrink: 0;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.4rem 0.75rem;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contract-types,
    .problem-section,
    .features,
    .tips-section,
    .how-it-works,
    .faq-section,
    .audience-section,
    .cta-final {
        padding: 3rem 0;
    }
    
    .contract-types h2,
    .problem-section h2,
    .features h2,
    .tips-section h2,
    .how-it-works h2,
    .faq-section h2,
    .audience-section h2,
    .cta-final h2 {
        font-size: 1.75rem;
    }
    
    .contract-grid,
    .problem-grid,
    .features-grid,
    .tips-grid,
    .steps,
    .faq-grid,
    .audience-grid {
        padding: 0 1.5rem;
    }
    
    .landing-footer .container {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .landing-footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-primary-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .cta-reassurance {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Très petits smartphones */
@media (max-width: 420px) {
    .landing-header {
        padding: 0.5rem 0;
    }

    .landing-header .container {
        padding: 0 0.75rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .landing-header .logo {
        font-size: 1rem;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    .landing-header nav {
        width: auto;
        justify-content: flex-end;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    /* Les 3 boutons tiennent sur une ligne avec padding réduit */

    .btn-login,
    .btn-register {
        padding: 0.35rem 0.55rem;
        font-size: 11px;
        flex: none;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .subtitle {
        font-size: 0.9375rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .landing-header .logo {
        font-size: 1.125rem;
        letter-spacing: 1px;
    }

    /* 🔥 Sous 480px : Soutenir/Blog/Connexion/Inscription ne tiennent plus à 4
       sur une ligne. On bascule le bouton Ko-fi sous la barre, pleine largeur,
       centré — voir home-landing.php pour le second <a> dupliqué. */
    .landing-header .btn-kofi-nav--desktop {
        display: none;
    }

    .landing-header .btn-kofi-nav--mobile {
        display: block;
        text-align: center;
        margin: 10px 0.75rem 0;
    }

    .contract-card,
    .problem-card,
    .feature-card,
    .tip-card,
    .step {
        padding: 1.5rem;
    }
}

/* ========================================
   15. MODE SOMBRE - AJUSTEMENTS
   ======================================== */

[data-theme="dark"] .hero,
[data-theme="dark"] .cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* ========================================
   16. ANIMATIONS
   ======================================== */


.hero h1,
.hero .subtitle,
section h2 {
    animation: fadeInUp 0.6s ease-out;
}

.contract-card,
.feature-card,
.tip-card,
.step,
.faq-item,
.audience-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.contract-card:nth-child(1),
.feature-card:nth-child(1),
.tip-card:nth-child(1),
.step:nth-child(1),
.faq-item:nth-child(1),
.audience-card:nth-child(1) { 
    animation-delay: 0.1s; 
}

.contract-card:nth-child(2),
.feature-card:nth-child(2),
.tip-card:nth-child(2),
.step:nth-child(2),
.faq-item:nth-child(2),
.audience-card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.contract-card:nth-child(3),
.feature-card:nth-child(3),
.tip-card:nth-child(3),
.step:nth-child(3),
.faq-item:nth-child(3),
.audience-card:nth-child(3) { 
    animation-delay: 0.3s; 
}

.contract-card:nth-child(4),
.feature-card:nth-child(4),
.tip-card:nth-child(4),
.step:nth-child(4),
.faq-item:nth-child(4),
.audience-card:nth-child(4) { 
    animation-delay: 0.4s; 
}

.contract-card:nth-child(5),
.feature-card:nth-child(5),
.faq-item:nth-child(5) { 
    animation-delay: 0.5s; 
}

.contract-card:nth-child(6),
.feature-card:nth-child(6),
.faq-item:nth-child(6) { 
    animation-delay: 0.6s; 
}