@font-face {
    font-family: "FuturaLT";
    src: url("./fonts/Futura/FuturaLT.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "FuturaLT";
    src: url("./fonts/Futura/FuturaLT-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "FuturaLT";
    src: url("./fonts/Futura/FuturaLT-ExtraBold.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: "FuturaLT";
    src: url("./fonts/Futura/FuturaLT-ExtraBoldOblique.ttf") format("truetype");
    font-weight: 900;
    font-style: oblique;
}

@font-face {
    font-family: "Wulkan";
    src: url("./fonts/Wulkan/Wulkan.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "WulkanItalic";
    src: url("./fonts/Wulkan/Wulkan-italic.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "WulkanItalic";
    src: url("./fonts/Wulkan/Wulkan-Bold-Italic.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Wulkan";
    src: url("./fonts/Wulkan/Wulkan-Bold.ttf") format("truetype");
    font-weight: 700;
}


*, html {
    box-sizing: border-box;
    margin:0;
    padding: 0;
    outline: none;
    --color-green: #3fe7a6;
    --color-black: #1f1f1f;
    --color-white: #ffffff;
    --color-grey: #a4a4a9;
}

body {
    margin: 0;
    background: var(--color-white);
    color: #a4a4a9;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

body.mobile-open{
    overflow: hidden;
}

h1, h2, h3 {
    color:var(--color-black);
    font-family: 'FuturaLT';
}

h1{
    text-transform: uppercase;
}

::selection {
    color: var(--color-white);
    background-color: var(--color-green);
}

a {
    text-decoration: none;
    color: var(--color-grey);
    transition: 0.25s cubic-bezier(0.85, 0, 0.3, 1);
}

a:hover,
a:active,
a.active {
    color: var(--color-black);
}

.hidden{
    display: none !important;
    visibility: hidden;
}

.txt-green{
    color: var(--color-green);
}

.txt-reverse{
    background-color: var(--color-green);
    color: var(--color-white);
}

.asterisk{
    color: var(--color-grey);
}

.btn {
    display: inline-block;
    border: 6px solid;
    border-color: var(--color-green);
    color: var(--color-black);
    border-left: 0;
    border-right: 0;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'FuturaLT';
    font-weight: 700;
}

.btn:hover{
    border-color: var(--color-black);
    color: var(--color-green);
}

/**************$
    HEADER
 */
.header {
    position: relative;
    display: flex;
    padding: 20px;
    background: var(--color-white);
    z-index: 1000;
}

.nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.nav a{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    padding-left: 20px;
    font-family: 'FuturaLT';
    color: var(--color-white);
}

.header-brand {
    text-decoration: none;
    align-items: center;
}

.header-brand img {
    width: 20px;
}

.nav.web-nav{
    display: none;
}

.nav.mobile-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 30vw;
    z-index: 100;
    background: var(--color-black);
    overflow: hidden;
    visibility: hidden;
}

.nav.mobile-nav.show{
    visibility: visible;
}

.nav.mobile-nav a{
    font-size: 10vw;
    line-height: 2em;
    color: var(--color-white);
}

.nav.mobile-nav a.active{
    color: var(--color-green);
}

.header .mobile-nav__burger{
    display: block;
    position: absolute;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 0;
    border: 0;
    background: none;
    outline: none;
    mix-blend-mode: difference;
    z-index: 100;
}

.header .mobile-nav__burger i{
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    display: block;
}

.header .mobile-nav__burger i::before,
.header .mobile-nav__burger i::after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 22px;
    background-color: var(--color-white);
    left: calc(50% - 11px);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    -o-transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1), -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
}

.header .mobile-nav__burger i.mobile-nav__burger-open::before {
    top: calc(50% - 1.5px - 4px);
    -webkit-transform: translateX(4px) scaleX(0);
    -ms-transform: translateX(4px) scaleX(0);
    transform: translateX(4px) scaleX(0);
}

.header .mobile-nav__burger i.mobile-nav__burger-open::after {
    top: calc(50% - 1.5px + 4px);
    -webkit-transform: translateX(-4px) scaleX(0);
    -ms-transform: translateX(-4px) scaleX(0);
    transform: translateX(-4px) scaleX(0);
}

.header .mobile-nav__burger i.mobile-nav__burger-open.show::before,
.header .mobile-nav__burger i.mobile-nav__burger-open.show::after{
    -webkit-transform: translateX(0) scaleX(1);
    -ms-transform: translateX(0) scaleX(1);
    transform: translateX(0) scaleX(1);
}

.header .mobile-nav__burger i.mobile-nav__burger-close.show::before{
    -webkit-transform: rotate(45deg) scaleX(1);
    -ms-transform: rotate(45deg) scaleX(1);
    transform: rotate(45deg) scaleX(1);
}
.header .mobile-nav__burger i.mobile-nav__burger-close::before {
    top: calc(50% - 1.5px);
    -webkit-transform: rotate(45deg) scaleX(0);
    -ms-transform: rotate(45deg) scaleX(0);
    transform: rotate(45deg) scaleX(0);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    -o-transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1), -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1);
}

.header .mobile-nav__burger i.mobile-nav__burger-close.show::after {
    -webkit-transform: rotate(-45deg) scaleX(1);
    -ms-transform: rotate(-45deg) scaleX(1);
    transform: rotate(-45deg) scaleX(1);
}

.header .mobile-nav__burger i.mobile-nav__burger-close::after {
    top: calc(50% - 1.5px);
    -webkit-transform: rotate(-45deg) scaleX(0);
    -ms-transform: rotate(-45deg) scaleX(0);
    transform: rotate(-45deg) scaleX(0);
    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s;
    transition: -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s;
    -o-transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s, -webkit-transform 0.5s cubic-bezier(0.85, 0, 0.3, 1) 0.2s;
}

/**************$
    CONTENT
 */

main {
    /* pour que le footer ne vienne pas de ballader au milieu du viewport si il n'y a pas assez de contenu */
    /* 3.5rem est genre la taille du bandeau du haut et 8rem la taille du bandeau du bas */
    min-height: calc(100vh - 3.5rem - 8rem);
    margin-top: 1.5rem;
}

.baseline {
    position: relative;
    overflow: hidden;
}

.baseline h1 {
    font-weight: 700;
    line-height: 1em;
    font-size: 13vw;
    text-align: left;
    margin: 0 0 30px 15px;
    padding-top: 10px; /* fix font accent */
    text-transform: uppercase;
}

.home__body .baseline h1 {
    font-size: 13vw;
    text-align: right;
    margin: 0;
}

.baseline h2,
.baseline__column{
    padding: 0 10% 10%;
}

.baseline__column{
    display: flex;
    flex-direction: column;
}

.baseline__column p{
    flex: 1;
    padding: 10px;
}

.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 70px 0;
}

.projets-avocats-berra-bartel__body .baseline {
    margin-bottom: 70px;
}

.service {
    display: flex;
    width:70%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.service h2 {
    margin-bottom: 10px;
}

.service p {
    margin-top: 10px;
}

.service__details {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.row-text-image {
    position: relative;
    width: 100%;
    padding: 60px 0 0 20px;
    text-align: center;
}

/* .studio__title {
    margin: 0;
    padding-left: 5px;
} */

.row-text-image__picture {
    position: relative;
    text-align: right;
}

.row-text-image__picture img {
    width: 100%;
}

.row-text-image h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 10px;
    text-align: left;
    mix-blend-mode: difference;
    color: var(--color-white);
}

.row-text-image p {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px 20px 0 0;
    text-align: left;
}

.devise {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.text-separator {
    text-transform: uppercase;
    font-size: 6.8vw;
    overflow: hidden;
    white-space: nowrap;
    margin: 70px 0 100px -0.5vw;
}

.method__body .text-separator {
    font-size: 5.8vw;
}

.pricing__body .text-separator {
    font-size: 6vw;
}

.text-separator.big {
    font-size: 8vw;
}

.devise p {
    font-weight: 700;
    font-size: 14px;
    padding: 15% 10%;
    text-align: right;
    color: var(--color-black);
}

.devise__pictures {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 14px;
    color: var(--color-black);
}

.devise__picture-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-start;
    flex: 1;
    padding: 0 5% 0 0;
    margin-left: -10%;
}

.devise__picture-1 img {
    width: 100%;
}

.devise__picture-2 {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 10%;
}

.devise__picture-2 img {
    width: 100%;
}

.devise__picture-2 span {
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
}

.contact h1 {
    font-weight: 700;
    font-size: 10vw;
    line-height: 1em;
    padding: 0 0 30px 30px;
    text-transform: uppercase;
}

.contact li {
    margin-bottom: 20px;
}

.contact div {
    padding-left: 30px;
}

.contact ul {
    list-style: none;
}

.legal-baseline {
    position: relative;
}

.legal-baseline h1 {
    font-weight: 700;
    font-size: 10vw;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-left: 50px;
}

.legal-baseline span {
    color: var(--color-black);
    position: absolute;
    transform-origin: right top;
    transform: rotate(90deg) translate(100%);
    top: 6px;
    right: 50px;
    font-family: 'FuturaLT';
    font-weight: 700;
}

.legals {
    margin-left: 50px;
    margin-right: 50px;
}

.legals div:first-child {
    margin-bottom: 50px;
}

.method__content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

.method__title{
    font-size: 6vw;
    text-transform: uppercase;
}

.method__description {
    margin-top: 20px;
}

.method__number{
    display: block;
    color: var(--color-green);
    line-height: 1em;
    font-size: 20vw;
    margin-left: -0.4em;
}

.method__content:nth-child(2) .method__title{
    text-align: right;
}

.method__content:nth-child(2) .method__number{
    text-align: right;
    margin-left: 0;
    margin-right: -0.4em;
}

.method__content:nth-child(2) .method__description{
    text-align: right;
}

.method__content:nth-child(4) .method__title{
    text-align: center;
}

.method__content:nth-child(4) .method__number{
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}

.method__content:nth-child(4) .method__description{
    text-align: center;
}

.invitation {
    text-align: center;
}

.invitation .btn{
    margin-top: 30px;
}

.projets {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.projets__content {
    text-align: center;
    position: relative;
    margin-bottom: 100px;
}

.projets__image {
    min-width: 80vw;
    width: 80vw;
    object-fit: cover;
    height: calc(80vw * 1.4);
}

.projets__overlay {
    position: absolute;
    bottom: -5vw;
    left: -5vw;
    font-size: 14vw;
    line-height: 1em;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-white);
    mix-blend-mode: difference;
    font-family: 'FuturaLT';
    font-weight: 700;
}

.projet__container {

    overflow: hidden;
}

.projet__content {

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
}

.projet__content > div {

    width: 80vw;
}

.projet__content > div:nth-child(1) > div {

    position: relative;
}

.projet__content-clients {
    margin-top: 40px;
    font-family: 'WulkanItalic';
    font-weight: 700;
    font-size: 7vw;
    color: #1f1f1f;
}

.projet__content-clients .quote {
    font-weight: 700;
    font-style: italic;
    font-size: 30vw;
    color: var(--color-green);
}


.projet__content img {

    width: 80vw;
    object-fit: cover;
}

.projet__content img ~ div {

    position: absolute;
    bottom: -3vw;
    left: -3vw;
    text-transform: uppercase;
    color: var(--color-white);
    mix-blend-mode: difference;
    font-family: 'FuturaLT';
    font-weight: 700;
    font-size: 9vw;
}

.pricing__body .why{
    padding: 8vw 12vw 15vw 12vw;
    text-align: right;
}

.pricing__body .why h2{
    font-size: 8vw;
    line-height: 1.2em;
    text-transform: uppercase;
    margin-bottom: 2vw;
}

.pricing__body .why p{
    font-size: 1em;
}

.pricing{
    display: flex;
    flex-direction: column;
    margin-top: 7vw;
}

.pricing__plan{
    flex: 1;
    text-align: left;
    padding-left: 5vw;
    color: var(--color-black);
}

.pricing__plan:first-child{
    margin-bottom: 25vw;
}

.pricing__plan.reverse{
    background: var(--color-black);
}


.pricing__plan h3{
    font-size: 25vw;
    margin-top: -12vw;
    line-height: 1em;
}

.pricing__plan.reverse h3, .pricing__plan.reverse p{
    mix-blend-mode: difference;
    color: var(--color-white);
}

.pricing__plan h3 span{
    color: var(--color-green);
    font-size: 8vw;
}

.pricing__plan p{
    padding: 0 0 4vw 2vw;
    font-size: 5vw;
}

.pricing__plan .btn{
    display: block;
    margin-bottom: 5vw;
}

.pricing__plan.reverse .btn{
    color:var(--color-white);
}

.pricing__plan.reverse .btn:hover{
    color:var(--color-green);
    border-color:var(--color-white);
}

.pricing__plan ul{
    list-style-type: none;
    border-left: 10px solid var(--color-black);
}

.pricing__plan.reverse ul{
    color: var(--color-white);
    border-left: 10px solid var(--color-green);
}

.pricing__plan ul li{
    font-size: 5vw;
    padding: 10px;
}

/**************$
    FOOTER
 */

.footer {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.contact__body .footer{
    margin-top: 0;
}

.footer__content {
    display: flex;
    margin: 0;
    align-items: center;
}

.footer__content span {
    flex: 1;
    text-align: center;
}

.footer__title {
    font-family: 'FuturaLT';
    font-size: 6vw;
    font-weight: 700;
    color:var(--color-black);
}

.footer__mentions {
    font-size: 10px;
    padding: 0;
}

.footer__mentions a {
    padding: 0;
}

.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px;
    text-align: center;
    background: var(--color-black);
    color: #fff;
}

.cookies a{
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}


.cookies a.cookies_btn{
    display: inline-block;
    text-transform: uppercase;
    padding: 20px;
}

/* en dessous c'est 320px */
@media (min-width: 480px) {
    .row-text-image__picture {
        margin-bottom: 1.5rem;
    }

    .legal-baseline span {
        top: 9px;
    }
}

@media (min-width: 768px) {
    .header{
        padding: 30px;
    }

    .nav{
        flex-direction: row;
    }

    .nav a{
        text-transform: uppercase;
        font-weight: 700;
        font-size: 12px;
        padding-left: 50px;
        font-family: 'Open Sans', sans-serif;
        color: var(--color-grey);
    }

    .nav a:hover,
    .nav a.active{
        color: var(--color-black);
    }

    .nav.web-nav{
        display: flex;
    }

    .header .mobile-nav__burger{
        display: none;
    }

    .nav.mobile-nav{
        display: none;
    }

    .home__body .baseline h1 {
        font-size: 10vw;
        margin-right: -12px;
    }

    .baseline h1 {
        font-size: 11vw;
        margin: 0 0 80px 50px;
        text-align: left;
    }

    .baseline h2,
    .baseline__column{
        padding: 0 10% 5% 10%;
    }

    .baseline__column{
        flex-direction: row;
    }

    .baseline__column p{
        padding: 0 20px 0 0;
    }

    .services {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 100px;
    }

    .service {
        width: 30%;
        border-top: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .service:not(:first-child) {
        border-left: 0.1rem solid rgba(0, 0, 0, 0.2);
    }

    .row-text-image {
        padding: 20px 0 0 340px;
        margin-bottom: 100px;
    }

    .row-text-image h2 {
        top: 10%;
        right: 40%;
        top: 40px;
    }

    .row-text-image p {
        position: absolute;
        top: 120px;
        left: 20px;
    }

    .devise p {
        font-size: 20px;
        padding: 60px 5% 60px 45%;
        text-align: right;
    }

    .devise__pictures {
        flex-direction: row;
        align-items: center;
    }

    .devise__picture-2 {
        padding: 0 10%;
    }

    .footer__content {
        margin: 0 0 -22px -5px;
    }

    .footer__mentions {
        font-size: 13px;
    }

    .contact {
        display: flex;
        margin-left: 0;
        align-items: center;
    }

    .contact h1 {
        font-size: 6vw;
        padding: 5vw;
    }

    .contact div {
        flex: 1;
        padding-left: 0px;
        margin-left: 0;
        margin-top: 0;
        align-self: center;
    }

    .contact ul {
        list-style: none;
    }

    .legal-baseline span {
        top: 16px;
    }

    .method__content {
        flex-direction: row;
        margin-bottom: 100px;
        justify-content: space-around;
        align-items: center;
        padding: 0;
    }

    .method__text {
        flex: 0 1 40%;
    }

    .method__number{
        font-size: 10vw;
        margin-left: -1.4em;
    }

    .method__title{
        font-size: 3vw;
    }

    .method__content:nth-child(even) {
        flex-direction: row-reverse;
    }

    .method__content:nth-child(2) .method__number {
        margin-right: -1.4em;
    }

    .projets {
        justify-content: center;
        width: 100%;
        margin: auto;
        margin-bottom: 150px;
    }

    .projets__content{
        margin-bottom: 150px;
    }

    .projets__content:nth-child(odd) {
        margin-right: 100px;
    }

    .projets__content:nth-child(even) {
        position: relative;
        top: 130px;
        margin-left: 50px;
    }

    .projets__image {
        min-width: 32vw;
        width: 32vw;
        /* object fit sert à définir comment se positionne l'image comme avec un background image
            peut être affiné avec object-position
        */
        object-fit: cover;
        height: calc(32vw * 1.4);
    }

    .projets__overlay {
        bottom: -3vw;
        left: -2.8vw;
        font-size: 7vw;
    }

    .projet__content {

        flex-direction: row;
        justify-content: center;
        align-items: normal;
    }

    .projet__content > div:nth-child(1) {
        width: 30vw;
        margin-right: 20px;
        position: relative;
    }

    .projet__content > div:nth-child(2) {
        width: 40vw;
        margin-left: 40px;
        margin-top: 20vw;
    }

    .projet__content > div:nth-child(2).long-text{
        margin-top: 1vw;
    }



    .projet__content img {

        width: 30vw;
        object-fit: cover;
    }

    .projet__content img ~ div {

        font-size: 6vw;
    }


    .projet__content-clients {
        font-size: 2vw;
    }

    .projet__content-clients .quote {
        font-size: 10vw;
    }

    .pricing__body .why {
        padding: 8vw 10vw 8vw 10vw;
    }

    .pricing{
        flex-direction: row;
    }

    .pricing__plan{
        padding-left: 10vw;
        margin-bottom: 2vw;
    }

    .pricing__plan:first-child{
        margin-bottom: inherit;
    }

    .pricing__plan h3 {
        font-size: 9vw;
        margin-top: -2vw;
        line-height: 0.5em;
    }

    .pricing__plan h3 span {
        font-size: 2vw;
    }

    .pricing__plan p{
        padding: 0 0 2vw 2vw;
        font-size: 18px;
    }

    .pricing__plan .btn{
        display: inline-block;
        margin-bottom: 2vw;
        margin-left: 2vw;
    }

    .pricing__plan ul li{
        font-size: 18px;
        padding: 10px 0 10px 20px;
    }
}

@media (min-width: 1024px) {
    .baseline h2,
    .baseline__column{
        padding: 0 10% 5% 35%;
    }

    .pricing__body .why{
        padding: 2vw 5vw 5vw 5vw;
    }

    .pricing__body .why h2{
        font-size: 5vw;
        line-height: 1.2em;
    }

    .pricing__body .why p{
        font-size: 1.2em;
    }

    .pricing__plan {
        padding-left: 14vw;
    }

    .footer__content {
        margin: 0 0 -26px -7px;
    }

    .legal-baseline span {
        top: 22px;
    }

    .cookies a.mentions{
        display: block;
    }
}


@media (min-width: 1240px) {
    .row-text-image {
        padding: 20px 0 0 400px;
    }

    .row-text-image h2 {
        right: 60%;
        top: 110px;
    }

    .row-text-image p{
        top: 200px;
        left: 60px;
    }

    .devise p {
        padding: 80px 5% 80px 55%;
    }

    .devise__picture-2 {
        padding: 0 20% 0 10%;
    }

    .footer__content {
        margin: 0 0 -32px -8px;
    }

    .legal-baseline span {
        top: 33px;
    }
}

/* Marque provisoire OTTO STUDIO (en attendant la refonte) */
.header-brand {
    display: flex;
}

.header-brand__name {
    font-family: 'FuturaLT';
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-black);
}
