:root {
  --night: #07111f;
  --night-soft: #0b1c2d;
  --panel: #16283a;
  --line: rgba(180, 218, 239, .27);
  --text: #e6f1ff;
  --muted: #a9bdce;
  --cyan: #39d9ff;
  --cyan-glow: rgba(57, 217, 255, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--night); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 20; top: -4rem; left: 1rem; padding: .7rem 1rem; color: var(--night); background: var(--cyan); }.skip-link:focus { top: 1rem; }

.site-header { min-height: 84px; position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.5rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.site-name { font-size: .84rem; font-weight: 700; letter-spacing: .18em; }.site-name span { color: var(--cyan); }
.main-menu { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }.main-menu a { padding: .5rem 0; }.main-menu a:hover, .main-menu a:focus-visible { color: var(--cyan); text-shadow: 0 0 13px var(--cyan-glow); }
.menu-toggle { display: none; color: var(--text); background: transparent; border: 0; font: inherit; cursor: pointer; }

.hero { min-height: min(780px, 100vh); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 9rem clamp(1.5rem, 9vw, 10rem) 4rem; background: radial-gradient(circle at 73% 43%, #16415b 0, #0b2439 22%, transparent 46%), linear-gradient(125deg, var(--night) 20%, var(--night-soft)); }
.hero::after { content: ""; position: absolute; width: min(54vw, 700px); aspect-ratio: 1; right: -8vw; top: 16%; border: 1px solid rgba(166, 224, 242, .25); border-radius: 50%; box-shadow: 0 0 0 64px rgba(54, 141, 174, .04), 0 0 70px rgba(57, 217, 255, .16); }.hero__stars { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7, 17, 31, .25) 0%, transparent 45%, rgba(57, 217, 255, .1) 100%); }
.hero > *:not(.hero__stars) { position: relative; z-index: 1; }.eyebrow { margin: 0 0 1.6rem; color: var(--cyan); font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }.hero h1, .section-hero h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; line-height: .96; }.hero h1 { max-width: 980px; font-size: clamp(3rem, 7vw, 7.2rem); }.hero h1 span, h2 span { color: var(--cyan); text-shadow: 0 0 26px rgba(57, 217, 255, .25); }
.hero__bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-top: clamp(2.5rem, 6vw, 5rem); max-width: 900px; }.hero__bottom p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }.hero__bottom strong { color: var(--text); }.scroll-hint { display: inline-flex; align-items: center; gap: 1rem; color: var(--cyan); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }.scroll-hint span { font-size: 1.2rem; }

.univers { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5rem); background: linear-gradient(180deg, #0b1c2d, var(--night)); }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 3.5rem; }.section-heading h2 { font-size: clamp(2.2rem, 5.2vw, 5rem); }.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.universe-card { min-height: 470px; aspect-ratio: 3 / 2; align-self: start; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(145deg, #1d425a, #0c1f30); box-shadow: 10px 12px 0 rgba(0, 0, 0, .25); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }.universe-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(2, 11, 20, .92) 0%, rgba(2, 11, 20, .1) 65%); }.universe-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }.universe-card:hover, .universe-card:focus-visible { transform: translate(-5px, -5px); border-color: var(--cyan); box-shadow: 15px 17px 0 rgba(0, 0, 0, .3), 0 0 22px var(--cyan-glow); }.universe-card:hover img, .universe-card:focus-visible img { transform: scale(1.08); }.universe-card__content { display: grid; gap: .55rem; }.universe-card__content strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 400; }.universe-card__content small { color: var(--muted); font-size: .78rem; }.universe-card__arrow { position: absolute; right: 1.5rem; bottom: 1.5rem; color: var(--cyan); font-size: 1.8rem; }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.8rem clamp(1.5rem, 5vw, 5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .06em; }.site-footer p { margin: 0; }.back-to-top:hover { color: var(--cyan); }

@media (max-width: 760px) { .site-header { min-height: 70px; }.menu-toggle { display: flex; align-items: center; gap: .75rem; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }.menu-toggle__icon { display: grid; gap: 5px; }.menu-toggle__icon i { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .2s; }.main-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 1.25rem 1.5rem 1.75rem; background: #0d2133; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 1rem; }.main-menu.is-open { display: flex; }.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(3px) rotate(45deg); }.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-3px) rotate(-45deg); }.hero { min-height: 690px; padding-top: 8rem; }.hero::after { width: 110vw; right: -38vw; top: 26%; }.hero__bottom { align-items: start; flex-direction: column; }.univers { overflow-x: clip; }.universe-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }.universe-card { width: 100%; max-width: 100%; min-width: 0; min-height: 330px; }.section-heading { display: block; }.section-heading .eyebrow { margin-bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Page de section : contenu qui peut défiler librement. */
.section-page { height: auto; overflow: auto; }
.section-page .site-header { position: relative; background: rgba(7, 17, 31, .95); }
.section-page .main-menu a[aria-current="page"] { color: var(--cyan); }
.section-hero { min-height: min(780px, 100vh); position: relative; overflow: hidden; padding: 1.5rem clamp(1.5rem, 9vw, 10rem) clamp(3.5rem, 6vw, 5rem); background: radial-gradient(circle at 77% 40%, #164a6c 0, #0c273c 22%, transparent 45%), linear-gradient(125deg, var(--night), var(--night-soft)); }
.section-hero::after { content: "✦"; position: absolute; right: clamp(2rem, 12vw, 15rem); top: 1rem; color: rgba(57, 217, 255, .2); font-size: clamp(12rem, 30vw, 34rem); line-height: 1; }.section-hero > * { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: .7rem; margin: 0 0 2rem; color: var(--muted); font-size: .75rem; }.breadcrumb a:hover { color: var(--cyan); }.breadcrumb span { color: var(--cyan); }.section-hero h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); }.section-hero h1 span { color: var(--cyan); text-shadow: 0 0 26px rgba(57, 217, 255, .25); }.section-hero__intro { max-width: 470px; margin: 1.7rem 0 2rem; color: var(--muted); line-height: 1.65; }.section-back { color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.section-back:hover { text-shadow: 0 0 12px var(--cyan-glow); }
.content-groups { padding: 1.5rem clamp(1.5rem, 5vw, 5rem) clamp(4rem, 9vw, 8rem); background: linear-gradient(180deg, #0b1c2d, var(--night)); }.content-group { margin-bottom: clamp(4.5rem, 8vw, 7rem); }.content-group__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }.content-group__heading .eyebrow { margin: 0; }.content-group__heading h2 { font-size: clamp(2rem, 4vw, 4rem); }.subsection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.subsection-card { min-height: 210px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .7rem; padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); box-shadow: 7px 8px 0 rgba(0, 0, 0, .2); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }.subsection-card--large { grid-column: span 2; background: radial-gradient(circle at 80% 20%, #1b5c78, transparent 48%), linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }.subsection-card:hover, .subsection-card:focus-visible { transform: translate(-4px, -4px); border-color: var(--cyan); box-shadow: 11px 12px 0 rgba(0, 0, 0, .22), 0 0 18px var(--cyan-glow); }.subsection-card__number { position: absolute; top: 1.3rem; left: 1.5rem; color: var(--cyan); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }.subsection-card strong { max-width: 85%; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 400; line-height: 1.03; }.subsection-card small { max-width: 85%; color: var(--muted); font-size: .78rem; line-height: 1.45; }.subsection-card b { position: absolute; right: 1.4rem; bottom: 1.25rem; color: var(--cyan); font-size: 1.4rem; font-weight: 400; }.other-sections { padding: clamp(2.5rem, 5vw, 4.5rem); border: 1px solid var(--line); background: var(--panel); text-align: center; }.other-sections .eyebrow { margin-bottom: 1rem; }.other-sections h2 { font-size: clamp(2rem, 4vw, 3.8rem); }.other-sections div { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; }.other-sections a { color: var(--cyan); font-weight: 700; }.other-sections a:hover { text-shadow: 0 0 13px var(--cyan-glow); }.other-sections span { margin-left: .35rem; }
.subsection-card--detail { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(2rem, 4vw, 3.5rem); background: radial-gradient(circle at 20% 20%, #1b5c78, transparent 48%), linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }.subsection-detail__image { width: 100%; max-width: 430px; justify-self: center; border: 1px solid var(--line); }.subsection-detail__content { display: grid; gap: 1rem; }.subsection-card--detail h3 { max-width: none; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.03; }.subsection-detail__description { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }.subsection-detail__actions { display: flex; flex-wrap: wrap; gap: .65rem; }.subsection-detail__action { padding: .75rem .9rem; border: 1px solid var(--line); color: var(--cyan); font-size: .78rem; line-height: 1.35; transition: border-color .2s ease, background-color .2s ease; }.subsection-detail__action:hover, .subsection-detail__action:focus-visible { border-color: var(--cyan); background: rgba(57, 217, 255, .1); }
.subsection-detail__search-label { align-self: center; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.expeditions-intro { display: block; overflow: hidden; padding: 1.25rem; }.expeditions-intro-image { display: block; width: 100%; max-width: none; margin: 0; border: 1px solid var(--line); }
.expeditions-page .subsection-grid { grid-template-columns: repeat(4, 1fr); }
.expeditions-page .subsection-grid > .subsection-card--detail:not(.expeditions-intro) { grid-column: auto; display: flex; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem; }.expeditions-page .subsection-grid > .subsection-card--detail:not(.expeditions-intro) .subsection-detail__image { max-width: 100%; }.expeditions-page .subsection-grid > .subsection-card--detail:not(.expeditions-intro) .subsection-detail__content { flex: 1; }.expeditions-page .subsection-grid > .subsection-card--detail:not(.expeditions-intro) .subsection-detail__actions { margin-top: auto; }
.subsection-card--compact .subsection-detail__content { align-self: start; }

.weather-widgets { grid-column: 1 / -1; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: radial-gradient(circle at 20% 20%, #1b5c78, transparent 48%), linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }.weather-widgets__heading { margin-bottom: 1.5rem; }.weather-widgets__heading .eyebrow { margin-bottom: .75rem; }.weather-widgets h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.03; }.weather-widgets h3 span { color: var(--cyan); }.weather-widgets__subtitle { margin: .65rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }.weather-widgets__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }.weather-widgets iframe { display: block; width: 100%; height: 200px; border: 0; background: var(--night-soft); }
.meteo-feature-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }.meteo-feature-row > #mes-autres-images, .meteo-feature-row > #articles, .meteo-feature-row > #applications { grid-column: auto; }.meteo-feature-row > #mes-autres-images, .meteo-feature-row > #applications { grid-template-columns: 1fr; }.meteo-feature-row > #mes-autres-images { align-content: start; }.meteo-feature-row > #mes-autres-images .subsection-detail__image, .meteo-feature-row > #articles .subsection-detail__image, .meteo-feature-row > #applications .subsection-detail__image { max-width: 100%; }.meteo-feature-row > #articles { display: flex; flex-direction: column; }.meteo-feature-row > #articles .subsection-detail__image { margin-bottom: 1.5rem; }.meteo-feature-row > #articles .subsection-detail__actions, .meteo-feature-row > #applications .subsection-detail__actions { margin-top: auto; }
.satellite-animations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }.satellite-animations__grid figure { margin: 0; padding: .75rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.satellite-animations__grid a { display: block; }.satellite-animations__grid img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; border: 1px solid var(--line); }.satellite-animations__grid a:hover img, .satellite-animations__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }.satellite-animations__grid figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; text-align: center; }
.global-weather__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }.global-weather__grid figure { margin: 0; padding: .75rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.global-weather__grid a { display: block; }.global-weather__grid img { display: block; width: 100%; border: 1px solid var(--line); }.global-weather__grid a:hover img, .global-weather__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }.global-weather__grid figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; text-align: center; }
.north-america-satellite__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; }.north-america-satellite__grid figure { margin: 0; padding: .75rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.north-america-satellite__grid a { display: block; }.north-america-satellite__grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }.north-america-satellite__grid a:hover img, .north-america-satellite__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }.north-america-satellite__grid figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; text-align: center; }
.solar-images__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }.solar-images__grid figure { margin: 0; padding: .75rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.solar-images__grid a { display: block; }.solar-images__grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }.solar-images__grid a:hover img, .solar-images__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }.solar-images__grid figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; text-align: center; }

.cloud-forecast { grid-column: 1 / -1; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, #1b5c78, transparent 48%), linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }.cloud-forecast__heading { margin-bottom: 1.5rem; }.cloud-forecast__heading .eyebrow { margin-bottom: .75rem; }.cloud-forecast h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.03; }.cloud-forecast h3 span { color: var(--cyan); }.cloud-forecast__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.cloud-forecast figure { margin: 0; padding: .8rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .38); }.cloud-forecast figcaption { margin: 0 0 .7rem; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }.cloud-forecast img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: var(--night-soft); }.cloud-forecast a:hover img, .cloud-forecast a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }
@media (max-width: 760px) { .cloud-forecast__grid { grid-template-columns: 1fr; } }

.clear-sky-clock { grid-column: 1 / -1; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: radial-gradient(circle at 20% 20%, #1b5c78, transparent 48%), linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }.clear-sky-clock__heading { margin-bottom: 1.5rem; }.clear-sky-clock__heading .eyebrow { margin-bottom: .75rem; }.clear-sky-clock h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.03; }.clear-sky-clock h3 span { color: var(--cyan); }.clear-sky-clock__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.clear-sky-clock figure { margin: 0; padding: .8rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .38); }.clear-sky-clock img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: var(--night-soft); }.clear-sky-clock a:hover img, .clear-sky-clock a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }.clear-sky-clock figcaption { margin-top: .7rem; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.weather-widgets, .cloud-forecast, .clear-sky-clock { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.weather-widgets:hover, .weather-widgets:focus-within, .cloud-forecast:hover, .cloud-forecast:focus-within, .clear-sky-clock:hover, .clear-sky-clock:focus-within { transform: translate(-4px, -4px); border-color: var(--cyan); box-shadow: 11px 12px 0 rgba(0, 0, 0, .22), 0 0 18px var(--cyan-glow); }
@media (max-width: 760px) { .clear-sky-clock__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .meteo-feature-row { grid-template-columns: 1fr; } }

@media (max-width: 760px) { .section-page .site-header { position: relative; }.section-hero { min-height: 690px; padding-top: 4rem; }.section-hero::after { right: -4rem; top: 7rem; }.content-group__heading { display: block; }.content-group__heading .eyebrow { margin-bottom: 1rem; }.subsection-grid { grid-template-columns: 1fr; }.subsection-card--large { grid-column: auto; }.subsection-card--detail { grid-template-columns: 1fr; }.subsection-detail__actions { flex-direction: column; }.subsection-detail__action { text-align: center; }.other-sections div { flex-direction: column; gap: 1rem; } }
@media (max-width: 760px) { .expeditions-page .subsection-grid { grid-template-columns: 1fr; } }

/* Accueil compact sur ordinateur : tout le contenu reste dans la fenêtre. */
@media (min-width: 761px) {
  body:not(.section-page) { height: 100dvh; overflow: hidden; }
  .hero { height: 49dvh; min-height: 0; padding: 5.5rem clamp(1.5rem, 9vw, 10rem) 1rem; }
  .section-hero { height: 49dvh; min-height: 0; }
  .hero h1 { font-size: clamp(2.7rem, 4vw, 4.5rem); }
  .section-hero h1 { font-size: clamp(2.7rem, 4vw, 4.5rem); }
  .hero__bottom { margin-top: 1rem; }
  .hero__bottom p { font-size: .82rem; line-height: 1.5; }
  .scroll-hint { display: none; }
  .univers { height: calc(51dvh - 52px); min-height: 0; padding-top: clamp(1rem, 2.5vh, 1.8rem); padding-bottom: clamp(1rem, 2.5vh, 1.8rem); }
  .section-heading { margin-bottom: clamp(.8rem, 1.8vh, 1.3rem); }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading h2 { font-size: clamp(1.8rem, 3.2vw, 3.2rem); }
  .universe-grid { height: calc(100% - 62px); grid-template-columns: repeat(3, 24%); justify-content: center; gap: clamp(.75rem, 1.4vw, 1.4rem); }
  .universe-card { width: 100%; min-height: 0; align-self: center; justify-self: center; }
  .universe-card__content { gap: .3rem; }
  .universe-card__content strong { font-size: clamp(1.6rem, 2.6vw, 2.5rem); }
  .universe-card__content small { font-size: .72rem; }
  .site-footer { height: 52px; display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
}

/* Fenêtre peu haute : l'accueil redevient défilable afin que le titre et les cartes
   conservent leur espace et ne se chevauchent jamais. */
@media (min-width: 761px) and (max-height: 760px) {
  body:not(.section-page) { height: auto; overflow: auto; }
  .hero { height: auto; min-height: 620px; }
  .univers { height: auto; min-height: 0; }
  .universe-grid { height: auto; }
  .universe-card { min-height: 280px; }
  .site-footer { height: auto; padding-top: 1.8rem; padding-bottom: 1.8rem; }
}

.recent-images { grid-column: 1 / -1; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(37, 68, 91, .8), rgba(11, 28, 45, .9)); }
.recent-images > .subsection-card__number, .recent-images > b { display: none; }
.recent-images > strong { display: block; max-width: none; margin-bottom: .45rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.03; }
.recent-images > small { display: block; margin-bottom: 1.7rem; color: var(--muted); font-size: .82rem; }
.recent-images__grid { display: grid; grid-template-columns: repeat(auto-fit, 150px); gap: 1rem; justify-content: center; }
.recent-images__grid figure { width: 150px; margin: 0; }
.recent-images__grid img { display: block; width: 150px; height: 100px; object-fit: cover; border: 1px solid var(--line); }
.recent-images__grid a:hover img, .recent-images__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }
.recent-images__grid figcaption { margin-top: .45rem; color: var(--muted); font-size: .7rem; line-height: 1.3; }

/* Galerie réutilisable : titre, retour et grille de vignettes. */
.gallery-page { min-height: 100vh; padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 77% 0%, #164a6c 0, #0c273c 24%, transparent 48%), linear-gradient(145deg, #0b1c2d, var(--night)); }
.gallery-page__back { display: inline-block; margin-bottom: clamp(1rem, 2.5vw, 1.5rem); color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-page__back:hover, .gallery-page__back:focus-visible { text-shadow: 0 0 12px var(--cyan-glow); }
.gallery-page__heading { margin-bottom: clamp(2rem, 5vw, 4rem); }
.gallery-page__heading h1 { margin: .65rem 0 1rem; font-size: clamp(3rem, 6.4vw, 6.5rem); }
.gallery-page__heading h1 span { color: var(--cyan); text-shadow: 0 0 26px rgba(57, 217, 255, .25); }
.gallery-page__heading p:last-child { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.65; }
.gallery-page__filtre { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; margin: 0 0 1.5rem; padding: .85rem 1rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }
.gallery-page__filtre label { color: var(--muted); font-size: .75rem; }
.gallery-page__filtre select { min-height: 2.35rem; padding: .45rem 2rem .45rem .65rem; border: 1px solid var(--line); border-radius: 0; color: var(--text); background: var(--night-soft); font: inherit; font-size: .78rem; }
.gallery-page__filtre select:focus-visible { outline: 1px solid var(--cyan); border-color: var(--cyan); }
.gallery-page__search { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; margin: 0 0 1rem; padding: .85rem 1rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }
.gallery-page__search label { color: var(--muted); font-size: .75rem; }
.gallery-page__search input { flex: 1 1 240px; min-height: 2.35rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 0; color: var(--text); background: var(--night-soft); font: inherit; font-size: .82rem; }
.gallery-page__search button { min-height: 2.35rem; padding: .45rem .85rem; border: 1px solid var(--cyan); color: var(--cyan); background: rgba(57, 217, 255, .08); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.gallery-page__search input:focus-visible, .gallery-page__search button:focus-visible { outline: 1px solid var(--cyan); outline-offset: 2px; }
.gallery-page__search button:hover { background: rgba(57, 217, 255, .18); }
.gallery-page__filter-note { color: var(--muted); font-size: .72rem; line-height: 1.4; white-space: nowrap; }
.gallery-page__filter-note--important { flex-basis: 100%; margin: .2rem 0 0; padding: .7rem .85rem; border-left: 2px solid var(--cyan); background: rgba(57, 217, 255, .1); color: var(--text); font-size: .78rem; white-space: normal; }.gallery-page__filter-note--important strong { color: var(--cyan); }
.gallery-page__image-count { flex-basis: 100%; margin: 0; color: var(--cyan); font-size: .78rem; font-weight: 700; }
.gallery-page__search-result { margin-bottom: 1.5rem; }
.gallery-page__search-back-note { margin-top: 1.5rem; }
.gallery-page__search-back { margin-top: 1.5rem; }
.gallery-page__image-count--inline { flex-basis: auto; margin-left: .3rem; }
.gallery-page__category-description { margin: 0 0 1.5rem; padding: 1rem; border-left: 2px solid var(--cyan); background: rgba(7, 17, 31, .35); color: var(--muted); line-height: 1.65; }
.gallery-page__category-description a { color: var(--cyan); font-weight: 700; }
.gallery-page__category-description p { margin: .45rem 0 0; }
.gallery-page__grid { display: grid; grid-template-columns: repeat(auto-fit, 150px); gap: 1rem; justify-content: center; }
.gallery-page__grid figure { width: 150px; margin: 0; }
.gallery-page__grid img { display: block; width: 150px; height: 100px; object-fit: cover; border: 1px solid var(--line); }
.gallery-page__grid a:hover img, .gallery-page__grid a:focus-visible img { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-glow); }
.gallery-page__grid figcaption { margin-top: .45rem; color: var(--muted); font-size: .7rem; line-height: 1.3; }

@media (min-width: 761px) { .gallery-page__heading h1 { font-size: clamp(2.7rem, 4vw, 4.5rem); } }
@media (max-width: 760px) { .gallery-page__filter-note { flex-basis: 100%; white-space: normal; } }

/* Visionneuse réutilisable pour les photographies en grand format. */
.photo-page { padding: clamp(1rem, 2vw, 1.75rem) clamp(1.5rem, 7vw, 8rem) clamp(1.5rem, 4vw, 3rem); background: radial-gradient(circle at 77% 0%, #164a6c 0, #0c273c 24%, transparent 48%), linear-gradient(145deg, #0b1c2d, var(--night)); }
.photo-page__nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.photo-page__nav a, .photo-page__nav span { color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.photo-page__nav a:hover, .photo-page__nav a:focus-visible { text-shadow: 0 0 12px var(--cyan-glow); }
.photo-page__nav span[aria-disabled="true"], .photo-page__nav a[aria-disabled="true"] { color: var(--muted); cursor: default; }
.photo-page__section-link { margin-left: auto; }
.photo-page__nav--top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.photo-page__nav--top .lien-retour-galerie { grid-column: 1; justify-self: start; }
.photo-page__sequence { display: flex; grid-column: 2; gap: .75rem 1.5rem; justify-self: center; }
.photo-page__nav--top .photo-page__section-link { grid-column: 3; justify-self: end; margin-left: 0; }
.photo-page__title { margin: 0 0 .5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; text-align: center; }
.photo-page__subtitle { margin: 0 0 1.5rem; color: var(--muted); line-height: 1.65; text-align: center; }
.photo-page__frame { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; padding: clamp(.6rem, 1.5vw, 1rem); border: 1px solid var(--cyan); background: rgba(0, 0, 0, .28); box-shadow: 0 0 24px rgba(57, 217, 255, .14), 10px 11px 0 rgba(0, 0, 0, .2); }
.photo-page__frame img { display: block; max-width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid var(--line); }
.photo-page--full-height .photo-page__frame img { max-height: none; }
.photo-page > .photo-page__nav:last-of-type { margin-bottom: 0; }
@media (max-width: 560px) { .photo-page__section-link { width: 100%; margin-left: 0; }.photo-page__nav--top { grid-template-columns: 1fr; }.photo-page__nav--top .lien-retour-galerie, .photo-page__sequence, .photo-page__nav--top .photo-page__section-link { grid-column: 1; }.photo-page__sequence { flex-wrap: wrap; }.photo-page__nav--top .photo-page__section-link { justify-self: start; } }

/* Article de fond : lecture confortable et contenus illustrés. */
.article-page { min-height: 100vh; padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 77% 0%, #164a6c 0, #0c273c 24%, transparent 48%), linear-gradient(145deg, #0b1c2d, var(--night)); }
.article-page__back { display: inline-block; margin-bottom: clamp(1.5rem, 4vw, 3rem); color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.article-page__back:hover, .article-page__back:focus-visible { text-shadow: 0 0 12px var(--cyan-glow); }
.article-page__header { max-width: 850px; margin: 0 auto clamp(2.5rem, 6vw, 5rem); text-align: center; }.article-page__header h1 { margin: .65rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.4vw, 6.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .96; }.article-page__header h1 span { color: var(--cyan); text-shadow: 0 0 26px rgba(57, 217, 255, .25); }.article-page__lede { max-width: 620px; margin: 0 auto; color: var(--muted); line-height: 1.7; }.article-page__byline { margin: 1.25rem 0 0; color: var(--text); font-size: .82rem; }.article-page__content { max-width: 920px; margin: 0 auto; }.article-page__content h2 { margin: clamp(3rem, 7vw, 5rem) 0 1.1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }.article-page__content p, .article-page__content li { color: var(--text); line-height: 1.75; }.article-page__content a:not(.article-page__button) { color: var(--cyan); text-decoration: underline; text-underline-offset: .18em; }.article-page__content ol { padding-left: 1.4rem; }.article-page__content li + li { margin-top: .85rem; }.article-page__facts { margin: 2rem auto; padding: 1.25rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .42); }.article-page__facts h2 { margin: 0 0 1rem; font-size: 1.35rem; }.article-page__facts dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .65rem 1.5rem; margin: 0; }.article-page__facts dt { color: var(--muted); }.article-page__facts dd { margin: 0; }.article-page__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }.article-page__figure { margin: 2rem auto; }.article-page__figures .article-page__figure { margin: 0; }.article-page__figure img { display: block; max-width: 100%; margin: 0 auto; border: 1px solid var(--line); background: #fff; box-shadow: 8px 9px 0 rgba(0, 0, 0, .2); }.article-page__figures img { width: 100%; }.article-page__figure figcaption { margin-top: .7rem; color: var(--muted); font-size: .76rem; line-height: 1.45; text-align: center; }.article-page__callout { margin: 2rem 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--cyan); background: rgba(7, 17, 31, .5); color: var(--muted); line-height: 1.65; }.article-page__callout strong { color: #ff8e8e; }.article-page__steps { margin: 2rem 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.article-page__steps h2 { margin-top: 0; }.article-page__closing { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }.article-page__button { display: inline-block; margin: .45rem .5rem .45rem 0; padding: .75rem .9rem; border: 1px solid var(--line); color: var(--cyan); font-size: .78rem; line-height: 1.35; }.article-page__button:hover, .article-page__button:focus-visible { border-color: var(--cyan); background: rgba(57, 217, 255, .1); text-decoration: none; }
@media (max-width: 620px) { .article-page__facts dl { grid-template-columns: 1fr; gap: .25rem; }.article-page__facts dd { margin-bottom: .7rem; }.article-page__figures { grid-template-columns: 1fr; }.article-page__header h1 { font-size: clamp(2.7rem, 13vw, 4rem); } }
.article-page__content p { margin: 0 0 1.35rem; }
.article-page__figures--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 620px) { .article-page__figures--two { grid-template-columns: 1fr; } }
.article-page__figure--wide { max-width: 920px; }
.article-page__toc { max-width: 920px; margin: 0 auto clamp(3rem, 7vw, 5rem); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); background: rgba(7, 17, 31, .35); }.article-page__toc h2 { margin: 0 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; }.article-page__toc ol { columns: 2; gap: 2rem; margin: 0; padding-left: 1.4rem; }.article-page__toc li { margin: 0 0 .65rem; break-inside: avoid; color: var(--muted); line-height: 1.4; }.article-page__toc a { color: var(--cyan); text-decoration: underline; text-underline-offset: .18em; }.observation-location { scroll-margin-top: 1rem; }
@media (max-width: 620px) { .article-page__toc ol { columns: 1; } }
.article-page__table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--line); }.article-page__table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: .82rem; }.article-page__table caption { padding: 1rem; color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; text-align: left; }.article-page__table th, .article-page__table td { padding: .7rem .85rem; border-top: 1px solid var(--line); text-align: left; }.article-page__table th { color: var(--cyan); background: rgba(7, 17, 31, .5); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }.article-page__table td { color: var(--muted); }
.article-page__equations { overflow-x: auto; margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 2px solid var(--cyan); background: rgba(7, 17, 31, .5); color: var(--text); font-family: "Courier New", monospace; font-size: .9rem; line-height: 1.7; }
.article-page__phase-diagram { max-width: 100%; margin: 2rem auto; border-collapse: collapse; }.article-page__phase-diagram td { padding: .35rem; text-align: center; vertical-align: middle; }.article-page__phase-diagram img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line); background: #fff; }.article-page__phase-diagram strong { color: var(--text); font-size: .82rem; line-height: 1.45; }
.observation-locations { display: grid; gap: clamp(3rem, 7vw, 6rem); max-width: 1180px; margin: 0 auto; }.observation-location { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: rgba(7, 17, 31, .28); }.observation-location h2 { margin: 0 0 1rem; }.observation-location__text { min-height: 4.5rem; margin: 0 0 1.25rem; padding: .85rem 1rem; border-left: 2px solid var(--cyan); background: rgba(7, 17, 31, .42); color: var(--muted); line-height: 1.65; }.observation-location__image { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 8px 9px 0 rgba(0, 0, 0, .2); }

/* Présentation des applications astro avec contenu, vignettes et vidéos. */
.application-showcase { display: grid; gap: 1.5rem; }
.application-showcase__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 500px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.application-showcase__intro p { margin: 0 0 1rem; color: var(--text); line-height: 1.65; }
.application-showcase__intro p:last-child { margin-bottom: 0; }
.application-showcase__image { display: block; width: 100%; border: 1px solid var(--line); box-shadow: 8px 9px 0 rgba(0, 0, 0, .2); }
.application-showcase__equations { padding: 1rem; border-left: 2px solid var(--cyan); background: rgba(7, 17, 31, .5); color: var(--muted); line-height: 1.7; }
.application-showcase__download { display: inline-block; margin-top: .4rem; padding: .8rem 1rem; border: 1px solid var(--line); color: var(--cyan); font-size: .78rem; font-weight: 700; transition: border-color .2s ease, background-color .2s ease; }
.application-showcase__download:hover, .application-showcase__download:focus-visible { border-color: var(--cyan); background: rgba(57, 217, 255, .1); }
.application-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.application-videos video { width: 100%; border: 1px solid var(--line); background: #000; }
.application-videos video:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .application-showcase__intro, .application-videos { grid-template-columns: 1fr; }.application-videos video:last-child { grid-column: auto; } }

/* Collection de vidéos astronomiques. */
.video-collection { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.7rem; }.video-collection__card { padding: 1.25rem; border: 1px solid var(--line); background: rgba(7, 17, 31, .38); }.video-collection__card h2 { font-size: 1.45rem; }.video-collection__card p { margin: .65rem 0 1rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }.video-collection__card div { display: flex; flex-wrap: wrap; gap: .55rem; }.video-collection__card a { padding: .55rem .7rem; border: 1px solid var(--line); color: var(--cyan); font-size: .73rem; line-height: 1.3; }.video-collection__card a:hover, .video-collection__card a:focus-visible { border-color: var(--cyan); background: rgba(57, 217, 255, .1); }.video-collection__note { margin: 1.5rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }.video-collection__note strong { color: var(--text); }

/* Écran unique sur ordinateur : toute la page d'accueil est visible sans défilement. */
