/* Fondations globales du site public. */

@font-face {
    font-family: Manrope;
    src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --ink: #0f2948;
    --ink-soft: #4f657d;
    --blue: #2f78dc;
    --blue-dark: #185cb8;
    --blue-pale: #eaf5ff;
    --teal: #35a9aa;
    --teal-dark: #238c91;
    --teal-pale: #e9f8f6;
    --yellow: #ffd978;
    --yellow-pale: #fff4c9;
    --peach: #ffe1cc;
    --coral: #ed8e70;
    --purple: #835bd7;
    --surface: #ffffff;
    --canvas: #fffdf9;
    --line: #dbe5ee;
    --line-soft: #eaf0f5;
    --shadow: 0 18px 55px rgba(32, 69, 104, .11);
    --shadow-soft: 0 8px 28px rgba(32, 69, 104, .08);
    --radius: 18px;
    --radius-sm: 11px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0px;
    color: var(--ink);
    background: var(--canvas);
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizelegibility;
}

body.nav-open {
    overflow: hidden;
}

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

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

button, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

svg {
    width: 1em;
    height: 1em;
    stroke-width: 1.8;
}

h1, h2, h3, p {
    margin-top: 0px;
}

h1, h2, h3 {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 860px;
}

.section {
    padding: 72px 0px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0px, 0px, 0px, 0px);
    white-space: nowrap;
    border: 0px;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: white;
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0px);
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--blue-dark);
    font-weight: 750;
    font-size: 0.89rem;
}

.lead {
    max-width: 720px;
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading h2 {
    margin-bottom: 0px;
}

.centered {
    text-align: center;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.split-heading a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--blue-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 750;
    font-size: 0.92rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: rgba(24, 92, 184, 0.16) 0px 8px 24px;
}

.button-primary, .button-blue {
    color: rgb(255, 255, 255);
    background: var(--blue);
}

.button-primary:hover, .button-blue:hover {
    background: var(--blue-dark);
}

.button-teal {
    color: rgb(255, 255, 255);
    background: var(--teal);
}

.button-teal:hover {
    background: var(--teal-dark);
}

.button-secondary, .button-light {
    color: var(--ink);
    background: rgb(255, 255, 255);
    border-color: var(--line);
}

.button-small {
    min-height: 40px;
    padding: 9px 18px;
    font-size: 0.82rem;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button-row.center {
    justify-content: center;
}

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .section {
        padding: 54px 0px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    h2 {
        font-size: 1.85rem;
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    *, ::before, ::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

