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;
}

b, strong {
    font-weight: bold;
}

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;
}


/* FONTS */


@font-face {
    font-family: 'Play';
    src: url('/css/Play-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}





#page {
    background-image: url('/img/page-background.webp');
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    background-color: #fff;
    text-align: left;
    font-size: 14px;
    color: #fff;
    font-family: Outfit;
}


#header {
    height: 560px;
    background-image: url(/img/header-background.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    max-width: 2880px;
    margin: auto;
}

    #header.shrunk {
        height: 350px;
    }

#nav-container {
    height: 110px;
    width: 90vw;
    max-width: 1200px;
    padding-top: 20px;
    box-sizing: border-box;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    font-size: 18px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#logo-paesi {
    position: absolute;
    top: 30px;
    left: 0px;
}

.nav-link {
    position: relative;
    letter-spacing: 1px;
    line-height: 90px;
    text-transform: uppercase;
    height: 90px;
    vertical-align: middle;
    cursor: pointer;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
}

    .nav-link a {
        color: #FFF;
        text-decoration: none;
        display: block;
        height: 90px;
    }

    .nav-link.active {
        border-bottom: 6px solid #FFF;
    }

        .nav-link.active a {
            padding-top: 3px;
        }

    .nav-link:hover {
        border-bottom: 6px solid #238EDB;
        padding-top: 0px;
    }

        .nav-link:hover a {
            padding-top: 0px;
        }


.button-simple {
    border-radius: 25px;
    background-color: #ff6a00;
    border: 1px solid #ff6a00;
    justify-content: center;
    padding: 6px 20px;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
}

    .button-simple:hover, #footer-container .button-simple:hover {
        color: #FFF;
        transform: scale(1.05);
    }


#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    flex-direction: column;
    gap: 10px;
    display: flex;
    position: absolute;
    top: 100px;
    z-index: 10;
    background-color: rgba(35, 142, 219, 0.5);
    border-right: 1px solid #ff6a00;
}

#header-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

#h1-container {
    padding: 60px 20px 20px 20px;
    font-size: 50px;
    font-weight: bold;
    line-height: 55px;
    display: block;
    text-align: center;
    max-width: 600px;
}

.shrunk #h1-container {
    padding-top: 20px;
    font-size: 28px;
}

.shrunk #arrow-down-wrapper {
    margin: 0px;
}

    .shrunk #arrow-down-wrapper img {
        width: 50px;
        height: 50px;
    }

#header-text {
    padding: 20px;
    line-height: 24px;
    text-align: center;
    font-size: 16px;
    display: block;
    text-align: center;
    max-width: 700px;
}

#arrow-down-wrapper {
    position: relative;
    width: 46px;
    height: 46px;
    margin: 20px;
    padding: 10px;
}

    #arrow-down-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: opacity 0.1s ease;
        cursor: pointer;
    }

        #arrow-down-wrapper img.hover {
            opacity: 0;
        }

    #arrow-down-wrapper:hover img.normal {
        opacity: 0;
    }

    #arrow-down-wrapper:hover img.hover {
        opacity: 1;
    }




#page-content {
    background: #FFF;
    min-height: 800px;
    padding-top: 30px;
}


#arguments-container {
    max-width: 1200px;
    font-size: 18px;
    color: #262626;
    display: flex;
    flex-wrap: wrap;
    margin: 0px auto 40px;
    gap: 28px;
    padding-left: 21px;
}

.argument-container {
    position: relative;
    flex: 0 0 calc(25% - 28px);
    cursor: default;
}

    .argument-container img {
        position: absolute;
        top: -25px;
        left: 20px;
        background: #FFF;
        width: 40px;
        height: 40px;
        padding: 5px
    }

.argument {
    border-radius: 15px;
    border: 1px solid #238edb;
    box-sizing: border-box;
    padding: 35px 30px 20px;
    min-height: 227px;
}

.argument-text {
    align-self: stretch;
    position: relative;
    font-size: 14px;
    line-height: 24px;
    color: #4f4f4f;
    margin-top: 10px;
}

.argument-container:hover {
    transform: scale(1.05);
    z-index: 1; /* passe au-dessus des autres si chevauchement */
}

    .argument-container:hover .argument {
        border: 1px solid #ff6a00;
    }

.paragraph-right {
    margin: 0px auto;
    max-width: 1200px;
    color: #262626;
    width: calc(80% - 60px);
    padding: 0px 30px;
}

.paragraph-content {
    display: flex;
    flex-wrap: wrap;
}
.paragraph-full-content{
    margin-bottom:30px;
}
.paragraph-full-content p {
    display: block;
    margin: 1em 0;
}

.paragraph-title {
    line-height: 24px;
    width: 40%;
    box-sizing: border-box;
}

.paragraph-details {
    line-height: 24px;
    width: 60%;
    box-sizing: border-box;
    padding: 0px 30px;
}


.paragraph-details p{
    margin-bottom:10px;
}

    .paragraph-details.center {
        width: 100%;
        padding: 10px 10px 80px 10px;
        position: relative;
    }


.photo {
    float: left;
    width: 10%;
    margin: 10px;
    object-fit: cover;
    width: 80px;
    height: 79px;
    position: relative;
}



.photo img {
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
}




.sur-titre {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: Play;
    margin-bottom: 20px;
}

.paragraph-intro {
    font-size: 35px;
    line-height: 42px;
    font-weight: bold;
}

.secondaire, .paragraph-details a {
    color: #238edb;
}

.paragraph-details a:hover {
    color: #FFF;
}

.paragraph-black {
    margin: 0px auto 30px;
    background-color: #262626;
    min-height: 380px;
    color: #262626;
    width: 100%;
    box-sizing: border-box;
    background-image: url(/img/black-top-background.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100%;
    max-width: 2880px;
}

.paragraph-black-bg {
    width: 100%;
    min-height: 380px;
    box-sizing: border-box;
    background-image: url(/img/black-bottom-background.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

.paragraph-black p, .paragraph-black .sur-titre {
    color: #FFF;
    text-align: justify;
}

.paragraph-black .sur-titre {
    margin-top: 70px;
    text-align: center;
}

.paragraph-black .paragraph-intro{
    margin:20px;
}

.paragraph-black-container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}


footer {
    background-color: #262626;
    width: 100%;
    box-sizing: border-box;
}


#footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 80px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, 1fr);
}

.footer-title {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#footer-container p {
    line-height: 20px;
}

    #footer-container p a.tel {
        color: #238edb;
        text-decoration: underline;
    }

    #footer-container p a {
        color: #FFF;
        text-decoration: none;
    }


#footer-container a:hover {
    color: #238edb;
}


#footer-container p a.tel:hover {
    color: #FFF;
}

#page-content .glide__arrow {
    background: rgba(38, 38, 38, 0.5);
}

#page-content .glide__arrow:hover {
    background: rgba(38, 38, 38, 0.8);
}

.glide{
    margin-bottom:50px;
}

.mobile-text {
    display: none;
}

@media (max-width: 1023px) {
    #logo-paesi {
        top: 40px;
    }

    .logo-paesi {
        width: 100px;
    }

    #arguments-container {
        gap: 40px;
    }

    .argument-container {
        flex: 0 0 calc(50% - 34px);
    }

    .argument {
        min-height: 157px;
    }

    #mobile-menu-toggle {
        display: block;
    }

    #nav-container > .nav-link {
        display: none;
    }

    #mobile-menu.show {
        display: flex;
        max-height: 300px;
        transition: max-height 0.4s ease-in;
        position: absolute;
        top: 100px;
        z-index: 10;
        background-color: rgba(35, 142, 219, 0.5);
        border-right: 1px solid #ff6a00;
    }

    .nav-link {
        background: rgba(255, 255, 255, 0.8);
        width: 200px;
        text-align: right;
        height: 50px;
        line-height: 50px;
        padding-right: 10px;
    }

        .nav-link.active {
            border: 0px;
            border-right: 5px solid #ff6a00;
        }

        .nav-link a {
            color: #000;
        }

        .nav-link:hover {
            border-bottom: none;
            background: #FFF;
        }

    .paragraph-right {
        width: calc(100% - 60px);
    }

    .paragraph-black .sur-titre {
        margin-top: 35px;
    }

    #footer-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;
    }

    .footer-column {
        padding: 0px 30px;
    }
}

@media (max-width: 639px) {
    .argument-container {
        flex: 0 0 calc(100% - 28px);
    }
    .paragraph-intro{
        font-size:28px;
    }
    #h1-container {
        padding-top: 30px;
    }

    #header-text {
        padding: 15px 30px;
    }

    .paragraph-title, .paragraph-details {
        width: 100%;
        padding: 20px 0px;
    }

    #footer-container {
        grid-template-columns: 1fr;
    }
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }

    .glide__arrow--right{
        right:-1em;
    }
    .glide__arrow--left {
        left: -1em;
    }

    .glide .glide__slide img {
        width: 60vw;
    }
}
