/* =========================================================
   OLDCHAINSAW — FICHE OBJET
   oc_objet.css
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

.oc-object-item {
    --oc-object-bg-dark: #10110f;
    --oc-object-bg-darker: #0a0b0a;
    --oc-object-bg-paper: #f2ecdf;
    --oc-object-bg-card: rgba(255, 255, 255, 0.28);

    --oc-object-text: #1d1d1a;
    --oc-object-text-light: #f3ecdd;
    --oc-object-muted: #6d685f;

    --oc-object-orange: #d65f00;
    --oc-object-orange-soft: #e4761b;

    --oc-object-border: rgba(45, 40, 31, 0.18);
    --oc-object-border-dark: rgba(255, 255, 255, 0.13);

    --oc-object-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);

    --oc-object-serif:
        Georgia,
        "Times New Roman",
        serif;

    --oc-object-sans:
        Arial,
        Helvetica,
        sans-serif;

    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--oc-object-bg-paper);
    color: var(--oc-object-text);
    font-family: var(--oc-object-sans);
}


/* =========================================================
   RESET LOCAL
   ========================================================= */

.oc-object-item *,
.oc-object-item *::before,
.oc-object-item *::after {
    box-sizing: border-box;
}

.oc-object-item img {
    display: block;
    max-width: 100%;
}

.oc-object-item h1,
.oc-object-item h2,
.oc-object-item h3,
.oc-object-item p,
.oc-object-item dl,
.oc-object-item dd,
.oc-object-item dt,
.oc-object-item ul {
    margin-top: 0;
}


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

.oc-object-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    min-height: 520px;
    background:
        linear-gradient(
            90deg,
            rgba(10, 11, 10, 0.08) 0%,
            rgba(10, 11, 10, 0.15) 45%,
            rgba(10, 11, 10, 0.96) 70%,
            rgba(10, 11, 10, 1) 100%
        ),
        var(--oc-object-bg-dark);
    color: var(--oc-object-text-light);
}


/* ---------------------------------------------------------
   HERO — MEDIA
   --------------------------------------------------------- */

.oc-object-hero__media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #171812;
}

.oc-object-hero__image {
    position: absolute;
    inset: 0;
}

.oc-object-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* voile subtil sur la photo */

.oc-object-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.03) 65%,
            rgba(0, 0, 0, 0.48) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.02) 55%,
            rgba(0, 0, 0, 0.34) 100%
        );
}


/* citation manuscrite simulée */

.oc-object-hero__quote {
    position: absolute;
    z-index: 3;
    left: 48px;
    bottom: 48px;
    max-width: 220px;
    color: #f2e7d2;
    font-family: var(--oc-object-serif);
    font-size: 24px;
    line-height: 1.22;
    font-style: italic;
    transform: rotate(-2deg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.oc-object-hero__quote::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 120px;
    height: 1px;
    background: rgba(242, 231, 210, 0.72);
}


/* ---------------------------------------------------------
   HERO — CONTENU
   --------------------------------------------------------- */

.oc-object-hero__content {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    padding:
        clamp(48px, 5vw, 76px)
        clamp(50px, 6vw, 90px)
        clamp(58px, 7vw, 94px)
        clamp(48px, 5vw, 76px);

    background:
        radial-gradient(
            circle at 100% 50%,
            rgba(50, 67, 48, 0.28),
            transparent 52%
        ),
        linear-gradient(
            180deg,
            #10110f 0%,
            #0e100e 100%
        );
}


/* faux décor de forêt sur la droite */

.oc-object-hero__content::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: 45%;
    height: 85%;
    opacity: 0.12;
    pointer-events: none;
    background:
        linear-gradient(
            150deg,
            transparent 0 24%,
            rgba(215, 229, 208, 0.28) 25% 26%,
            transparent 27% 40%,
            rgba(215, 229, 208, 0.22) 41% 42%,
            transparent 43% 100%
        );
}


/* identité */

.oc-object-hero__identity {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.oc-object-eyebrow {
    margin-bottom: 14px;
    color: var(--oc-object-orange-soft);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.oc-object-title {
    margin-bottom: 10px;
    color: #f5eddf;
    font-family: var(--oc-object-serif);
    font-size: clamp(52px, 5vw, 82px);
    line-height: 0.97;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.oc-object-subtitle {
    margin-bottom: 24px;
    color: #f3ecdf;
    font-family: var(--oc-object-serif);
    font-size: clamp(25px, 2.2vw, 36px);
    line-height: 1.1;
}

.oc-object-intro {
    max-width: 620px;
    margin-bottom: 30px;
    color: rgba(245, 238, 224, 0.87);
    font-size: 18px;
    line-height: 1.55;
}

.oc-object-intro br {
    display: none;
}


/* ---------------------------------------------------------
   HERO — BADGES
   --------------------------------------------------------- */

.oc-object-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.oc-object-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 8px 18px;

    border: 1px solid var(--oc-object-orange);
    color: var(--oc-object-orange-soft);

    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   HERO — NUMÉRO OBJET
   --------------------------------------------------------- */

.oc-object-number {
    position: absolute;
    z-index: 1;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    color: rgba(238, 235, 226, 0.13);
    text-transform: uppercase;
    pointer-events: none;
}

.oc-object-number > span {
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.oc-object-number > strong {
    margin-top: 8px;
    font-size: 18px;
    letter-spacing: 0.05em;
}


/* =========================================================
   ZONE CLAIRE GLOBALE
   ========================================================= */

.oc-object-grid,
.oc-object-gallery,
.oc-object-bottom-grid {
    width: min(1440px, calc(100% - 56px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   GRILLES DE CARTES
   ========================================================= */

.oc-object-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.oc-object-grid--top {
    padding-top: 18px;
}

.oc-object-grid--middle {
    padding-top: 14px;
}


/* =========================================================
   CARTES
   ========================================================= */

.oc-object-card,
.oc-object-related,
.oc-object-collection-note {
    min-width: 0;
    padding: 26px 28px;

    border: 1px solid var(--oc-object-border);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.32),
            rgba(255,255,255,0.10)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55);
}


/* ---------------------------------------------------------
   TITRES DE CARTES
   --------------------------------------------------------- */

.oc-object-card__header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.oc-object-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;
    width: 28px;
    height: 28px;

    color: var(--oc-object-orange);
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
}

.oc-object-card__header h2,
.oc-object-section-title h2 {
    margin: 0;
    color: #1b1b18;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}


/* =========================================================
   LISTES DE DONNÉES
   ========================================================= */

.oc-object-data-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.oc-object-data-row {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    width: 100%;
}

.oc-object-data-label {
    display: block;
    margin: 0;
    padding: 0;

    color: #272621;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.oc-object-data-value {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;

    color: #4b4942;
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   TEXTE CARTES
   ========================================================= */

.oc-object-card__text,
.oc-object-collection-note__text {
    color: #4b4941;
    font-size: 15px;
    line-height: 1.55;
}

.oc-object-card__text br,
.oc-object-collection-note__text br {
    display: block;
}


/* =========================================================
   INFORMATIONS SECONDAIRES
   ========================================================= */

.oc-object-secondary-info {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(42, 38, 29, 0.12);
}

.oc-object-secondary-info h3 {
    margin-bottom: 8px;
    color: #25241f;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.oc-object-secondary-info > div {
    color: #5b584f;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   DÉTAILS REMARQUABLES
   ========================================================= */

.oc-object-highlights__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.oc-object-highlights__list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    color: #4b4941;
    font-size: 14px;
    line-height: 1.4;
}

.oc-object-highlights__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--oc-object-orange);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}


/* =========================================================
   EN-TÊTES DE SECTION
   ========================================================= */

.oc-object-section-header {
    margin-bottom: 16px;
}

.oc-object-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oc-object-section-icon {
    color: var(--oc-object-orange);
    font-size: 25px;
    line-height: 1;
}

.oc-object-section-line {
    width: 58px;
    height: 2px;
    margin-left: 4px;
    background: var(--oc-object-orange);
}


/* =========================================================
   GALERIE PHOTOS
   ========================================================= */

.oc-object-gallery {
    padding-top: 28px;
    padding-bottom: 28px;
}

.oc-object-gallery__track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    min-height: 190px;
}


/*
 * Ces classes pourront être utilisées par le futur moteur galerie.
 */

/* =========================================================
   GALERIE — FICHE OBJET
   Alignée + photos entières
   ========================================================= */

.oc-object-gallery__track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.oc-object-gallery__items {
    display: contents;
}

.oc-object-gallery__item {
    position: relative;
    min-width: 0;
    margin: 0;

    height: 290px;

    overflow: hidden;
    background: #1c1a16;

    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-object-gallery__item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    background: #1c1a16;

    transition:
        transform .35s ease,
        filter .35s ease;
}

.oc-object-gallery__item:hover img {
    transform: scale(1.015);
    filter: contrast(1.03);
}

.oc-object-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    margin: 0;
    padding: 26px 12px 10px;

    color: #fff;
    font-size: .82rem;
    line-height: 1.2;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .82) 0%,
            rgba(0, 0, 0, .38) 58%,
            transparent 100%
        );

    pointer-events: none;
}
/* Paysage : zoom de 40 % */
.oc-object-gallery__item.is-landscape img {
    transform: scale(1.40);
}

/* Portrait : pas de zoom */
.oc-object-gallery__item.is-portrait img {
    transform: scale(1);
}

/* Carré : léger zoom si besoin */
.oc-object-gallery__item.is-square img {
    transform: scale(1.05);
}

/* Survol */
.oc-object-gallery__item.is-landscape:hover img {
    transform: scale(1.45);
}

.oc-object-gallery__item.is-portrait:hover img {
    transform: scale(1.025);
}

.oc-object-gallery__item.is-square:hover img {
    transform: scale(1.08);
}

/* =========================================================
   LÉGENDE
   ========================================================= */

.oc-object-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    margin: 0;
    padding: 28px 12px 10px;

    color: #fff;
    font-size: .82rem;
    line-height: 1.2;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .82) 0%,
            rgba(0, 0, 0, .38) 58%,
            transparent 100%
        );

    pointer-events: none;
}

/* =========================================================
   LÉGENDE SUR LA PHOTO
   ========================================================= */

.oc-object-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    margin: 0;
    padding: 28px 12px 10px;

    color: #fff;
    font-size: .82rem;
    line-height: 1.2;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .82) 0%,
        rgba(0, 0, 0, .38) 58%,
        transparent 100%
    );

    pointer-events: none;
}

.oc-object-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px 12px 10px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,0.78)
        );

    color: #fff;
    font-size: 12px;
    line-height: 1.25;
}


/* =========================================================
   BAS DE PAGE — ASSOCIÉS + NOTE
   ========================================================= */

.oc-object-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 28px;
}


/* =========================================================
   OBJETS ASSOCIÉS
   ========================================================= */

.oc-object-related {
    align-self: start;
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 22px;
}

.oc-object-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    min-height: 0;
}


/* =========================================================
   CARTE OBJET ASSOCIÉ
   ========================================================= */

.oc-object-related-card {
    min-width: 0;
}

.oc-object-related-card__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;

    color: inherit;
    text-decoration: none;
}


/* =========================================================
   IMAGE
   ========================================================= */

.oc-object-related-card__image {
    grid-column: 1 / -1;

    overflow: hidden;
    aspect-ratio: 4 / 3;

    margin-bottom: 12px;

    background: #ddd4c3;
}

.oc-object-related-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease,
        filter .3s ease;
}

.oc-object-related-card:hover
.oc-object-related-card__image img {
    transform: scale(1.04);
    filter: contrast(1.03);
}


/* =========================================================
   TYPE DE RAPPROCHEMENT
   ========================================================= */

.oc-object-related-card__relation {
    grid-column: 1 / -1;

    margin-bottom: 6px;

    color: var(--oc-object-orange);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .10em;
}


/* =========================================================
   TITRE + FLÈCHE
   ========================================================= */

.oc-object-related-card__title {
    grid-column: 1;

    margin: 0;

    color: #22211d;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;

    transition: color .25s ease;
}

.oc-object-related-card__arrow {
    grid-column: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    color: var(--oc-object-orange);
    font-size: 20px;
    line-height: 1;

    transition:
        transform .25s ease,
        color .25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.oc-object-related-card:hover
.oc-object-related-card__title {
    color: var(--oc-object-orange);
}

.oc-object-related-card:hover
.oc-object-related-card__arrow {
    transform: translateX(4px);
}


/* =========================================================
   META
   ========================================================= */

.oc-object-related-card__meta {
    grid-column: 1 / -1;

    color: #6a665c;
    font-size: 12px;
    line-height: 1.3;
}


/* ---------------------------------------------------------
   NOTE DE COLLECTION
   --------------------------------------------------------- */

.oc-object-collection-note {
    align-self: start;

    display: flex;
    flex-direction: column;
}

/* =========================================================
   NOTE DE COLLECTION — SIGNATURE
   ========================================================= */

.oc-object-collection-note__signature {
    margin: 150px 0 0 0;
    padding-top: 0;

    color: #171713;
    font-family: var(--oc-object-serif);
    font-size: 23px;
    line-height: 1.1;
    font-style: italic;

    transform: rotate(-2deg);
}


/* =========================================================
   NAVIGATION OBJETS
   ========================================================= */

.oc-object-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 34px;

    padding:
        28px
        max(32px, calc((100vw - 1440px) / 2));

    background:
        linear-gradient(
            180deg,
            #10110f 0%,
            #0b0c0b 100%
        );

    color: #efe8da;

    border-top: 1px solid var(--oc-object-border-dark);
    border-bottom: 1px solid var(--oc-object-border-dark);
}


/* =========================================================
   NAVIGATION — PRÉCÉDENT / SUIVANT
   ========================================================= */

.oc-object-navigation-link {
    display: flex;
    flex-direction: column;
    gap: 4px;

    color: inherit;
    text-decoration: none;
}


/* Petit libellé */
.oc-object-navigation-link__label {
    display: block;

    color: rgba(244, 238, 226, 0.72);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
}


/* Titre de l'objet */
.oc-object-navigation-link__title {
    display: block;

    color: #f1e8d8;
    font-family: var(--oc-object-serif);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 400;
}


/* Objet précédent */
.oc-object-navigation__previous
.oc-object-navigation-link {
    align-items: flex-start;
    text-align: left;
}


/* Objet suivant */
.oc-object-navigation__next
.oc-object-navigation-link {
    align-items: flex-end;
    text-align: right;
}


/* Survol */
.oc-object-navigation-link:hover
.oc-object-navigation-link__title {
    color: var(--oc-object-orange-soft);
}


/* retour objets */

.oc-object-navigation__home {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 220px;
    padding: 4px 24px;

    border-left: 1px solid rgba(255,255,255,0.10);
    border-right: 1px solid rgba(255,255,255,0.10);
}

.oc-object-navigation__icon {
    color: var(--oc-object-orange-soft);
    font-size: 27px;
}

.oc-object-navigation__home div {
    display: flex;
    flex-direction: column;
}

.oc-object-navigation__home span {
    color: var(--oc-object-orange-soft);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.oc-object-navigation__home strong {
    margin-top: 4px;
    color: #eee6d8;
    font-family: var(--oc-object-serif);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 400;
}


/* =========================================================
   LIENS DANS LA NAVIGATION
   ========================================================= */

.oc-object-navigation a {
    color: inherit;
    text-decoration: none;
}

.oc-object-navigation a:hover {
    color: var(--oc-object-orange-soft);
}


/* =========================================================
   PLACEHOLDERS TEMPORAIRES
   Évite qu'ils cassent la mise en page pendant le chantier
   ========================================================= */

.oc-object-gallery__track:empty,
.oc-object-related__grid:empty {
    display: none;
}


/* =========================================================
   RESPONSIVE — GRAND TABLETTE
   ========================================================= */

@media (max-width: 1180px) {

    .oc-object-hero {
        grid-template-columns: 1fr 0.95fr;
        min-height: 500px;
    }

    .oc-object-hero__content {
        padding:
            58px
            42px
            58px
            42px;
    }

    .oc-object-number {
        right: 18px;
    }

    .oc-object-grid,
    .oc-object-gallery,
    .oc-object-bottom-grid {
        width: min(100% - 36px, 1200px);
    }

    .oc-object-gallery__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .oc-object-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .oc-object-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .oc-object-hero__media {
        min-height: 480px;
    }

    .oc-object-hero__content {
        min-height: 430px;
    }

    .oc-object-hero__content::after {
        width: 55%;
        height: 80%;
    }

    .oc-object-number {
        top: auto;
        right: 28px;
        bottom: 28px;
        transform: none;
    }

    .oc-object-grid {
        grid-template-columns: 1fr 1fr;
    }

    .oc-object-grid > :last-child {
        grid-column: 1 / -1;
    }

    .oc-object-bottom-grid {
        grid-template-columns: 1fr;
    }

    .oc-object-gallery__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oc-object-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .oc-object-navigation__home {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }

    .oc-object-navigation__previous {
        grid-column: 1;
        grid-row: 2;
    }

    .oc-object-navigation__next {
        grid-column: 2;
        grid-row: 2;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .oc-object-hero__media {
        min-height: 390px;
    }

    .oc-object-hero__quote {
        left: 24px;
        bottom: 28px;
        font-size: 20px;
    }

    .oc-object-hero__content {
        min-height: 0;
        padding: 46px 24px 100px;
    }

    .oc-object-title {
        font-size: clamp(42px, 12vw, 58px);
    }

    .oc-object-subtitle {
        font-size: 26px;
    }

    .oc-object-intro {
        font-size: 16px;
    }

    .oc-object-badges {
        gap: 8px;
    }

    .oc-object-badge {
        min-height: 38px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .oc-object-number {
        right: 20px;
        bottom: 20px;
    }

    .oc-object-number > span {
        font-size: 38px;
    }

    .oc-object-number > strong {
        font-size: 14px;
    }

    .oc-object-grid,
    .oc-object-gallery,
    .oc-object-bottom-grid {
        width: calc(100% - 24px);
    }

    .oc-object-grid {
        grid-template-columns: 1fr;
    }

    .oc-object-grid > :last-child {
        grid-column: auto;
    }

    .oc-object-card,
    .oc-object-related,
    .oc-object-collection-note {
        padding: 22px 20px;
    }

    .oc-object-data-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding-bottom: 8px;
    }

    .oc-object-data-row dt {
        font-size: 13px;
    }

    .oc-object-data-row dd {
        font-size: 14px;
    }

    .oc-object-gallery__track {
        grid-template-columns: 1fr 1fr;
    }

    .oc-object-related__grid {
        grid-template-columns: 1fr 1fr;
    }

    .oc-object-navigation {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .oc-object-navigation__home,
    .oc-object-navigation__previous,
    .oc-object-navigation__next {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        text-align: left;
    }

    .oc-object-navigation__home {
        justify-self: stretch;
        border: 0;
        border-top: 1px solid rgba(255,255,255,0.10);
        border-bottom: 1px solid rgba(255,255,255,0.10);
        padding: 18px 0;
    }
}


/* =========================================================
   TRÈS PETIT MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .oc-object-hero__media {
        min-height: 330px;
    }

    .oc-object-gallery__track,
    .oc-object-related__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   COLONNE DROITE — CARTES EMPILÉES
   ========================================================= */

.oc-object-card-stack {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    height: 100%;
}

.oc-object-card-stack > .oc-object-card {
    min-height: 0;
}

/* =========================================================
   BAS DE PAGE — ÉQUILIBRAGE ASSOCIÉS + NOTE
   ========================================================= */

/* Les deux blocs prennent exactement la même hauteur */
.oc-object-bottom-grid {
    align-items: stretch;
}

/* La note occupe toute la hauteur disponible */
.oc-object-collection-note {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Un peu plus d'air avant la signature */
.oc-object-collection-note__signature {
    margin-top: 150px;
    padding-top: 8px;
}

/* =========================================================
   NOTE DE COLLECTION — ESPACE AVANT SIGNATURE
   OVERRIDE FINAL
   ========================================================= */

.oc-object-collection-note .oc-object-collection-note__signature {
    margin: 40px 0 0 0 !important;
    padding: 0 !important;
}

/* =========================================================
   INSCRIPTIONS / MARQUAGES — LISTE
   ========================================================= */

.oc-object-inscriptions__list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.oc-object-inscriptions__list li {
    position: relative;

    margin: 0 0 6px 0;
    padding-left: 18px;

    line-height: 1.4;
}

.oc-object-inscriptions__list li:last-child {
    margin-bottom: 0;
}

.oc-object-inscriptions__list li::before {
    content: "";

    position: absolute;
    left: 2px;
    top: 0.65em;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: var(--oc-object-orange);

    transform: translateY(-50%);
}