/* ============================================
   RENDTACOPIE - PRESENTATION CSS
   Pages de présentation (prof et élève)
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(4px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SECTION
   ============================================ */
.section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--gray-900);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    background: var(--primary-light);
    color: var(--primary);
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SUBJECTS
   ============================================ */
.subjects {
    background: var(--bg-white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.subject {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.subject-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subject h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.subject p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   BENEFITS GRID
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--gray-900);
}

.benefit p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    background: var(--bg-white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* Single pricing card (prof) */
.section .pricing-card {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   CLASS ACCESS
   ============================================ */
.class-access {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.class-access h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.class-access p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    color: white;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.cta .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit {
        flex-direction: column;
        text-align: center;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta {
        padding: 3rem 1.5rem;
    }

    .cta h2 {
        font-size: 1.5rem;
    }
}
