:root {
    --Brown: #CF7041;
    --Pink: #E5C5BD;
    --Yellow: #E2A55E;
    --Blue: #5E718B;
    --Green: #96AA9A;
    --Gray: #B4BfC5;

    --Black: #1E1E1E;
    --Red: #C94A4A;
    --White: #FAFAFA;
}

* {
    color: var(--Black);
}

/* =========================================================
   Page top / Hero
========================================================= */
.page-top {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
    background-image: url('../images/background-image.svg');
    background-repeat: no-repeat;
    background-position: 0 -200px;
    background-size: cover;
}

.page-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

h1 {
    margin-top: 150px;
}

/* =========================================================
   Header & Navigation
========================================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

span.logo {
    font-size: 18px;
    font-weight: 500;
}


/* =========================================================
   Typography
========================================================= */

div.page-top>p {
    margin: 0 20px;
    font-weight: 300;
}

h2.presentation {
    display: block;
    width: 60%;
    max-width: 800px;
    margin-top: 50px;
    margin-bottom: 0;
    margin-left: 20px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    text-wrap: balance;
}

section#approche {
    margin-top: 70px;
}

section#approche h2,
section#a-propos h2 {
    font-size: 35px;
    font-weight: 500;
}


section#multimedia h2,
section#freelance h2 {
    font-size: 25px;
    font-weight: 400;
}

section#multimedia p,
section#freelance p {
    font-size: 14px;
}
/* =========================================================
   Accordion
========================================================= */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.accordion-item {
    overflow: hidden;
}

.accordion-item.item1 {
    background-color: var(--Yellow);
}

.accordion-item.item2 {
    background-color: var(--Green);
}

.accordion-item.item3 {
    background-color: var(--Red);
}

.accordion-item.item4 {
    background-color: var(--Blue);
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    color: inherit !important;
}

.accordion-title::after {
    content: '+';
    font: 1.2rem;
}

.accordion-title[aria-expanded="true"]::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0;
    transition:
        max-height 0.25s cubic-bezier(0.65, 0.05, 0.36, 1),
        padding 0.25s cubic-bezier(0.65, 0.05, 0.36, 1),
        opacity 0.2s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.accordion-content p {
    margin: 1rem 0;
}

.accordion-title[aria-expanded="true"]+.accordion-content {
    max-height: 500px;
    padding: 1rem 1.5rem;
    opacity: 1;
}

@media (max-width: 768px) {

    .page-top {
        padding-bottom: 50px;
        background-position: 0 10px;
    }

    .page-top::after {
        height: 30px;
    }
}