:root {
    --bg-color-1: #F8F1ED;
    --bg-color-2: #0C4642;
    --second-color-1: #FD7B41;
    --second-color-2: #B795ED;
}

@font-face {
    font-family: lato;
    src: url(fonts/Lato-Regular.ttf);
}
 
@font-face {
    font-family: lato;
    src: url(fonts/Lato-Bold.ttf);
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'lato', sans-serif;
    color: var(--text-color-primary)
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: black;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12%;
    height: 70px;
    border-bottom: solid 5px var(--bg-color-2);
}

#fil-ariane {
    position:absolute;
    bottom: calc(-10px - 2em);
    left: 0;
    width: 100vw;
    background: var(--bg-color-2);
    color: white;
    padding: 10px 12%;
    z-index: 1000;
}

#fil-ariane p {
    font-size: 1em;
    line-height: normal;
    margin: 0;
}

header h1 img {
    display: block;
    position: absolute;
    top: -25px;
    height: 150px
}

header nav {
    display: flex;
}

header nav a {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 30px;
    text-decoration: none;
    transition: color 0.5s;
    position: relative;
}

header nav a:hover {
    color: var(--second-color-2);
}

header nav a.current::after {
    display: block;
    content:"";
    position: absolute;
    left: calc(50% - 5px);
    bottom: -15px;
    width: 10px;
    height: 10px;
    transition: position 0.5s;
    background-color: var(--second-color-2);
}

section {
    padding: 50px 12%;
}

section:nth-child(odd) {
    background-color: #F8F1ED;
}

main h1, h2, h3, p {
    margin-bottom: 20px
}

.button {
    text-align: center;
    text-decoration: none;
    background-color: var(--bg-color-2);
    color: white;
    border-radius: 6px;
    padding: 15px 15px;
    margin-top: 50px;
    display: block;
    width: fit-content;
    font-size: 1.2em;
    font-weight: bold;
}


.button-prestation {
    text-align: center;
    text-decoration: none;
    background-color: var(--bg-color-2);
    color: white;
    border-radius: 6px;
    padding: 15px 15px;
    display: block;
    margin: auto;
    width: fit-content;
    font-size: 1em;
}

#img-rond {
    position: absolute;
    border-radius: 50%;
    height: 350px;
    width: 350px;
   

    height: 100%;
    max-width: 150%;
    position: absolute;
    bottom: -50px;
    right: -235px;
}

#img-floriane {
    object-fit: cover;
    object-position: 100% 0%;
    border-radius: 50%;
    height: 100%;
    width: 100%;
}

p {
    line-height: 1.5;
    font-size: 1.2em;
}

#partenaires {
    padding: 0 10vw;
}

#bg-partenaires {
    border-radius: 20px;
    width: 60%;
    margin-left: 40%;
    padding-bottom: 50px;
}

#bg-partenaires h2 {
    text-align: center;
}

#partenaires-list {
    display: flex;
    flex-wrap: wrap;
}

#partenaires .partenaire {
    width: 30%;
    margin: 30px auto;
    
}

.partenaire img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 100px;
    filter: grayscale(0);
    transition: filter 0.5s;
    cursor:grab
}

.partenaire img:hover {
    filter: grayscale(0)
}

footer {
    background: var(--bg-color-2);
    color: white;
    padding: 20px 12%;
    display: flex;
    justify-content: space-between;
}
footer div {
    width: 25%;
}

 footer a {
        color: white;
        display: block;
        font-size: 1.1em;
        margin: 5px 0;
    }

    footer a img {
        width: 40px;
    }


section {
    width: calc(100vw - 24%);
}

#bg-falc {
    width: 100%;
}

#bg-intro, #bg-me, #bg-discutons {
    width: 70%;
}

#bg-discutons {
    background-color: var(--bg-color-1);
    border-radius: 0 25px 25px 0;
    padding: 50px 0 50px 12%;
    margin-bottom: 100px;
}

#main-discutons {
    padding: 0;
    width: 100vw;
    background: url('images/bg-ellipse.png');
    background-repeat: no-repeat;
}




h1 {
    font-size: 2.4em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.6em;
}

#main-intro, #main-intro-presta-falc {
    padding-top: 60px;
    position: relative;
}

#main-intro::after {
    content: "";
    position: absolute;
    background: url(images/line2.svg);
    background-repeat: no-repeat;
    width: 300px;
    height: 4px;
    bottom: 0;
    left: 300px;
}



#main-pourquoi::after {
    content: "";
    position: absolute;
    background: url(images/line2.svg);
    background-repeat: no-repeat;
    width: 400px;
    height: 4px;
    bottom: 0px;
    left: 0;
}

#main-me::after {
    content: "";
    position: absolute;
    background: url(images/line3.svg);
    background-repeat: no-repeat;
    width: 400px;
    height: 4px;
    bottom: -100px;
    right: 0;
}

#main-falc {
    position: relative;
}
#main-falc::after {
    content: "";
    position: absolute;
    background: url(images/line1.svg);
    background-repeat: no-repeat;
    width: 400px;
    height: 4px;
    left: 0;
    bottom: 0px;
}

#main-intro svg {
    height: 100%;
    max-width: 30%;
    position: absolute;
    top: 0;
    right: 0;
}

#main-pourquoi {
    position: relative;
    display: flex;
    width: 100%;
    padding-bottom: 100px;
}

#bg-pourquoi {
    width: calc(100vw - 24% - 20%);
}

#main-me {
    display: flex;
    width: 100%;
    padding-bottom: 100px;
}

#bg-me {
    width: calc(100vw - 24% - 20%);
}

#photo {
    position: relative;
    width: 20%;
}

#img-svg {
    height: 100%;
    max-width: 150%;
    position: absolute;
    top: 0;
    right: -200px;
}




#contact {
    padding-top: 50px;
}

#contact section {
    padding: 20px 12%;
}

form {
    width: calc(100vw - 400px - 40px);
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

form div {
    margin: 30px 0;
}

input, textarea {
    display: block;
    width: calc(100% - 20px);
    padding: 10px 0px;
    font-size: 1.2em;
    margin: 10px 0;
    border: none;
    border-bottom: solid 3px var(--bg-color-2);
}

label {
    display: block;
    font-size: 1.2em;
    margin: 5px 0;
}

form button {
    text-align: center;
    text-decoration: none;
    background-color: var(--bg-color-2);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    margin: 20px auto;
    display: block;
    width: fit-content;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

#error {
    display: none;
}

#main-prestations {
    margin-top: 100px;
}

#main-prestations h2 {
    text-align: center;
}

#prestations-list {
    width: calc(100vw - 100px);
    margin: 50px auto;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#prestations-list article {
    width: 23%;
    border: solid 3px var(--bg-color-2);
    border-radius: 10px;
    background: white;
    position: relative;
}



#prestations-list article p {
    height: 200px;
}

#prestations-list article h3 {
    color: #FD7B41;
    font-size: 1.3em;
    height: 50px;
}

.img-prestation {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
}

.logo-prestation {
    display: block;
    position: absolute;
    top: 3px;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

#prestations-list article div {
    padding: 15px;
}

#content-falc {
    display: flex;
    align-items: center;
}

#img-falc {
    width: 300px;
    margin-right: 50px;
}

#img-falc img {
    display: block;
    width: 100%;
}

@media only screen and (max-width: 600px) {
    header {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    header nav {
        display: flex;
        flex-direction: column;
    }

    header nav a {
        display: block;
    }

    header nav a.current::after {
        left: -20px;
        top: 0.4em;
    }

    section {
        padding: 50px 5%;
        margin-bottom: 100px;
        width: calc(100vw - 10%);
    }

    #fil-ariane {
        padding: 10px 5%;
    }

    #img-rond {
        position: inherit;
        border-radius: 50%;
        height: 230px;
        width: 230px;
        top: 0;
        right: 1%;
        border: solid 4px var(--bg-color-2);
    }

    #partenaires {
        padding: 0 2vw;
    }

    #partenaires-list {
        flex-direction: column;
    }

    .partenaire img {
        display: block;
        margin: 20px auto;
        max-width: 80%;
        max-height: 90px;
        filter: grayscale(0);
        transition: filter 0.5s;
        cursor: grab;
    }

    #bg-partenaires {
        border-radius: 20px;
        width: 100%;
        margin-left: 0;
        padding-bottom: 50px;
    }

    #bg-intro, #bg-falc, #bg-me {
        width: 80%;
    }

    

    #main-intro svg {
        height: 100%;
        max-width: 30%;
        position: absolute;
        right: 0;
        top: 50%;
    }

    #main-me {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }

    #bg-me {
        width: calc(100vw - 10%);
    }

    #contact section {
        padding: 20px 5%;
    }

    form {
        width: calc(100% - 40px);
    }

    #prestations-list {
        display: flex;
        flex-direction: column;
    }

    #prestations-list article {
        width: 100%;
        height: fit-content;
        margin: 10px auto;
    }
      footer div {
        width: 50%;
    }
}

@media screen and (min-width: 1600px) {
    section {
        padding: 50px 25%;
        width: calc(100vw - 50%);
    }

    header {
        padding: 10px 25%;
    }

    #fil-ariane {
        padding: 10px 25%;
    }

    #bg-falc {
        padding-left: 25vw;
        width: 100%;
    }

    #partenaires {
        padding: 0 25vw;
        width: calc(100vw - 50%);
    }

    footer {
        padding: 20px 25%;
        color: white;
    }

    footer a {
        color: white;
    }

    footer div {
        width: 30%;
    }

    #contact section {
        padding: 20px 25%;
    }

    form {
        width: calc(50vw);
      
    }

    
}

#main-presta-falc {
    background-color: white;
}

#main-presta-falc article {
    display: flex;
    align-items: center;
}

.container-img-presta {
    width: 310px;
}

.container-img-presta img {
    width: 100%;
    object-fit: none;
    object-position: 100% 100%;
}

.container-presta-desc {
    width: calc(100% - 300px);
}

.container-presta-desc h4 {
    font-size: 1.3em;
}

#main-tarifs {
    background-color: var(--bg-color-1);
    border: solid 3px var(--bg-color-2);
    border-radius: 10px;
    padding: 50px 50px;
    width: calc(100vw - 24%);
    margin: auto;
    margin-bottom: 100px;
}

ul  {
  padding-left: 0;
}
ul li {
   list-style-position: inside;
}