/* =========================================================
   OLDCHAINSAW
   FICHE MARQUE
   Version 1.0
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

.oc-brand-item {
    --oc-brand-green: #123f32;
    --oc-brand-green-dark: #0b2d24;
    --oc-brand-cream: #f3ead7;
    --oc-brand-cream-soft: #ebe1cc;
    --oc-brand-text: #3f4a43;
    --oc-brand-orange: #e56613;
    --oc-brand-line: rgba(35, 49, 39, .18);

    color: var(--oc-brand-text);

    background: var(--oc-brand-cream);
}


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


.oc-brand-item img {
    max-width: 100%;
}


.oc-brand-item-container,
.oc-brand-item-hero__inner,
.oc-brand-item-history__inner,
.oc-brand-item-history-photo__inner,
.oc-brand-item-innovation__inner,
.oc-brand-item-timeline__inner,
.oc-brand-item-collection__inner,
.oc-brand-item-models__inner,
.oc-brand-item-archives__inner,
.oc-brand-item-sources__inner,
.oc-brand-item-meta__inner,
.oc-brand-item-nav__inner {
    width: min(1180px, 88%);
    margin: 0 auto;
}


/* =========================================================
   LABELS
   ========================================================= */

.oc-brand-item .oc-section-label,
.oc-brand-item-eyebrow {
    margin: 0 0 12px;

    color: var(--oc-brand-orange);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;
}


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

.oc-brand-item-hero {
    padding:
        clamp(95px, 10vw, 165px)
        0
        clamp(85px, 9vw, 145px);

    background: var(--oc-brand-green-dark);

    color: var(--oc-brand-cream);
}


.oc-brand-item-hero__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    gap:
        clamp(55px, 7vw, 110px);

    align-items: center;
}


.oc-brand-item-hero__content h1 {
    margin: 0 0 22px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(4rem, 8vw, 8.5rem);

    font-weight: 400;

    line-height: .9;

    letter-spacing: -.05em;
}

/* ---------------------------------------------------------
   HERO — ADAPTATION AUTOMATIQUE DES NOMS LONGS
   --------------------------------------------------------- */

.oc-brand-item-brand-name {
    display: block;
}

.oc-brand-item-brand-name.oc-brand-item-hero__title--medium {
    font-size: .78em;
}

.oc-brand-item-brand-name.oc-brand-item-hero__title--long {
    font-size: .62em;
}

.oc-brand-item-hero__period {
    margin: 0 0 28px;

    font-size:
        clamp(1.1rem, 1.8vw, 1.45rem);

    letter-spacing: .04em;
}


.oc-brand-item-hero__tagline {
    max-width: 620px;

    margin: 0;

    color:
        rgba(243, 234, 215, .82);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.35rem, 2vw, 1.8rem);

    line-height: 1.5;
}


.oc-brand-item-hero__visual {
    position: relative;
}


.oc-brand-item-hero__visual img {
    width: 100%;

    aspect-ratio: 4 / 3;

    display: block;

    object-fit: cover;

    border:
        1px solid
        rgba(243, 234, 215, .18);

    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, .3);
}


.oc-brand-item-hero__caption {
    margin: 12px 0 0;

    color:
        rgba(243, 234, 215, .62);

    font-size: .88rem;
    font-style: italic;

    line-height: 1.5;
}


/* =========================================================
   IDENTITE / FACTS
   ========================================================= */

.oc-brand-item-facts {
    padding:
        clamp(65px, 7vw, 95px)
        0;

    background: var(--oc-brand-cream-soft);

    border-bottom:
        1px solid
        var(--oc-brand-line);
}


.oc-brand-item-facts__grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 1px;

    margin-top: 28px;

    background:
        var(--oc-brand-line);
}


.oc-brand-item-fact {
    min-height: 150px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--oc-brand-cream-soft);
}


.oc-brand-item-fact strong {
    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.45rem, 2vw, 2rem);

    font-weight: 400;

    line-height: 1.2;
}


.oc-brand-item-fact span {
    margin-top: 18px;

    color:
        rgba(63, 74, 67, .72);

    font-size: .82rem;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   HISTOIRE
   ========================================================= */

.oc-brand-item-history {
    padding:
        clamp(90px, 9vw, 140px)
        0;

    background: var(--oc-brand-cream);
}


.oc-brand-item-history__inner {
    width: min(1180px, 88%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(320px, .75fr);

    gap:
        clamp(55px, 7vw, 100px);

    align-items: start;
}


.oc-brand-item-history__content {
    max-width: 720px;

    color: var(--oc-brand-text);

    font-size:
        clamp(1rem, 1.15vw, 1.08rem);

    line-height: 1.86;
}


.oc-brand-item-history__content h2 {
    margin:
        0 0
        34px;

    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.7rem, 5vw, 5rem);

    font-weight: 400;

    line-height: .96;

    letter-spacing: -.035em;
}


.oc-brand-item-history__content p {
    margin:
        0 0
        1.2em;
}


/* =========================================================
   PHOTO HISTORIQUE
   ========================================================= */

.oc-brand-item-history__media {
    position: relative;

    padding-top: 12px;
}


.oc-brand-item-history-photo__figure {
    position: relative;

    width: 100%;
    max-width: 440px;

    margin:
        0 auto;
}


.oc-brand-item-history-photo__figure::before {
    content: "";

    position: absolute;

    inset:
        15px
        -12px
        -15px
        12px;

    z-index: 0;

    background:
        rgba(213, 195, 156, .42);

    border:
        1px solid
        rgba(90, 69, 43, .11);

    transform:
        rotate(1.2deg);
}


.oc-brand-item-history-photo__figure img {
    position: relative;

    z-index: 1;

    width: 100%;

    display: block;

    padding: 8px;

    background: #f9f0dc;

    border:
        1px solid
        rgba(90, 69, 43, .16);

    box-shadow:
        0 14px 34px
        rgba(60, 45, 28, .14);

    transform:
        rotate(-.8deg);
}


.oc-brand-item-history-photo__figure::after {
    content: "";

    position: absolute;

    z-index: 3;

    top: -10px;
    left: 50%;

    width: 82px;
    height: 22px;

    transform:
        translateX(-50%)
        rotate(-2deg);

    background:
        rgba(204, 184, 140, .66);

    box-shadow:
        0 2px 5px
        rgba(60, 45, 28, .08);
}


.oc-brand-item-history-photo__figure figcaption {
    position: relative;

    z-index: 2;

    margin-top: 13px;

    color:
        rgba(63, 74, 67, .68);

    font-size: .88rem;
    font-style: italic;

    line-height: 1.5;
}

/* =========================================================
   INNOVATIONS
   ========================================================= */

.oc-brand-item-innovation {
    padding:
        clamp(90px, 9vw, 145px)
        0;

    background: var(--oc-brand-green);

    color: var(--oc-brand-cream);
}


.oc-brand-item-innovation__inner {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(0, 1.2fr);

    gap:
        clamp(55px, 8vw, 130px);
}


.oc-brand-item-innovation__title h2 {
    color: var(--oc-brand-cream);
}


.oc-brand-item-innovation__content {
    color:
        rgba(243, 234, 215, .84);
}


/* =========================================================
   FRISE HISTORIQUE
   ========================================================= */

.oc-brand-item-timeline {
    padding:
        clamp(85px, 8vw, 125px)
        0;

    background: var(--oc-brand-cream-soft);
}


.oc-brand-item-timeline__intro {
    max-width: 820px;
    margin-bottom: clamp(30px, 3vw, 45px);
}


.oc-brand-item-timeline__intro h2 {
    margin: 0;

    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.6rem, 4.5vw, 4.7rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.035em;
}


/* ---------------------------------------------------------
   LIGNE DES ETAPES
   --------------------------------------------------------- */

.oc-brand-item-timeline__list {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 20px;
}


/* Ligne horizontale */

.oc-brand-item-timeline__list::before {
    content: "";

    position: absolute;

    top: 58px;
    left: 3%;
    right: 3%;

    height: 1px;

    background:
        rgba(35, 49, 39, .26);
}


/* ---------------------------------------------------------
   UNE ETAPE
   --------------------------------------------------------- */

.oc-brand-item-timeline__step {
    position: relative;

    display: flex;

    flex-direction: column;

    padding: 0;

    text-align: center;
}


/* Date */

.oc-brand-item-timeline__date {
    min-height: 42px;

    margin-bottom: 34px;

    color: var(--oc-brand-orange);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.25rem, 1.6vw, 1.7rem);

    line-height: 1.1;

    text-align: center;
}


/* Point sur la ligne */

.oc-brand-item-timeline__step::before {
    content: "";

    position: absolute;

    top: 52px;
    left: 50%;

    width: 13px;
    height: 13px;

    transform:
        translateX(-50%);

    border:
        2px solid
        var(--oc-brand-green);

    border-radius: 50%;

    background:
        var(--oc-brand-cream-soft);

    z-index: 2;
}


/* Contenu */

.oc-brand-item-timeline__body {
    padding-top: 8px;
}


.oc-brand-item-timeline__body h3 {
    margin:
        0 0
        10px;

    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.05rem, 1.35vw, 1.35rem);

    font-weight: 400;

    line-height: 1.2;
}


.oc-brand-item-timeline__body p {
    margin: 0;

    color: var(--oc-brand-text);

    font-size: .9rem;

    line-height: 1.55;
}
/* =========================================================
   MARQUE DANS LA COLLECTION
   ========================================================= */

.oc-brand-item-collection {
    padding:
        clamp(95px, 9vw, 150px)
        0;

    background: var(--oc-brand-green-dark);

    color: var(--oc-brand-cream);
}


.oc-brand-item-collection__intro {
    max-width: 800px;

    margin-bottom:
        clamp(55px, 7vw, 90px);
}


.oc-brand-item-collection__intro h2 {
    color: var(--oc-brand-cream);
}


.oc-brand-item-collection__facts {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1px;

    margin-bottom:
        clamp(70px, 8vw, 110px);

    background:
        rgba(243, 234, 215, .16);
}


.oc-brand-item-collection__fact {
    min-height: 145px;

    padding: 26px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--oc-brand-green-dark);
}


.oc-brand-item-collection__fact strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.4rem, 2vw, 1.95rem);

    font-weight: 400;
}


.oc-brand-item-collection__fact span {
    margin-top: 18px;

    color:
        rgba(243, 234, 215, .62);

    font-size: .8rem;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.oc-brand-item-collection__story {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:
        clamp(55px, 7vw, 100px);

    align-items: center;

    margin-bottom:
        clamp(75px, 8vw, 110px);
}


.oc-brand-item-collection__figure {
    margin: 0;
}


.oc-brand-item-collection__figure img {
    width: 100%;

    display: block;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border:
        1px solid
        rgba(243, 234, 215, .16);

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, .3);
}


.oc-brand-item-collection__figure figcaption {
    margin-top: 12px;

    color:
        rgba(243, 234, 215, .58);

    font-size: .88rem;
    font-style: italic;
}


.oc-brand-item-collection__content {
    color:
        rgba(243, 234, 215, .82);
}


.oc-brand-item-collection__place {
    position: relative;

    max-width: 850px;

    padding-top: 42px;

    color:
        rgba(243, 234, 215, .82);
}


.oc-brand-item-collection__place::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: min(1100px, calc(100vw - 10vw));

    height: 1px;

    background:
        rgba(243, 234, 215, .18);
}


/* =========================================================
   MODELES EMBLEMATIQUES
   ========================================================= */

.oc-brand-item-models {
    padding:
        clamp(70px, 7vw, 105px)
        0;

    background: var(--oc-brand-cream);
}


.oc-brand-item-models__intro {
    max-width: 760px;

    margin-bottom:
        clamp(36px, 4vw, 52px);
}


.oc-brand-item-models__intro h2 {
    margin: 0;

    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2.5rem, 4vw, 4.2rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.035em;
}


/* ---------------------------------------------------------
   GRILLE DES 6 MODELES
   --------------------------------------------------------- */

.oc-brand-item-models__grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 14px;
}


/* ---------------------------------------------------------
   CARTE
   --------------------------------------------------------- */

.oc-brand-item-model {
    overflow: hidden;

    min-width: 0;

    background:
        rgba(255, 255, 255, .22);

    border:
        1px solid
        rgba(35, 49, 39, .14);
}


/* ---------------------------------------------------------
   PHOTO
   --------------------------------------------------------- */

.oc-brand-item-model__visual {
    overflow: hidden;

    aspect-ratio: 4 / 3;
}


.oc-brand-item-model__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}


.oc-brand-item-model:hover
.oc-brand-item-model__visual img {
    transform:
        scale(1.035);
}


/* ---------------------------------------------------------
   TEXTE
   --------------------------------------------------------- */

.oc-brand-item-model__body {
    padding:
        14px 14px
        16px;
}


.oc-brand-item-model__body h3 {
    margin:
        0 0
        12px;

    color: var(--oc-brand-green);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1rem, 1.25vw, 1.25rem);

    font-weight: 400;

    line-height: 1.15;
}


.oc-brand-item-model__link {
    color: var(--oc-brand-orange);

    font-size: .68rem;
    font-weight: 700;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;
}

/* ---------------------------------------------------------
   VOIR TOUTES LES MACHINES DE LA MARQUE
   --------------------------------------------------------- */

.oc-brand-item-models__footer {
    margin-top: 34px;

    display: flex;

    justify-content: flex-start;
}


.oc-brand-item-models__all {
    display: inline-flex;

    align-items: center;

    min-height: 48px;

    padding:
        13px
        22px;

    color:
        var(--oc-brand-cream) !important;

    background:
        var(--oc-brand-green);

    border:
        1px solid
        var(--oc-brand-green);

    font-size: .76rem;
    font-weight: 700;

    letter-spacing: .09em;

    text-decoration: none !important;

    text-transform: uppercase;

    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease;
}


.oc-brand-item-models__all:hover,
.oc-brand-item-models__all:focus {
    color:
        var(--oc-brand-cream) !important;

    background:
        var(--oc-brand-green-dark);

    transform:
        translateY(-2px);

    text-decoration: none !important;
}
/* =========================================================
   ARCHIVES
   ========================================================= */

.oc-brand-item-archives {
    padding:
        clamp(95px, 9vw, 145px)
        0;

    background: var(--oc-brand-cream-soft);
}


.oc-brand-item-archives__intro {
    max-width: 820px;

    margin-bottom:
        clamp(48px, 6vw, 75px);
}


.oc-brand-item-archives__grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.oc-brand-item-archive-card {
    min-height: 170px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: var(--oc-brand-green);

    background:
        rgba(255, 255, 255, .28);

    border:
        1px solid
        rgba(35, 49, 39, .15);

    text-decoration: none;

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


.oc-brand-item-archive-card:hover {
    transform:
        translateY(-4px);

    background:
        rgba(255, 255, 255, .46);
}


.oc-brand-item-archive-card strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.45rem;

    font-weight: 400;
}


.oc-brand-item-archive-card span {
    color: var(--oc-brand-orange);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   SOURCES
   ========================================================= */

.oc-brand-item-sources {
    padding:
        clamp(95px, 9vw, 145px)
        0;

    background: var(--oc-brand-cream);
}


.oc-brand-item-sources__intro {
    max-width: 800px;

    margin-bottom:
        clamp(50px, 6vw, 80px);
}


.oc-brand-item-sources__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


.oc-brand-item-source {
    padding-top: 24px;

    border-top:
        1px solid
        var(--oc-brand-line);

    line-height: 1.75;
}


.oc-brand-item-source__label {
    margin:
        0 0
        18px;

    color: var(--oc-brand-orange);

    font-size: .76rem;
    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;
}


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

.oc-brand-item-meta {
    padding:
        54px 0;

    background: var(--oc-brand-cream-soft);

    border-top:
        1px solid
        var(--oc-brand-line);
}


.oc-brand-item-meta__inner {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    align-items: flex-end;
}


.oc-brand-item-meta__main p,
.oc-brand-item-meta__update {
    margin: 0;
}


.oc-brand-item-meta__website {
    margin-top: 12px !important;
}


.oc-brand-item-meta__website a {
    color: var(--oc-brand-green);
    white-space: nowrap;
}


.oc-brand-item-meta__website a {
    color: var(--oc-brand-green);
}


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

.oc-brand-item-nav {
    background: #0b0c0b;

    color: var(--oc-brand-cream);
}


.oc-brand-item-nav__inner {
    min-height: 150px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    gap: 40px;

    align-items: center;
}


.oc-brand-item-nav a {
    color: var(--oc-brand-cream);

    text-decoration: none;
}


.oc-brand-item-nav__item {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.oc-brand-item-nav__item span {
    color:
        rgba(243, 234, 215, .72);

    font-size: .88rem;
}


.oc-brand-item-nav__item strong {
    font-size: 1.02rem;
}


.oc-brand-item-nav__next {
    text-align: right;
}


.oc-brand-item-nav__collection {
    color: var(--oc-brand-orange) !important;

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .08em;

    text-align: center;

    text-transform: uppercase;
}


.oc-brand-item-nav__collection strong {
    color: var(--oc-brand-cream);
}


.oc-brand-item-nav__record {
    padding: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, .08);

    color:
        rgba(243, 234, 215, .35);

    font-size: .68rem;

    letter-spacing: .14em;

    text-align: center;

    text-transform: uppercase;
}


.oc-brand-item-nav__record strong {
    margin:
        0 10px;

    color: var(--oc-brand-orange);
}

/* =========================================================
   LIENS — FICHE MARQUE
   ========================================================= */

.oc-brand-item a {
    color: var(--oc-brand-orange);
    text-decoration: none;

    transition:
        color .2s ease,
        text-decoration-color .2s ease;
}

.oc-brand-item a:hover,
.oc-brand-item a:focus {
    color: var(--oc-brand-green);

    text-decoration: underline;
    text-underline-offset: 4px;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .oc-brand-item-hero__inner,
    .oc-brand-item-history__inner,
    .oc-brand-item-innovation__inner,
    .oc-brand-item-collection__story {
        grid-template-columns:
            1fr;
    }


    .oc-brand-item-facts__grid,
    .oc-brand-item-collection__facts {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .oc-brand-item-models__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .oc-brand-item-archives__grid,
    .oc-brand-item-sources__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 650px) {

    .oc-brand-item-container,
    .oc-brand-item-hero__inner,
    .oc-brand-item-history__inner,
    .oc-brand-item-history-photo__inner,
    .oc-brand-item-innovation__inner,
    .oc-brand-item-timeline__inner,
    .oc-brand-item-collection__inner,
    .oc-brand-item-models__inner,
    .oc-brand-item-archives__inner,
    .oc-brand-item-sources__inner,
    .oc-brand-item-meta__inner,
    .oc-brand-item-nav__inner {
        width: calc(100% - 44px);
    }


    .oc-brand-item-hero__content h1 {
        font-size:
            clamp(3.3rem, 17vw, 5rem);
    }


    .oc-brand-item-facts__grid,
    .oc-brand-item-collection__facts,
    .oc-brand-item-models__grid,
    .oc-brand-item-archives__grid,
    .oc-brand-item-sources__grid {
        grid-template-columns:
            1fr;
    }


    .oc-brand-item-timeline__list::before {
        left: 12px;
    }


    .oc-brand-item-timeline__step {
        grid-template-columns:
            1fr;

        gap: 10px;

        padding-left: 40px;
    }


    .oc-brand-item-timeline__step::before {
        left: 6px;
    }


    .oc-brand-item-timeline__date {
        text-align: left;
    }


    .oc-brand-item-meta__inner {
        flex-direction: column;

        align-items: flex-start;
    }


    .oc-brand-item-nav__inner {
        grid-template-columns:
            1fr;

        padding:
            38px 0;

        text-align: center;
    }


    .oc-brand-item-nav__next {
        text-align: center;
    }
}