.mariage-header.header-3 {
    position: relative;
    width: 100%;
    background-color: #fff;
}

.mariage-header .header-quote {
    flex-shrink: 0;
    white-space: nowrap;
}

.mer-page {
    --mer-ink: #20342a;
    --mer-body: #38443c;
    --mer-accent: #1d563c;
    --mer-cream: #f7f3e9;
    --mer-border: #ded8ca;
}

.mer-page :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.mer-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(440px, 42vw, 680px);
    padding-block: 4rem;
    color: #fff;
    background: #232e25;
}

.mer-hero-image,
.mer-hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mer-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.mer-hero::before {
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgb(20 30 24 / 88%), rgb(20 30 24 / 64%) 41%, transparent 76%);
}

.mer-hero h1 {
    max-width: 13ch;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5.2vw, 5rem);
    line-height: 1.06;
}

.mer-hero p {
    max-width: 43ch;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.5;
}

.mer-intro,
.mer-formules {
    background-color: var(--mer-cream);
}

.mer-plateau-photo {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
}

.mer-price {
    color: var(--mer-ink);
}

.mer-price strong {
    color: var(--mer-accent);
    font-size: 1.25em;
}

.mer-list {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    list-style: disc outside;
    color: var(--mer-body);
    line-height: 1.6;
}

.mer-list li::marker {
    color: var(--mer-accent);
}

.mer-list li + li {
    margin-top: .5rem;
}

.mer-table {
    width: 100%;
    max-width: 52rem;
    border-collapse: collapse;
    color: var(--mer-ink);
}

.mer-table th,
.mer-table td {
    padding: .8rem clamp(.55rem, 2vw, 1.1rem);
    border-bottom: 1px solid var(--mer-border);
    text-align: left;
}

.mer-table thead th {
    background-color: var(--mer-cream);
}

.mer-table th:last-child,
.mer-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.mer-table tbody th {
    font-weight: 500;
}

.mer-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--mer-border);
    border-radius: 20px;
    background-color: #fffdf8;
}

.mer-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mer-card-content {
    padding: 1.25rem;
}

.mer-card h3 {
    margin: 0 0 .65rem;
    color: var(--mer-ink);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;
}

.mer-card p,
.mer-paellas p {
    color: var(--mer-body);
    line-height: 1.6;
}

.mer-card p + p {
    margin-top: .35rem;
}

.mer-paellas p {
    margin-top: 1rem;
}

.mer-contact {
    background-color: #17382c;
    color: #fff;
}

.mer-contact-layout {
    display: grid;
    gap: 1.5rem;
}

.mer-contact h2,
.mer-contact p,
.mer-contact-tel,
.mer-contact-tel:hover {
    color: #fff;
}

.mer-contact p {
    max-width: 65ch;
    margin-top: 1rem;
}

.mer-contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: start;
    gap: .75rem;
    text-align: center;
}

.mer-contact-tel {
    text-decoration: underline;
    text-underline-offset: .2em;
}

@media (min-width: 768px) {
    .mer-plateau-list {
        columns: 2;
        column-gap: 2.5rem;
    }

    .mer-plateau-list li {
        break-inside: avoid;
    }
}

@media (min-width: 992px) {
    .mer-contact-layout {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: center;
        column-gap: 2rem;
    }

    .mer-contact-actions {
        justify-self: end;
    }
}

@media (max-width: 767.98px) {
    .mer-hero {
        padding-block: 2.75rem;
    }

    .mer-hero-image {
        object-position: 70% center;
    }

    .mer-hero::before {
        background: linear-gradient(0deg, rgb(20 30 24 / 94%), rgb(20 30 24 / 69%) 48%, transparent 86%);
    }
}



