/* =============================================
   Nouvelle section Hero pour la page Processus
   ============================================= */

.process-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 4rem 2rem;
    background-color: #0a0a0a; /* Fond sombre et sobre */
    overflow: hidden;
    position: relative;
}

.process-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 2;
}

.process-hero-content {
    color: #ffffff;
    padding-right: 2rem;
}

.process-hero-content .tagline {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #F5D061; /* Or doré PJM */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    background-color: rgba(245, 208, 97, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.process-hero-content .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: #ffffff;
}

.process-hero-content .hero-title .highlight {
    color: #F5D061; /* Or doré PJM */
    font-weight: 800;
}

:root {
  --primary-color: #2F4F2F; /* Vert foncé */
  --secondary-color: #ffffff;
}

.btn, .btn-primary, .cta-button, .header .btn-primary {
  background-color: #2F4F2F !important;
  color: #ffffff !important;
  border-color: #2F4F2F !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
  color: #2F4F2F !important;
  border-bottom-color: #2F4F2F !important;
}

.section-title span {
  color: #2F4F2F !important;
}

.process-hero-content .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.process-hero-video-container {
    position: relative;
    height: 450px; /* Hauteur fixe pour le conteneur vidéo */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.process-hero-video-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.process-hero-video-container .split-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .process-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-hero-content {
        padding-right: 0;
        order: 2;
    }

    .process-hero-video-container {
        order: 1;
        margin-bottom: 3rem;
        transform: perspective(1000px) rotateY(0deg);
        height: 300px;
    }
    
    .process-hero-content .hero-title {
        font-size: 3rem;
    }

    /* Tablet & mobile: espace vertical entre les deux boutons */
    .process-hero-content .btn + .btn {
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .process-hero-content .hero-title {
        font-size: 2.5rem;
    }
    .process-hero-section {
        padding: 3rem 1rem;
    }

    /* Mobile: boutons en bloc avec espace suffisant et full width optionnel */
    .process-hero-content .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .process-hero-content .btn + .btn {
        margin-top: 14px; /* un peu plus d'espace sur mobile */
    }
}
