/* =========================================================
   PAGE MARIAGES À VENIR
   Version propre finale — premium + mobile friendly
========================================================= */

.matings-kicker,
.mating-small-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold, #c8a85a);
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 11px;
    font-weight: 900;
}

.matings-kicker::before,
.mating-small-label::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: .72;
}

/* =========================
   HERO
========================= */

.matings-hero {
    position: relative;
    overflow: hidden;
    padding: 138px 0 96px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 8%, rgba(224, 201, 130, .18), transparent 34%),
        radial-gradient(circle at 12% 100%, rgba(224, 201, 130, .08), transparent 34%),
        linear-gradient(135deg, #100c08 0%, #17100a 48%, #060504 100%);
}

.matings-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(224, 201, 130, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 201, 130, .02) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .32;
    pointer-events: none;
}

.matings-hero-glow {
    position: absolute;
    right: -160px;
    top: 18%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(224, 201, 130, .16);
    filter: blur(70px);
    pointer-events: none;
}

.matings-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(34px, 6vw, 90px);
    align-items: center;
}

.matings-hero-content {
    max-width: 920px;
}

.matings-hero h1 {
    margin: 22px 0 24px;
    color: #fff;
    font-size: clamp(58px, 7vw, 112px);
    line-height: .9;
    letter-spacing: -5px;
}

.matings-hero h1 em {
    display: block;
    color: var(--gold-soft, #e8d7a1);
    font-family: "Cormorant Garamond", serif;
    font-style: normal;
    font-weight: 500;
}

.matings-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.82;
}

.matings-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.matings-hero-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 100% 0%, rgba(224, 201, 130, .16), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(224, 201, 130, .26);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.matings-hero-card span {
    color: var(--gold-soft, #e8d7a1);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 900;
}

.matings-hero-card strong {
    display: block;
    margin: 14px 0 4px;
    color: #fff;
    font-size: clamp(58px, 7vw, 92px);
    line-height: .9;
    letter-spacing: -3px;
}

.matings-hero-card p {
    color: rgba(255, 255, 255, .80);
    font-size: 15px;
    line-height: 1.65;
}

.matings-hero-note {
    margin-top: 24px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(224, 201, 130, .10);
    border: 1px solid rgba(224, 201, 130, .20);
}

.matings-hero-note small {
    color: rgba(255, 255, 255, .70);
    line-height: 1.6;
}

/* =========================
   SECTION
========================= */

.matings-section {
    padding: 104px 0 118px;
    background:
        radial-gradient(circle at 12% 0%, rgba(200, 168, 90, .10), transparent 32%),
        linear-gradient(180deg, #fbf7ef 0%, #f2eadc 100%);
}

.matings-section-head {
    max-width: 920px;
    margin-bottom: 50px;
}

.matings-section-head h2 {
    margin: 18px 0 22px;
    color: #17130d;
    font-size: clamp(42px, 5vw, 78px);
    line-height: .95;
    letter-spacing: -3px;
}

.matings-section-head p {
    max-width: 760px;
    margin: 0;
    color: rgba(28, 23, 15, .68);
    font-size: 16px;
    line-height: 1.85;
}

.matings-grid {
    display: grid;
    gap: 28px;
}

/* =========================
   CARD MARIAGE
========================= */

.mating-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
    padding: clamp(24px, 3vw, 42px);
    border-radius: 42px;
    background:
        radial-gradient(circle at 96% 0%, rgba(200, 168, 90, .13), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(255, 250, 241, .94));
    border: 1px solid rgba(200, 168, 90, .22);
    box-shadow:
        0 26px 72px rgba(31, 24, 12, .10),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.mating-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 5px;
    border-radius: 999px;
    background: var(--gold, #c8a85a);
    opacity: .86;
}

.mating-status {
    position: absolute;
    z-index: 5;
    top: 24px;
    right: 24px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: #17130d;
    background: #e8d7a1;
    border: 1px solid rgba(200, 168, 90, .30);
    text-transform: uppercase;
    letter-spacing: 1.35px;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(151, 105, 35, .13);
}

.mating-card.is-progress .mating-status {
    background: #f0e0aa;
}

.mating-card.is-confirmed .mating-status {
    background: #d8c68e;
}

.mating-card.is-born .mating-status {
    background: #c8a85a;
}

/* =========================
   DUO PARENTS
========================= */

.mating-parents-panel {
    position: relative;
    align-self: center;
}

.mating-parents {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.mating-parent {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(232, 215, 161, .18), transparent 44%),
        rgba(255, 250, 241, .92);
    border: 1px solid rgba(200, 168, 90, .24);
    box-shadow: 0 18px 42px rgba(31, 24, 12, .10);
}

.mating-parent figure,
.mating-parent-placeholder {
    width: 100%;
    height: 184px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(232, 215, 161, .18), transparent 44%),
        linear-gradient(145deg, #fffaf1, #efe4d2);
    border: 1px solid rgba(200, 168, 90, .16);
}

.mating-parent img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
}

.mating-parent-placeholder {
    display: grid;
    place-items: center;
    color: #c8a85a;
    font-size: 42px;
    font-weight: 900;
}

.mating-parent-info {
    padding: 11px 6px 5px;
}

.mating-parent-info span {
    display: block;
    color: rgba(151, 105, 35, .95);
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 8px;
    font-weight: 900;
}

.mating-parent-info strong {
    display: block;
    margin-top: 6px;
    color: #17130d;
    font-size: 14px;
    line-height: 1.25;
}

.mating-link-symbol {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 92px;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #17130d;
    background: #e8d7a1;
    border: 1px solid rgba(151, 105, 35, .22);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(151, 105, 35, .18);
}

/* =========================
   CONTENU
========================= */

.mating-content {
    align-self: center;
    padding: 22px 0;
}

.mating-content h3 {
    max-width: 760px;
    margin: 16px 0 14px;
    color: #17130d;
    font-size: clamp(42px, 4vw, 68px);
    line-height: .96;
    letter-spacing: -2.5px;
}

.mating-origin {
    margin: 0;
    color: rgba(151, 105, 35, .96);
    font-weight: 900;
    line-height: 1.6;
}

.mating-description {
    margin: 16px 0 0;
    color: rgba(28, 23, 15, .68);
    line-height: 1.75;
}

.mating-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.mating-dates div,
.mating-colors {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(200, 168, 90, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

.mating-dates span,
.mating-colors span {
    display: block;
    color: rgba(151, 105, 35, .95);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 9px;
    font-weight: 900;
}

.mating-dates strong {
    display: block;
    margin-top: 7px;
    color: #17130d;
    font-size: 14px;
    line-height: 1.35;
}

.mating-colors {
    margin-top: 14px;
}

.mating-colors p {
    margin: 8px 0 0;
    color: rgba(28, 23, 15, .70);
    line-height: 1.7;
}

/* =========================
   EMPTY
========================= */

.matings-empty {
    padding: 58px;
    text-align: center;
    border-radius: 36px;
    background: rgba(255, 250, 241, .88);
    border: 1px solid rgba(200, 168, 90, .20);
    box-shadow: 0 22px 58px rgba(31, 24, 12, .08);
}

.matings-empty .matings-kicker::before {
    display: none;
}

.matings-empty h3 {
    margin: 18px 0 10px;
    color: #17130d;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.matings-empty p {
    margin: 0 auto;
    max-width: 560px;
    color: rgba(28, 23, 15, .62);
    line-height: 1.75;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1120px) {
    .matings-hero-grid,
    .mating-card {
        grid-template-columns: 1fr;
    }

    .mating-content {
        padding: 0;
    }

    .mating-status {
        position: relative;
        top: auto;
        right: auto;
        width: fit-content;
        margin-left: auto;
        margin-bottom: 18px;
    }

    .mating-parents {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .matings-kicker,
    .mating-small-label {
        gap: 8px;
        letter-spacing: 1.5px;
        font-size: 10px;
    }

    .matings-kicker::before,
    .mating-small-label::before {
        width: 24px;
    }

    .matings-hero {
        padding: 72px 0 54px;
    }

    .matings-hero-grid {
        gap: 24px;
    }

    .matings-hero h1 {
        margin: 18px 0;
        font-size: clamp(40px, 13vw, 58px);
        line-height: .94;
        letter-spacing: -2.2px;
    }

    .matings-hero p,
    .matings-section-head p,
    .mating-description,
    .mating-colors p {
        font-size: 14px;
        line-height: 1.65;
    }

    .matings-hero-actions {
        margin-top: 24px;
        gap: 10px;
    }

    .matings-hero-actions .btn {
        min-height: 46px;
        padding: 13px 18px;
        font-size: 13px;
    }

    .matings-hero-card {
        padding: 22px;
        border-radius: 26px;
    }

    .matings-section {
        padding: 58px 0 64px;
    }

    .matings-section-head {
        margin-bottom: 28px;
    }

    .matings-section-head h2 {
        font-size: clamp(30px, 10vw, 44px);
        line-height: 1.02;
        letter-spacing: -1.4px;
    }

    .matings-grid {
        gap: 20px;
    }

    .mating-card {
        padding: 18px;
        border-radius: 30px;
        gap: 22px;
    }

    .mating-card::before {
        top: 22px;
        bottom: 22px;
        width: 4px;
    }

    .mating-status {
        min-height: 32px;
        padding: 0 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .mating-parents {
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .mating-parent {
        padding: 8px;
        border-radius: 22px;
    }

    .mating-parent figure,
    .mating-parent-placeholder {
        height: 145px;
        border-radius: 17px;
    }

    .mating-link-symbol {
        top: 72px;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .mating-parent-info {
        padding: 8px 3px 2px;
    }

    .mating-parent-info span {
        font-size: 7px;
        letter-spacing: 1.2px;
    }

    .mating-parent-info strong {
        font-size: 12px;
        line-height: 1.2;
    }

    .mating-content h3 {
        margin: 14px 0 12px;
        font-size: clamp(32px, 11vw, 46px);
        line-height: 1;
        letter-spacing: -1.6px;
    }

    .mating-origin {
        font-size: 14px;
        line-height: 1.5;
    }

    .mating-dates {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .mating-dates div,
    .mating-colors {
        padding: 15px;
        border-radius: 18px;
    }

    .matings-empty {
        padding: 34px 22px;
        border-radius: 26px;
    }
}

@media (max-width: 430px) {
    .matings-hero-actions {
        flex-direction: column;
    }

    .matings-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .mating-card {
        padding: 16px;
    }

    .mating-parent figure,
    .mating-parent-placeholder {
        height: 128px;
    }

    .mating-link-symbol {
        top: 64px;
    }
}

/* Recadrage public mariages actif */
.mating-parent img {
    object-fit: contain !important;
    transform-origin: center center !important;
}

