/* ===== Bandeau héro interne — sobre bleu / noir / blanc ===== */

.we-page-hero {
    --we-page-hero-h: 400px;
    --we-hero-blue: #2563eb;
    --we-hero-blue-light: #60a5fa;
    --we-hero-black: #0a0a0a;
    --we-hero-slate: #0f172a;
    position: relative;
    isolation: isolate;
    height: var(--we-page-hero-h);
    min-height: var(--we-page-hero-h);
    max-height: var(--we-page-hero-h);
    margin-top: -80px;
    padding: 80px 0 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(165deg, var(--we-hero-black) 0%, var(--we-hero-slate) 62%, #172554 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.we-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 90% at 50% -20%, rgba(37, 99, 235, 0.18), transparent 55%),
        linear-gradient(180deg, transparent 70%, rgba(37, 99, 235, 0.08) 100%);
}

.we-page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.35), transparent);
}

.we-page-hero--services,
.we-page-hero--realisations,
.we-page-hero--hebergement,
.we-page-hero--devis {
    background: linear-gradient(165deg, var(--we-hero-black) 0%, var(--we-hero-slate) 62%, #172554 100%);
}

.we-page-hero .hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.we-page-hero .hero-content {
    width: 100%;
    max-height: calc(var(--we-page-hero-h) - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    overflow: hidden;
}

.we-page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 !important;
    padding: 0.4rem 0.9rem;
    border-radius: 980px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.we-page-hero .hero-badge i {
    font-size: 0.75rem;
    color: var(--we-hero-blue-light);
}

.we-page-hero .hero-content h1 {
    margin: 0 !important;
    font-size: 2.125rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
    color: #fff !important;
}

.we-page-hero .highlight {
    color: var(--we-hero-blue-light) !important;
    background: none !important;
    -webkit-text-fill-color: var(--we-hero-blue-light) !important;
}

.we-page-hero .highlight::after {
    display: none;
}

.we-page-hero .hero-subtitle {
    margin: 0 !important;
    max-width: 38rem;
    font-size: 1.0625rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

.we-page-hero .hero-crosslinks {
    margin: 0 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.we-page-hero .hero-crosslinks a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.45);
    padding-bottom: 1px;
}

.we-page-hero .hero-crosslinks a:hover {
    color: var(--we-hero-blue-light);
    border-bottom-color: var(--we-hero-blue-light);
}

/* Tuiles prix */
.we-page-hero .hero-pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 !important;
    width: 100%;
    max-width: 32rem;
}

.we-page-hero .hero-pricing .pricing-card,
.we-page-hero .hero-pricing .pricing-card-link {
    flex: 1 1 9.5rem;
    min-width: 9.5rem !important;
    max-width: none !important;
    width: auto !important;
    margin: 0;
    padding: 0.75rem 0.9rem !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.we-page-hero .hero-pricing .pricing-card:hover,
.we-page-hero .hero-pricing .pricing-card-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
    color: inherit;
}

.we-page-hero .pricing-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem;
    margin: 0 !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    background: rgba(37, 99, 235, 0.25) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.we-page-hero .pricing-info h3 {
    margin: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.58) !important;
}

.we-page-hero .pricing-info .price {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: #fff !important;
    line-height: 1.15;
}

.we-page-hero .pricing-info p {
    display: none;
}

.we-page-hero .pricing-hint {
    display: none !important;
}

/* Boutons */
.we-page-hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 !important;
    width: 100%;
    max-width: 28rem;
}

.we-page-hero .hero-buttons .btn {
    width: auto !important;
    flex: 1 1 10rem;
    min-width: 10rem;
    min-height: 44px;
    padding: 0.7rem 1.1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: 980px !important;
    white-space: normal;
    line-height: 1.25;
}

.we-page-hero .hero-buttons .btn-primary {
    background: var(--we-hero-blue) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none;
}

.we-page-hero .hero-buttons .btn-primary:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
}

.we-page-hero .hero-buttons .btn-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: none;
}

.we-page-hero .hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.we-page-hero .hero-buttons .btn i {
    font-size: 0.875rem;
}

/* ===== Mobile : compact mais lisible ===== */
@media (max-width: 768px) {
    .we-page-hero {
        --we-page-hero-h: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-top: -70px;
        padding: calc(70px + 0.65rem) 0 0.75rem !important;
        align-items: flex-start;
    }

    .we-page-hero .hero-container {
        height: auto;
        min-height: 0;
        padding: 0 1rem;
        align-items: flex-start;
    }

    .we-page-hero .hero-content {
        max-height: none;
        overflow: visible;
        gap: 0.5rem;
        padding-top: 0;
    }

    .we-page-hero .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.16 !important;
    }

    .we-page-hero .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.45 !important;
        max-width: 100%;
    }

    .we-page-hero .hero-badge {
        font-size: 0.6875rem;
        padding: 0.28rem 0.7rem;
    }

    .we-page-hero .hero-pricing {
        flex-direction: column;
        max-width: 100%;
        gap: 0.4rem;
    }

    .we-page-hero .hero-pricing .pricing-card,
    .we-page-hero .hero-pricing .pricing-card-link {
        flex: 1 1 auto;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.6rem 0.75rem !important;
    }

    .we-page-hero .pricing-info .price {
        font-size: 1.25rem !important;
    }

    .we-page-hero .hero-buttons {
        flex-direction: column;
        max-width: 100%;
        gap: 0.4rem;
    }

    .we-page-hero .hero-buttons .btn {
        width: 100% !important;
        flex: none;
        min-width: 0;
        min-height: 44px;
        padding: 0.65rem 1rem !important;
        font-size: 0.9375rem !important;
        justify-content: center;
    }

    .we-page-hero .hero-crosslinks {
        font-size: 0.875rem !important;
        padding-top: 0;
    }

    .we-page-hero .hero-crosslinks a {
        display: inline;
        padding: 0;
        min-height: 0;
        line-height: 1.4;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .we-page-hero {
        --we-page-hero-h: 400px;
    }

    .we-page-hero .hero-content h1 {
        font-size: 2rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .we-page-hero .hero-pricing .pricing-card,
    .we-page-hero .hero-buttons .btn {
        transition: none;
    }
}
