/* ==================================
   Hero en deux colonnes (texte + illustration) et bandeau de réassurance
   Partagé par l'accueil et les pages de service.
   ================================== */

/* === Hero === */

.hero-split {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20);
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 189, 164, 0.18) 0, rgba(255, 189, 164, 0) 40%),
        radial-gradient(circle at 10% 100%, rgba(199, 232, 174, 0.12) 0, rgba(199, 232, 174, 0) 45%),
        linear-gradient(135deg, var(--color-acier-dark) 0%, var(--color-acier) 60%, var(--color-acier-light) 100%);
    color: var(--color-white);
}

.hero-split__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-16);
}

.hero-split__eyebrow {
    display: inline-block;
    margin-bottom: var(--space-5);
    padding: var(--space-1) var(--space-4);
    border: 1px solid rgba(255, 189, 164, 0.5);
    border-radius: var(--border-radius-full);
    color: var(--color-melon);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
}

.hero-split__title {
    margin-bottom: var(--space-6);
    color: var(--color-white);
    font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem);
    line-height: 1.1;
}

.hero-split__lead {
    max-width: 34rem;
    margin-bottom: var(--space-8);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.hero-split__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-split__btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: var(--color-white);
}

.hero-split__btn-ghost:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-split__proof {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-8);
    padding: var(--space-6) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    list-style: none;
}

.hero-split__proof strong {
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
}

.hero-split__proof-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: inherit;
    text-decoration: none;
}

.hero-split__proof-rating:hover span {
    text-decoration: underline;
}

.hero-split__stars {
    color: #FBBC04;
    font-size: var(--font-size-lg);
    line-height: 1;
}

.hero-split__visual {
    position: relative;
}

.hero-split__illustration {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

/* Liseré décoratif aux couleurs de la marque */
.hero-split__visual::before {
    content: '';
    position: absolute;
    top: calc(var(--space-6) * -1);
    right: calc(var(--space-6) * -1);
    width: 45%;
    height: 55%;
    border-radius: var(--border-radius-xl);
    background: var(--color-vert-the);
    opacity: 0.9;
    z-index: -1;
}

.hero-split__visual {
    isolation: isolate;
}

.hero-split__badge {
    position: absolute;
    left: calc(var(--space-8) * -1);
    bottom: var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
    border-radius: var(--border-radius-lg);
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
}

.hero-split__badge img {
    width: 36px;
    height: auto;
}

.hero-split__badge strong {
    display: block;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
}

.hero-split__badge span {
    color: var(--color-text-light);
    font-size: var(--font-size-xs);
}

/* === Bandeau de réassurance === */

.trust-band {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--space-10) * -1);
}

.trust-band__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    background: var(--color-white);
    box-shadow: 0 20px 40px -20px rgba(42, 46, 68, 0.35);
}

.trust-band__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.trust-band__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-lg);
    background: var(--color-melon-light);
    color: var(--color-acier);
}

.trust-band__item:nth-child(even) .trust-band__icon {
    background: var(--color-vert-the-light);
}

.trust-band__item h2 {
    margin-bottom: var(--space-1);
    color: var(--color-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

.trust-band__item p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

/* === Pastilles d'icônes (cartes) === */

.icon-pastille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-4);
    border-radius: var(--border-radius-lg);
    background: var(--color-melon-light);
    color: var(--color-acier);
}

.icon-pastille--vert {
    background: var(--color-vert-the-light);
}

/* === Responsive === */

@media (max-width: 1024px) {
    .trust-band__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero-split {
        padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-16);
    }

    .hero-split__inner {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-split__visual {
        margin-right: var(--space-4);
    }

    .hero-split__visual::before {
        top: calc(var(--space-4) * -1);
        right: calc(var(--space-4) * -1);
    }

    .hero-split__badge {
        left: var(--space-4);
        bottom: var(--space-4);
    }
}

@media (max-width: 640px) {
    .hero-split__lead {
        font-size: var(--font-size-base);
    }

    .hero-split__actions .btn {
        flex: 1 1 100%;
    }

    .hero-split__proof {
        gap: var(--space-2) var(--space-5);
    }

    .trust-band__grid {
        grid-template-columns: 1fr;
        padding: var(--space-6);
    }
}
