/*
Theme Name: ULM Paris Est
Theme URI: https://www.ulmest.org/
Author: Club ULM Paris Est
Description: Thème du Club ULM Paris Est (aérodrome de Coulommiers-Voisins, LFPK). Accueil en sections, pages « Venir par la route » et « Venir par les airs » avec NOTAM SOFIA et widget météo metar-taf.com.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ulmest
*/

/* ---------- Polices (auto-hébergées, licence OFL) ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-var.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-var.woff") format("woff");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --ink: #172b36;
  --muted: #61717a;
  --paper: #f5f7f4;
  --white: #fff;
  --green: #087e78;
  --green-dark: #123943;
  --footer: #102d35;
  --lime: #f1b85b;
  --lime-soft: #ffd17c;
  --line: #dce5e1;
  --mint: #e7f0eb;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
.wrap { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
  padding: 10px 16px; background: var(--white); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Bandeau + en-tête ---------- */
.topline {
  min-height: 32px; display: flex; align-items: center; justify-content: center;
  padding: 5px 16px; background: var(--green-dark); color: #e7f0eb;
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase; text-align: center;
}
.topline span { margin: 0 8px; color: var(--lime); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.95); box-shadow: 0 8px 26px rgba(17,46,55,.07);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 78px; height: auto; }
.brand-logo.is-custom { width: auto; max-height: 56px; }

.nav-menu { display: flex; align-items: center; gap: clamp(15px, 2.1vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu a { display: inline-flex; align-items: center; gap: 5px; color: #40525a; font-size: 12px; font-weight: 600; transition: color .2s; }
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a { color: var(--green); }
.nav-menu .menu-item-has-children > a::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 220px; margin: 0; padding: 10px;
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 34px rgba(17,46,55,.13);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-menu .menu-item-has-children { padding: 26px 0; margin: -26px 0; }
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 13px; }
.nav-menu .sub-menu a:hover { background: var(--mint); }

.button, .wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 14px 19px; border: 0; border-radius: 999px; background: var(--green);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 7px 18px rgba(8,126,120,.16); transition: background .2s, transform .2s;
  text-decoration: none;
}
.button:hover, .wp-block-button__link:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.button svg { width: 14px; }
.button-light { background: var(--lime); color: var(--ink); box-shadow: none; }
.button-light:hover { background: var(--lime-soft); color: var(--ink); }
.button-ghost { background: transparent; color: var(--green-dark); border: 1.5px solid var(--line); box-shadow: none; }
.button-ghost:hover { background: var(--white); color: var(--green-dark); }
.menu-toggle { display: none; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--green);
  font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--lime); flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.text-link svg { width: 14px; color: var(--green); }
.text-link.underline { text-decoration: underline; text-underline-offset: 3px; }
.section { padding: 96px 0; scroll-margin-top: 90px; }
.section + .section.border-top { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading h2, .h2 {
  margin: 14px 0 0; color: var(--ink); font: 700 clamp(32px, 4vw, 48px)/1.12 var(--display); letter-spacing: -.055em;
}
.section-heading > p { max-width: 400px; margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ---------- Héros accueil ---------- */
.hero { padding: 58px 0 76px; background: radial-gradient(ellipse at 75% 18%, rgba(205,230,220,.55), transparent 38%), var(--paper); }
.hero-grid { min-height: 520px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.hero-copy { padding: 24px 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1, .page-hero h1 {
  max-width: 620px; margin: 22px 0 18px;
  font: 700 clamp(40px, 4.6vw, 62px)/1.05 var(--display); letter-spacing: -.05em;
}
.hero h1 em, .page-hero h1 em { color: var(--green); font-family: var(--serif); font-weight: 500; letter-spacing: -.05em; }
@media (min-width: 1024px) {
  /* Ordinateur : la ligne en italique (« sur Coulommiers (77). ») reste sur une seule ligne. */
  .hero h1 em { white-space: nowrap; font-size: .9em; }
}
.hero-copy > p { max-width: 470px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 17px; }
.hero-note { margin-top: auto; padding-top: 37px; display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; }
.avatars { display: flex; padding-left: 5px; }
.avatars span {
  width: 27px; height: 27px; margin-left: -5px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--paper); background: #dfb874;
  color: var(--green-dark); font-size: 8px; font-weight: 700;
}
.avatars span:nth-child(2) { background: #bddbd4; }
.avatars span:nth-child(3) { background: var(--green-dark); color: #fff; }
.hero-photo {
  position: relative; min-height: 520px; overflow: hidden; border-radius: 28px;
  background-color: #829285; background-size: cover; background-position: center 54%;
  box-shadow: 0 26px 60px rgba(18,57,67,.18);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(10,31,35,.64)); }
.photo-label { position: absolute; z-index: 1; left: 30px; bottom: 28px; color: #fff; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.photo-label strong { display: block; margin-bottom: 6px; font-size: 15px; letter-spacing: .04em; text-transform: none; }
.weather-link { display: inline-block; margin-left: 10px; color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-decoration: underline; text-underline-offset: 3px; text-transform: none; }
.hero-stamp {
  position: absolute; z-index: 2; top: 24px; right: 24px; width: 94px; height: 94px;
  display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime);
  text-align: center; font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  transform: rotate(7deg);
}

/* ---------- Le club + chiffres ---------- */
.about { padding: 84px 0 90px; background: var(--white); }
.about-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: end; max-width: 920px; margin: 0 auto 38px; }
.about-intro h2 { margin: 14px 0 0; font: 700 clamp(34px, 4vw, 48px)/1.12 var(--display); letter-spacing: -.055em; }
.about-intro p { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 29px 34px; color: #fff; background: var(--green-dark); border-radius: var(--radius); }
.stat { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.2); }
.stat:last-child { border: 0; }
.stat strong { display: block; margin-bottom: 4px; font: 700 24px var(--display); letter-spacing: -.04em; }
.stat span { color: #ccdad5; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Cartes activités ---------- */
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program {
  min-height: 340px; padding: 29px; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(24,54,58,.045); transition: transform .22s ease, box-shadow .22s ease;
}
.program:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(24,54,58,.1); }
.program-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--green); background: #e6f1ec; border-radius: 14px; flex-shrink: 0; }
.program-icon svg { width: 22px; }
.program h3 { margin: 25px 0 10px; font: 700 20px var(--display); letter-spacing: -.03em; }
.program p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.program .text-link { margin-top: auto; padding-top: 22px; }
.program-media { padding: 0; overflow: hidden; }
.program-media > img { display: block; width: 100%; height: 175px; object-fit: cover; }
.program-media-content { display: flex; flex: 1; flex-direction: column; padding: 22px 29px 27px; }
.program-media-content h3 { margin-top: 17px; }

/* ---------- École / Rejoindre ---------- */
.school { padding: 92px 0; background: var(--mint); }
.school-redirect { max-width: 760px; margin: 0 auto; text-align: center; }
.school-redirect .eyebrow { justify-content: center; }
.school-redirect h2 { margin: 16px 0 14px; font: 700 clamp(34px, 4vw, 48px)/1.12 var(--display); letter-spacing: -.055em; }
.school-redirect p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.join { padding: 78px 0; background: var(--green-dark); color: #fff; }
.join-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.join .eyebrow { color: var(--lime); }
.join-copy h2 { margin: 16px 0 11px; color: #fff; font: 700 clamp(34px, 4vw, 48px)/1.12 var(--display); letter-spacing: -.055em; }
.join-copy p { max-width: 510px; margin: 0; color: #d1ddd4; font-size: 12px; line-height: 1.75; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.join .button-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.join .button-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Accès (accueil) ---------- */
.access { background: #edf2ef; }
.access-grid, .road-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: stretch; }
.access-copy, .road-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.access-copy h2 { margin: 16px 0 13px; font: 700 clamp(34px, 4vw, 48px)/1.12 var(--display); letter-spacing: -.055em; }
.access-copy p, .road-copy p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.address { margin: 12px 0 24px; font-size: 12px; font-weight: 700; line-height: 1.8; }
.address span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.address a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.map-frame { width: 100%; min-height: 380px; border: 0; border-radius: 20px; background: #e4e8df; box-shadow: 0 15px 34px rgba(18,57,67,.1); }
.link-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ---------- Actualités ---------- */
.news { background: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(24,54,58,.045);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px rgba(24,54,58,.1); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.post-card time { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0 8px; font: 700 18px/1.3 var(--display); letter-spacing: -.025em; }
.post-card h3 a:hover { color: var(--green); }
.post-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.post-card .text-link { margin-top: auto; padding-top: 18px; }
.pagination { margin-top: 42px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700;
}
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- En-tête de page ---------- */
.page-hero { padding: 74px 0 52px; background: radial-gradient(ellipse at 78% 12%, rgba(205,230,220,.62), transparent 40%), var(--paper); }
.page-hero h1 { max-width: 860px; margin: 18px 0 14px; font-size: clamp(38px, 5vw, 60px); }
.page-hero .lead, .page-hero .lead p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.page-hero .meta { color: var(--muted); font-size: 12px; }
.page-hero .subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); color: var(--green-dark); font-size: 12px; font-weight: 700;
}
.chip:hover, .chip.is-current { border-color: var(--green); color: var(--green); }
.chip.is-current { background: #e6f1ec; }

/* ---------- Contenu éditorial (Gutenberg) ---------- */
.content-section { padding: 64px 0 96px; }
.prose { max-width: 760px; margin: 0 auto; color: #34454d; font-size: 15px; line-height: 1.85; }
.prose.wide { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin: 1.9em 0 .5em; color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.18; letter-spacing: -.045em; }
.prose h3 { margin: 1.7em 0 .4em; color: var(--ink); font-size: 20px; letter-spacing: -.03em; }
.prose h4 { margin: 1.5em 0 .3em; color: var(--ink); font-size: 16px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-dark); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--green); }
.prose blockquote, .prose .wp-block-quote {
  margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--lime); border-radius: 0 12px 12px 0;
  background: #f9f4e9; color: #54462e;
}
.prose img, .prose .wp-block-image img { border-radius: 16px; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); font-family: var(--display); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose .wp-block-button__link, .prose .button, .prose .button:hover { color: #fff; text-decoration: none; font-size: 13px; }
.prose .button-ghost, .prose .button-ghost:hover { color: var(--green-dark); }
.prose .button-light, .prose .button-light:hover { color: var(--ink); }
.prose a[href^="mailto:"] { overflow-wrap: anywhere; }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--green); border: 1.5px solid var(--green); box-shadow: none; }
.prose .wp-block-columns { gap: 28px; }
.prose .wp-block-group.has-background, .prose .callout {
  padding: 24px 26px; border-radius: var(--radius);
}
.prose .callout { background: var(--white); border: 1px solid var(--line); }
.alignwide { width: min(1180px, calc(100vw - 56px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull img, .alignwide img { width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.prose::after { content: ""; display: table; clear: both; }
.featured-image { margin: 0 auto 40px; max-width: 960px; }
.featured-image img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 44px rgba(18,57,67,.12); }
.post-nav { max-width: 760px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }

/* Galeries et légendes (contenus anciens : [gallery], [caption]) */
.prose h1 { margin: 1.9em 0 .5em; color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.18; letter-spacing: -.045em; }
.prose > h1:first-child, .prose > h2:first-child { margin-top: 0; }
.prose .wp-caption { max-width: 100%; margin: 1.6em auto; }
.prose .wp-caption img { display: block; margin: 0 auto; }
.prose .wp-caption-text { margin-top: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 1.6em 0; }
.prose .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.prose .gallery-item { margin: 0; }
.prose .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 0 !important; }
.prose .gallery-caption { margin-top: 4px; color: var(--muted); font-size: 11px; text-align: center; }
.prose .gallery br { display: none; }
.prose { --wp--style--gallery-gap-default: 12px; }
.prose .wp-block-gallery { --wp--style--unstable-gallery-gap: 12px; gap: 12px; }
.prose .wp-block-gallery img { border-radius: 12px; }
.prose video { width: 100%; border-radius: 16px; }
.prose iframe { max-width: 100%; }
.terrain-prose { background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.terrain-prose h2 { font-size: 24px; }
.vac-card { margin: 1.4em 0; }
@media (max-width: 760px) { .terrain-prose { padding: 24px 20px; } }

/* ---------- Pages : contenu + colonne latérale (pleine largeur) ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.page-layout .prose, .page-main .prose { max-width: none; margin: 0; }
.page-main .featured-image { max-width: none; margin: 0 0 36px; }
.page-main .post-nav { max-width: none; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 16px; }
.admin-bar .sidebar { top: 142px; }
.side-card { padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(24,54,58,.045); }
.side-card h3 { margin: 12px 0 8px; font: 700 19px/1.25 var(--display); letter-spacing: -.03em; }
.side-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.side-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.side-list { margin: 12px 0 14px; padding: 0; list-style: none; }
.side-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; color: var(--green-dark); font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.side-list a:hover { color: var(--green); }
.side-list span { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.school-card { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.school-card .eyebrow { color: var(--lime); }
.school-card h3 { color: #fff; }
.school-card p { color: #c9d8d3; }
.school-card .button { background: var(--lime); color: var(--ink); box-shadow: none; }
.school-card .button:hover { background: var(--lime-soft); color: var(--ink); }
.school-card .text-link, .school-card .text-link svg { color: #fff; }
.card-links { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.card-links .text-link { padding: 0 !important; margin: 0 !important; }
.nowrap { white-space: nowrap; }
.terrain-prose { padding: 34px 38px; }

/* Fichiers (PDF) */
.prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 10px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.prose .wp-block-file > a:not(.wp-block-file__button) { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.prose .wp-block-file > a:not(.wp-block-file__button):hover { color: var(--green); text-decoration: underline; }
.prose .wp-block-file .wp-block-file__button { margin: 0; padding: 8px 15px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: none; }
.prose .wp-block-file .wp-block-file__button:hover { background: var(--green-dark); color: #fff; }
.prose .wp-block-file__embed { flex-basis: 100%; order: 3; border: 0; border-radius: 10px; background: var(--mint); }
.prose .archive-gallery { margin-bottom: 2em; }
.prose .archive-gallery figure.wp-block-image:only-child { flex-grow: 0; max-width: 520px; }

/* ---------- Venir par les airs ---------- */
.air-intro { display: grid; grid-template-columns: 1fr .95fr; gap: 42px; align-items: center; }
.air-intro .prose { margin: 0; font-size: 14px; }
.air-photo { margin: 0; overflow: hidden; border-radius: 20px; background: #dbe3dd; box-shadow: 0 18px 44px rgba(18,57,67,.12); }
.air-photo img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.air-photo figcaption { padding: 11px 16px; color: var(--muted); background: #fff; font-size: 10px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.fact { padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.fact strong { display: block; font: 700 22px var(--display); letter-spacing: -.04em; color: var(--green-dark); }
.fact span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.detail-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 17px; letter-spacing: -.02em; }
.detail-card h3 .program-icon { width: 38px; height: 38px; border-radius: 11px; }
.detail-card h3 .program-icon svg { width: 18px; }
.detail-card p, .detail-card li { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.detail-card p { margin: 0; }
.detail-card p + p { margin-top: 10px; }
.detail-card ul { margin: 0; padding-left: 18px; }
.detail-card li strong { color: var(--ink); }
.flight-note { margin-top: 16px !important; padding: 14px 16px; border-left: 3px solid var(--lime); border-radius: 0 10px 10px 0; background: #f9f4e9; color: #54462e !important; }
.flight-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }

.weather-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.sun-card h3 { margin-bottom: 16px; }
.sun-today { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sun-today > div { padding: 12px 14px; border-radius: 12px; background: #f3f6f4; }
.sun-today span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sun-today strong { display: block; margin-top: 2px; font: 700 26px/1.1 var(--display); letter-spacing: -.03em; color: var(--green-dark); }
.sun-today .aero { grid-column: 1 / -1; background: #fdf3df; }
.sun-today .aero strong { font-size: 22px; color: #7a4c06; }
.sun-date { margin: 10px 0 12px !important; font-size: 11.5px !important; }
.sun-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sun-table th { padding: 6px 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.sun-table td { padding: 7px 4px; border-bottom: 1px solid #edf1ee; color: var(--ink); font-variant-numeric: tabular-nums; }
.sun-table tr:last-child td { border-bottom: 0; }
.sun-card .source { margin: 12px 0 0 !important; color: var(--muted); font-size: 10.5px !important; line-height: 1.6 !important; }
@media (max-width: 1180px) and (min-width: 961px) {
  .weather-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .weather-grid .links-card { grid-column: 1 / -1; }
}
.weather-box { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 15px 34px rgba(18,57,67,.07); }
.metar-widget { min-height: 440px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #f3f6f4; }
.metar-widget > a { color: var(--green-dark); text-decoration: underline; }
.metar-widget iframe { max-width: 100%; }
.weather-box .source { margin: 12px 2px 0; color: var(--muted); font-size: 10.5px; }
.weather-box .source a { text-decoration: underline; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 2px; font-size: 13px; font-weight: 600; color: var(--green-dark); }
.link-list a span { color: var(--muted); font-size: 11px; font-weight: 400; }
.link-list a:hover { color: var(--green); }

/* ---------- NOTAM ---------- */
.notams { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; box-shadow: 0 15px 34px rgba(18,57,67,.07); }
.notam-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.notam-meta span { padding: 6px 11px; border-radius: 999px; background: #eef3f0; color: #40525a; font-size: 11px; font-weight: 600; }
.notam-alert { margin: 14px 0; padding: 12px 15px; border-radius: 10px; background: #fff3cd; color: #6b5212; font-size: 12px; }
.notam-group { margin-top: 22px; }
.notam-group > h3, .notam-group > summary {
  display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font: 700 16px var(--display); letter-spacing: -.02em; color: var(--ink); cursor: default; list-style: none;
}
.notam-group > summary { cursor: pointer; }
.notam-group > summary::-webkit-details-marker { display: none; }
.notam-group > summary::after {
  content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(45deg); transition: transform .2s;
}
.notam-group[open] > summary::after { transform: rotate(-135deg); }
.count { min-width: 26px; height: 22px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--green); color: #fff; font: 700 11px var(--sans); }
.notam { padding: 14px 0; border-bottom: 1px solid #edf1ee; }
.notam:last-child { border-bottom: 0; }
.notam-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.notam-id { font: 700 13px var(--display); color: var(--green-dark); }
.notam-badge { padding: 3px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.notam-badge.active { background: #fde5bf; color: #7a4c06; }
.notam-badge.future { background: #e6f1ec; color: var(--green); }
.notam-date { color: var(--muted); font-size: 11.5px; }
.notam-txt {
  margin-top: 7px; padding: 11px 13px; border-radius: 10px; background: #f6f8f7; color: #22343c;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-line; overflow-wrap: anywhere;
}
.notam-empty { padding: 14px 0 4px; color: var(--muted); font-size: 12.5px; }
.notam-foot { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.notam-foot a { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 34px 0; background: var(--footer); color: #d2dbd2; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-footer .brand { padding: 6px 10px; background: #fff; border-radius: 12px; }
.site-footer .brand-logo { width: 72px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 11px; color: #b4c2b9; }
.footer-menu a:hover { color: #fff; }
.footer-menu .sub-menu { display: none; }
.copyright { color: #9eb1aa; font-size: 10px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found .eyebrow { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .wrap { width: min(100% - 44px, 760px); }
  .nav { min-height: 72px; }
  .nav-menu { gap: 15px; }
  .nav-menu a { font-size: 11px; }
  .nav > .button { padding: 12px 15px; font-size: 11px; }
  .hero-grid { gap: 30px; min-height: 450px; }
  .hero-photo { min-height: 450px; }
  .access-grid, .road-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-grid, .air-intro { grid-template-columns: 1fr; }
  .metar-widget { min-height: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .topline { font-size: 8px; letter-spacing: .05em; }
  .nav { min-height: 68px; position: relative; }
  .brand-logo { width: 68px; }
  .menu-toggle { display: block; }
  .nav > .button { display: none; }
  .primary-nav {
    position: absolute; top: 100%; left: -20px; right: -20px; display: none; padding: 10px 20px 18px;
    background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px rgba(17,46,55,.12);
  }
  .primary-nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { width: 100%; padding: 13px 4px; color: var(--ink); font-size: 14px; }
  .nav-menu .menu-item-has-children { padding: 0; margin: 0; }
  .nav-menu .menu-item-has-children > a::after { display: none; }
  .nav-menu .sub-menu {
    position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-menu .sub-menu a { padding: 9px 4px; font-size: 13px; color: var(--muted); }
  .primary-nav .mobile-cta { display: flex; margin-top: 12px; }
  .hero { padding: 32px 0 45px; }
  .hero-grid { display: flex; flex-direction: column; gap: 28px; }
  .hero-copy { padding: 12px 0 0; }
  .hero h1 { margin: 18px 0 14px; font-size: clamp(31px, 8.6vw, 42px); line-height: 1.08; }
  .page-hero h1 { font-size: clamp(31px, 8.6vw, 42px); line-height: 1.08; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { gap: 15px; }
  .hero-note { margin-top: 23px; padding-top: 0; }
  .hero-photo { width: 100%; min-height: 340px; border-radius: 20px; }
  .hero-stamp { width: 78px; height: 78px; top: 16px; right: 16px; font-size: 8px; }
  .photo-label { left: 20px; right: 20px; bottom: 20px; }
  .about { padding: 60px 0; }
  .about-intro { display: block; margin-bottom: 28px; }
  .about-intro p { margin-top: 14px; }
  .stats-row { grid-template-columns: 1fr 1fr; padding: 24px; row-gap: 22px; }
  .stat { padding: 0 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 8px; }
  .section { padding: 64px 0; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading > p { margin-top: 13px; }
  .program-grid, .post-grid, .card-grid, .card-grid.three { grid-template-columns: 1fr; gap: 14px; }
  .program { min-height: 0; padding: 24px; }
  .program-media { padding: 0; }
  .program-media-content { padding: 20px 24px 24px; }
  .school { padding: 60px 0; }
  .join { padding: 58px 0; }
  .join-row { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 48px 0 34px; }
  .page-hero .lead, .page-hero .lead p { font-size: 13.5px; }
  .content-section { padding: 44px 0 64px; }
  .prose { font-size: 14px; }
  .map-frame { min-height: 300px; border-radius: 16px; }
  .notams { padding: 20px 18px; }
  .detail-card { padding: 20px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (min-width: 761px) { .primary-nav .mobile-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
