/* +P plusproduit 202509 */

:root {
    --color-bg: #122454;
    --color-text: #f5f5f5;
    --color-accent: #62f1b1;
    --color-dark: #161726;
}

html,
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    background: var(--color-dark);
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: .08rem;
}

@media screen and (max-width: 768px) {

    html,
    body {
        font-size: 16px;
    }

}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* #region Structure -------------------- */

.logo {
    width: 230px;
}

footer .logo {
    width: 150px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5vh 5vw 15vh;
    opacity: 0;
    transform: translateY(100px);
    animation: intro .5s ease-out forwards 0.5s;
}

footer .container {
    animation-delay: 4s;
}

@keyframes intro {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main .container {
    padding-top: 20vh;
    padding-bottom: 20vh;
    position: relative;
}

main {
    /* background: var(--color-bg); */
    background: linear-gradient(135deg, #0d1a3a 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pres {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 4rem;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flex {
    display: flex;
    gap: 1rem 2rem;
}

.refs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10%;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .flex {
        flex-direction: column;
    }

    .refs {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.flex>* {
    flex: 1;
}

footer {
    background: linear-gradient(#16161b 0%, var(--color-dark) 10%);
    font-size: .8rem;
}

/* #endregion */


/* #region Typo -------------------- */

h1 {
    font-weight: 500;
    font-size: 3rem;
    /* border-bottom: 1px solid var(--color-text); */
    padding-bottom: .3em;
    margin: 5rem 0 .3em;
    line-height: 1;
    letter-spacing: -.01em;
}

h2 {
    font-weight: 500;
    margin: 5rem 0 2rem;
}

span {
    color: var(--color-accent);
}

p {
    margin: .2rem 0 1.5rem 0;
}

.lead {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    font-weight: 400;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* #endregion */

.cta {
    display: inline-block;
    padding: .8rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color .3s ease;
}

.cta:hover {
    background: var(--color-text);
    text-decoration: none;
}

.cta::after {
    content: " →";
    font-size: 2em;
    line-height: .1;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
    left: 0.2em;
    transition: .8s ease;
}

.cta:hover::after {
    left: 0;
}