/* Les Godasses Volantes — feuille de style unique, mobile d'abord, sans framework.
   Identité : couleurs du logo (bleu roi, bleu nuit, rouge) ; langage visuel inspiré de la FFPLUM :
   grands titres géométriques avec fin en italique, surtitres, boutons pilule fléchés, fonds clairs. */

@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("fonts/montserrat-latin-wght-italic.woff2") format("woff2");
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --blue: #0f2f9e;
    --blue-bright: #1f4fd1;
    --navy: #0a1d57;
    --navy-deep: #040f33;
    --sky: #7fb0ea;
    --sky-soft: #eaf1fb;
    --red: #e0262b;
    --red-dark: #b81d22;
    --sand: #f6c58f;
    --ink: #0a0d18;
    --text: #1f2534;
    --muted: #475066;
    --line: #c9d1df;
    --paper: #ffffff;
    --mist: #eaeef6;
    --lavender: #dde3f0;

    --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(10, 31, 92, .08), 0 10px 30px rgba(10, 31, 92, .12);
    --shadow-lg: 0 2px 6px rgba(10, 31, 92, .06), 0 24px 60px rgba(10, 31, 92, .16);
    --container: 1200px;
    --gutter: clamp(1.1rem, 4vw, 2.25rem);
    --section-space: clamp(3.5rem, 8vw, 6.5rem);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture> (variantes WebP) : transparent pour la mise en page, l’image reste l’élément mis en forme. */
picture { display: contents; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .6em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-top: 1.8em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
p, ul, ol { margin: 0 0 1em; }
.accent { font-style: italic; color: var(--blue); font-weight: inherit; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Surtitre « —•— LIBELLÉ » ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; font: 700 .76rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow-mark { position: relative; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: currentColor; }

/* ---------- Boutons pilule ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .78rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
    font: 700 .95rem/1.2 var(--font-display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-arrow::after { content: "→"; font-weight: 500; transition: transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(224, 38, 43, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(19, 54, 168, .22); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-soft); color: var(--navy); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }

/* ---------- Bandeau de travail ---------- */
.dev-banner { background: repeating-linear-gradient(-45deg, #fff3cd, #fff3cd 14px, #ffe9a8 14px, #ffe9a8 28px); color: #5c4400; text-align: center; font-size: .85rem; font-weight: 600; padding: .45rem 1rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(221, 226, 236, .8); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 800 1.08rem/1.1 var(--font-display); letter-spacing: -.01em; }
.brand-text small { color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: .2rem; letter-spacing: .02em; }

.nav-toggle { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav { display: none; position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .75rem var(--gutter) 1.5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav-open .main-nav { display: block; }
.nav-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.nav-list > li > a, .sub-toggle { display: block; width: 100%; padding: .85rem .25rem; color: var(--ink); text-decoration: none; font: 700 1.02rem var(--font-display); background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.sub-toggle::after { content: ""; float: right; width: 7px; height: 7px; margin-top: .45em; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.sub-menu { list-style: none; margin: 0; padding: .25rem 0 .6rem .75rem; display: none; }
.sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { display: block; padding: .5rem .25rem; color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a.has-icon { display: flex; align-items: center; gap: .6rem; }
.nav-icon { flex: none; width: 1.15em; height: 1.15em; color: var(--blue); }
.sub-menu .nav-icon { width: 1.2em; height: 1.2em; }
.sub-menu:has(.nav-icon) a:not(.has-icon) { display: flex; align-items: center; gap: .6rem; }
.sub-menu:has(.nav-icon) a:not(.has-icon)::before { content: ""; flex: none; width: 1.2em; }
.nav-cta { width: 100%; }
.nav-cta + .nav-cta { margin-top: .6rem; }
.nav-members { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; padding: .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 700; text-decoration: none; }
.nav-members:hover { background: var(--mist); color: var(--blue); }
.nav-members-icon { width: 20px; height: 20px; flex: none; }
/* Membre connecté : sa photo (ou ses initiales) dans le bouton de l'espace membres */
.nav-members-avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.nav-members-avatar-initials { display: inline-grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; background: var(--red-dark); }
.nav-members.is-connected { border-color: var(--blue); }

@media (min-width: 1200px) {
    .nav-toggle { display: none; }
    .brand-text, .nav-list > li > a, .sub-toggle, .nav-cta { white-space: nowrap; }
    .brand { flex: none; }
    .main-nav { display: flex; align-items: center; gap: .8rem; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
    .nav-list { display: flex; gap: .15rem; margin: 0; }
    .nav-list > li { position: relative; }
    .nav-list > li > a, .sub-toggle { width: auto; border: 0; padding: .55rem .75rem; border-radius: 999px; font-size: .92rem; font-weight: 700; }
    .nav-list > li > a:hover, .sub-toggle:hover, .has-sub:focus-within .sub-toggle { background: var(--mist); }
    .has-sub.is-active > .sub-toggle, .nav-list > li > a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
    .sub-toggle::after { float: none; display: inline-block; width: 6px; height: 6px; margin: 0 0 .2em .5rem; vertical-align: middle; }
    .sub-menu { position: absolute; top: calc(100% + .5rem); left: -.5rem; min-width: 290px; padding: .55rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
    .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: block; }
    .has-sub > .sub-menu::before { content: ""; position: absolute; inset: -.7rem 0 auto; height: .7rem; }
    .sub-menu a { padding: .6rem .8rem; border-radius: var(--radius-sm); font-size: .95rem; }
    .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--sky-soft); color: var(--navy); }
    .nav-list > li > a.has-icon { display: inline-flex; gap: .4rem; }
    .nav-cta { width: auto; padding: .65rem 1.1rem; font-size: .9rem; }
    .nav-cta + .nav-cta { margin: 0 0 0 -.35rem; }
    .nav-members { margin: 0 0 0 -.35rem; width: 42px; height: 42px; padding: 0; flex: none; }
    .nav-members.is-connected { padding: 2px; border-width: 2px; }
    .nav-members.is-connected .nav-members-avatar { width: 100%; height: 100%; }
    .nav-members-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Hero : photo pleine largeur en couleurs, dégradé sombre seulement derrière le texte ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(460px, 64vh, 580px); color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-home { min-height: clamp(560px, 84vh, 820px); }
.hero-home .hero-content { padding-top: 8rem; }
/* Accueil : texte dans le ciel (haut de la photo), le bâtiment reste visible en bas. */
/* Petit écran : texte sur toute la largeur, voile clair du bas vers le haut. */
@media (max-width: 899px) {
    .hero.hero-home:not(.hero-plain)::after { opacity: .8; background: linear-gradient(0deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .4) 100%); }
}
@media (min-width: 900px) {
    .hero-home { align-items: flex-start; }
    .hero-home .hero-content { padding-block: clamp(3rem, 7vh, 5rem) 3rem; }
    .hero.hero-home:not(.hero-plain)::after { opacity: .8; background:
        linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .84) 34%, rgba(255, 255, 255, .45) 60%, rgba(255, 255, 255, .08) 84%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .14) 42%, transparent 62%); }
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Vidéo de fond de l'accueil : par-dessus la photo, apparaît en fondu dès qu'elle joue. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero:not(.hero-plain)::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(0deg, rgba(4, 15, 51, .86) 0%, rgba(4, 15, 51, .5) 26%, rgba(4, 15, 51, .08) 50%, rgba(4, 15, 51, 0) 62%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(4, 15, 51, .55) 0%, rgba(4, 15, 51, 0) 100%),
    linear-gradient(90deg, rgba(4, 15, 51, .22) 0%, rgba(4, 15, 51, 0) 45%); }
.hero-plain { background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(900px 420px at 100% 0, rgba(127, 176, 234, .35), transparent 65%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue)); }
.hero-content { position: relative; padding-block: 2.5rem clamp(2.5rem, 6vw, 4.5rem); }
.hero-content > * { max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .5rem 1rem .5rem .8rem; font: 700 .74rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #fff;
    background: var(--blue); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; box-shadow: 0 6px 18px rgba(4, 15, 51, .35); }
.hero-badge::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.hero-title { font: 800 clamp(2.2rem, 5.4vw, 4.2rem)/1.03 var(--font-display); letter-spacing: -.035em; color: #fff; margin: 0 0 1.1rem; text-wrap: balance; hyphens: manual; text-shadow: 0 2px 6px rgba(4, 15, 51, .35), 0 4px 32px rgba(4, 15, 51, .55); }
.hero-content > .hero-title { max-width: 17ch; }
.hero-home .hero-title { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.hero-title .accent { color: var(--sky); }
.hero-text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 54ch; color: #fff; font-weight: 500; text-shadow: 0 1px 3px rgba(4, 15, 51, .6), 0 2px 18px rgba(4, 15, 51, .6); }
.hero-text strong { color: var(--sand); }
.hero-text a { color: #fff; }
/* Accueil : traitement « bandeau clair » de hdf.ffplum.fr — voile blanc dense derrière le texte (à gauche),
   effacé vers la droite ; texte foncé sans ombre, mot d'accent en bleu, bouton secondaire au contour foncé. */
.hero-home:not(.hero-plain) .hero-title { color: #120d16; text-shadow: none; }
.hero-home:not(.hero-plain) .hero-title .accent { color: var(--blue); }
.hero-home:not(.hero-plain) .hero-text { color: rgba(18, 13, 22, .82); text-shadow: none; }
.hero-home:not(.hero-plain) .hero-text strong, .hero-home:not(.hero-plain) .hero-text a { color: var(--blue); }
.hero-home:not(.hero-plain) .btn-ghost { color: #120d16; border-color: rgba(18, 13, 22, .4); background: rgba(245, 245, 245, .62); }
.hero-home:not(.hero-plain) .btn-ghost:hover { color: #fff; background: #120d16; border-color: #120d16; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.hero-actions:empty { display: none; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- En-tête de page (sans hero) ---------- */
.page-header { background: radial-gradient(900px 380px at 100% 0, rgba(127, 176, 234, .28), transparent 65%), var(--mist); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-header-inner { display: grid; gap: 1.5rem 4rem; align-items: end; }
.page-header h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); letter-spacing: -.035em; margin: 0; }
.page-lead { color: var(--ink); font-size: 1.1rem; font-weight: 500; }
.page-lead p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .page-header-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-space); }
.section.is-tinted { background: var(--mist); }
.section-title { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.03em; margin-bottom: .9rem; }
.section-head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head .section-title { margin: 0; }
.section-lead { color: var(--ink); font-size: 1.08rem; font-weight: 500; }
.section-lead p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .section-head.has-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.prose { max-width: 70ch; }
.prose > .section-title { max-width: 22ch; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.prose ul li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: 12px; height: 2px; background: var(--red); border-radius: 2px; }
.prose ol { padding-left: 1.3rem; }
.prose ol li { margin-bottom: .45rem; }
.prose ol li::marker { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--blue); background: var(--sky-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }

.split { display: grid; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.is-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .85rem; }
.split-media.is-stack img { aspect-ratio: 1; box-shadow: var(--shadow); }
.split-media.is-stack > img:first-child,
.split-media.is-stack > picture:first-child img { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
    .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .split-reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
    .split-reverse .split-media { order: -1; }
}

/* ---------- Activités (accueil) ---------- */
.section-paths { background: var(--lavender); }
.path-card, .gallery > li, .price-item, .doc-list > li, .step { min-width: 0; }
.path-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.path-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: 0 1px 2px rgba(10, 31, 92, .04); }
.path-card a:hover { box-shadow: var(--shadow-lg); border-color: rgba(15, 47, 158, .45); }
.path-card a:hover strong { color: var(--blue); }
.path-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--blue)); overflow: hidden; margin: .55rem .55rem 0; border-radius: calc(var(--radius) - 6px); }
/* Image positionnée en absolu : sa taille ne dépend pas du calcul de hauteur de l'aspect-ratio (variable sous Safari). */
.path-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.path-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.3rem 1.35rem; flex: 1; }
.path-body strong { font: 800 1.22rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.path-body > span:not(.path-more) { font-size: .95rem; line-height: 1.55; color: var(--text); }
.path-more { margin-top: auto; padding-top: .55rem; color: var(--blue); font: 700 .9rem var(--font-display); display: inline-flex; gap: .4rem; }
.path-more::after { content: "→"; }

/* ---------- Bandeau photo ---------- */
.photo-band { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(280px, 40vw, 480px); color: #fff; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 20, 61, .72) 0%, rgba(6, 20, 61, .1) 40%, rgba(6, 20, 61, 0) 60%); }
.photo-band-title { font: 800 clamp(1.9rem, 4.6vw, 3.6rem)/1.05 var(--font-display); letter-spacing: -.03em; margin: 0; padding-block: clamp(2rem, 5vw, 3.5rem); max-width: 20ch; }
.photo-band .accent { color: #fff; }
/* Section posée sur une photo plein cadre (accueil : activités sur la vue aérienne de l'aérodrome).
   Dégradé sombre limité à la zone du titre ; cartes compactes en colonne à gauche pour laisser voir la piste et les hangars. */
.has-backdrop { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 0; }
.has-backdrop .backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.has-backdrop::before { content: ""; position: absolute; inset: 0 0 auto; height: min(420px, 60%); z-index: -1; background: linear-gradient(180deg, rgba(4, 15, 51, .78) 0%, rgba(4, 15, 51, .45) 55%, rgba(4, 15, 51, 0) 100%); }
.has-backdrop .section-head .section-title, .has-backdrop .section-head .eyebrow, .has-backdrop .section-head .section-lead, .has-backdrop .section-head .section-lead p { color: #fff; text-shadow: 0 1px 3px rgba(4, 15, 51, .6), 0 2px 18px rgba(4, 15, 51, .5); }
.has-backdrop .section-head .accent { color: var(--sky); }
/* Cartes en panneaux de signalisation d'aérodrome :
   jaune à texte noir (direction), noir à texte et liseré jaune (position), rouge à texte blanc (obligation). */
.has-backdrop { --sign-yellow: #ffcd00; --sign-black: #111; }
.has-backdrop .path-grid { gap: .9rem; }
.has-backdrop .path-media { display: none; }
.has-backdrop .path-card a { --sign-bg: var(--sign-yellow); --sign-fg: var(--sign-black);
    background: var(--sign-bg); color: var(--sign-fg); border: 3px solid var(--sign-black); border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 14px 30px rgba(4, 15, 51, .45); }
.has-backdrop .path-card:nth-child(1) a { --sign-bg: var(--red); --sign-fg: #fff; border-color: #fff; box-shadow: 0 0 0 2px var(--sign-black), 0 14px 30px rgba(4, 15, 51, .45); }
.has-backdrop .path-card:nth-child(3) a, .has-backdrop .path-card:nth-child(5) a { --sign-bg: var(--sign-black); --sign-fg: var(--sign-yellow); border-color: var(--sign-black); box-shadow: inset 0 0 0 3px var(--sign-yellow), 0 0 0 2px rgba(255, 255, 255, .55), 0 14px 30px rgba(4, 15, 51, .45); }
.has-backdrop .path-card a:hover { border-color: inherit; box-shadow: 0 0 0 3px #fff, 0 18px 38px rgba(4, 15, 51, .55); }
.has-backdrop .path-body { gap: .35rem; padding: .9rem 1.15rem 1rem; }
.has-backdrop .path-body strong, .has-backdrop .path-card a:hover strong { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: var(--sign-fg);
    font: 800 1.12rem/1.15 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.has-backdrop .path-body strong::after { content: "→"; flex: none; font-size: 1.5rem; line-height: 1; }
.has-backdrop .path-body > span:not(.path-more) { color: var(--sign-fg); font-size: .9rem; line-height: 1.45; font-weight: 500; }
.has-backdrop .path-more { display: none; }
@media (min-width: 640px) and (max-width: 1099px) { .has-backdrop .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Grand écran : deux rangées de panneaux en escalier, parallèles à la piste qui descend vers la droite,
   l'une dans les champs en haut à droite, l'autre dans le champ en bas à gauche : la piste reste dégagée entre les deux. */
@media (min-width: 1100px) {
    .has-backdrop .path-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem 1rem; }
    .has-backdrop .path-card { grid-column: span 4; }
    .has-backdrop .path-card:nth-child(1) { grid-column: 7 / span 4; }
    .has-backdrop .path-card:nth-child(2) { grid-column: 8 / span 4; }
    .has-backdrop .path-card:nth-child(3) { grid-column: 9 / span 4; }
    .has-backdrop .path-card:nth-child(4) { grid-column: 1 / span 4; margin-top: 2.5rem; }
    .has-backdrop .path-card:nth-child(5) { grid-column: 2 / span 4; }
    .has-backdrop .path-card:nth-child(6) { grid-column: 3 / span 4; }
}
.backdrop-credit { margin-top: clamp(2rem, 6vw, 4rem); padding-block: .6rem; font-size: .8rem; color: #fff; text-align: right; text-shadow: 0 1px 3px rgba(4, 15, 51, .9), 0 0 12px rgba(4, 15, 51, .6); }
.backdrop-credit a { color: inherit; }

/* ---------- Frise d'étapes ---------- */
.section-steps { background: var(--mist); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow); }
.step-dot { position: absolute; top: -9px; left: 1.5rem; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.step-kicker { margin: 0 0 .4rem; font: 700 .72rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step-title { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .7rem; }
.step .prose { font-size: .98rem; }
.step .prose :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); align-items: start; gap: 2rem; padding-top: 3rem; }
    .steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 1.5rem; border-top: 2px dashed rgba(19, 54, 168, .35); }
    .step:nth-child(2) { margin-top: 2rem; }
    .step:nth-child(3) { margin-top: 4rem; }
}

/* ---------- Tarifs ---------- */
.price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.price-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; transition: border-color .2s, box-shadow .2s; }
.price-item:hover { border-color: rgba(19, 54, 168, .35); box-shadow: var(--shadow); }
.price-label { display: flex; flex-direction: column; gap: .2rem; }
.price-label strong { color: var(--ink); font-size: 1rem; line-height: 1.35; }
.price-label span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.price-value { flex-shrink: 0; font: 800 1.45rem/1.15 var(--font-display); letter-spacing: -.02em; color: var(--blue); text-align: right; max-width: 48%; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 1rem 4rem; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); grid-template-columns: minmax(0, 1fr); } }
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.35rem; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 2.25rem 1.15rem 0; font: 700 1.02rem/1.4 var(--font-display); color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item .prose { padding-bottom: .6rem; }

/* ---------- Galerie ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-link { display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-link { transition: box-shadow .2s; }
.gallery-link:hover { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 20, 61, .94); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }

/* Galerie photos */
.album-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.album-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.album-card:hover, .album-card:focus-visible { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); transform: translateY(-2px); }
.album-card-media { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.album-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.album-card-title { font-weight: 700; line-height: 1.3; }
.album-card-meta { color: var(--muted); font-size: .92rem; }
.album-back { margin: 0 0 1.25rem; }
.album-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.album-link { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); }
.album-link img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.album-link:hover img, .album-link:focus-visible img { transform: scale(1.04); }
.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 200; background: #040c26; display: grid; grid-template-columns: 4rem 1fr 4rem; grid-template-rows: auto minmax(0, 1fr); height: 100vh; height: 100dvh; }
.viewer-bar { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; color: #fff; }
.viewer-counter { margin-right: auto; font-variant-numeric: tabular-nums; }
.viewer-download { color: #fff; font-weight: 600; }
.viewer-prev { grid-column: 1; grid-row: 2; }
.viewer figure { grid-column: 2; grid-row: 2; margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-width: 0; padding-bottom: 1rem; }
.viewer-next { grid-column: 3; grid-row: 2; }
.viewer img { flex: 1 1 auto; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.viewer figcaption { color: #fff; text-align: center; min-height: 1.2em; }
.viewer button { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; justify-self: center; align-self: center; }
.viewer button:hover, .viewer button:focus-visible { background: #fff; color: var(--navy); }
@media (max-width: 640px) { .viewer { grid-template-columns: 1fr; } .viewer figure { grid-column: 1; } .viewer .viewer-prev, .viewer .viewer-next { grid-column: 1; grid-row: 2; z-index: 1; background: rgba(255, 255, 255, .2); } .viewer .viewer-prev { justify-self: start; margin-left: .4rem; } .viewer .viewer-next { justify-self: end; margin-right: .4rem; } .album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; } }

/* ---------- Documents ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.doc-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.doc-item:hover { border-color: rgba(15, 47, 158, .45); box-shadow: var(--shadow); color: var(--navy); }
.doc-badge { flex-shrink: 0; width: 44px; height: 54px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: end center; padding-bottom: .55rem; font: 800 .66rem var(--font-display); letter-spacing: .06em; clip-path: polygon(0 0, 70% 0, 100% 24%, 100% 100%, 0 100%); }
.doc-name { font: 700 .98rem/1.35 var(--font-display); letter-spacing: -.01em; }
.doc-meta { margin-left: auto; color: var(--muted); font-size: .84rem; white-space: nowrap; }

/* ---------- Appel à l'action : bloc bleu nuit à trame ---------- */
.section-cta { padding-block: calc(var(--section-space) * .7); }
.section-cta + .section-cta { padding-top: 0; }
.cta-box { position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center; color: rgba(255, 255, 255, .94); border-radius: calc(var(--radius) * 1.4); padding: clamp(2rem, 5vw, 3.5rem);
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(700px 320px at 100% 0, rgba(127, 176, 234, .35), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue)); }
.cta-title { color: #fff; font-size: clamp(1.7rem, 3.8vw, 2.7rem); letter-spacing: -.03em; margin-bottom: .6rem; }
.cta-title .accent { color: var(--sky); }
.cta-text p { margin: 0; }
.cta-box a:not(.btn) { color: #fff; }
@media (min-width: 820px) { .cta-box { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Formulaire ---------- */
.section-form { background: var(--lavender); }
.form-layout { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .form-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.form-card { background: #fff; border-radius: calc(var(--radius) * 1.2); padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; flex: 1; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
label { font: 700 .88rem var(--font-display); color: var(--ink); }
.optional { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--mist); transition: border-color .2s, box-shadow .2s, background-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(19, 54, 168, .12); }
[aria-invalid="true"] { border-color: var(--red); background: #fff; }
.field-error { color: var(--red-dark); font-size: .86rem; margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .95rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; }
.notice-success { background: #e7f6ec; color: #135c2c; border: 1px solid #b7e2c4; }
.notice-error { background: #fdecec; color: var(--red-dark); border: 1px solid #f5c2c3; }
.form-phone { font: 800 1.6rem var(--font-display); letter-spacing: -.01em; text-decoration: none; color: var(--blue); }

/* ---------- Relecture (dev) ---------- */
.review-box { background: #fff8e1; border-top: 1px dashed #e6c35c; padding-block: 1rem; font-size: .95rem; }
.review-box summary { cursor: pointer; font-weight: 700; color: #6b5000; }
.review-box ol { margin: .75rem 0 .5rem; padding-left: 1.3rem; }
.review-box li { margin-bottom: .35rem; }
.review-hint { color: #8a6d1c; font-size: .85rem; margin: 0; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; color: rgba(255, 255, 255, .88); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .96rem;
    background:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--navy-deep); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky); }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--navy); }
/* Bande 1 : le club et ses coordonnées ; bande 2 : plan du site ; bande 3 : mentions. */
.footer-top { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 3rem; } }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: 1.3rem 0 0; }
.footer-social { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.footer-icon { width: 1.15em; height: 1.15em; }
.footer-cards { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-card { position: relative; padding: 1.3rem 1.3rem 1.2rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.footer-card p, .footer-card address { margin: 0 0 .8rem; font-style: normal; }
.footer-card-icon { display: block; width: 26px; height: 26px; margin-bottom: .9rem; color: var(--sky); }
.footer-card .footer-title { margin-bottom: .6rem; }
.footer-more { font-weight: 700; font-size: .9rem; text-decoration: none; }
.footer-mail { overflow-wrap: anywhere; font-size: .92rem; }
.footer-nav { display: grid; gap: 2rem 2.5rem; grid-template-columns: minmax(0, 1fr); margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid rgba(255, 255, 255, .16); }
/* Rubrique longue (plus de 8 liens) : deux colonnes alignées ligne à ligne, remplies de haut en bas. */
@media (min-width: 640px) {
    .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-col.is-wide { grid-column: span 2; }
    .footer-col.is-wide .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; column-gap: 2.5rem; }
}
@media (min-width: 1000px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-links a.has-icon { display: inline-flex; align-items: flex-start; gap: .5rem; }
.footer-links .nav-icon { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--sky); }
.brand-footer { color: #fff; margin: 0 0 1rem; }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .55); }
.brand-footer img { box-shadow: none; }
.footer-title { color: #fff; font: 700 .72rem var(--font-display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, .92); }
address { font-style: normal; margin-bottom: 1rem; }
.footer-phone { font: 800 1.45rem var(--font-display); letter-spacing: -.01em; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 3.25rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .86rem; color: rgba(255, 255, 255, .72); align-items: center; }
.footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-version { font-variant-numeric: tabular-nums; }

/* ---------- Journal des versions : frise verticale ---------- */
.changelog { list-style: none; margin: 0; padding: 0 0 0 1.75rem; border-left: 2px solid var(--line); display: grid; gap: 2.5rem; }
.changelog-entry { position: relative; }
.changelog-entry::before { content: ""; position: absolute; left: calc(-1.75rem - 8px); top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.changelog-entry:first-child::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(224, 38, 43, .18); }
.changelog-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: .5rem; }
.changelog-version { font: 800 .9rem/1 var(--font-display); color: #fff; background: var(--navy); padding: .4rem .65rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
.changelog-latest { font: 700 .72rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.changelog-head time { color: var(--muted); font-size: .92rem; }
.changelog-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: 0 0 .7rem; }
.changelog-changes { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.changelog-changes li::marker { color: var(--blue); }

/* ---------- Affiliation FFPLUM ---------- */
.affiliation { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.affiliation-inner { display: grid; gap: 2rem 4rem; align-items: center; }
.affiliation-title { font-size: clamp(1.45rem, 2.8vw, 2.1rem); letter-spacing: -.025em; margin-bottom: 1rem; max-width: 24ch; }
.affiliation-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.affiliation-list li { padding: .45rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; font: 700 .85rem var(--font-display); color: var(--ink); background: var(--mist); }
.affiliation-logos { display: flex; gap: 1.25rem; align-items: center; justify-content: flex-start; }
.affiliation-logo { display: block; background: #fff; border-radius: 50%; padding: .35rem; box-shadow: var(--shadow); transition: box-shadow .2s; }
.affiliation-logo:hover { box-shadow: 0 0 0 3px var(--blue), var(--shadow-lg); }
.affiliation-logo img { width: clamp(104px, 14vw, 140px); height: auto; border-radius: 50%; }
@media (min-width: 900px) { .affiliation-inner { grid-template-columns: minmax(0, 1fr) auto; } .affiliation-logos { justify-content: flex-end; } }
.footer-ffplum { display: inline-flex; background: #fff; border-radius: 8px; padding: .4rem .7rem; margin-right: .5rem; }
.footer-ffplum img { height: 30px; width: auto; }

@media print {
    .site-header, .site-footer, .dev-banner, .review-box { display: none; }
}

/* ---------- Consentement cookies et liens sociaux ---------- */
.consent { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.25rem; font-size: .95rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .9rem; }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.btn-outline-dark { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.footer-consent { color: rgba(255, 255, 255, .85); font-size: .86rem; }
.footer-social { font-weight: 700; }

/* ---------- Vidéos (lecteur YouTube chargé au clic) ---------- */
.video-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-facade, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0; background: linear-gradient(135deg, var(--navy-deep), var(--blue)); cursor: pointer; overflow: hidden; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 15, 51, .45), rgba(4, 15, 51, 0) 55%); transition: background-color .2s; }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: var(--red); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: background-color .2s; }
.video-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { background: var(--red-dark); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1.1rem 1.1rem; }
.video-meta strong { font: 700 1rem/1.35 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.video-meta span { color: var(--muted); font-size: .88rem; }
.video-note { margin: 1.5rem 0 0; color: var(--muted); font-size: .85rem; }

/* ---------- Liens : chaînes YouTube et sites (toute la carte est cliquable, survol sans zoom) ---------- */
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .link-grid.is-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .link-grid.is-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .link-grid.is-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card { position: relative; min-width: 0; display: flex; gap: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; transition: box-shadow .2s, border-color .2s; }
.link-card:hover, .link-card:focus-within { box-shadow: var(--shadow-lg); border-color: rgba(15, 47, 158, .45); }
.link-card.is-youtube { flex-direction: column; align-items: center; text-align: center; padding-top: 2rem; }
.link-card.is-youtube:hover, .link-card.is-youtube:focus-within { border-color: rgba(224, 38, 43, .5); }
.link-visual { position: relative; flex: none; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-deep), var(--blue)); }
.link-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-youtube .link-visual { width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--red), var(--shadow); }
.is-site .link-visual { align-self: flex-start; width: clamp(96px, 26%, 150px); height: auto; aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); background: #fff; border: 1px solid var(--line); }
.is-site .link-visual img { object-fit: contain; padding: 6%; }
.link-initials { color: #fff; font: 800 2.4rem/1 var(--font-display); letter-spacing: -.02em; }
.is-site .link-initials { color: var(--navy); }
.link-body { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.is-youtube .link-body { align-items: center; margin-top: 1.1rem; }
.link-source { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .45rem; font: 700 .74rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); overflow-wrap: anywhere; }
.is-youtube .link-source { color: var(--muted); text-transform: none; letter-spacing: .01em; font-size: .85rem; }
.link-yt { flex: none; color: var(--red); }
.link-name { margin: 0; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.link-channel { margin: .35rem 0 0; color: var(--blue); font-weight: 600; }
.link-text { margin: .7rem 0 0; color: var(--muted); }
.link-cta { margin-top: auto; }
.link-body > :nth-last-child(2) { margin-bottom: 1.2rem; }
.link-cta::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.link-cta:hover { transform: none; }
@media (max-width: 520px) { .link-card.is-site { flex-direction: column; } }
.audience-choice { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.split-media img.is-logo { aspect-ratio: auto; max-width: 260px; margin-inline: auto; object-fit: contain; background: #fff; padding: 1.25rem; border-radius: 50%; box-shadow: var(--shadow); }
.gallery figure { margin: 0; }
.gallery figcaption { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .25rem 0; }
.gallery figcaption strong { font: 700 1.02rem/1.3 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.gallery figcaption span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
@media (min-width: 760px) { .gallery-captioned.gallery-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.25rem; } }

/* =====================================================================
   Relief et contraste : fond « carte aéronautique » (dessin original),
   sections en feuilles blanches, cartes surélevées.
   ===================================================================== */
:root {
    --line: #c3cbda;
    --text: #161b28;
    --muted: #3f4759;
    --paper-chart: #eef1f6;
    --shadow: 0 1px 2px rgba(10, 29, 87, .10), 0 8px 24px rgba(10, 29, 87, .12);
    --shadow-lg: 0 2px 6px rgba(10, 29, 87, .10), 0 22px 50px rgba(10, 29, 87, .20);
    --sheet-shadow: 0 1px 0 var(--line), 0 -1px 0 var(--line), 0 18px 40px -24px rgba(10, 29, 87, .35);
}
body { background: var(--paper-chart) url("bg-carte.svg") 0 0 / 900px 900px repeat; }

/* Les sections « normales » laissent voir la carte ; les sections teintées deviennent des feuilles blanches. */
.section.is-tinted, .section-steps, .section-form, .affiliation { background: #fff; box-shadow: var(--sheet-shadow); position: relative; }
.section-paths { background: rgba(221, 227, 240, .72); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.section-title::after { height: 5px; width: 64px; }

/* En-tête de page sans photo : bleu nuit + carte en traits clairs. */
.page-header {
    background:
        url("bg-carte-clair.svg") 120px -60px / 900px 900px repeat,
        radial-gradient(900px 380px at 100% 0, rgba(127, 176, 234, .30), transparent 65%),
        linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue));
    border-bottom: 0;
    color: #fff;
}
.page-header h1 { color: #fff; }
.page-header h1 .accent { color: var(--sky); }
.page-header .eyebrow { color: var(--sky); }
.page-header .page-lead, .page-header .page-lead p { color: rgba(255, 255, 255, .92); }
.page-header .page-lead a { color: #fff; }

/* Bandeaux sombres : la carte remplace la trame quadrillée. */
.hero-plain, .cta-box, .site-footer {
    background-image:
        url("bg-carte-clair.svg"),
        radial-gradient(700px 320px at 100% 0, rgba(127, 176, 234, .32), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue));
    background-size: 900px 900px, auto, auto;
    background-repeat: repeat, no-repeat, no-repeat;
}
.site-footer { background-image: url("bg-carte-clair.svg"), linear-gradient(180deg, var(--navy-deep), #020a24); }
.cta-box { box-shadow: var(--shadow-lg); }

/* Éléments surélevés. */
.price-item, .doc-item, .faq-item, .video-card, .step, .form-card, .path-card a, .audience-choice {
    border-color: var(--line);
    box-shadow: var(--shadow);
}
.price-item:hover, .doc-item:hover { box-shadow: var(--shadow-lg); border-color: rgba(15, 47, 158, .45); }
.gallery-link, .split-media img { box-shadow: var(--shadow-lg); }
.gallery figcaption strong { font-size: 1.05rem; }
.prose, .section-lead { color: var(--text); }
.path-body > span:not(.path-more), .video-meta span, .price-label span, .gallery figcaption span { color: var(--muted); }
.affiliation { border-top: 0; }

/* =====================================================================
   Lisibilité des textes : titre à gauche, texte dans un encadré à droite,
   listes en pavés cochés, corps plus grand et plus dense.
   ===================================================================== */
:root { --section-space: clamp(2.75rem, 6vw, 4.75rem); }
.prose, .section-lead, .page-lead, .hero-text { font-size: 1.125rem; line-height: 1.7; font-weight: 500; }
.prose p, .prose li { color: var(--text); }
.prose strong { font-weight: 700; }

.text-layout { display: grid; gap: 1.25rem 3.5rem; align-items: start; }
@media (min-width: 900px) {
    .text-layout { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
    .text-layout.no-heading { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
    .text-head { position: sticky; top: calc(var(--header-h) + 1.5rem); padding-top: .4rem; }
    /* Colonne étroite : titre plus petit pour que les mots longs (« d'administration ») y tiennent. */
    .text-head .section-title { font-size: clamp(1.4rem, 2.2vw, 2rem); }
}
.text-head .section-title { margin: 0; max-width: 16ch; overflow-wrap: break-word; hyphens: auto; }
.text-card {
    max-width: none;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 6px solid var(--blue);
    border-radius: var(--radius);
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3.2vw, 2.25rem);
    box-shadow: var(--shadow);
}
.section.is-tinted .text-card { background: var(--paper-chart); box-shadow: none; }
.section-text:nth-of-type(4n) .text-card { border-left-color: var(--red); }
.text-card > :last-child { margin-bottom: 0; }
.text-card h3 { margin-top: 1.4em; }
.text-card h3:first-child { margin-top: 0; }

/* Listes en pavés cochés. */
.text-card ul { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); margin: .25rem 0 1.1rem; }
.text-card ul li { margin: 0; padding: .8rem 1rem .8rem 2.75rem; background: var(--paper-chart); border: 1px solid #d6dce8; border-radius: 10px; line-height: 1.5; }
.section.is-tinted .text-card ul li { background: #fff; }
.text-card ul li::before { content: ""; left: .9rem; top: .95rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.text-action { margin-top: 1.25rem; }

/* Sections avec image : le texte garde la même taille et un fond pour se détacher de la carte. */
.split .text-body { background: rgba(255, 255, 255, .86); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.75rem); box-shadow: 0 0 0 1px rgba(195, 203, 218, .6); }
.section.is-tinted .split .text-body { background: none; box-shadow: none; padding: 0; }
@media (max-width: 600px) {
    .text-card { padding: 1.1rem 1rem 1.2rem 1.1rem; border-left-width: 5px; }
    .text-card ul li { padding: .7rem .8rem .7rem 2.4rem; }
    .text-card ul li::before { left: .75rem; top: .85rem; }
}
.page-header .page-lead, .page-header .page-lead * { color: rgba(255, 255, 255, .92); }
.page-header .page-lead strong { color: #fff; }

/* Logo plus grand, affiché entier (le cercle rognait le texte du logo). */
:root { --header-h: 92px; }
.brand img { width: 76px; height: 76px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(10, 29, 87, .12); }
.brand-text strong { font-size: 1.22rem; }
.brand-text small { font-size: .85rem; }
.brand-footer img { width: 96px; height: 96px; border-radius: 16px; background: #fff; padding: 4px; box-shadow: none; }
.brand-footer .brand-text strong { font-size: 1.25rem; }
@media (max-width: 600px) {
    :root { --header-h: 76px; }
    .brand img { width: 58px; height: 58px; border-radius: 12px; }
    .brand-text strong { font-size: 1.05rem; }
    .brand-text small { font-size: .76rem; }
}
.brand-footer { flex-direction: column; align-items: flex-start; gap: .8rem; }
/* Logo FFPLUM dans l'en-tête, à droite du logo du club, séparé par un filet. */
.site-header .brand { margin-right: 0; }
.header-ffplum { display: inline-flex; flex: none; align-items: center; margin-right: auto; padding-left: 1rem; border-left: 1px solid var(--line); border-radius: 0; }
.header-ffplum img { display: block; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 600px) {
    .header-inner { gap: .6rem; }
    .header-ffplum { padding-left: .6rem; }
    .header-ffplum img { width: 44px; height: 44px; }
}
@media (max-width: 400px) { .site-header .brand-text small { display: none; } }
.preview-banner { position: sticky; top: 0; z-index: 60; background: #0f2f9e; color: #fff; text-align: center; padding: .55rem 1rem; font-size: .92rem; }
.preview-banner .link-button { color: #fff; margin-left: .5rem; font-weight: 700; }

/* ---------- Actualités ---------- */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-grid > li { display: flex; min-width: 0; }
.news-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.news-card:hover, .news-card:focus-within { box-shadow: var(--shadow-lg); border-color: rgba(15, 47, 158, .45); }
.news-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.news-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card-media img.is-logo { object-fit: contain; padding: 18%; background: #fff; }
.news-card-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.2rem 1.35rem 1.4rem; }
.news-date { font: 700 .76rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.news-card-title { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.news-card-title a { color: var(--ink); text-decoration: none; }
.news-card-title a::after { content: ""; position: absolute; inset: 0; }
.news-card-text { margin: 0; color: var(--muted); }
.news-more { margin-top: auto; padding-top: .4rem; font-weight: 700; color: var(--blue); }
.news-empty { font-size: 1.1rem; color: var(--muted); }
.news-all { margin: 2rem 0 0; text-align: center; }

/* Brèves : une phrase, une catégorie, une date (accueil, /actualites). */
.briefs { margin: 0 0 2.25rem; }
.briefs-title { margin: 0 0 .9rem; font-size: 1.1rem; letter-spacing: .02em; color: var(--navy); }
.briefs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .briefs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brief { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-sm, 10px); box-shadow: 0 1px 2px rgba(10, 31, 92, .06); scroll-margin-top: calc(var(--header-h) + 1rem); }
.brief-theorique, .brief-brevet, .brief-lacher { border-left-color: var(--red); }
.brief:target { box-shadow: 0 0 0 3px rgba(15, 47, 158, .35); }
.brief-media { flex: none; width: 96px; }
.brief-media img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.brief-body { min-width: 0; }
.brief-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin: 0 0 .35rem; font-size: .8rem; color: var(--muted); }
.brief-tag { display: inline-flex; align-items: center; gap: .35rem; font: 700 .74rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.brief-icon { width: 16px; height: 16px; flex: none; }
.brief-text { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.pager-status { color: var(--muted); font-variant-numeric: tabular-nums; }
.article-header h1 { margin: .5rem 0 0; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.article-header .page-lead { margin: 1.1rem 0 0; }
.article-back { margin: 0 0 1.2rem; }
.article-cover { margin: 0 0 2rem; }
.article-cover img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.article-body { font-size: 1.08rem; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.article-gallery { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-gallery-title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin: 0 0 1.1rem; }
.article-gallery-title span { margin-left: .5rem; font-family: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); letter-spacing: 0; }
.article-gallery .album-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.article-gallery .album-link:hover img, .article-gallery .album-link:focus-visible img { transform: none; }
.article-gallery .album-link:hover, .article-gallery .album-link:focus-visible { box-shadow: 0 0 0 3px var(--blue); }
/* En-tête d'article sur fond bleu nuit : lien retour et date en clair. */
.article-header .article-back a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; }
.article-header .article-back a:hover { color: #fff; text-decoration: underline; }
.article-header .news-date { color: var(--sky); }
/* Photo principale : un portrait ou un carré ne prend pas tout l'écran. */
.article-cover img { max-height: min(72vh, 620px); object-fit: cover; }
/* Adresse web longue dans un texte : coupée en fin de ligne plutôt que de déborder sur mobile. */
.prose a { overflow-wrap: anywhere; }
/* Numéro de téléphone : jamais coupé entre deux groupes de chiffres, il passe entier à la ligne. */
a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }

/* ---------- Accueil : carte « Météo du moment » (METAR) ---------- */
.metar-card { max-width: 420px; margin-top: 2rem; padding: 1.1rem 1.25rem 1rem; color: #fff; font-size: .9rem; line-height: 1.45;
    background: rgba(4, 15, 51, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(4, 15, 51, .35); }
.metar-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; }
.metar-eyebrow { margin: 0; font: 700 .72rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.metar-cat { padding: .25rem .6rem; border-radius: 999px; font: 800 .72rem/1 var(--font-display); letter-spacing: .04em; color: #fff; white-space: nowrap; }
.metar-cat-vfr { background: #15803d; } .metar-cat-mvfr { background: #1d4ed8; } .metar-cat-ifr { background: #dc2626; } .metar-cat-lifr { background: #a21caf; }
.metar-station { margin: 0; font-size: 1rem; }
.metar-time { margin: .15rem 0 .8rem; color: rgba(255, 255, 255, .72); font-size: .84rem; }
.metar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; margin: 0 0 .8rem; }
.metar-grid div { min-width: 0; }
.metar-grid dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.metar-grid dd { margin: .1rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.metar-raw { margin: 0 0 .7rem; padding: .5rem .6rem; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.metar-raw code { font: 500 .78rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(255, 255, 255, .9); overflow-wrap: anywhere; }
.metar-foot { margin: 0; font-size: .76rem; color: rgba(255, 255, 255, .65); }
.metar-foot a { color: #fff; font-weight: 700; white-space: nowrap; }
/* Grand écran : deux colonnes, texte à gauche et carte à droite (le titre passe à la ligne au lieu de passer sous la carte). */
/* Colonne de droite de l'accueil : METAR puis fenêtre de vol, empilés. */
.hero-side { display: grid; gap: .9rem; max-width: 420px; margin-top: 2rem; }
.hero-side > .metar-card { max-width: none; margin: 0; }
/* Carte « Fenêtre de vol » (jour et nuit aéronautiques) */
.flight-grid { margin-bottom: .55rem; }
.flight-grid dd { font: 800 1.35rem/1.2 var(--font-display); letter-spacing: .01em; }
.flight-card .metar-time { margin-bottom: .5rem; }
.flight-card .metar-time strong { color: #fff; }
.flight-day { background: #b45309; } .flight-night { background: #312e81; }
@media (min-width: 1100px) {
    .hero-home .hero-content:has(> .hero-side) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto auto auto 1fr; column-gap: clamp(2rem, 4vw, 4rem); align-content: start; }
    /* Les lignes ne s'étirent pas quand la colonne de droite est plus haute : l'espace en trop va sous les boutons. */
    .hero-home .hero-content:has(> .hero-side) > :not(.hero-side) { grid-column: 1; justify-self: start; align-self: start; }
    .hero-home .hero-content > .hero-side { grid-column: 2; grid-row: 1 / span 5; align-self: start; width: 100%; max-width: none; margin: 0; }
}

/* Carte « Éphéméride » (fête du jour, Lune, histoire de l'aéronautique) : colonne de gauche, sous les boutons. */
.hero-ephem { width: 100%; max-width: 560px; margin-top: 2rem; }
.hero-ephem > .metar-card { max-width: none; margin: 0; }
.ephem-date { background: rgba(127, 176, 234, .22); color: #fff; font-weight: 700; }
.ephem-saint { margin: .1rem 0 .75rem; font-size: 1rem; }
.ephem-saint strong { font: 800 1.15rem/1.2 var(--font-display); }
.ephem-saint span { color: rgba(255, 255, 255, .7); font-size: .84rem; }
.ephem-moon { display: flex; align-items: center; gap: .8rem; margin: 0 0 .75rem; }
.ephem-moon p { margin: 0; }
.ephem-moon span { color: rgba(255, 255, 255, .72); font-size: .84rem; }
.ephem-moon-icon { flex: none; filter: drop-shadow(0 0 6px rgba(255, 244, 214, .35)); }
.ephem-moon-dark { fill: #1e2a4f; stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.ephem-moon-lit { fill: #f6efd8; }
.ephem-history { margin: 0 0 .55rem; padding: .55rem .7rem; border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .08); font-size: .86rem; }
.ephem-history:last-child { margin-bottom: 0; }
.ephem-history-label { display: block; margin-bottom: .1rem; font: 700 .7rem/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }

/* ---------- Décorations festives (Noël, nouvel an, 14 juillet : voir Services\Season) ----------
   Guirlande sous l'en-tête, bonnet ou cocarde sur le logo, neige ou feu d'artifice et ULM à banderole sur le hero (ajoutés par site.js).
   Aucun effet au survol ; tout s'arrête avec la préférence « moins d'animations ». */
.xmas-garland { position: absolute; inset: 100% 0 auto; height: 30px; margin-top: -2px; pointer-events: none; z-index: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='20'%3E%3Cpath d='M0 3 Q32 19 64 3' fill='none' stroke='%231f3b2a' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 64px 20px; }
.nav-open .xmas-garland { display: none; }
.xmas-bulb { position: absolute; top: 9px; width: 9px; height: 13px; margin-left: -4.5px; border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; background: var(--bulb);
    box-shadow: 0 0 6px 1px var(--bulb), 0 0 14px 2px color-mix(in srgb, var(--bulb) 55%, transparent);
    animation: xmas-twinkle 2.6s ease-in-out infinite alternate; }
.xmas-bulb::before { content: ""; position: absolute; top: -3px; left: 2px; width: 5px; height: 4px; border-radius: 1px; background: #2b3a33; }
@keyframes xmas-twinkle { from { opacity: .45; box-shadow: 0 0 2px 0 var(--bulb); } to { opacity: 1; } }

.brand-logo { position: relative; display: inline-flex; flex: none; }
.xmas-hat { position: absolute; top: -15px; left: -9px; width: 38px; height: auto; transform: rotate(-22deg); filter: drop-shadow(0 1px 1px rgba(4, 15, 51, .25)); pointer-events: none; }

.season-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.xmas-flyby { position: absolute; top: .45rem; left: 0; z-index: 1; display: flex; align-items: center; pointer-events: none; transform: translateX(-100%); visibility: hidden; }
body:has(.xmas-garland) .xmas-flyby { top: 22px; }
.xmas-flyby.is-flying { visibility: visible; animation: xmas-fly var(--fly-duration, 22s) linear forwards; }
@keyframes xmas-fly { from { transform: translateX(-100%); } to { transform: translateX(var(--fly-distance, 100vw)); } }
.xmas-banner { padding: .3rem .95rem .32rem; background: var(--red); color: #fff; font: 800 clamp(.78rem, 1.5vw, .95rem)/1.2 var(--font-display); letter-spacing: .01em; white-space: nowrap;
    border-radius: 3px; box-shadow: 0 2px 8px rgba(4, 15, 51, .3); transform-origin: right center; animation: xmas-flutter 1.1s ease-in-out infinite alternate; }
.xmas-rope { width: clamp(28px, 5vw, 48px); height: 1.5px; background: rgba(10, 29, 87, .75); }
.xmas-plane { width: clamp(78px, 10vw, 112px); height: auto; filter: drop-shadow(0 3px 4px rgba(4, 15, 51, .3)); animation: xmas-bob 3.2s ease-in-out infinite alternate; }
.xmas-prop { animation: xmas-prop .12s linear infinite alternate; transform-origin: 114px 23px; }
@keyframes xmas-flutter { from { transform: skewY(-1.5deg) rotate(-.6deg); } to { transform: skewY(1.5deg) rotate(.6deg); } }
@keyframes xmas-bob { from { transform: translateY(-2px) rotate(-1deg); } to { transform: translateY(3px) rotate(1deg); } }
@keyframes xmas-prop { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.xmas-banner.is-tricolore { background: #fff; color: var(--navy); border-left: 7px solid #0055a4; border-right: 7px solid #ef4135; }
.xmas-banner.is-navy { background: var(--navy); color: #f6c544; box-shadow: 0 0 0 1px rgba(246, 197, 68, .55), 0 2px 8px rgba(4, 15, 51, .3); }
@media (prefers-reduced-motion: reduce) { .season-fx, .xmas-flyby { display: none; } .xmas-bulb { opacity: 1; } }
@media print { .xmas-garland, .xmas-hat, .season-fx, .xmas-flyby { display: none; } }

/* ---------- 8 mai, 11 novembre (et liseré du 14 juillet), voir Services\Season : bandeau d'hommage, liseré tricolore, bleuet sur le logo. Sobre, sans animation. ---------- */
.memorial-banner { background: var(--navy-deep); color: rgba(255, 255, 255, .92); font-size: .86rem; line-height: 1.45; }
.memorial-inner { display: flex; align-items: center; justify-content: center; gap: .7rem; padding-block: .55rem; }
.memorial-inner p { margin: 0; max-width: 92ch; }
.memorial-inner strong { color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: .01em; }
.memorial-bleuet { flex: none; width: 26px; height: 26px; }
.season-tricolore .site-header::after { content: ""; position: absolute; inset: auto 0 -1px; height: 4px; pointer-events: none;
    background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%); box-shadow: 0 1px 0 rgba(10, 29, 87, .15); }
.nav-open.season-tricolore .site-header::after { display: none; }
.logo-bleuet { position: absolute; top: -9px; left: -9px; width: 26px; height: 26px; filter: drop-shadow(0 1px 1.5px rgba(4, 15, 51, .35)); pointer-events: none; }
@media (max-width: 639px) { .memorial-inner { justify-content: flex-start; font-size: .8rem; } .memorial-bleuet { width: 22px; height: 22px; } }
@media print { .logo-bleuet, .season-tricolore .site-header::after { display: none; } }
/* Bandeau de vœux de janvier : même place que le bandeau d'hommage, bleu nuit et or. */
.memorial-banner.is-voeux { background: linear-gradient(90deg, var(--navy-deep), var(--navy) 50%, var(--navy-deep)); border-bottom: 1px solid rgba(246, 197, 68, .45); }
.memorial-banner.is-voeux strong { color: #f6c544; }

/* ---------- Espace membres ---------- */
.members-header { padding-block: clamp(2.25rem, 5vw, 3.5rem) 0; }
.members-header .page-header-inner { padding-bottom: 1.5rem; }
.members-header h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.members-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-top: .25rem; }
.members-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
.members-nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem .95rem; border-radius: var(--radius-sm) var(--radius-sm) 0 0; color: rgba(255, 255, 255, .9); font-weight: 700; text-decoration: none; }
.members-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.members-nav a[aria-current="page"] { background: #fff; color: var(--blue); box-shadow: inset 0 3px 0 var(--red); }
.members-nav-icon { width: 18px; height: 18px; flex: none; }
.members-logout { display: flex; align-items: center; gap: .75rem; margin: 0 0 .5rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.members-logout .btn-link { color: #fff; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.btn-link-danger { color: var(--red-dark); }
.btn-danger { background: #fff; color: var(--red-dark); border-color: var(--red-dark); }
.btn-danger:hover { background: var(--red-dark); color: #fff; }
.members-flash { margin-top: 1.25rem; }
.members-narrow { display: grid; gap: 2rem; max-width: 980px; }
@media (min-width: 900px) { .members-narrow { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } .members-narrow:has(> :only-child) { grid-template-columns: minmax(0, 620px); } }
.members-aside h2 { font-size: 1.3rem; margin-top: 0; }
.members-links { margin: 1.25rem 0 0; }
.members-article { max-width: 820px; display: grid; gap: 1.75rem; }
.members-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .members-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.members-block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.members-block-head h2, .members-side h2 { margin: 0; font-size: 1.35rem; }
.members-side h2 { margin: 0 0 1rem; }
.members-side h2:not(:first-child) { margin-top: 2rem; }
.members-empty { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.briefs-stack { grid-template-columns: minmax(0, 1fr) !important; }
.notice-info { background: var(--sky-soft, #e8f0fb); border-left: 4px solid var(--blue); padding: .9rem 1.1rem; border-radius: var(--radius-sm); }

.rex-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .rex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rex-card { position: relative; height: 100%; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.rex-card:hover, .rex-card:focus-within { border-color: rgba(15, 47, 158, .45); }
.rex-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
.rex-tag { padding: .2rem .6rem; border-radius: 999px; background: var(--mist); color: var(--navy); font: 700 .72rem/1.3 var(--font-display); letter-spacing: .05em; text-transform: uppercase; }
.rex-theme { background: var(--navy); color: #fff; }
.rex-card-title { margin: 0 0 .35rem; font-size: 1.15rem; line-height: 1.3; }
.rex-card-title a { color: var(--ink); text-decoration: none; }
.rex-card-title a::after { content: ""; position: absolute; inset: 0; }
.rex-card-meta { margin: 0 0 .6rem; color: var(--muted); font-size: .88rem; }
.rex-card-lesson { margin: 0; }
.rex-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; }
.rex-filters label { display: grid; gap: .3rem; font-weight: 700; font-size: .88rem; }
.rex-filters select { min-width: 13rem; }
.rex-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin: 0; padding: 1.1rem 1.25rem; background: var(--mist); border-radius: var(--radius); }
.rex-facts dt { font: 700 .72rem/1.3 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rex-facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--navy); }
.members-article h2 { margin: 0 0 .6rem; font-size: 1.3rem; }
.rex-text { font-size: 1.08rem; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
/* Récit et leçons sur fond blanc : le fond cartographique de la page ne gêne pas la lecture. */
.rex-narrative { padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.rex-lessons { padding: 1.4rem 1.6rem; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.comment-body { color: var(--ink); }
.rex-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.rex-owner form { margin: 0; }
.rex-comments { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.comment-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.comment { padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.comment-meta { margin: 0 0 .35rem; font-size: .88rem; color: var(--muted); }
.comment-body { overflow-wrap: anywhere; }
.rex-anonymous { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0 1.5rem; padding: 1rem 1.1rem; background: var(--mist); border-radius: var(--radius-sm); }
.rex-anonymous input { margin-top: .3rem; }

.doc-group { margin-bottom: 2.25rem; }
.doc-group h2 { font-size: 1.3rem; margin: 0 0 .75rem; }
.doc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.doc-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-list a { font-weight: 700; }
.members-side .doc-list li { display: grid; }

.directory { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.directory-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-wrap: anywhere; }
.directory-info { display: grid; gap: .3rem; min-width: 0; }
/* Photo du trombinoscope (page « L'équipe du club ») ou initiales */
.member-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--line); }
.member-avatar-initials { display: inline-grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--red-dark); }
.member-avatar-sm { width: 32px; height: 32px; font-size: .75rem; border: 2px solid rgba(255, 255, 255, .7); }
.members-who { display: inline-flex; align-items: center; gap: .5rem; }
.member-avatar-md { width: 52px; height: 52px; font-size: 1rem; }
.member-avatar-xl { width: 120px; height: 120px; font-size: 2rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.member-avatar-anon { display: inline-grid; place-items: center; color: var(--muted); background: var(--mist); }
.member-avatar-icon { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.8; }
/* REX : l'auteur en tête, avec sa photo */
.rex-author { display: flex; align-items: center; gap: 1.1rem; margin: 0 0 1.25rem; }
.rex-author-label { display: block; font: 700 .72rem/1.3 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rex-author-name { font-size: 1.35rem; color: var(--navy); }
.rex-card-author { display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem; }
.rex-card-author .rex-card-meta { margin: 0; }
.rex-card-name { color: var(--ink); }
.comment { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.profile-photo { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.profile-photo p { margin: 0; }

.members-choices { border: 0; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.members-choices legend { font-weight: 800; margin-bottom: .4rem; }
.check-line { display: flex; align-items: flex-start; gap: .6rem; }
.check-line input { margin-top: .3rem; }
.members-danger summary { cursor: pointer; font-weight: 700; color: var(--red-dark); }
.members-danger[open] summary { margin-bottom: 1rem; }
.small { font-size: .88rem; }

/* Lettre d'information : formulaire Brevo en iframe */
.newsletter-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem; }
.newsletter-frame iframe { display: block; width: 100%; max-width: 540px; height: 420px; margin: 0 auto; border: 0; }
@media (max-width: 600px) { .newsletter-frame iframe { height: 500px; } }
.newsletter-home { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .newsletter-home { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.newsletter-note { margin-top: 1rem; }
