:root {
    color-scheme: light;
    --ink: #30243a;
    --muted: #62586b;
    --deep: #352047;
    --plum: #583274;
    --plum-dark: #44235e;
    --soft-plum: #eee4f6;
    --gold: #e5bd64;
    --gold-ink: #775114;
    --paper: #fffcf9;
    --white: #fff;
    --border: #e7ddeb;
    --display: Georgia, 'Times New Roman', serif;
    --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--plum); text-underline-offset: .18em; }
a:hover { color: var(--plum-dark); }
:focus-visible { outline: 3px solid #9b680a; outline-offset: 4px; }
h1, h2, h3 { color: var(--deep); font-family: var(--display); line-height: 1.12; }
p { margin-top: 0; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; inset: .75rem auto auto .75rem; transform: translateY(-200%); background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--border); }
.masthead { min-height: 5.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; color: var(--deep); text-decoration: none; }
.brand img, .footer-brand img { width: 3.15rem; height: 3.15rem; border-radius: 50%; object-fit: cover; object-position: 57% center; }
.brand strong, .footer-brand strong { display: block; font: 700 1.4rem/1.1 var(--display); letter-spacing: .04em; }
.brand > span > span { display: block; margin-top: .22rem; font-size: .81rem; line-height: 1.2; }
.navigation { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.navigation > a, .nav-group > summary { color: var(--ink); font-weight: 650; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.navigation > a:hover, .navigation a[aria-current], .nav-group summary:hover, .nav-group summary.active-group { color: var(--plum); text-decoration: underline; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; cursor: pointer; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ''; display: inline-block; width: .39rem; height: .39rem; margin: 0 0 .18rem .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-group[open] summary::after { transform: rotate(225deg); margin-bottom: -.03rem; }
.nav-group ul { position: absolute; z-index: 3; top: calc(100% + 1rem); left: -.75rem; min-width: 16rem; width: max-content; max-width: 19rem; max-height: min(65vh, 32rem); overflow: auto; list-style: none; padding: .45rem; margin: 0; border: 1px solid var(--border); border-radius: .8rem; box-shadow: 0 .5rem 1.8rem #35204718; background: var(--white); }
.nav-group li a { display: block; padding: .46rem .65rem; border-radius: .4rem; color: var(--ink); font-size: .92rem; text-decoration: none; }
.nav-group li a:hover, .nav-group li a:focus-visible { color: var(--plum); background: var(--soft-plum); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .5rem; text-decoration: none; text-align: center; font: 700 .92rem/1.35 var(--body); transition: background-color .15s, border-color .15s; }
.button-solid { color: var(--white); background: var(--plum); }
.button-solid:hover { color: var(--white); background: var(--plum-dark); }
.button-outline { color: var(--plum-dark); border-color: #b39bc0; background: #fff9; }
.button-outline:hover { background: var(--white); border-color: var(--plum); }
.button-light { background: var(--white); color: var(--plum-dark); }
.button-light:hover { background: var(--soft-plum); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold-ink); font-size: .82rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }

.hero { overflow: hidden; background: linear-gradient(112deg, #f3eaf8 13%, #f7edf3 63%, #fceecf 100%); border-bottom: 1px solid #ecdde8; }
.hero-layout { min-height: 30rem; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: 4.35rem 5.3rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); letter-spacing: -.055em; margin: 0 0 1.1rem; }
.hero h1 em { color: var(--plum); font-weight: inherit; }
.hero-description { max-width: 34rem; margin-bottom: 1.5rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-mark { position: relative; isolation: isolate; padding: 1rem 1.45rem 1.25rem 1rem; }
.hero-mark::before { content: ''; position: absolute; z-index: -1; inset: 0 .15rem 0 1.75rem; border: 1px solid #b6915d; border-radius: 52% 52% 1.75rem 1.75rem / 44% 44% 1.75rem 1.75rem; transform: translate(.65rem, -.55rem); }
.logo-frame { padding: .72rem; border-radius: 1.5rem; background: #f9f4fc; box-shadow: 0 1rem 3rem #58327424; }
.logo-frame img { width: 100%; display: block; border-radius: .9rem; }

.shortcuts { position: relative; margin-top: -2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shortcut { min-height: 7.5rem; display: flex; align-items: flex-start; gap: .85rem; padding: 1.2rem; border: 1px solid var(--border); background: var(--white); border-radius: .8rem; color: var(--ink); text-decoration: none; box-shadow: 0 .25rem 1.2rem #35204709; }
.shortcut:hover { border-color: #bca3c9; color: var(--plum-dark); }
.shortcut > span > strong, .shortcut > span > span { display: block; }
.shortcut strong { line-height: 1.35; margin-bottom: .3rem; }
.shortcut > span > span { font-size: .91rem; line-height: 1.45; color: var(--muted); }
.shortcut-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; flex: 0 0 2.65rem; border-radius: .65rem; color: var(--plum); background: var(--soft-plum); }
.shortcut-icon svg { width: 1.5rem; height: 1.5rem; }
.icon-resources { color: var(--gold-ink); background: #fbebc7; }

.news-section { margin-block: 4.3rem 4.75rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.15rem; margin-bottom: 1.2rem; }
.section-heading h2, .join-section h2 { margin: 0; font-size: clamp(2.25rem, 4.5vw, 3.5rem); letter-spacing: -.045em; }
.text-link { font-weight: 700; text-decoration-thickness: 1px; }
.news-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1.2rem; }
.feature, .news-card { border-radius: 1rem; }
.feature { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.3rem, 3vw, 2rem); background: var(--plum-dark); color: #f9f0fb; }
.feature .eyebrow { color: #f3d78d; }
.feature h3 { margin: .18rem 0 .75rem; color: var(--white); font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.025em; }
.feature p:not(.eyebrow) { margin-bottom: 1.25rem; }
.feature .button { margin-top: auto; }
.news-card { overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.news-card > img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--soft-plum); }
.news-body { padding: 1.15rem; }
.news-body h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.news-body h3 a { color: var(--deep); text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; }

.join-section { padding-block: 2.7rem; background: #f4eaf6; border-top: 1px solid var(--border); }
.join-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.join-section h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); margin-bottom: .3rem; }
.join-section p { margin: 0; }
.site-footer { background: var(--deep); color: #f0e5f3; padding-top: 2.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr 1fr 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: flex-start; gap: .75rem; }
.footer-brand p { margin: .35rem 0 0; font-size: .9rem; line-height: 1.35; }
.footer-grid h2 { font: 750 .97rem/1.35 var(--body); margin: 0 0 .5rem; color: var(--white); }
.site-footer a { color: #f0e5f3; font-size: .92rem; }
.footer-grid a { display: block; width: fit-content; margin-bottom: .32rem; text-decoration: none; }
.site-footer a:hover { color: #ffe1a4; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: .9rem; border-top: 1px solid #ffffff35; font-size: .88rem; }

.inner-shell { min-height: 58vh; padding-bottom: 4rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .58rem; padding-block: 1.15rem; color: var(--muted); font-size: .9rem; }
.cms-page { margin-top: .45rem; max-width: 65rem; padding: clamp(1rem, 4vw, 3.2rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--white); }
.cms-page h1, .cms-page .page-header h2 { font-size: clamp(2rem, 4.6vw, 3.35rem); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.cms-page h2 { margin: 1.5rem 0 .65rem; font-size: clamp(1.45rem, 2.7vw, 2.05rem); }
.cms-page h3 { margin: 1.25rem 0 .55rem; font-size: 1.35rem; }
.cms-page .com-content-article__body { max-width: 75ch; overflow-wrap: anywhere; }
.cms-page :is(th, td) { padding: .45rem .65rem; border-bottom: 1px solid var(--border); }
.cms-page blockquote { margin-inline: 0; padding: .65rem 1.15rem; background: #f7f1f9; border-inline-start: .2rem solid #b392c5; }
.cms-page pre, .cms-page .table-responsive { overflow-x: auto; }
.cms-page :is(img, iframe, audio, video) { max-width: 100%; }
.cms-page .media-unavailable { color: var(--muted); }
.cms-page .media-unavailable::after { content: ' (lien indisponible)'; font-size: .88em; }
.error-page { padding-block: 5rem; }

@media (max-width: 65rem) {
    .wrap { width: calc(100% - 3.5rem); }
    .hero-layout { min-height: 0; }
    .hero-mark { padding-inline: 0 .8rem; }
    .masthead { gap: 1rem; }
    .brand > span > span { font-size: .76rem; }
    .navigation { gap: .85rem; }
}
@media (max-width: 49rem) {
    .wrap { width: calc(100% - 2.25rem); }
    .masthead { display: grid; grid-template-columns: 1fr auto; gap: .7rem .4rem; padding-top: .75rem; }
    .header-join { grid-column: 2; grid-row: 1; }
    .navigation { grid-row: 2; grid-column: 1 / -1; min-width: 0; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-bottom: .6rem; }
    .navigation > a, .nav-group > summary { font-size: .89rem; }
    .nav-group { position: static; }
    .nav-group ul { top: calc(100% - .15rem); left: 1.125rem; right: 1.125rem; width: auto; max-width: none; }
    .hero-layout { padding-block: 2.8rem 3.5rem; gap: 1rem; }
    .hero-mark { padding: .6rem; }
    .hero-mark::before { inset: .15rem .5rem .25rem .35rem; transform: translate(.42rem, -.35rem); }
    .logo-frame { padding: .45rem; }
    .shortcuts { gap: .55rem; }
    .shortcut { padding: .8rem; gap: .55rem; flex-direction: column; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .feature { grid-column: 1 / -1; }
    .news-section { margin-block: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
    .wrap { width: calc(100% - 1.75rem); }
    .hero-layout { grid-template-columns: 1fr; padding-bottom: 2.9rem; }
    .hero h1 { font-size: clamp(2.45rem, 10vw, 3.4rem); }
    .hero-mark { width: min(72%, 16rem); justify-self: center; }
    .nav-group ul { left: .875rem; right: .875rem; }
    .shortcuts { grid-template-columns: 1fr; gap: .55rem; margin-top: -1rem; }
    .shortcut { flex-direction: row; min-height: unset; align-items: center; }
    .news-grid, .footer-grid { grid-template-columns: 1fr; }
    .join-layout { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .button { transition: none; }
}
