@import url(fonts.css);

/* === TOKENS === */
:root {
    --esp: #1c140f;
    --esp2: #2a1e16;
    --cream: #f7f3ec;
    --gold: #c9a227;
    --gold2: #e0bd52;
    --blue: #2e7bb8;
    --orange: #e08a2e;
    --green: #4c9a4c;
    --teal: #3f7f88;
    --mut: rgba(247, 243, 236, .66);
    --mutd: rgba(28, 20, 15, .68);
    --ln: rgba(247, 243, 236, .14);
    --lnd: rgba(28, 20, 15, .14);
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

/* Scroll bar settings */
::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--gold);
    border-radius: 0;
}

/* End Scroll bar settings */

@media(prefers-color-scheme:dark) {
    :root:not([data-theme=light]) {
        --esp: #1c140f;
        --cream: #f7f3ec
    }
}

:root[data-theme=dark] {
    --esp: #1c140f;
    --cream: #f7f3ec
}

html {
    scroll-padding-top: env(safe-area-inset-top, 0px)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--esp);
    color: var(--cream);
    font-family: Inter, system-ui, sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
legend {
    font-family: Fraunces, Georgia, serif;
    font-weight: 500;
    letter-spacing: -.015em;
    margin: 0;
    font-family: 'michroma';
}

.title {
    text-transform: uppercase;
}

a {
    color: inherit
}

:focus-visible {
    outline: 2px solid var(--gold2);
    outline-offset: 3px
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px
}

@media(max-width:640px) {
    .wrap {
        padding: 0 22px
    }
}

.kick {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.light {
    background: var(--cream);
    color: var(--esp)
}

.light .kick {
    color: #9a7a17
}

.reveal {
    opacity: 0;
    transform: translateY(28px)
}

.RM .reveal {
    opacity: 1;
    transform: none
}

/* === LOADER / PROGRESS / CURSOR === */
#loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--esp);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    animation: lo .6s 4s forwards
}

@keyframes lo {
    to {
        opacity: 0;
        visibility: hidden
    }
}

#loader i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block
}

#bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold2);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 150
}

#cur {
    position: fixed;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid var(--gold2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 160;
    opacity: 0;
    mix-blend-mode: difference
}

/* === NAV === */
nav {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    z-index: 120;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference
}

@media(max-width:640px) {
    nav {
        padding: 18px 22px
    }
}

.mark {
    font-family: Fraunces, serif;
    font-size: 15px;
    letter-spacing: .04em;
    text-decoration: none;
    color: var(--cream);
    position: relative;
    height: stretch;
}

.mark .mark__brand {
    width: 150px;
    height: auto;
    position: relative;
}

.mark .mark__brand img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

#tg {
    background: none;
    border: 0;
    color: var(--cream);
    font: 500 13px Inter;
    letter-spacing: .05em;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center
}


#tg b {
    width: 24px;
    height: 1px;
    background: var(--cream);
    display: block
}

#ov {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--esp2);
    clip-path: circle(0% at 93% 4%);
    transition: clip-path .8s cubic-bezier(.7, 0, .2, 1);
    display: flex;
    align-items: center;
    /* visibility: hidden */
}

#ov.open {
    clip-path: circle(150% at 93% 4%);
    visibility: visible
}

.ovl {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.ovl a {
    font-family: Fraunces, serif;
    font-size: clamp(30px, 5.6vw, 60px);
    text-decoration: none;
    opacity: .8;
    transition: color .3s
}

.ovl a:hover {
    color: var(--gold2)
}

.ovi {
    position: absolute;
    bottom: 34px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13.5px;
    color: var(--mut)
}

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: #140e0a
}

#hvb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #140e0a
}

.hv {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s
}

.hv.on {
    opacity: 1
}

.hv.on+#hvb {
    opacity: 0;
    transition: opacity 1.2s
}

.shade {
    z-index: 2;
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg, rgba(20, 14, 10, .55), rgba(20, 14, 10, .2) 55%, rgba(20, 14, 10, .5)), linear-gradient(180deg, rgba(20, 14, 10, .5), transparent 25%, transparent 68%, rgba(20, 14, 10, .72)); */
    background: linear-gradient(90deg, rgb(20 14 10 / 89%), rgba(20, 14, 10, .2) 55%, rgb(20 14 10 / 80%)), linear-gradient(180deg, rgb(20 14 10 / 75%), transparent 25%, transparent 68%, rgb(20 14 10 / 88%));
}

#gc {
    position: absolute;
    inset: 0;
    z-index: 3;
    mix-blend-mode: screen
}

.hline {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(247, 243, 236, .16);
    z-index: 4
}

.rail {
    position: absolute;
    left: clamp(24px, 5vw, 70px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 46px;
    --pc: #2e7bb8
}

.rail button {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: none;
    border: 0;
    color: rgba(247, 243, 236, .55);
    font: 500 12px Inter;
    letter-spacing: .32em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 16px 12px;
    transition: color .4s, box-shadow .4s
}

.rail button.on {
    color: var(--pc);
    box-shadow: inset 1px 0 0 var(--pc), inset -1px 0 0 var(--pc)
}

.hr {
    position: absolute;
    right: clamp(24px, 6vw, 90px);
    top: 50%;
    transform: translateY(-46%);
    z-index: 5;
    text-align: right
}

.eb {
    font-size: 13px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--mut)
}

.hwrap {
    overflow: hidden;
    margin: .3em 0 2.55em;
    padding: .05em 0
}

#hw {
    font-family: 'michroma', Fraunces, serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(38px, 5.4vw, 132px);
    line-height: 1.05;
    margin-right: -.08em
}

.bt {
    position: relative;
    display: inline-block;
    padding: 24px 44px;
    border: 1px solid rgba(247, 243, 236, .25);
    font-size: 13px;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .4s, color .4s
}

.bt:before,
.bt:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--cream)
}

.bt:before {
    top: -2px;
    left: -2px;
    border-right: 0;
    border-bottom: 0
}

.bt:after {
    bottom: -2px;
    right: -2px;
    border-left: 0;
    border-top: 0
}

.bt:hover {
    background: var(--cream);
    color: var(--esp)
}

.cue {
    position: absolute;
    left: clamp(24px, 5vw, 70px);
    bottom: 34px;
    z-index: 5;
    font-size: 13px;
    color: var(--mut)
}

@media(max-width:700px) {
    .rail {
        top: auto;
        bottom: 80px;
        left: 22px;
        transform: none;
        flex-direction: row;
        gap: 10px
    }

    .rail button {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 10px 12px;
        letter-spacing: .2em;
        font-size: 11px
    }

    .rail button.on {
        box-shadow: inset 0 -1px 0 var(--pc)
    }

    .hr {
        left: 22px;
        right: 22px;
        top: auto;
        bottom: 150px;
        transform: none;
        text-align: left
    }

    .cue {
        display: none
    }
}

#tg {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    gap: 14px
}

.cd {
    width: 34px;
    height: 34px;
    border: 1px solid var(--cream);
    border-radius: 50%;
    position: relative;
    display: block
}

.cd:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    background: var(--cream);
    border-radius: 50%
}

.nr {
    display: flex;
    align-items: center;
    gap: 36px
}

.np {
    color: var(--cream);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase
}


@media(max-width:640px) {
    .np {
        display: none
    }
}

.mq {
    background: var(--gold);
    color: var(--esp);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
    font-family: Fraunces, serif;
    font-size: 22px
}

.mq div {
    display: inline-block;
    will-change: transform
}

.mq span {
    margin: 0 26px
}

/* === VISION === */
.vision,
.presentation {
    padding: 150px 0 110px
}

.sc {
    font-size: clamp(30px, 5.2vw, 68px);
    line-height: 1.12;
    max-width: 20ch
}

.sc span {
    opacity: .16
}

.vgrid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    margin-top: 80px
}



@media(max-width:860px) {
    .vgrid {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

.vgrid p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--mutd);
    margin: 0 0 18px;
    max-width: 54ch
}

.mis {
    list-style: none;
    margin: 0;
    padding: 0
}

.mis li {
    padding: 13px 0;
    border-top: 1px solid var(--lnd);
    font-size: 15px;
    color: var(--esp)
}

.mis li:last-child {
    border-bottom: 1px solid var(--lnd)
}

/* === PÔLES (empilés) === */
.pole {
    position: sticky;
    top: 0;
    min-height: 100vh;
    /* display: flex; */
    align-items: center;
    overflow: hidden;
    padding: 110px 0 70px;
    background: radial-gradient(80% 90% at 88% 15%, color-mix(in srgb, var(--c) 42%, transparent), transparent 62%), var(--esp);
    border-top: 1px solid var(--ln)
}

@media(max-width:860px) {
    .pole {
        position: relative;
        padding: 90px 0
    }
}

.pin {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
    /* align-items: end; */
    width: 100%
}

@media(max-width:860px) {
    .pin {
        grid-template-columns: 1fr;
        gap: 26px
    }

    #tg span {
        display: none;
    }
}

.pn {
    font-family: Fraunces, serif;
    font-size: clamp(90px, 15vw, 220px);
    line-height: .85;
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 80%, #fff);
    opacity: .9
}

.pole h2 {
    font-size: clamp(30px, 4.2vw, 58px);
    margin-top: 18px;
    line-height: 1.05
}

.tag {
    font-size: 13.5px;
    color: var(--gold2);
    margin-top: 14px
}

.pole p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--mut);
    margin: 0 0 22px;
    max-width: 52ch
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px
}

.chips span {
    font-size: 13px;
    padding: 7px 14px;
    border: 1px solid var(--ln);
    border-radius: 40px;
    background: rgba(247, 243, 236, .04)
}

.amb {
    font-family: Fraunces, serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.45;
    color: var(--cream);
    max-width: 40ch;
    border-left: 2px solid var(--c);
    padding-left: 16px
}

.soon {
    display: inline-block;
    margin-top: 22px;
    font-size: 13px;
    color: var(--mut)
}

.plink {
    display: inline-block;
    margin-top: 22px;
    font-size: 13.5px;
    text-decoration: none;
    border-bottom: 1px solid var(--gold2);
    padding-bottom: 2px
}

/* === ÉCOSYSTÈME === */
.eco {
    padding: 140px 0
}

.eco h2,
.appr h2,
.val h2 {
    font-size: clamp(30px, 4.4vw, 56px);
    max-width: 16ch;
    line-height: 1.08;
    margin-bottom: 60px
}

.egrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

@media(max-width:860px) {
    .egrid {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

#ecoSvg {
    width: 100%;
    height: auto;
    overflow: visible
}

.erow {
    padding: 20px 0;
    border-top: 1px solid var(--lnd);
    display: flex;
    gap: 16px;
    align-items: baseline
}

.erow:last-of-type {
    border-bottom: 1px solid var(--lnd)
}

.erow i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
    transform: translateY(-1px)
}

.erow b {
    font-family: Fraunces, serif;
    font-weight: 500;
    font-size: 19px;
    display: block
}

.erow span {
    font-size: 14.5px;
    color: var(--mutd);
    line-height: 1.55
}

.eflow {
    font-family: Fraunces, serif;
    font-size: clamp(20px, 2.4vw, 30px);
    margin: 0 0 26px;
    color: #9a7a17
}

/* === APPROCHE === */
.appr {
    padding: 140px 0;
    background: var(--esp2)
}

.tl {
    position: relative;
    padding-left: 52px;
    max-width: 760px
}

.tl:before,
.tl .fill {
    content: "";
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--ln)
}

.tl .fill {
    background: var(--gold2);
    transform: scaleY(0);
    transform-origin: top
}

.st {
    position: relative;
    padding: 0 0 46px
}

.st:last-child {
    padding: 0
}

.st:before {
    content: "";
    position: absolute;
    left: -46px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--esp2);
    border: 1px solid var(--gold2)
}

.st h3 {
    font-size: clamp(24px, 3vw, 36px)
}

.st p {
    margin: 8px 0 0;
    color: var(--mut);
    font-size: 16px;
    line-height: 1.65;
    max-width: 52ch
}

/* === VALEURS === */
.val {
    padding: 140px 0
}

.vr {
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 30px;
    padding: 26px 0;
    border-top: 1px solid var(--lnd);
    align-items: baseline;
    transition: padding .4s
}

.vr:last-child {
    border-bottom: 1px solid var(--lnd)
}

.vr:hover {
    padding-left: 18px
}

.vr h3 {
    font-size: clamp(26px, 3.6vw, 44px)
}

.vr p {
    margin: 0;
    color: var(--mutd);
    font-size: 16px;
    line-height: 1.6
}

@media(max-width:700px) {
    .vr {
        grid-template-columns: 1fr;
        gap: 6px
    }
}

/* === CONTACT === */
.ct {
    padding: 150px 0 60px;
    background: radial-gradient(70% 70% at 15% 100%, rgba(201, 162, 39, .18), transparent 60%), var(--esp)
}

.ct h2 {
    font-size: clamp(36px, 7vw, 104px);
    line-height: .98;
    max-width: 13ch
}

.cg {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 20px;
    margin-top: 50px
}

@media(max-width:860px) {
    .cg {
        grid-template-columns: 1fr;
        gap: 36px
    }
}

.cg p {
    color: var(--mut);
    line-height: 1.75;
    font-size: 16.5px;
    max-width: 52ch;
    margin: 0 0 24px
}

.big {
    display: block;
    font-family: Fraunces, serif;
    font-size: clamp(22px, 2.6vw, 32px);
    text-decoration: none;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--ln);
    padding-bottom: 10px
}

.big:hover {
    color: var(--gold2)
}

.mt a {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    border-top: 1px solid var(--ln);
    text-decoration: none;
    font-size: 15.5px;
    color: var(--mut);
    transition: color .3s, padding .3s
}

.mt a:last-child {
    border-bottom: 1px solid var(--ln)
}

.mt a:hover {
    color: var(--gold2);
    padding-left: 12px
}

footer {
    margin-top: 110px;
    padding-top: 26px;
    border-top: 1px solid var(--ln);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: var(--mut);
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px))
}

/* CUSTOM CSS */
/* SPLIT BG SECTION */

.split-bg-section {
    position: relative;
}

.split-bg-section .bg-content {
    position: relative;
    /* aspect-ratio: 3/4;
      object-fit: cover; */
    height: 80vh;
    width: 100%;
    background-color: black;
    position: relative;
    transform: translateX(-40px);
}

.bg-parallax {
    overflow: hidden;
}

.split-bg-section .bg-content img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
}

.split-bg-section .bg-side-thumbnail {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(calc(50% - 40px), -50%);
    aspect-ratio: 3/4;
    object-fit: cover;
    height: 40vh;

}

.split-bg-section .bg-side-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.split-text-section {
    padding: 0 0 0 20px;
}

.divider {
    padding: 5px 0;
}

/* GRID SECTION */
.csection {
    padding: 60px 0;
}

.grid-items {
    display: grid;
}

.grid-items .grid-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 360px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.219);
    text-decoration: none;
}

.grid-items .grid-item video,
.grid-items .grid-item .grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-items .grid-item video {
    object-fit: cover;
}

.grid-items .grid-item .grid-item-overlay {
    background-color: rgba(0, 0, 0, 0.781);
    z-index: 1;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.grid-items .grid-item:hover .grid-item-overlay {
    background-color: rgba(0, 0, 0, 0.404);
}

.grid-items .grid-item .grid-item-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    z-index: 4;
    text-align: center;
    padding: 0 20px 10px;
    color: rgb(248, 244, 244);
}

.grid-items .grid-item .grid-item-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    /* background-color: white; */
    /* transform-origin: center; */
    /* transform: translate(-50%, -50%); */
    /* transition: all .5s cubic-bezier(0.075, 0.82, 0.165, 1); */
    z-index: 3;
    /* opacity: 0.5; */
}

.grid-items .grid-item .grid-item-logo img {
    width: 100%;
    height: 100%;
}

.grid-items .grid-item:hover .grid-item-logo {
    /* transform: translate(-50%, -50%) scale(0.5); */
    /* opacity: 1; */
}


@media(max-width:860px) {

    .split-bg-section .bg-side-thumbnail {
        display: none;
    }

    .split-bg-section .bg-content {
        transform: translateX(0);
    }
}

@media(max-width:768px) {

    .grid-items {
        display: block;
    }
}