/* =========================================
   YourMariage — HERO
   Cœur image manuscrit après « Votre univers. »
   ========================================= */

/* HERO */
.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: white;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("../assets/images/hero-bg.jpg");
    background-size: cover;
    background-position: center 48%;
    transform: scale(1.02);
    filter: saturate(1.10) contrast(1.04) brightness(.99);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(9,13,17,.62) 0%, rgba(9,13,17,.52) 16%, rgba(9,13,17,.38) 28%, rgba(9,13,17,.24) 38%, rgba(9,13,17,.12) 46%, rgba(9,13,17,.04) 55%, rgba(9,13,17,.02) 72%, rgba(9,13,17,.08) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.02) 28%, rgba(0,0,0,.12) 100%);
}

.hero-content {
    min-height: 620px;
    position: relative;
    z-index: 2;
    padding-top: 78px;
    padding-bottom: 38px;
    display: grid;
    align-content: space-between;
    grid-template-columns: 1fr auto;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow.light {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    margin: 0 0 22px;

    color: #f0dfbf;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

.eyebrow.light::before {
    content: "";
    flex: 0 0 72px;
    width: 72px;
    height: 2px;
    background: #d6ad6b;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(214, 173, 107, .18);
}

.hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.035em;
    font-size: clamp(64px, 6vw, 96px);
    line-height: .94;
}

.hero-title-line {
    white-space: nowrap;
}

.hero-title-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: .43em;
    margin-left: .06em;
    vertical-align: .06em;
    transform: translateY(.04em);
}

.hero-title-heart img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .14));
}

.hero-lead {
    margin: 23px 0 22px;
    color: #f0dfbf;
    font-size: 17px;
    line-height: 1.55;
}

.hero-note-image {
    position: absolute;
    right: -92px;
    bottom: 86px;
    width: clamp(230px, 16vw, 300px);
    z-index: 3;
    pointer-events: none;
}

.hero-note-image img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .16));
}

.hero-benefits {
    grid-column: 1 / -1;
    display: flex;
    gap: 52px;
}

.hero-benefits article {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-benefits svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #b9924c;
    stroke-width: 1.45;
}

.hero-benefits strong,
.hero-benefits small {
    display: block;
}

.hero-benefits strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.01em;
}

.hero-benefits small {
    margin-top: 5px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}

/* V2 — bande bénéfices sous le hero */
.hero-benefits {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 88px;
    padding-inline: max(36px, calc((100vw - 1440px) / 2));
    background: rgba(248,245,239,.97);
    color: var(--green);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(8,58,51,.08);
}

.hero-benefits article {
    min-height: 88px;
    justify-content: center;
    border-right: 1px solid rgba(185,146,76,.34);
}

.hero-benefits article:last-child { border-right: 0; }
.hero-benefits svg { stroke: #b9924c; }
.hero-benefits strong { color: #2f2a24; }
.hero-benefits small { color: #7a6b58; }

.hero-content {
    padding-bottom: 122px;
}

@media (max-width: 1100px) {
    .hero-note-image {
        right: -44px;
        bottom: 92px;
        width: 230px;
    }
}

@media (max-width: 980px) {
    .hero-benefits {
        padding-inline: 20px;
    }
}

@media (max-width: 650px) {
    .hero,
    .hero-content { min-height: 610px; }

    .hero-media {
        background-image: url("../assets/images/hero-bg.jpg");
        background-size: cover;
        background-position: center 48%;
        transform: scale(1.02);
        filter: saturate(1.10) contrast(1.04) brightness(.99);
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(9,13,17,.58) 0%, rgba(9,13,17,.46) 20%, rgba(9,13,17,.30) 34%, rgba(9,13,17,.16) 46%, rgba(9,13,17,.07) 58%, rgba(9,13,17,.03) 76%, rgba(9,13,17,.08) 100%),
            linear-gradient(180deg, rgba(0,0,0,.07) 0%, rgba(0,0,0,.02) 30%, rgba(0,0,0,.11) 100%);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 43px;
        padding-bottom: 150px;
    }

    .eyebrow.light {
        gap: 11px;
        margin-bottom: 17px;
        font-size: 10.5px;
        letter-spacing: .22em;
    }

    .eyebrow.light::before {
        flex-basis: 42px;
        width: 42px;
    }

    .hero h1 {
        font-size: clamp(49px, 14vw, 72px);
    }

    .hero-title-heart {
        width: .39em;
        margin-left: .05em;
        vertical-align: .05em;
        transform: translateY(.05em);
    }

    .hero-lead {
        max-width: 340px;
        font-size: 14px;
    }

    .hero-note-image { display: none; }

    .hero-benefits {
        margin-top: auto;
        min-height: 126px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 12px 24px;
    }

    .hero-benefits article {
        min-height: 48px;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid rgba(185,146,76,.22);
    }

    .hero-benefits article:nth-child(3) { display: none; }

    .hero-benefits article:last-child {
        border-bottom: 0;
    }
}
