/* Image de fond pour 100vh + 200px */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 200px);
    background-image: url('https://www.p-s-i.com/wp-content/uploads/2025/07/Landing-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 200px);
    z-index: -1;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 1.5rem;
    max-width: 1000px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.2rem, 3.5rem, 3.8rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Boutons */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-yellow1), var(--gradient-yellow2)); 
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Élément visuel géométrique (si nécessaire) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.geometric-cube {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.2) 0%, 
        rgba(255, 107, 53, 0.2) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    border-radius: 20px;
    position: relative;
    transform: rotate(12deg);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.geometric-cube::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(30px);
}

@keyframes float {
    0%, 100% { transform: rotate(12deg) translateY(0px); }
    50% { transform: rotate(12deg) translateY(-20px); }
}

/* Media Queries - Hero */
@media (max-width: 1024px) {
    .hero-section {
        padding: 120px 2rem 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 1rem 2rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}