/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-----------------------------------------*/

.viewport {
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

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

body {
    padding: 0px 50px;
    background-color: #111111;
    font-family: "gotham-xnarrow", sans-serif;
}

input, textarea {
    font-family: "gotham-xnarrow", sans-serif;
}


/*-------------------- HEADER ---------------------*/

header {
    margin: 0 -50px;
    padding: 0 50px;
    box-shadow: 0 4px 4px 0 rgba(54,54,54,0.1);
}

.navigation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25.5px 0px;
}

.navigation-header .mobile-menu {
    display: none;
}

.navigation-header img {
    width: 50px;
    height: 49px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}


/*-------------------- TITRE ---------------------*/

section {
    max-width: 1340px;
    margin-left: auto; 
    margin-right: auto; 
}

section.contact {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 39px; /* espacement entre image et form */
    align-items: stretch;
}

section.contact .title {
    position: relative;
    width: 660px;
    height: 100%;
    background-image: url(../images/img-contact.webp);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    background-position: center center;
}

h1 {
    font-size: 190px;
    font-style: normal;
    font-weight: 1000;
    line-height: 92%;
    color: #F7F2F1;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    bottom: 0;
}


.h1-contacte {
    display: block;
    font-size: 150px;
    transform: translate(-160px,130px) rotate(-90deg);
    transform-origin: top left;
    position: absolute;
    left: 0px;
    bottom: 0px;

    animation-name: slide-in-contacte;
    animation-timing-function: ease-in-out;
    animation-duration: 500ms;
    animation-delay: 100ms;
    animation-fill-mode: forwards;

}

@keyframes slide-in-contacte {
    from {
        transform: translate(-160px, 130px) rotate(-90deg);
    }

    to {
        transform: translate(34px, 130px) rotate(-90deg);
    }
}

.h1-nous {
    display: block;
    transform: translate(202px, 100%);
    position: absolute;
    left: 0px;
    bottom: 0px;

    animation-name: slide-in-nous;
    animation-timing-function: ease-in-out;
    animation-duration: 500ms;
    animation-delay: 700ms;
    animation-fill-mode: forwards ;
}

@keyframes slide-in-nous {
    from {
        transform: translate(202px, 100%);
    }

    to {
        transform: translate(202px, -33px);
    }
}

.h1-nous-border {
    transform: translate(206px,100%);
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 411px;
    height: 175px;

    animation-name: slide-in-nous-border;
    animation-timing-function: ease-in-out;
    animation-duration: 500ms;
    animation-delay: 700ms;
    animation-fill-mode: forwards ;
}

@keyframes slide-in-nous-border {
    from {
        transform: translate(206px, 100%);
    }

    to {
        transform: translate(206px, -93px);
    }
}


/*-------------------- FORM ---------------------*/


form {
    justify-content: space-between;
    padding: 20px 0;
}

form,
.form-field-inline input {
    flex: 1;
}

.form-field-inline {
    border-bottom: #F7F2F1 solid 3px;
    display: flex;
}

.form-field-inline,
.form-field-inline input,
.form-field textarea {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 30px */
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #F7F2F1;
}

.form-field-inline input::placeholder,
.form-field textarea::placeholder {
    color: #909090;
}

.form-field-inline input::placeholder,
.form-field textarea::placeholder {
    color: #909090;
}

.form-field-inline label {
    color: #F7F2F1;
}

.form-field-inline label::after {
    content: "|";
    margin: 0 10px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field textarea {
    border: #F7F2F1 3px solid;
    background-color: transparent;
    color: #F7F2F1;
    padding: 10px;
    font-size: 15px;
    text-transform: none;
    margin-bottom: 38px;
}

.form-field textarea::placeholder {
    text-transform: uppercase;
}

.form-field label {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 30px */
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #F7F2F1;
}

.form-accept {
    color: #F7F2F1;
    margin-bottom: 38px;
    display: flex;
    align-items: center;
}

.form-accept input {
    margin-right: 38px;
}

/*input[type="checkbox"] {
    background-color: transparent;
    border: 2px #F7F2F1 solid;
}
A DEFINIR PLUS TARD    
*/

input,
input:focus {
    background-color: transparent;
    border: none;
    outline: none;
}

textarea:focus {
    outline: none;
}

section {
    display: flex;
    gap: 20px;
    font-size: 24px;
    justify-content: center;
    align-items: self-start;
}


section h2 {
    font-size: 80px;
    color: #F7F2F1;
    font-weight: 1000;
    line-height: 74px;
    margin-bottom: 60px;
}

section em {
    font-style: italic;
    color: #95FC57;
}

section .margin-left {
    margin-left: 72px;;
}

section .section-content {
    position: relative;
    color: #F7F2F1;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 40px;
    padding-left: 42px;
}

section .section-content::before {
    content: " ";
    background-color: #5e3bb9;
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 5px;
    transition: height 500ms ease-in;
    transition-delay: 100ms;
}

section .section-content p {
    opacity: 0;
    transition: 1s ease-in-out;
    transform: translateX(-37px);
    max-width: 320px;
    line-height: 1.1em;
}

section.scroll-visible .section-content p {
    opacity: 1;
    transform: translateX(0);
}
section.scroll-visible .section-content::before {
    height: 100%;
}


/*-------------------- NEWSLETTER ---------------------*/


section#newsletter {
    max-width: none;
    margin: 0 -50px;
    background: url('../images/newsletter-img.jpg') no-repeat;
    background-size: cover;
    display: block;
    padding-top: 130px;
    padding-left: 50px;
    padding-bottom: 90px;
}

section#newsletter form {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: start;
    width: 433px;
    color: #F7F2F1;
}

section#newsletter form label[for="input_email"] {
    display: none;
}

section#newsletter form .checkbox {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

section#newsletter form input {
    background-color: #111111;
    color: #F7F2F1;
    font-size: 20px;
    padding: 12px 20px;
    align-self: stretch;
}


/*-------------------- FOOTER ---------------------*/


footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 169px 50px 53px 50px;
    background-image: url(../images/Papier.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 -50px;
    margin-top: 101px;
}

footer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.titre-footer {
    font-size: 20dvw;
    font-style: normal;
    font-weight: 1000;
    line-height: 92%;
    text-transform: uppercase;
}

.footer-nav {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.footer-links {
    display: grid;
    margin-left: 7px;
    grid-template-columns: repeat(3, auto);
    column-gap: 90px;
    row-gap: 30px;
}

.footer-links a {
    position: relative;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #111111;
    text-decoration: none;
}

.footer-links a::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #111111;
    transition: 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:active, .footer-links a:active::after {
    color: #5E3BB9;
}

.networks {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
}

.footer-copyright {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #111111;
}


/*-------------------- BUTTONS ---------------------*/


.button {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 40px;
    color: #111111;
    background-color: #95FC57;
    border: none;
    font-family: "gotham-xnarrow", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 37.5px */
    letter-spacing: 3.75px;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
}


.button--nav {
    width: 180px;
    height: 35px;
    font-size: 20px;
    letter-spacing: 3px;
}

.button--nav span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 500ms;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

.button--nav::after {
    content: " ";
    position: absolute;
    background-image: url(../images/arrow-desktop-nav.svg);
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    transform: translate(0%,-50%) rotate(0deg);
    right: -18px;
    top: 50%;
    transition: 500ms;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

.button--nav:hover  span{
    left: 20px;
    transform: translate(0%, -50%);
}

.button--nav:hover::after {
    right: 20px;
    transform: translate(0%, -50%) rotate(-40deg);
}

.button:active {
    background-color: #87E74E;
}

.button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 500ms;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

.button::after {
    content: " ";
    position: absolute;
    background-image: url(../images/arrow-desktop-nav.svg);
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    transform: translate(0%,-50%) rotate(0deg);
    right: -18px;
    top: 50%;
    transition: 500ms;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
}

.button:hover  span{
    left: 20px;
    transform: translate(0%, -50%);
}

.button:hover::after {
    right: 20px;
    transform: translate(0%, -50%) rotate(-40deg);
}

@media (max-width: 1000px) {

    section.contact {
        flex-direction: column;
    }

    section.contact .title {
        height: calc(100dvh - 102px);
        width: auto;
    }

    form {
        gap: 30px;
    }

    .viewport {
        height: auto;
    }
}