@import url('fonts.css');
:root {
    --navy: #102e4b;
    --blue: #1959a0;
    --pink: #efaccb;
    --ink: #14314a;
    --muted: #53677a;
    --cream: #f7f6f2;
    --line: #dae0e5;
    --white: #fff;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}
button,
summary {
    cursor: pointer;
}
button {
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
figure {
    margin: 0;
}
p {
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 22px;
}
h1,
h2,
h3 {
    font-family: 'Manrope', Arial, sans-serif;
    letter-spacing: -0.045em;
    line-height: 1.18;
    margin: 0;
}
h2 {
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 600;
    margin: 18px 0 28px;
}
h3 {
    font-size: 25px;
    font-weight: 600;
    margin: 12px 0 16px;
}
em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--blue);
}
.container {
    max-width: 1280px;
    width: calc(100% - 112px);
    margin-inline: auto;
}
.section {
    padding-top: 94px;
    padding-bottom: 94px;
}
/* Keep the first content block close to the shared page banner. */
.page-hero + .page-content {
    padding-top: clamp(24px, 4vw, 40px);
}
.page-hero + .page-content > :first-child {
    margin-top: 0;
}
.eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 700;
    line-height: 1.7;
}
.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--pink);
    border-radius: 50%;
    margin-right: 9px;
}
.topbar {
    background: var(--navy);
    color: #e9edf1;
    font-size: 11px;
    letter-spacing: 0.4px;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
}
.topbar a {
    color: #fff;
}
.header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    gap: 25px;
}
.brand {
    display: block;
    flex-shrink: 0;
}
.brand-logo {
    position: relative;
    display: block;
    width: 164px;
    height: 70px;
    overflow: hidden;
}
.brand-logo img {
    position: absolute;
    top: -40px;
    left: 0;
    width: 164px;
    height: 164px;
    max-width: none;
}
nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 500;
}
nav > a:not(.button),
summary {
    padding: 18px 0;
}
nav a[aria-current],
nav a:hover,
summary:hover {
    color: var(--blue);
}
summary {
    list-style: none;
}
summary::-webkit-details-marker {
    display: none;
}
summary span {
    margin-left: 7px;
}
#navigation > details > summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 16px;
}
#navigation .nav-chevron { flex-shrink: 0; transition: transform .15s ease; }
#navigation > details[open] > summary .nav-chevron { transform: rotate(180deg); }
#navigation > details > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 850px) {
    #navigation > details > summary { justify-content: space-between; }
}
details {
    position: relative;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 250px;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px #102e4b15;
    border-radius: 8px;
}
.dropdown a {
    display: block;
    padding: 13px 12px;
    border-radius: 4px;
}
.dropdown a:hover {
    background: var(--cream);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    background: var(--navy);
    color: #fff;
    border: 1px solid transparent;
    padding: 18px 25px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    transition:
        background 0.2s,
        transform 0.2s;
}
.button:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}
.button span {
    font-size: 20px;
    line-height: 1;
}
.button.small {
    padding: 13px 20px;
    gap: 20px;
}
.button.pink {
    background: var(--pink);
    color: var(--navy);
}
.button.pink:hover {
    background: #ffd0e5;
}
.menu-toggle {
    display: none;
}
.hero {
    position: relative;
    isolation: isolate;
    background: var(--navy);
    min-height: 665px;
    overflow: hidden;
    color: white;
}
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('../images/ciel-rose-avion.jpg') center 52% / cover;
    transform: scaleX(-1);
}
.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #09233beb 0%, #0b2943d9 30%, #112e4b66 62%, #102e4b10 100%);
}
.hero-content {
    padding-top: 90px;
    padding-bottom: 64px;
}
.hero .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    color: #e6eaf0;
}
.hero h1 {
    font-size: clamp(52px, 6.8vw, 92px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -5px;
    margin: 26px 0;
}
.hero h1 em {
    color: var(--pink);
}
.hero p {
    color: #e4e9ee;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.actions {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #adc0d0;
    padding: 10px 0;
    line-height: 1.6;
}
.text-link span {
    font-size: 21px;
    line-height: 1;
}
.text-link:hover {
    color: var(--blue);
    border-color: var(--blue);
}
.text-link.light {
    color: #fff;
    border-color: #ffffff55;
}
.hero-coordinate {
    margin-top: 46px;
    font-size: 12px;
    letter-spacing: 2px;
}
.hero-coordinate > span {
    color: var(--pink);
    letter-spacing: 1px;
    margin: 0 12px;
}
.hero-coordinate small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.7px;
    margin-top: 10px;
    color: #d2dce5;
}
.hero-side {
    position: absolute;
    right: 24px;
    bottom: 66px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 2px;
    color: #fff;
}
.launch {
    background: #f0f3f5;
    font-size: 12px;
}
.launch-inner {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.launch .dot {
    background: var(--blue);
}
.launch b {
    margin-right: 8px;
}
.launch a {
    font-weight: 600;
    white-space: nowrap;
}
.launch a span {
    margin-left: 20px;
    font-size: 18px;
}
.mission {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 70px;
    align-items: center;
}
.mission h2 {
    margin-bottom: 0;
}
.mission-copy {
    padding-top: 24px;
    max-width: 430px;
}
.lead {
    font-size: 20px;
    color: var(--ink);
    line-height: 1.65;
}
.programs {
    background: var(--cream);
}
.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 40px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading > .text-link {
    margin-bottom: 6px;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.program-card {
    background: #fff;
    min-height: 352px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.program-card:nth-child(2) {
    background: #e7edf3;
}
.program-card:nth-child(3) {
    background: #f2dce6;
}
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px #102e4b12;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.symbol {
    font-size: 44px;
    line-height: 1;
}
.program-card .eyebrow {
    font-size: 9px;
    letter-spacing: 1.1px;
    margin-top: 28px;
}
.program-card h3 {
    font-size: 36px;
    margin-top: 10px;
}
.program-card p {
    font-size: 14px;
    line-height: 1.7;
}
.card-link {
    font-size: 12px;
    font-weight: 700;
    border-top: 1px solid #102e4b20;
    padding-top: 19px;
    display: flex;
    justify-content: space-between;
}
.card-link > span {
    font-size: 19px;
}
.community {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: center;
}
.community figure {
    position: relative;
}
.community img {
    height: 420px;
    width: 100%;
    object-fit: cover;
}
.community figcaption,
figcaption {
    font-size: 10px;
    color: var(--muted);
    margin-top: 9px;
}
.photo-stamp {
    background: var(--pink);
    position: absolute;
    bottom: 35px;
    right: -22px;
    padding: 20px 30px;
    transform: rotate(-5deg);
    font-family: Georgia, serif;
    font-size: 24px;
}
.secondary-link {
    display: flex;
    width: fit-content;
    margin-top: 8px;
    border: 0;
    font-weight: 400;
}
.engage {
    background: var(--navy);
    color: white;
}
.engage .eyebrow {
    color: #cbd6e2;
}
.engage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 52px;
}
.engage-grid > a {
    border-top: 1px solid #fff5;
    padding-top: 28px;
}
.engage-grid .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
    color: var(--pink);
}
.engage h3 {
    font-size: 27px;
}
.engage-grid p {
    color: #c4d0db;
    font-size: 14px;
    max-width: 320px;
}
.engage .text-link {
    color: white;
    border: 0;
    font-size: 12px;
}
.engage-grid > a:hover .text-link {
    color: var(--pink);
}
.event {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}
.event-date {
    background: #eaf0f5;
    padding: 25px 30px;
    text-align: center;
    flex-shrink: 0;
    min-width: 140px;
}
.event-date b {
    display: block;
    font-size: 21px;
}
.event-date span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}
.event h3 {
    font-size: 27px;
    margin-bottom: 10px;
}
.event p {
    font-size: 13px;
    margin: 0;
}
.event .eyebrow {
    font-size: 9px;
}
.round-arrow {
    margin-left: auto;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}
.closing {
    background: var(--pink);
    padding: 60px 0;
}
.closing-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.closing h2 {
    font-size: 43px;
    margin-bottom: 0;
}
.closing .button.pink {
    border-color: var(--navy);
    padding: 20px 25px;
}
.closing .button:hover {
    background: var(--navy);
    color: white;
}
footer {
    background: #f7f8fa;
    padding: 62px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}
.footer-brand {
    display: inline-block;
}
.footer-brand .brand-logo {
    width: 210px;
    height: 92px;
}
.footer-brand .brand-logo img {
    width: 210px;
    height: 210px;
    top: -51px;
}
.footer-grid p {
    font-size: 14px;
    margin-top: 18px;
}
.footer-grid small {
    font-size: 10px;
    color: var(--muted);
}
.footer-grid h3 {
    font-size: 13px;
    letter-spacing: 0;
    margin: 12px 0 20px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 700;
}
.footer-grid > div > a:not(.footer-brand) {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 14px 0;
}
.footer-grid a:hover {
    color: var(--blue);
}
.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 23px;
    margin-top: 45px;
    color: var(--muted);
    font-size: 10px;
}
.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.footer-credit strong {
    color: var(--navy);
    font-weight: 600;
}
.footer-credit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--blue);
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: var(--navy);
}
.footer-credit svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.skip {
    position: fixed;
    top: -100px;
    left: 10px;
    padding: 16px;
    background: white;
    z-index: 100;
}
.skip:focus {
    top: 10px;
}
:focus-visible {
    outline: 3px solid #c73877;
    outline-offset: 5px;
}
.page-hero {
    background: var(--navy);
    color: white;
    padding: 35px 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero .container {
    position: relative;
}
.breadcrumb {
    color: #c5d3e0;
    font-size: 11px;
    margin-bottom: 45px;
}
.breadcrumb span {
    margin-inline: 9px;
}
.page-hero .eyebrow {
    color: var(--pink);
}
.page-hero h1 {
    font-size: clamp(40px, 5.3vw, 72px);
    max-width: 880px;
    margin: 20px 0 25px;
    font-weight: 500;
}
.page-hero p {
    max-width: 650px;
    color: #d5e0ea;
    font-size: 18px;
    margin: 0;
}
.page-star {
    position: absolute;
    right: 0;
    top: 90px;
    font-size: 170px;
    line-height: 1;
    color: #efaccb33;
    z-index: 0;
    pointer-events: none;
}
.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.manifesto {
    background: var(--cream);
    padding: 55px;
}
.manifesto p {
    font-family: Georgia, serif;
    font-size: 30px;
    color: var(--navy);
    line-height: 1.7;
    margin-top: 25px;
}
.manifesto > span:last-child {
    font-size: 46px;
}
.subsection {
    margin-top: 80px;
}
.two-grid,
.three-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.three-grid {
    grid-template-columns: repeat(3, 1fr);
}
.info-card {
    padding: 32px;
    background: var(--cream);
    border-top: 2px solid var(--navy);
}
.info-card p {
    font-size: 15px;
    margin: 0;
}
.info-card h3 {
    font-size: 27px;
}
.inline-callout {
    background: #eaf0f5;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 35px;
    justify-content: space-between;
}
.inline-callout h2 {
    font-size: 34px;
}
.inline-callout p {
    margin-bottom: 0;
    max-width: 600px;
}
.inline-callout .button {
    flex-shrink: 0;
}
.program-detail {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 60px;
    padding: 30px 0 65px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 130px;
}
.program-detail + .program-detail {
    padding-top: 65px;
}
.big-number {
    font-family: Georgia, serif;
    font-size: 100px;
    color: #bccbd7;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.check-list li {
    padding: 10px 0;
    color: var(--muted);
}
.check-list li:before {
    content: '↗';
    color: var(--blue);
    margin-right: 15px;
}
.badge {
    display: inline-block;
    margin-top: 18px;
    background: #e8eef4;
    color: var(--navy);
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 3px;
}
.rounded-photo {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.form-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}
.join-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.form-panel {
    background: var(--cream);
    padding: 40px;
    min-width: 0;
}
.form-panel h2 {
    font-size: 30px;
    margin-top: 0;
}
.form-intro {
    font-size: 11px;
}
.form-panel label:not(.consent) {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 20px 0 9px;
}
.form-panel input:not([type='checkbox']),
select,
textarea {
    width: 100%;
    background: white;
    border: 1px solid #c9d3dc;
    padding: 13px 14px;
    border-radius: 3px;
    font-size: 16px;
    color: var(--navy);
    min-width: 0;
}
textarea {
    resize: vertical;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.field-row > :only-child {
    grid-column: 1 / -1;
}
.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 11px;
    line-height: 1.8;
    margin: 24px 0;
    color: var(--muted);
}
.consent input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 3px 0;
    accent-color: var(--navy);
}
.consent a {
    text-decoration: underline;
}
.form-panel .button {
    width: 100%;
}
.aside-note {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    margin-top: 25px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}
.support-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.support-options button {
    border: 1px solid var(--line);
    background: var(--cream);
    text-align: left;
    padding: 26px;
    transition: background 0.2s;
}
.support-options button[aria-pressed='true'] {
    border: 2px solid var(--blue);
    padding: 25px;
    background: #eaf0f5;
}
.support-options b {
    display: block;
    font-size: 22px;
    margin: 14px 0;
}
.support-options button > span:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.8;
    display: block;
}
.support-options button > span:last-child {
    font-size: 25px;
    margin-top: 15px;
}
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.field-help {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 8px;
}
.boarding-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 40px;
    flex-wrap: wrap;
}
.boarding-intro h2 {
    font-size: 32px;
    margin: 8px 0 10px;
}
.boarding-intro p {
    max-width: 560px;
    margin: 0;
    font-size: 14px;
}
.boarding-intro .ticket-actions {
    justify-content: flex-end;
}
.join-layout > #boarding-pass {
    min-width: 0;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}
.boarding-intro {
    scroll-margin-top: 112px;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}
.join-layout > .join-forms {
    margin-top: 12px;
}
/* Grand écran large et haut : la carte reste visible sous l’en-tête pendant toute la saisie. */
@media (min-width: 900px) and (min-height: 900px) {
    .join-layout > #boarding-pass {
        position: sticky;
        top: 112px;
        z-index: 5;
        padding-bottom: 12px;
        background: linear-gradient(#fff 85%, rgba(255, 255, 255, 0));
    }
    /* Un champ atteint au clavier s’affiche sous la carte collante, jamais derrière. */
    .join-forms :is(input, select, textarea, button) {
        scroll-margin-top: 560px;
    }
}
/* Grand écran : formulaire à gauche, carte à droite en format vertical (pass mobile).
   La colonne étroite déclenche la mise en page verticale de boarding-pass.css (@container ≤ 760 px). */
@media (min-width: 1101px) {
    .join-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
        column-gap: 48px;
        row-gap: 28px;
        align-items: start;
    }
    .join-layout > .boarding-intro {
        grid-column: 1 / -1;
        max-width: none;
    }
    .join-layout > #boarding-pass {
        grid-column: 2;
        grid-row: 2;
        max-width: none;
        margin: 0;
        padding-bottom: 0;
        background: none;
        position: static;
    }
    .join-layout > .join-forms {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }
    .join-forms :is(input, select, textarea, button) {
        scroll-margin-top: 140px;
    }
}
/* Collante seulement si l’écran est assez haut pour la montrer en entier. */
@media (min-width: 1101px) and (min-height: 860px) {
    .join-layout > #boarding-pass {
        position: sticky;
        top: 112px;
    }
}
.ticket-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}
.download-ticket {
    background: none;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    cursor: pointer;
}
.download-ticket[aria-busy="true"] {
    opacity: .6;
    cursor: wait;
}
.print-ticket {
    background: none;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    cursor: pointer;
}
.success-message,
.error-message {
    padding: 28px 32px;
    margin-bottom: 38px;
    background: #e6f3eb;
    border-left: 4px solid #257147;
    display: flex;
    gap: 20px;
}
.success-message > span {
    font-size: 28px;
    color: #257147;
}
.success-message h2,
.error-message h2 {
    font-size: 23px;
    margin: 0 0 10px;
}
.success-message p {
    margin: 0;
    font-size: 14px;
}
.error-message {
    display: block;
    background: #fff1f3;
    border-color: #bc295b;
}
.error-message li {
    line-height: 1.8;
    font-size: 14px;
}
.form-intro .text-link {
    display: block;
    margin-top: 6px;
}
.join-forms {
    min-width: 0;
}
.join-forms > [hidden] {
    display: none;
}
.card-recovery h2 {
    margin: 8px 0 12px;
}
.card-recovery-intro {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--muted);
}
.card-recovery .success-message,
.card-recovery .error-message {
    margin: 20px 0 0;
    padding: 18px 22px;
}
.card-recovery .button {
    margin-top: 20px;
}
.card-recovery-back {
    display: inline-block;
    margin-top: 20px;
}
.privacy {
    max-width: 780px;
}
.privacy h2 {
    font-size: 28px;
    margin-top: 45px;
}
.external:hover {
    background: #eaf0f5;
}
body.menu-open {
    overflow: hidden;
}
@media (min-width: 1500px) {
    .hero {
        min-height: 760px;
    }
    .hero-content {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 100px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 64px);
    }
    nav {
        gap: 18px;
        font-size: 12px;
    }
    .mission,
    .community,
    .editorial {
        gap: 40px;
    }
    .hero h1 {
        letter-spacing: -3px;
    }
    .form-layout {
        gap: 35px;
    }
    .form-panel {
        padding: 28px;
    }
    .program-card {
        padding: 24px;
    }
}
@media (max-width: 850px) {
    .header-inner {
        min-height: 86px;
    }
    .menu-toggle {
        display: flex;
        border: 0;
        background: none;
        padding: 15px 0;
        font-size: 13px;
        gap: 12px;
    }
    .header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 32px;
        max-height: calc(100dvh - 86px);
        overflow: auto;
        border-bottom: 1px solid var(--line);
    }
    .header nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .header nav > a,
    summary {
        padding: 16px 0;
    }
    .dropdown {
        position: static;
        border: 0;
        box-shadow: none;
        padding: 0 0 8px 15px;
    }
    .hero {
        min-height: 630px;
    }
    .hero h1 {
        font-size: 72px;
    }
    .hero-photo {
        background-position: 65% center;
    }
    .hero:after {
        background: linear-gradient(90deg, #09233bf0, #112e4b8c);
    }
    .mission {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .mission-copy {
        max-width: 640px;
    }
    .program-grid {
        gap: 12px;
    }
    .program-card {
        padding: 20px;
    }
    .program-card h3 {
        font-size: 30px;
    }
    .program-card .eyebrow {
        font-size: 8px;
    }
    .community {
        gap: 35px;
    }
    .community img {
        height: 380px;
    }
    .photo-stamp {
        right: -10px;
        padding: 16px;
        font-size: 20px;
    }
    .engage-grid {
        gap: 22px;
    }
    .engage h3 {
        font-size: 22px;
    }
    .closing h2 {
        font-size: 36px;
    }
    .form-layout,
    .join-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-aside {
        max-width: 650px;
    }
    .three-grid {
        grid-template-columns: 1fr;
    }
    .editorial {
        gap: 35px;
    }
    .manifesto {
        padding: 30px;
    }
    .page-star {
        font-size: 120px;
    }
    .program-detail {
        grid-template-columns: 90px 1fr;
        gap: 35px;
    }
    .big-number {
        font-size: 80px;
    }
    .support-options b {
        font-size: 19px;
    }
}
@media (max-width: 600px) {
    .container {
        width: calc(100% - 40px);
    }
    .topbar {
        font-size: 9px;
    }
    .topbar a {
        font-size: 9px;
    }
    .section {
        padding-top: 62px;
        padding-bottom: 62px;
    }
    .hero {
        min-height: 650px;
    }
    .hero-content {
        padding-top: 64px;
        padding-bottom: 45px;
    }
    .hero h1 {
        font-size: 59px;
        letter-spacing: -3px;
        margin: 28px 0;
    }
    .hero p {
        font-size: 15px;
    }
    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.4px;
    }
    .hero-side {
        display: none;
    }
    .actions {
        gap: 16px;
    }
    .hero-coordinate {
        margin-top: 44px;
    }
    .button {
        padding: 16px 22px;
        gap: 25px;
    }
    .actions .text-link {
        font-size: 12px;
    }
    .launch-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0;
        line-height: 1.7;
    }
    .launch b {
        display: inline;
    }
    .launch a {
        font-size: 11px;
    }
    .section-heading {
        display: block;
        margin-bottom: 30px;
    }
    .section-heading > .text-link {
        margin-top: 20px;
    }
    .program-grid,
    .engage-grid,
    .community,
    .editorial,
    .two-grid,
    .support-options {
        grid-template-columns: 1fr;
    }
    .program-card {
        padding: 28px;
        min-height: 330px;
    }
    .program-card h3 {
        font-size: 38px;
    }
    .program-card .eyebrow {
        font-size: 10px;
    }
    .community img {
        height: 340px;
    }
    .photo-stamp {
        right: 0;
    }
    .community {
        gap: 40px;
    }
    .engage-grid {
        gap: 32px;
    }
    .engage h3 {
        font-size: 26px;
    }
    .event {
        gap: 20px;
        align-items: flex-start;
    }
    .event-date {
        min-width: 85px;
        padding: 23px 14px;
    }
    .event-date b {
        font-size: 16px;
    }
    .event h3 {
        font-size: 22px;
    }
    .event p {
        font-size: 12px;
    }
    .round-arrow {
        display: none;
    }
    .closing-inner {
        display: block;
    }
    .closing h2 {
        font-size: 34px;
        margin-bottom: 30px;
    }
    .closing .eyebrow {
        font-size: 9px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-bottom {
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .footer-bottom > span:last-child {
        width: 100%;
    }
    .page-hero {
        padding-bottom: 48px;
    }
    .page-hero h1 {
        font-size: 44px;
        position: relative;
        z-index: 1;
    }
    .page-hero p {
        font-size: 16px;
        position: relative;
        z-index: 1;
    }
    .page-star {
        font-size: 100px;
        right: -10px;
        top: 50px;
    }
    .breadcrumb {
        margin-bottom: 32px;
    }
    .program-detail {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .big-number {
        font-size: 55px;
    }
    .program-detail h2 {
        margin-top: 10px;
    }
    .inline-callout {
        display: block;
        padding: 26px;
    }
    .inline-callout .button {
        margin-top: 25px;
    }
    .subsection {
        margin-top: 55px;
    }
    .form-panel {
        padding: 24px 20px;
    }
    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .support-options {
        gap: 12px;
    }
    .support-options button {
        padding: 22px;
    }
    .support-options button[aria-pressed='true'] {
        padding: 21px;
    }
    .support-options b {
        font-size: 22px;
    }
    .support-options button > span:last-child {
        display: none;
    }
    .success-message,
    .error-message {
        padding: 22px;
    }
    .lead {
        font-size: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
@media print {
    body * {
        visibility: hidden;
    }
    #boarding-pass,
    #boarding-pass * {
        visibility: visible;
    }
    #boarding-pass {
        position: absolute;
        left: 5%;
        top: 20px;
        width: 90%;
        box-shadow: none;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .header,
    .closing,
    footer {
        display: none;
    }
}

/* Présentation des contenus de démonstration. */
.demo-banner { background: #f7e5ee; color: #102e4b; padding: 12px 0; font-size: 13px; line-height: 1.6; }
.demo-note { color: #635765; font-size: 14px; margin: 20px 0; }
.demo-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.demo-profile { background: #f6f2ed; border-radius: 16px; overflow: hidden; }
.demo-profile img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 30%; }
.demo-profile > div { padding: 24px; }
.demo-profile h3 { margin: 16px 0 8px; }
.demo-role { font-weight: 700; color: #1959a0; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.demo-stats > div { border-top: 1px solid #cbd5df; padding-top: 20px; }
.demo-stats strong { display: block; font-size: clamp(40px, 6vw, 72px); color: #1959a0; }
.demo-stats span { display: block; font-size: 14px; }
.demo-quote { margin: 0; }
.demo-quote blockquote { margin: 0 0 20px; font-size: 20px; line-height: 1.65; }
.demo-quote figcaption { font-size: 13px; }
.demo-program-facts { background: #f6f2ed; padding: 24px; border-radius: 12px; margin: 24px 0; }
.demo-program-facts dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px 20px; margin-bottom: 0; }
.demo-program-facts dt { font-weight: 700; }
.demo-program-facts dd { margin: 0; }
.demo-career img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.membership-intro { margin-bottom: 48px; }
.demo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-left: 22px; margin: 36px 0; }
.demo-steps strong, .demo-steps span { display: block; }
.demo-steps span { margin-top: 10px; }
.demo-partner-mark { display: block; color: #1959a0; font-size: 42px; }
@media (max-width: 900px) { .demo-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .demo-profile-grid, .demo-stats, .demo-steps { grid-template-columns: 1fr; }
    .demo-profile img { height: 300px; }
    .demo-program-facts dl { grid-template-columns: 1fr; gap: 8px; }
    .demo-program-facts dd { margin-bottom: 12px; }
    .demo-banner { font-size: 12px; }
}

.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,46,75,.97), rgba(16,46,75,.87) 45%, rgba(16,46,75,.38)); }
.page-hero .container { z-index: 1; }
.language-switch { display: flex; gap: 5px; align-items: center; margin: 0; }
.language-switch button { background: transparent; border: 1px solid #aebecb; color: inherit; border-radius: 4px; padding: 4px 8px; cursor: pointer; font: inherit; font-size: 11px; }
.language-switch button[aria-pressed='true'] { background: var(--pink); color: var(--navy); border-color: var(--pink); }
.news-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.news-card time { display: block; font-size: 12px; margin: 16px 0; }
.news-card h3 { margin-top: 12px; }
@media (max-width: 600px) { .page-hero::after { background: rgba(16,46,75,.85); }
 .topbar .container { flex-wrap: wrap; gap: 10px; } }

/* Boarding card: front on screen, both sides in the print document. */
#boarding-pass { min-width: 0; }
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    html, body { height: auto; min-height: 0; }
    body > * { display: none !important; }
    body > #boarding-pass { display: block !important; position: static; width: 100%; }
    #boarding-pass .bpass { box-shadow: none; break-inside: avoid; border: 0.3mm solid #c9d4e0; }
}

.activity-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.activity-story > .eyebrow { display: block; margin: 32px 0 20px; }
.activity-story figure { margin: 0; }
.activity-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: 18px; }
.activity-story figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.activity-copy { max-width: 760px; margin: 40px auto; }
.activity-copy h2 { font-size: clamp(24px, 4vw, 34px); margin-top: 36px; }
.activity-takeaway { border-left: 3px solid var(--pink); padding: 20px; background: #f5f7f9; }
.activity-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.social-links > a, .social-links > span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; margin: 0; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.social-links .social-pending { opacity: .55; }
.social-links a:hover, .social-links a:focus-visible { color: var(--pink); }
.social-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.public-prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.profile-photo--portrait { height: 320px; object-position: center 20%; }

.support-details { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 24px 0; }
.support-details legend { font-size: 13px; padding: 0 8px; color: var(--navy); }
.event-thumbnail { width: 100%; max-width: 400px; border-radius: 12px; margin: 15px 0; }

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

/* Recrutement : tableau des départs (offres ouvertes), portes (pôles) et parcours. */
.departures {
    --board: #0b2238;
    --board-line: #1d4266;
    --board-muted: #9fb3c8;
    --boarding: #8fe3b0;
    display: grid;
    gap: 36px;
    margin-bottom: 88px;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
    background: var(--navy);
    color: white;
    border-radius: 14px;
}
.departures-intro { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.departures-intro > div { flex: 999 1 460px; min-width: 0; }
.departures-kicker,
.departures-label,
.departure-flight,
.gate-code,
.boarding-steps li > span {
    font-family: Menlo, Consolas, 'Courier New', monospace;
    letter-spacing: .16em;
}
.departures-kicker { display: block; margin-bottom: 14px; font-size: 13px; color: var(--pink); }
.departures h2 { margin: 0; color: white; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; }
.departures-intro p { max-width: 560px; margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #d7e0ea; }
.departures-stats { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.departures-stats > div { flex: 1 1 120px; display: flex; flex-direction: column-reverse; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; }
.departures-stats dt { margin-top: 4px; font-size: 14px; color: #d7e0ea; }
.departures-stats dd { margin: 0; font: 800 40px/1.1 Manrope, Arial, sans-serif; }
.departures-stats div:first-child dd { color: var(--pink); }
.departures-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.departures-label { margin: 0; font-size: 14px; font-weight: 700; color: white; }
.departures-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.departures-filters button { min-height: 44px; padding: 10px 16px; border: 1px solid #3a5f86; border-radius: 999px; background: transparent; color: white; font-size: 14px; font-weight: 600; }
.departures-filters button[aria-pressed='true'] { border-color: var(--pink); background: var(--pink); color: var(--navy); font-weight: 800; }
.departures-board { overflow-x: auto; background: var(--board); border: 1px solid var(--board-line); border-radius: 12px; }
.departures-board table { width: 100%; border-collapse: collapse; }
.departures-board th { padding: 14px 22px; font: 500 12px/1.4 Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--board-muted); text-align: left; }
.departures-board td { padding: 22px; vertical-align: top; font-size: 15px; }
.departure-row { border-top: 1px solid var(--board-line); }
.departure-row[hidden], .departure-detail[hidden] { display: none; }
.departure-flight { color: var(--pink); font-weight: 700; white-space: nowrap; }
.departure-offer strong { display: block; font-size: 17px; }
.departure-offer span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: #b8c7d6; }
.departure-status { display: inline-flex; align-items: center; gap: 8px; color: var(--boarding); white-space: nowrap; }
.departure-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.departure-actions { text-align: right; white-space: nowrap; }
.departure-toggle, .departure-apply { min-height: 44px; padding: 11px 14px; border-radius: 3px; font-size: 14px; font-weight: 800; }
.departure-toggle { border: 0; background: transparent; color: white; text-decoration: underline; text-underline-offset: 4px; }
.departure-apply { margin-left: 6px; border: 0; background: var(--pink); color: var(--navy); }
.departure-apply:hover { background: white; }
.departure-detail td { padding: 0 22px 26px; color: #d7e0ea; line-height: 1.6; }
.departure-detail .public-prose { max-width: 760px; }
.departure-detail dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 0; }
.departure-detail dt { font: 500 12px/1.4 Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--board-muted); }
.departure-detail dd { margin: 4px 0 0; white-space: pre-line; }
.departures-empty { display: grid; gap: 12px; padding: 26px; background: var(--board); border: 1px solid var(--board-line); border-radius: 12px; }
.departures-empty p { margin: 0; color: #d7e0ea; line-height: 1.6; }
.departures-empty .departures-empty-title { font: 700 20px/1.3 Menlo, Consolas, monospace; color: var(--pink); }
.departures-empty-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 6px; }
.departures-empty .text-link { color: white; }

.gates, .boarding-steps { margin-bottom: 88px; }
/* Cartes de même hauteur dans chaque rangée ; les liens restent alignés en bas. */
.gates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 1fr; gap: 16px; margin-top: 28px; }
.gate-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--cream); border: 2px solid transparent; border-radius: 10px; }
.gate-card.is-boarding { background: white; border-color: var(--navy); }
.gate-card-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.gate-code { font-size: 13px; font-weight: 700; color: var(--blue); }
.gate-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--pink); color: var(--navy); font-size: 12px; font-weight: 800; }
.gate-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gate-card h3 { margin: 0; font-size: 18px; color: var(--navy); }
.gate-card > p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.gate-card-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 6px; }
.gate-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; cursor: pointer; }
.gate-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.gate-card-cta { background: var(--navy); color: white; }
.gate-card-cta .gate-code { color: var(--pink); }
.gate-card-cta h3 { color: white; }
.gate-card-cta > p { color: #d7e0ea; }
.gate-card-cta .gate-link { color: var(--pink); }
.gate-dialog .application-modal-header h2 { margin-top: 4px; }
.gate-dialog-body { padding: 20px 24px 24px; background: var(--white); }
.gate-dialog-body > p { margin: 0 0 18px; line-height: 1.6; color: var(--muted); }
.gate-dialog-body h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.gate-dialog-body ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gate-dialog-body li { display: grid; gap: 4px; padding: 14px 16px; background: var(--cream); border-radius: 8px; line-height: 1.55; }
.gate-dialog-body li strong { color: var(--navy); }
.gate-dialog-body li span { font-size: 14px; color: var(--ink); }
.gate-dialog-footer { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 22px; }
.gate-dialog-note { margin: 0 auto 0 0; font-size: 14px; color: var(--muted); }
/* « Fermer » : même hauteur et même typographie que le bouton principal, en version contour. */
.gate-dialog-footer .application-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 18px 25px;
    border: 1px solid var(--navy);
    border-radius: 3px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.2s;
    align-self: stretch;
}
.gate-dialog-footer .button span { font-size: 16px; }

.boarding-steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.boarding-steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 3px solid var(--navy); }
.boarding-steps li:last-child { border-top-color: var(--pink); }
.boarding-steps li > span { font-size: 12px; color: var(--blue); }
.boarding-steps strong { font-size: 18px; color: var(--navy); }
.boarding-steps p { margin: 0; line-height: 1.6; color: var(--muted); }

/* Petits écrans : chaque vol devient une carte. */
@media (max-width: 760px) {
    .departures { margin-inline: -8px; border-radius: 10px; }
    .departures-board thead { display: none; }
    .departures-board table, .departures-board tbody, .departures-board tr, .departures-board td { display: block; }
    .departure-row:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 18px 0; }
    .departures-board td { padding: 6px 0; }
    .departure-row td[data-label]::before { content: attr(data-label); display: block; font: 500 11px/1.4 Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--board-muted); }
    .departure-offer, .departure-actions { grid-column: 1 / -1; }
    .departure-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px !important; text-align: left; }
    .departure-apply { margin-left: 0; flex: 1 1 140px; }
    .departure-detail td { padding: 0 18px 22px; }
}
.application-open { overflow: hidden; }
.application-modal {
    width: min(620px, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgb(16 46 75 / 20%);
    color: var(--ink);
    background: var(--white);
}
.application-modal::backdrop { background: rgb(16 46 75 / 35%); }
.application-modal-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.application-modal-header h2 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.5px; }
.application-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.6rem;
}
.application-close:hover { background: var(--cream); }
.application-modal .application-form { display: block; width: 100%; margin: 0; padding: 16px 24px 24px; background: var(--white); }
.application-form > .form-intro { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.application-section { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.application-section legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.application-grid-stacked { grid-template-columns: minmax(0, 1fr); }
.application-field { min-width: 0; }
.application-modal .application-field label { margin: 0 0 6px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.application-modal .application-field :is(input, select, textarea) {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c9d3dc;
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgb(16 46 75 / 3%);
}
.application-modal .application-field select {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23102e4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
@media (forced-colors: active) {
    .application-modal .application-field select { appearance: auto; background-image: none; }
}
.application-modal .application-field textarea { min-height: 94px; resize: vertical; }
.application-modal .field-help { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.application-modal .application-upload { margin-top: 18px; }
.application-modal input[type='file']::file-selector-button {
    margin-right: 10px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--cream);
    color: var(--navy);
    cursor: pointer;
}
.application-modal :is(input, select, textarea, button):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.application-actions { display: grid; gap: 18px; }
.application-modal .application-actions .consent { margin: 0; font-size: 12px; line-height: 1.6; }
.application-buttons { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.application-modal .application-buttons :is(.button, .application-cancel) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 12px;
    border: 1px solid var(--navy);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.application-cancel { background: var(--white); color: var(--navy); cursor: pointer; }
.application-cancel:hover { background: var(--cream); }
@media (max-width: 650px) {
    .application-modal { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
    .application-modal-header { padding: 12px 16px; }
    .application-modal-header h2 { font-size: 20px; }
    .application-modal .application-form { padding: 16px; }
    .application-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
    .application-buttons { grid-template-columns: 1fr; }
}

/* Inline membership submission feedback. */
form[data-form='rejoindre'] .join-form-message { display: block; margin: 16px 0; padding: 18px; }
form[data-form='rejoindre'] .join-form-message[hidden],
form[data-form='rejoindre'] [data-join-progress][hidden] { display: none; }
form[data-form='rejoindre'] .join-form-message p { margin: 0; }
form[data-form='rejoindre'] .join-form-message ul { margin-bottom: 0; padding-left: 20px; }
form[data-form='rejoindre'][aria-busy='true'] button[type='submit'] { cursor: wait; opacity: .7; }

/* Native selects retain keyboard support with a consistently spaced chevron. */
.form-panel select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 50px;
    padding: 13px 48px 13px 14px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23102e4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-position: right 15px center;
    background-size: 20px;
    background-repeat: no-repeat;
    line-height: 1.5;
    cursor: pointer;
}
.form-panel select:disabled { opacity: .6; cursor: default; }
@media (forced-colors: active) {
    .form-panel select { appearance: auto; background-image: none; }
}

/* Support: three illustrated ways to contribute, followed by a shared form. */
.support-intro { max-width: 800px; }
.support-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.support-path-reverse .support-path-photo { order: 2; }
.support-path-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.support-path-copy { min-width: 0; }
.support-path-copy .eyebrow { line-height: 1.7; }
.support-path-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.support-path .check-list { margin: 20px 0 28px; }
.support-path .check-list li { font-size: 14px; }
.support-donation-note { padding: 18px 20px; border-left: 3px solid var(--pink); background: var(--cream); font-size: 13px; }
@media (max-width: 900px) {
    .support-path { gap: 32px; }
}
@media (max-width: 600px) {
    .support-path { grid-template-columns: minmax(0, 1fr); padding: 40px 0; gap: 24px; }
    .support-path-reverse .support-path-photo { order: 0; }
}

/* The native dialog keeps focus and keyboard navigation inside the side panel. */
body.support-panel-open { overflow: hidden; }
.support-panel { position: fixed; inset: 0 0 0 auto; width: min(620px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--cream); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.support-panel[open] { animation: support-panel-enter .25s ease-out; }
.support-panel::backdrop { background: rgb(16 46 75 / 60%); }
.support-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 1; padding: 24px 32px; border-bottom: 1px solid var(--line); background: white; }
.support-panel-header h2 { font-size: 25px; margin: 0; }
.support-panel-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 28px; cursor: pointer; }
.support-panel-close:hover { background: var(--cream); }
.support-panel-content { padding: 24px 32px 40px; }
.support-panel .form-layout { display: block; }
.support-panel .form-panel { padding: 0; }
.support-panel :is(.error-message, .success-message) { margin: 0 0 24px; }
.support-panel :is(.error-message, .success-message) h2 { font-size: 22px; }
.support-panel form[data-submitting] button[type='submit'] { opacity: .6; cursor: wait; }
@keyframes support-panel-enter { from { transform: translateX(100%); }
 to { transform: translateX(0); } }
@media (max-width: 600px) {
    .support-panel-header { padding: 16px 20px; }
    .support-panel-header h2 { font-size: 22px; }
    .support-panel-content { padding: 24px 20px; }
    .support-panel .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .support-panel[open] { animation: none; } }

/* Home page: mission, audience journeys, news, partners and international network. */
.home-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-mission-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.home-involvement { background: var(--cream); }
.home-section-intro { max-width: 760px; }
.home-involvement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.home-profile-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: white; border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.home-profile-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px #102e4b12; }
.home-profile-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-profile-card > div { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.home-profile-card h3 { font-size: 23px; }
.home-profile-card p { font-size: 14px; }
.home-profile-card .text-link { margin-top: auto; font-size: 12px; gap: 12px; }
.home-news-date { font-size: 12px; margin-top: 20px; margin-bottom: 0; }
.home-news-empty { display: flex; align-items: flex-start; gap: 28px; padding: 36px; background: var(--cream); border-left: 3px solid var(--pink); }
.home-news-empty > span { color: var(--blue); font-size: 40px; }
.home-news-empty h3 { margin-top: 0; }
.home-news-empty p { margin-bottom: 0; }
.home-upcoming { margin-top: 48px; }
.home-partners { background: var(--cream); }
.home-partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0; }
.home-partner-card { padding: 28px; border: 1px solid var(--line); background: white; }
.home-partner-card img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 24px; }
.home-partner-card h3 { font-size: 22px; }
.home-partner-card p { font-size: 14px; margin-bottom: 0; }
.home-partners .actions { margin-top: 32px; }
.home-horizons { background: var(--navy); color: white; }
.home-horizons > .container { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.home-horizons .eyebrow { color: var(--pink); }
.home-horizons p { color: #d4dfe8; }
.home-horizons-route { display: flex; align-items: center; gap: 24px; padding: 48px 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.04em; }
.home-horizons-route > span:nth-child(2) { flex: 1; border-bottom: 1px dashed #9cb0c1; color: var(--pink); text-align: center; }
@media (max-width: 1100px) {
    .home-involvement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-mission { gap: 40px; }
}
@media (max-width: 700px) {
    .home-mission, .home-horizons > .container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .home-mission-photo img { aspect-ratio: 4 / 3; }
    .home-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-horizons-route { padding: 0; }
}
@media (max-width: 480px) {
    .home-involvement-grid, .home-partner-grid { grid-template-columns: minmax(0, 1fr); }
    .home-news-empty { padding: 24px; gap: 16px; }
}

/* Public submission feedback */
button.is-submitting,
button.is-submitting:disabled {
    background: #737d87;
    border-color: #737d87;
    color: #fff;
    cursor: wait;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submission-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: submission-spin .8s linear infinite;
}
.submission-toast {
    position: fixed;
    z-index: 10000;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 32px));
    padding: 20px 24px;
    background: var(--navy);
    border-left: 5px solid var(--pink);
    border-radius: 12px;
    box-shadow: 0 12px 40px #102e4b33;
    color: white;
}
.submission-toast[hidden] { display: none; }
@keyframes submission-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
    .submission-toast { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .submission-spinner { animation-duration: 2s; }
}

/* Pays avec recherche (Choices.js, public/libs/choices) aux couleurs du site. */
.country-picker .choices {
    --choices-font-size-md: 16px;
    --choices-font-size-sm: 12px;
    --choices-text-color: var(--navy);
    --choices-keyline-color: #c9d3dc;
    --choices-bg-color: white;
    --choices-bg-color-dropdown: white;
    --choices-border-radius: 3px;
    --choices-highlighted-color: var(--cream);
    --choices-invalid-color: #c73877;
    --choices-z-index: 20;
    --choices-input-height: 50px;
    margin: 0;
    color: var(--navy);
}
.country-picker .choices__inner {
    padding: 13px 48px 13px 14px;
    line-height: 1.5;
}
.country-picker .choices__list--single {
    padding: 0;
}
.country-picker .choices__placeholder {
    opacity: 1;
    color: var(--muted);
}
/* Même chevron que les autres menus du formulaire. */
.country-picker .choices[data-type*='select-one']::after {
    width: 20px;
    height: 20px;
    margin-top: -10px;
    right: 15px;
    border: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23102e4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.country-picker .choices[data-type*='select-one'].is-open::after {
    margin-top: -10px;
    transform: rotate(180deg);
}
.country-picker .is-focused .choices__inner,
.country-picker .is-open .choices__inner {
    border-color: var(--blue);
}
.country-picker .choices:focus-visible {
    outline: 3px solid #c73877;
    outline-offset: 5px;
}
.country-picker .choices__list--dropdown {
    border-color: var(--blue);
    box-shadow: 0 14px 34px rgba(16, 46, 75, 0.14);
    word-break: normal;
}
.form-panel .country-picker .choices[data-type*='select-one'] .choices__input {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
}
.country-picker .choices__list--dropdown .choices__item--choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: var(--navy);
}
.country-picker .choices__list--dropdown .choices__item--selectable.is-highlighted {
    padding-right: 14px;
    box-shadow: inset 3px 0 0 var(--pink);
}
.country-picker .choices__list--dropdown .choices__item--selectable.is-selected {
    font-weight: 700;
}
/* Code de l’aéroport affiché à droite du pays. */
.country-picker .choices__description {
    flex: none;
    font-family: Manrope, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue);
}
.country-picker .choices__list--single .choices__description {
    display: none;
}
/* Message affiché à la place de la bulle native, que le menu masqué par Choices.js ne peut plus montrer. */
.field-error {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    color: #b0245f;
}

/* Pages d’erreur (templates/bundles/TwigBundle/Exception/error.html.twig) : panneau des départs. */
.error-page { background: var(--navy); color: white; padding: clamp(56px, 10vw, 120px) 0; }
.error-page-inner { max-width: 820px; }
.error-board {
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 6px 18px;
    align-items: baseline;
    margin-bottom: 36px;
    padding: 18px 22px;
    background: #0b2238;
    border: 1px solid #1d4266;
    border-radius: 12px;
    font-family: Menlo, Consolas, 'Courier New', monospace;
}
.error-board span { font-size: 12px; letter-spacing: .16em; color: #9fb3c8; }
.error-board b { font-size: 20px; letter-spacing: .08em; color: var(--pink); }
.error-board .error-board-status { color: #ffd27a; }
.error-code { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.error-page h1 { margin: 0; color: white; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; }
.error-text { max-width: 620px; margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: #d7e0ea; }
.error-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 36px; }
.error-actions .button { background: var(--pink); color: var(--navy); }
.error-actions .button:hover { background: white; color: var(--navy); }
.error-actions .text-link { color: white; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.error-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid #3a5f86; border-radius: 999px; color: white; font-size: 14px; font-weight: 600; }
.error-links a:hover { border-color: var(--pink); color: var(--pink); }
