/* ======================================
   STYLES - PAGE D'ACCUEIL
   ====================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.hero-cta .btn-primary {
    background-color: #ffffff;
    color: #1e3a8a;
}

.hero-cta .btn-primary:hover {
    background-color: #f9fafb;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

/* Spécialités Section */
.specialties {
    background-color: #f9fafb;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

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

.specialty-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.specialty-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Avantages Section */
.advantages {
    background-color: #ffffff;
}

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

.advantage-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border-left: 4px solid #f97316;
    align-items: flex-start;
}

.advantage-number {
    font-size: 1.5rem;
    color: #f97316;
    font-weight: 700;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.advantage-item h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.advantage-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Projets Récents */
.recent-projects {
    background-color: #f9fafb;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.project-placeholder {
    background: linear-gradient(135deg, #3b82f6 0%, #f97316 100%);
    color: #ffffff;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: #e5e7eb;
    color: #1e3a8a;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.cta-final h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-final .btn {
    background-color: #ffffff;
    color: #1e3a8a;
}

.cta-final .btn:hover {
    background-color: #f9fafb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .specialties-grid,
    .advantages-list,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

