/* ============================================
   RENDTACOPIE - LANDING PAGE (index.php)
   ============================================ */

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* ============================================
   CHOICE CARDS SECTION
   ============================================ */
.choice-section {
    max-width: 1000px;
    margin: -3rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.choice-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    text-decoration: none;
    color: inherit;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background var(--transition-normal);
}

.choice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 25, 24, 0.15);
}

.choice-card.prof::before { background: var(--prof-color); }
.choice-card.eleve::before { background: var(--eleve-color); }

.choice-card.prof:hover {
    border-color: var(--prof-light);
}

.choice-card.eleve:hover {
    border-color: var(--eleve-light);
}

.choice-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.choice-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.choice-card.prof h2 { color: var(--prof-color); }
.choice-card.eleve h2 { color: var(--eleve-color); }

.choice-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.choice-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.choice-card.prof .choice-btn {
    background: var(--prof-light);
    color: var(--prof-color);
}

.choice-card.prof:hover .choice-btn {
    background: var(--prof-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.choice-card.eleve .choice-btn {
    background: var(--eleve-light);
    color: var(--eleve-color);
}

.choice-card.eleve:hover .choice-btn {
    background: var(--eleve-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--bg-white);
    padding: 5rem 2rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.features-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

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

.feature-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

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

    .choice-section {
        grid-template-columns: 1fr;
        margin-top: -2rem;
        padding: 0 1rem;
    }

    .choice-card {
        padding: 2rem 1.5rem;
    }

    .choice-icon {
        font-size: 3rem;
    }

    .choice-card h2 {
        font-size: 1.5rem;
    }

    .features {
        padding: 3rem 1rem;
    }

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

    .feature-item {
        padding: 1.5rem;
    }
}
