/* Akelo website base styles - derived from the supplied design guide. */

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Light.woff2') format('woff2'), url('fonts/Poppins-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.woff2') format('woff2'), url('fonts/Poppins-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Medium.woff2') format('woff2'), url('fonts/Poppins-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.woff2') format('woff2'), url('fonts/Poppins-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.woff2') format('woff2'), url('fonts/Poppins-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --akelo-black: #0e0b0b;
    --akelo-black-hover: #221d1d;
    --akelo-active-link: #587a90;
    --akelo-muted: #999999;
    --akelo-page-gradient: radial-gradient(circle at 18% 15%, #faf4f1 0, transparent 30%), radial-gradient(circle at 90% 35%, #eff4fc 0, transparent 38%), linear-gradient(135deg, #f7f1f0 0%, #f2f5fb 52%, #f5eff5 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: var(--akelo-black);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

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

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

p {
    margin: 0;
}

p+p {
    margin-top: 1.125rem;
}

p a {
    text-decoration: underline;
}

/*a.is-active,
[aria-current='page'] {
    color: var(--akelo-active-link);
}*/

input,
button,
select,
textarea {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

/* The white header sits above this surface. Apply .wrapper to the rest of the site. */
.wrapper {
    border-radius: 50px 50px 0 0;
    margin-top: -40px;
    overflow: hidden;
    position: relative;
    background-image: url(../imgs/background.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

section,
.section {
    padding: 132px 20px 203px;
}

.header-center .section-header {
    justify-content: center;
}
.section-header.section-header-px-md {
    padding: 0 calc(100% / 13);
}

.section-header.section-header-md {
    margin-bottom: 35px;
}
.section-header.section-header-xl {
    margin-bottom: 80px;
}

.section-header.section-header-lg {
    margin-bottom: 125px;
}

.section-header.section-header-center {
    text-align: center;
}

.section-header p {
    font-weight: 300;
}

.mt-lg {
    margin-top: 90px;
}

.mt-md {
    margin-top: 50px;
}

.pt-0 {
    padding-top: 0 !important;
}

.container {
    margin-inline: auto;
    max-width: 1290px;
}

.container-md {
    margin-inline: auto;
    max-width: 1050px;
}

.row {
    display: flex;
    gap: 16px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
    margin: 0 0 20px;
}

h1,
.h1 {
    font-size: 67px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 74px;
}

h2,
.h2 {
    font-size: 54px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 60px;
}

h3,
.h3 {
    font-size: 30px;
    font-weight: 300;
    line-height: 40px;
}

h4,
.h4 {
    font-size: 26px;
    font-weight: 400;
    line-height: 40px;
}

h5,
.h5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

/* Use for the small underlined section heading. */
.eyebrow {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 400;
    gap: 12px;
    line-height: 30px;
    margin-bottom: 30px;
}

.eyebrow::after {
    background: currentColor;
    content: '';
    height: 1px;
    width: 35px;
}

.eyebrow.eyebrow-center {
    align-items: center;
}

.eyebrow.eyebrow-light {
    color: #ffffff;
}

.eyebrow.eyebrow-lg {
    margin-bottom: 65px;
}

/* Primary and outlined secondary CTAs. Add .btn-light for the secondary version. */
.btn {
    align-items: center;
    background: var(--akelo-black);
    border: 2px solid var(--akelo-black);
    border-radius: 9px;
    color: #ffffff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 600;
    gap: 16px;
    justify-content: center;
    line-height: 1.2;
    min-height: 98px;
    padding-inline: 40px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--akelo-black-hover);
    border-color: var(--akelo-black-hover);
    color: #ffffff;
}

.btn:focus-visible,
.main-navigation a:focus-visible {
    outline: 2px solid var(--akelo-active-link);
    outline-offset: 3px;
}

.btn svg {
    height: 20px;
    transition: transform .2s ease;
    width: 20px;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn.btn-down:hover svg {
    transform: translateY(3px);
}

.btn.btn-light {
    background: transparent;
    color: var(--akelo-black);
}

.btn.btn-light:hover,
.btn.btn-light:focus-visible {
    background: var(--akelo-black);
    border-color: var(--akelo-black);
    color: #ffffff;
}

.btn.btn-light-full {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--akelo-black);
}

/* Navigation and editorial metadata. */
.main-navigation a {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.main-navigation a[aria-current='page']::after {
    background: currentColor;
    content: '';
    display: block;
    height: 1px;
    margin-top: 12px;
    width: 26px;
}

.blog-meta {
    color: var(--akelo-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.footer-small {
    color: var(--akelo-muted);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 21px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.article-simple {
    padding: 132px 20px 203px;
}
.article-simple p+h2,
.article-simple p+h3 {
    margin-top: 60px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .btn svg {
        transition: none;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
    }

    .wrapper {
        border-radius: 15px 15px 0 0;
        margin-top: -10px;
    }

    section,
    .section {
        padding: 93px 20px;
    }

    .section-header.section-header-px-md {
        padding: 0;
    }

    .section-header.section-header-lg,
    .section-header.section-header-xl {
        margin-bottom: 50px;
    }

    .mt-lg {
        margin-top: 60px;
    }

    h1,
    .h1 {
        font-size: 40px;
        line-height: 46px;
    }

    h2,
    .h2 {
        font-size: 30px;
        line-height: 36px;
    }

    h3,
    .h3 {
        font-size: 20px;
        line-height: 28px;
    }

    h4,
    .h4 {
        font-size: 16px;
        line-height: 24px;
    }

    h5,
    .h5 {
        font-size: 12px;
        line-height: 18px;
    }

    .eyebrow {
        font-size: 12px;
        gap: 10px;
        line-height: 18px;
    }

    .eyebrow::after {
        width: 28px;
    }

    .btn {
        border-radius: 7px;
        font-size: 14px;
        min-height: 57px;
        padding-inline: 24px;
    }

    .btn.btn-light {
        border-width: 1px;
    }

    .btn svg {
        height: 16px;
        width: 16px;
    }

    .main-navigation a {
        font-size: 14px;
    }

    .blog-meta {
        font-size: 10px;
        line-height: 16px;
    }

    .footer-small {
        font-size: 10px;
        line-height: 16px;
    }

    /* Carrousel mobile (une carte à la fois), activé en JS via .mobile-carousel. */
    .mobile-carousel {
        display: flex !important;
        gap: 14px;
        margin-inline: -7px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .mobile-carousel > * {
        flex: 0 0 100%;
        max-width: 100% !important;
        scroll-snap-align: center;
    }

    .mobile-carousel-nav {
        display: flex;
        justify-content: center;
        gap: 13px;
        margin-top: 25px;
    }

    .mobile-carousel-nav button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 43px;
        height: 38px;
        border: 1px solid var(--akelo-black);
        border-radius: 6px;
        background: none;
        color: var(--akelo-black);
    }

    .mobile-carousel-nav button:disabled {
        border-color: #cccccc;
        color: #cccccc;
        cursor: default;
    }

    .mobile-carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) {
    .mobile-carousel-nav {
        display: none;
    }
}