/* ============================================
   Page Offres
============================================ */

:root {
    --lc-gold: var(--color-gold);
    --lc-gold-dark: #b8932d;
    --lc-bg-card: #1a1a1a;
    --lc-text: #ffffff;
    --lc-text-dim: rgba(0, 0, 0, 0.6);
    --lc-border: rgba(255, 255, 255, 0.1);
}

#top-footer {display:none;}

/* ============================================
   SECTION PRINCIPALE
   ============================================ */

.lc-charts-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.lc-charts-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--lc-text);
    font-weight: 700;
    line-height: 1.3;
}

.lc-preview-subtitle {
    color: var(--lc-text-dim);
    font-size: 1.1rem;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARTE DE GRAPHIQUE (BASE)
   ============================================ */

.lc-chart-card {
    background: var(--lc-bg-card);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--lc-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lc-chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lc-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lc-chart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.lc-chart-card:hover::before {
    opacity: 1;
}

.lc-chart-caption {
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
}

/* ============================================
   GRAPHIQUE 1: STREAK (RÉGULARITÉ)
   ============================================ */

.lc-streak-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.lc-streak-flame {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.6));
    animation: flameFloat 2s ease-in-out infinite;
}

@keyframes flameFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.lc-streak-number {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.lc-streak-value {
    display: inline-block;
}

.lc-streak-label {
    color: var(--lc-text-dim);
    font-size: 0.9rem;
    margin-top: 4px;
}

.lc-streak-week {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.lc-day {
    width: 36px;
    height: 36px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lc-day.lc-active {
    background: var(--lc-gold);
    color: #fff;
    transform: scale(1);
    border-color: var(--lc-gold);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.lc-day:hover {
    transform: scale(1.1);
}

/* ============================================
   GRAPHIQUE 2: WORDS PROGRESS (CERCLE)
   ============================================ */

.lc-words-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.lc-words-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.lc-words-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.lc-words-circle circle {
    fill: none;
    stroke-width: 8;
}

.lc-words-circle .lc-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.lc-words-circle .lc-progress {
    stroke: var(--lc-gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

.lc-words-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.lc-words-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.lc-words-center small {
    font-size: 1rem;
    display: block;
    margin-top: 4px;
}

/* ============================================
   GRAPHIQUE 3: TIME BARS (BARRES DE TEMPS)
   ============================================ */

.lc-time-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lc-time-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-time-day {
    min-width: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lc-text-dim);
    text-align: left;
}

.lc-time-bar-bg {
    flex: 1;
    height: 24px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.lc-time-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1E2A38, #1E2A38);
    border-radius: 12px;
    width: 0;
    transition: width 0.8s ease;
    position: relative;
}

.lc-time-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.lc-time-bar-fill.lc-gold {
    background: linear-gradient(90deg, var(--lc-gold-dark), var(--lc-gold));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.lc-time-min {
    min-width: 50px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lc-text-dim);
}

/* ============================================
   GRAPHIQUE 4: QUIZ SCORE (SCORE + ÉTOILES)
============================================ */

.lc-quiz-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.lc-quiz-score {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.lc-quiz-value {
    display: inline-block;
}

.lc-quiz-percent {
    font-size: 2rem;
    margin-left: 4px;
    opacity: 0.8;
}

.lc-quiz-stars {
    display: flex;
    gap: 6px;
    font-size: 1.8rem;
}

.lc-star {
    transition: transform 0.3s ease;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.lc-star:hover {
    transform: scale(1.2) rotate(10deg);
}

.lc-star.lc-dim {
    opacity: 0.3;
    filter: none;
}

.lc-quiz-label {
    color: var(--lc-text-dim);
    font-size: 0.9rem;
    margin-top: 8px;
}

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

@media (max-width: 767px) {
    .lc-charts-section {
        padding: 40px 16px;
    }
    
    .lc-charts-section h2 {
        font-size: 1.5rem;
    }
    
    .lc-preview-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .lc-chart-card {
        padding: 24px 20px;
    }
    
    .lc-words-circle {
        width: 150px;
        height: 150px;
    }
    
    .lc-words-value {
        font-size: 2rem;
    }
    
    .lc-streak-number {
        font-size: 2.5rem;
    }
    
    .lc-streak-flame {
        font-size: 3rem;
    }
    
    .lc-quiz-score {
        font-size: 2.5rem;
    }
    
    .lc-quiz-percent {
        font-size: 1.5rem;
    }
    
    .lc-quiz-stars {
        font-size: 1.5rem;
    }
    
    .lc-day {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .lc-time-day {
        min-width: 35px;
        font-size: 0.8rem;
    }
    
    .lc-time-min {
        min-width: 45px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lc-streak-week {
        gap: 6px;
    }
    
    .lc-day {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* ============================================
   ÉTATS ET ANIMATIONS SUPPLÉMENTAIRES
============================================ */

/* Animation d'apparition progressive */
.lc-chart-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.lc-chart-card:nth-child(1) { animation-delay: 0.1s; }
.lc-chart-card:nth-child(2) { animation-delay: 0.2s; }
.lc-chart-card:nth-child(3) { animation-delay: 0.3s; }
.lc-chart-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anki-step, .anki-arrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anki-step.visible, .anki-arrow.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= Sticky CTA (mobile) ================= */
.sticky-cta {
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    background:rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-top:1px solid #e5e7eb;
    padding:12px 14px;
    z-index:200;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}