.franck-modele-hero-wrapper {
    width: 100%;
}

.franck-modele-hero-wrapper--container .franck-modele-hero {
    border-radius: 28px;
    overflow: hidden;
}

.franck-modele-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: var(--maurin-font-primary, 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
}

.franck-modele-hero__media-layer,
.franck-modele-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.franck-modele-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.franck-modele-hero__media--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.franck-modele-hero__media--video {
    object-fit: cover;
}

.franck-modele-hero__media--youtube {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    pointer-events: none;
}

.franck-modele-hero__overlay {
    z-index: 2;
}

.franck-modele-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 42px;
}

.franck-modele-hero__content {
    max-width: 760px;
}

.franck-modele-hero--text-center .franck-modele-hero__content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.franck-modele-hero--text-left .franck-modele-hero__content {
    margin-right: auto;
    text-align: left;
}

.franck-modele-hero--text-right .franck-modele-hero__content {
    margin-left: auto;
    text-align: right;
}

.franck-modele-hero__eyebrow {
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.franck-modele-hero__title {
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.055em;
    margin: 0 0 20px;
}

.franck-modele-hero__subtitle {
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 20px;
}

.franck-modele-hero__description {
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 34px;
}

.franck-modele-hero--text-center .franck-modele-hero__description {
    margin-left: auto;
    margin-right: auto;
}

.franck-modele-hero--text-right .franck-modele-hero__description {
    margin-left: auto;
}

.franck-modele-hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.franck-modele-hero--text-center .franck-modele-hero__buttons {
    justify-content: center;
}

.franck-modele-hero--text-right .franck-modele-hero__buttons {
    justify-content: flex-end;
}

.franck-modele-hero__button {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease;
}

.franck-modele-hero__button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.franck-modele-hero__button--primary {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.20);
}

@media (max-width: 767px) {
    .franck-modele-hero {
        min-height: 540px !important;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .franck-modele-hero__inner {
        padding: 0 22px;
    }

    .franck-modele-hero__title {
        font-size: 42px !important;
    }

    .franck-modele-hero__subtitle {
        font-size: 18px !important;
    }

    .franck-modele-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
}


.fmh-card {
    display: inline-block;
    max-width: 560px;
    padding: 34px 38px;
    border-radius: 24px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.franck-modele-hero--text-left .fmh-card { margin-right: auto; }
.franck-modele-hero--text-center .fmh-card { text-align: center; }
.franck-modele-hero--text-right .fmh-card { margin-left: auto; }

@media (min-width: 992px) {
    .franck-modele-hero--text-left .franck-modele-hero__inner {
        max-width: 1440px !important;
        margin-left: clamp(24px, 4vw, 64px) !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 32px !important;
    }
    .franck-modele-hero--text-left .fmh-card {
        max-width: 500px;
    }
}

.fmh-card__name { font-family: var(--maurin-font-primary, 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif); font-weight: 950; letter-spacing: -0.04em; line-height: 1; font-size: 42px; margin: 0 0 10px; }
.fmh-card__subtitle { font-weight: 700; line-height: 1.4; margin: 0 0 18px; font-size: 18px; }

.fmh-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.franck-modele-hero--text-center .fmh-card__price { justify-content: center; }
.fmh-card__price-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.fmh-card__price-value { font-size: 30px; font-weight: 950; letter-spacing: -0.02em; }

/* Badge classe energetique + survol */
.fmh-energy { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; }
.fmh-energy__label { font-size: 14px; font-weight: 700; }
.fmh-energy__badge {
    min-width: 46px; height: 30px; padding: 0 18px 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 16px; line-height: 1;
    clip-path: polygon(0 0, 76% 0, 100% 50%, 76% 100%, 0 100%);
    border-radius: 5px 0 0 5px;
    cursor: pointer;
}
.fmh-energy__popover {
    position: absolute; left: 0; top: calc(100% + 12px); z-index: 6;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
    background: #fff; padding: 7px; border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.fmh-energy__popover img { display: block; width: 42vw; max-width: 238px; height: auto; border-radius: 8px; }
.fmh-energy__badge:hover ~ .fmh-energy__popover,
.fmh-energy__popover:hover { opacity: 1; visibility: visible; transform: translateY(0); }

/* Boutons */
.fmh-card__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.franck-modele-hero--text-center .fmh-card__buttons { justify-content: center; }
.fmh-btn {
    min-height: 54px; padding: 0 28px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 900; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fmh-btn:hover { transform: translateY(-2px); text-decoration: none; }
.fmh-btn--primary { background: #1bb359; color: #ffffff; box-shadow: 0 18px 45px rgba(15, 77, 60, 0.30); }
.fmh-btn--primary:hover { background: #2a6d47; color: #ffffff; }
.fmh-btn--secondary { background: transparent; color: #ffffff; border-color: currentColor; }
.fmh-btn--secondary:hover { background: #000000; color: #ffffff; border-color: #000000; }

@media (max-width: 767px) {
    .fmh-card { max-width: 100%; padding: 26px 22px; }
    .fmh-card__name { font-size: 38px; }
    .fmh-card__buttons { flex-direction: column; align-items: stretch; }
    .fmh-energy__popover img { width: 55vw; }
}
