* {
    font-family: "Inter", sans-serif;
    color: black;
    text-decoration: none;
    scroll-behavior: smooth;
}

p {
    margin: 0;
}

h2 {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.page1 {
    min-height: 100vh;
    background-image: url("../assets/img/Hexagones.webp"), linear-gradient(90deg, white 0%, white 75%, #FFB500 75%, #FFB500 100%);
    background-size: auto;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 20px;
    margin-top: -20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    background: #f7f7f7;
    border-radius: 100px;
    padding-inline: 30px;
    padding-block: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
    position: relative;
}

.header-milieu {
    padding-inline: 30px;
    padding-block: 10px;
    border-radius: 100px;
    background-color: #F0F0F0;
    margin-left: 9.375rem;
    display: flex;
    gap: 30px;
    font-weight: 700;
}

.header-fin {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-inscription {
    background-color: #FFA600;
    padding-inline: 20px;
    padding-block: 10px;
    border-radius: 100px;
    font-weight: 700;
    color: white;
}

.header-connexion {
    background-color: #FFA600;
    padding-inline: 20px;
    padding-block: 10px;
    border-radius: 100px;
    font-weight: 700;
    color: white;
}

.page1-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.content-gauche {
    max-width: 40%;
}

.content-gauche h1 {
    font-family: "Bakbak One", serif;
    font-size: 75px;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
    margin-bottom: 2.5rem;
}

.content-gauche p {
    font-size: 18px;
    margin: 0;
    margin-bottom: 2.5rem;
}

.content-gauche a {
    background: #FFB500;
    padding-inline: 40px;
    padding-block: 10px;
    border-radius: 100px;
    color: white;
}

.content-droite img {
    width: 600px;
    height: 626px;
}


table tr td {
    text-transform: uppercase;
    font-family: "Bakbak One", serif;
    font-weight: 400;
    padding: 10px;
    width: 25%;
    height: 80px;
    background: #F7F7F7;
    border: 2px solid black;
}

.page2 {
    position: relative;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
}

.page2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/img/background_page2.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.page2-container {
    display: flex;
    align-items: center;
    height: 80%;
    width: 75%;
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 48%, rgba(255, 181, 0, 1) 100%);
    margin-inline: auto;
}

.page2-content {
    margin-left: 10%;
    margin-top: 2%;
    max-width: 400px;
}

.page2-content h2 {
    font-family: "Bakbak One", serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
    margin-bottom: 2.5rem;
}

.content-details {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.content-details img {
    width: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-horizontal {
    display: flex;
    width: 300vw;
    height: 100vh;
}

.page2,
.page3,
.page4 {
    flex: 0 0 100vw;
    height: 100vh;
}

.page3 {
    position: relative;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
}

.page3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/img/background_page3.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.page3-container {
    display: flex;
    align-items: center;
    height: 80%;
    width: 75%;
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 48%, rgba(255, 181, 0, 1) 100%);
    margin-inline: auto;
}

.page3-content {
    margin-left: 10%;
    margin-top: 2%;
    max-width: 400px;
}

.page3-content h2 {
    font-family: "Bakbak One", serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
    margin-bottom: 2.5rem;
}

.page4 {
    position: relative;
    height: 100vh;
    z-index: 2;
    display: flex;
    align-items: center;
}

.page4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/img/background_page4.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
}

.page4-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 80%;
    width: 75%;
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 48%, rgba(255, 181, 0, 1) 100%);
    margin-inline: auto;
}

.page4-content {
    margin-left: 10%;
    margin-top: 2%;
    max-width: 400px;
    z-index: 4;
    position: relative;
}

.page4-content h2 {
    font-family: "Bakbak One", serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
    margin-bottom: 2.5rem;
}

.page4-content p {
    margin-bottom: 1rem;
}

.content-details p {
    margin: 0;
}

.content-details-cta {
    background: #FFB500;
    padding: 5px 15px;
    font-weight: 400;
    border-radius: 30px;
    color: white;
}

.scroll-vertical {
    min-height: 100vh;
}

.page5 {
    position: relative;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
}

.page5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../assets/img/background_page5.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.page5-container {
    display: flex;
    align-items: center;
    height: 80%;
    width: 75%;
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 48%, #445B1F 100%);
    margin-inline: auto;
}

.page5-content {
    max-width: 80%;
    margin-left: 9%;
    margin-top: 2%;
}

.page5-content>.content-details {
    display: block;
}

.content-details h3 {
    color: #445B1F;

}

.page5-content h2 {
    font-family: "Bakbak One", serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 0.9;
    margin: 0;
    margin-bottom: 2.5rem;
    color: #445B1F;
}

.page5-content p {
    margin-bottom: 1rem;
}

footer {
    background-color: #f8f8f8;
    padding: 20px 40px;
    border-top: 1px solid #ccc;
}

.footer-mobile {
    display: none;
}

.footer-desktop {
    display: block;
}

.footer-desktop .footer-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.footer-desktop .footer-section {
    flex: 1;
    margin: 0 20px;
}

.footer-desktop .footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-desktop .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-desktop .footer-section ul li {
    margin-bottom: 8px;
}

.footer-desktop .footer-section ul li a {
    color: #333;
    transition: color 0.3s;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.footer-bottom a {
    text-decoration: none;
    color: #555;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #000;
}

.menu-hamburger {
    display: none;
}

@media screen and (max-width: 570px) {
    body {
        overflow-x: hidden;
    }

    .header-milieu,
    .header-fin {
        display: none;
    }

    header {
        display: none;
    }


    .menu-hamburger {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #FFB500;
        padding: 10px 20px;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
        box-sizing: border-box;
    }

    .menu-hamburger img:first-child {
        height: 40px;
    }

    .menu-icon {
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .menu-items {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        margin: 0;
        list-style: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .menu-items.active {
        display: block;
    }

    .menu-items li {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .menu-items li:last-child {
        border-bottom: none;
    }

    .menu-items a {
        color: #333;
        font-weight: 600;
        display: block;
        width: 100%;
    }

    .menu-items .header-connexion {
        background: none;
        color: #333;
    }

    /* Footer mobile styles */
    .footer-mobile {
        display: block;
    }

    .footer-desktop {
        display: none;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo img {
        height: 40px;
    }

    .accordion-item {
        border-bottom: 1px solid #eee;
    }

    .accordion-header {
        padding: 15px 0;
        position: relative;
        cursor: pointer;
        margin: 0;
    }

    .accordion-header::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .accordion-item.active .accordion-header::after {
        content: '-';
    }

    .accordion-content {
        display: none;
        padding: 0 0 15px 0;
    }

    .accordion-item.active .accordion-content {
        display: block;
    }

    .accordion-content ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .accordion-content li {
        margin-bottom: 10px;
    }

    .accordion-content a {
        color: #666;
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 30px;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a {
        display: inline-block;
        margin: 0 10px;
        color: #666;
        font-size: 14px;
    }

    .page1 {
        min-height: auto;
        padding: 20px;
        background-image: none;
        margin-top: 60px;
    }

    .content-droite img {
        display: none;
    }

    .page2,
    .page3,
    .page4 {
        position: static;
        height: auto;
        background: none;
        margin: 20px 0;
    }

    .page2::before,
    .page3::before,
    .page4::before,
    .page5::before {
        background: none;
    }

    .page2-container,
    .page3-container,
    .page4-container {
        width: 90%;
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    .page2-content,
    .page3-content,
    .page4-content {
        margin: 0;
        max-width: 100%;
    }

    .scroll-horizontal {
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
    }

    .scroll-vertical {
        min-height: auto;
    }

    table tr td {
        font-size: 14px;
        padding: 10px;
        line-height: 1.4;
    }

    .page5 {
        position: static;
        height: auto;
        background: none;
        margin: 20px 0;
    }

    .page5-container {
        width: 90%;
        padding: 20px;
        flex-direction: column;
    }

    .page5-content {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .page1 {
        background: white;
        padding-top: 60px;
    }

    .page1-content {
        flex-direction: column;
        padding: 20px;
    }

    .content-gauche {
        max-width: 100%;
        text-align: center;
    }

    .content-gauche h1 {
        font-size: 40px;
        margin-bottom: 1.5rem;
    }

    table {
        width: 100%;
        margin: 20px 0;
    }

    table tr {
        display: flex;
        flex-direction: column;
    }

    table tr td {
        width: auto;
        height: auto;
        font-size: 14px;
        text-align: center;
    }

    .page2-container,
    .page3-container,
    .page4-container,
    .page5-container {
        width: 90%;
        height: auto;
        margin: 20px auto;
    }

    .page2-content,
    .page3-content,
    .page4-content,
    .page5-content {
        margin: 20px;
        padding: 20px;
        max-width: 100%;
    }

    .page2-content h2,
    .page3-content h2,
    .page4-content h2,
    .page5-content h2 {
        font-size: 30px;
        margin-bottom: 1.5rem;
    }

    .content-details {
        margin-bottom: 15px;
    }

    .content-details img {
        width: 30px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-section {
        margin: 0;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom a {
        margin: 5px 0;
    }

    .logo {
        text-align: center;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .content-gauche h1 {
        font-size: 32px;
    }

    .page2-content h2,
    .page3-content h2,
    .page4-content h2,
    .page5-content h2 {
        font-size: 24px;
    }

    .content-details p {
        font-size: 14px;
    }
}

.desktop-header {
    display: none;
}

.header-logo img {
    height: 50px;
}

.header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.header-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.header-inscription,
.header-connexion {
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.header-inscription {
    border-radius: 100px;
}

.header-connexion {
    border-radius: 100px;
}

.menu-hamburger {
    display: none;
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .menu-hamburger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
}