.hero {
    padding: 140px 0 180px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        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.03'%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");
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-badge i {
    font-size: 0.875rem;
    line-height: 1;
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-primary {
    color: #93c5fd;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e0e7ff;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #f8faff;
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}

.hero .btn-outline,
.hero .btn-outline:link,
.hero .btn-outline:visited {
    background: transparent !important;
    color: #e0e7ff !important;
    border: 2px solid #e0e7ff !important;
    box-shadow: none;
}

.hero .btn-outline:hover,
.hero .btn-outline:active {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: white !important;
    color: white !important;
}

.hero-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -1px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-wrapper {
    position: relative;
    padding-bottom: 62.5%;
    height: 0;
    overflow: hidden;
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Scroll Arrow */
.hero-scroll-arrow {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.hero-scroll-arrow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: scrollBounce 2s ease-in-out infinite;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.hero-scroll-arrow a:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.wave-separator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.1));
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-feature {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: #2563eb;
    border-radius: 12px;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.hero-feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.hero-feature-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
}

/* Workflow Section */
.workflow {
    padding: 80px 0;
    background: #f8faff;
}

.workflow-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.workflow-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.workflow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    color: #2563eb;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.1);
}

.workflow-title {
    font-size: 2.5rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.workflow-description {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0 auto;
}

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

@media (max-width: 1024px) {
    .hero {
        padding: 100px 0 140px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 140px;
        margin-top: 50px;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.78rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
        border-radius: 10px;
        gap: 0.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .workflow-title {
        font-size: 2rem;
    }

    .hero-scroll-arrow {
        bottom: 80px;
    }

    .hero-scroll-arrow a {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 0 120px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.6rem 1rem;
    }

    .hero-scroll-arrow {
        bottom: 70px;
    }
}

/* ── Numéro de téléphone dans le hero (mobile uniquement) ── */
.hero-phone-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-phone-mobile {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .hero-phone-mobile a {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.65rem 1.4rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: all 0.2s ease;
        letter-spacing: 0.3px;
    }

    .hero-phone-mobile a:hover,
    .hero-phone-mobile a:active {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.35);
        color: white;
    }

    .hero-phone-icon {
        width: 26px;
        height: 26px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
        flex-shrink: 0;
    }
}