/* ═══════════════════════════════════════════════
   DESIGN SYSTEM: "Ciel de Franche-Comté" v1.0
   meteo-franche-comte.fr
   ═══════════════════════════════════════════════ */

:root {
  /* ── Sky Palette ── */
  --ciel-profond:    #1A3650;   /* Deep sky — headings, hero overlays        */
  --ciel-nuit:       #0F2438;   /* Night sky — darkest tone, footer          */
  --ciel-azur:       #3D7EC7;   /* Azure — primary interactive, links        */
  --ciel-clair:      #7DB4E0;   /* Light sky — secondary accents             */
  --ciel-brume:      #B8CBE0;   /* Misty blue — borders, dividers           */

  /* ── Terre & Nature ── */
  --jura-foret:      #4A7C59;   /* Forest green — nature badges, success     */
  --jura-mousse:     #6B9E7A;   /* Moss — lighter green variant              */
  --doubs-roche:     #7B8794;   /* Rock gray — secondary text                */

  /* ── Lumière ── */
  --soleil-or:       #D4943C;   /* Golden hour — warm accent, highlights     */
  --soleil-couchant: #E8B563;   /* Sunset gold — lighter warm accent         */
  --soleil-aube:     #F2D49B;   /* Dawn — subtle warm tint                   */

  /* ── Ciel (backgrounds) ── */
  --nuage-blanc:     #FAFBFD;   /* Cloud white — page background             */
  --nuage-clair:     #F0F3F8;   /* Light cloud — alternate sections          */
  --nuage-gris:      #E4E9F0;   /* Gray cloud — card backgrounds             */
  --brouillard:      #D5DCE6;   /* Fog — deeper neutral                     */

  /* ── Alertes météo ── */
  --alerte-orange:   #D4783C;   /* Orange vigilance                          */
  --alerte-rouge:    #C0392B;   /* Red vigilance                             */
  --alerte-jaune:    #E8C84B;   /* Yellow vigilance                          */

  /* ── Typography ── */
  --ff-editorial:    'Newsreader', 'Georgia', serif;
  --ff-data:         'DM Mono', 'Menlo', monospace;
  --ff-body:         'Figtree', 'Segoe UI', sans-serif;

  /* ── Sizing scale (clamp) ── */
  --fs-hero:         clamp(2.8rem, 5vw + 1rem, 4.5rem);
  --fs-h1:           clamp(2rem, 3vw + 0.5rem, 3rem);
  --fs-h2:           clamp(1.5rem, 2vw + 0.5rem, 2.2rem);
  --fs-h3:           clamp(1.15rem, 1.5vw + 0.3rem, 1.5rem);
  --fs-body:         clamp(1rem, 0.5vw + 0.85rem, 1.125rem);
  --fs-small:        0.875rem;
  --fs-micro:        0.75rem;
  --fs-data-xl:      clamp(2rem, 3vw + 0.5rem, 3.5rem);
  --fs-data-lg:      clamp(1.3rem, 2vw + 0.3rem, 2rem);
  --fs-data-md:      1.125rem;
  --fs-data-sm:      0.9375rem;

  /* ── Spacing ── */
  --space-xs:        0.5rem;
  --space-sm:        0.75rem;
  --space-md:        1rem;
  --space-lg:        1.5rem;
  --space-xl:        2.5rem;
  --space-2xl:       4rem;
  --space-3xl:       6rem;
  --gutter:          clamp(1rem, 3vw, 2rem);

  /* ── Layout ── */
  --max-width:       1200px;
  --max-content:     780px;
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --radius-xl:       24px;

  /* ── Motion ── */
  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:        200ms;
  --dur-normal:      400ms;
  --dur-slow:        700ms;

  /* ── Shadows ── */
  --shadow-sm:       0 1px 3px rgba(26, 54, 80, 0.06);
  --shadow-md:       0 4px 12px rgba(26, 54, 80, 0.08);
  --shadow-lg:       0 8px 30px rgba(26, 54, 80, 0.12);
  --shadow-glow:     0 0 20px rgba(61, 126, 199, 0.15);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--ciel-profond);
  background: var(--nuage-blanc);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ciel-azur); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--soleil-or); }

/* ═══════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-md) var(--gutter);
  transition: background var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              backdrop-filter var(--dur-normal) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 251, 253, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: white;
  transition: color var(--dur-fast);
}

.scrolled .logo { color: var(--ciel-profond); }

.logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  font-family: var(--ff-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.main-nav a {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-xs) 0;
  position: relative;
}

.scrolled .main-nav a { color: var(--doubs-roche); }
.scrolled .main-nav a:hover { color: var(--ciel-azur); }

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--soleil-or);
  transition: width var(--dur-normal) var(--ease-out);
}

.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: white; }

.nav-temp {
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--soleil-couchant);
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

.scrolled .nav-temp {
  background: var(--nuage-clair);
  color: var(--ciel-azur);
  border-color: var(--nuage-gris);
}

/* ── Nav Dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(250, 251, 253, 0.97);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--nuage-gris);
  padding: var(--space-lg);
  min-width: 420px;
  z-index: 110;
  gap: var(--space-lg);
  grid-template-columns: 1fr 1fr 1fr;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  display: grid;
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-heading {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soleil-or);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-xs);
  border-bottom: 1px solid var(--nuage-gris);
}

.nav-dropdown-menu a {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--ciel-profond) !important;
  text-transform: none;
  letter-spacing: 0;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--nuage-clair);
  color: var(--ciel-azur) !important;
}

.nav-dropdown-menu a::after {
  display: none;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: var(--space-3xl) var(--gutter) var(--space-2xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15, 36, 56, 0.15) 0%,
      rgba(15, 36, 56, 0.02) 30%,
      rgba(15, 36, 56, 0.4) 70%,
      rgba(15, 36, 56, 0.85) 100%
    ),
    url('https://images.unsplash.com/photo-1534088568595-a066f410bcda?w=1920&q=80') center/cover;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--soleil-couchant);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--soleil-or);
}

.hero-title {
  font-family: var(--ff-editorial);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: white;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.hero-title em {
  font-style: italic;
  color: var(--soleil-couchant);
  font-weight: 500;
}

.hero-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

/* ── Hero Weather Strip ── */
.hero-weather-strip {
  display: flex;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 820px;
}

.weather-city-pill {
  flex: 1;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  background: rgba(255,255,255,0.03);
  transition: background var(--dur-fast) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  min-width: 0;
}

.weather-city-pill:hover {
  background: rgba(255,255,255,0.12);
}

.weather-city-pill .city-name {
  font-family: var(--ff-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-city-pill .city-icon {
  font-size: 1.5rem;
  margin: 6px 0;
  line-height: 1;
}

.weather-city-pill .city-temp {
  font-family: var(--ff-data);
  font-size: var(--fs-data-md);
  font-weight: 500;
  color: white;
}

.weather-city-pill .city-temp sup {
  font-size: 0.6em;
  opacity: 0.6;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: scrollBounce 2s var(--ease-out) infinite;
}

.scroll-indicator span {
  font-family: var(--ff-data);
  font-size: 10px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator i {
  width: 1px;
  height: 20px;
  background: white;
  display: block;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   WEATHER DATA COMPONENTS
   ═══════════════════════════════════════════════ */

/* ── Live weather banner (below hero) ── */
.weather-banner {
  background: var(--ciel-profond);
  padding: var(--space-lg) var(--gutter);
  overflow-x: auto;
}

.weather-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.weather-banner-label {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--soleil-couchant);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #4ADE80;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.weather-banner-cities {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.banner-city {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
}

.banner-city-name {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--ciel-brume);
  font-weight: 500;
}

.banner-city-temp {
  font-family: var(--ff-data);
  font-size: var(--fs-data-sm);
  color: white;
  font-weight: 500;
}

.banner-city-icon {
  font-size: 1.2rem;
}

/* ── Weather Card (city page / dashboard) ── */
.weather-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.weather-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.weather-card-header {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.weather-card-city {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ciel-profond);
  line-height: 1.2;
}

.weather-card-dept {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.weather-card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.weather-card-temp {
  padding: 0 var(--space-lg);
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.temp-current {
  font-family: var(--ff-data);
  font-size: var(--fs-data-xl);
  font-weight: 500;
  color: var(--ciel-profond);
  line-height: 1;
}

.temp-unit {
  font-family: var(--ff-data);
  font-size: var(--fs-data-sm);
  color: var(--doubs-roche);
  font-weight: 300;
}

.temp-range {
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  margin-left: auto;
}

.temp-range .temp-hi { color: var(--alerte-orange); }
.temp-range .temp-lo { color: var(--ciel-azur); }

.weather-card-condition {
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  font-style: italic;
}

/* ── Weather data grid (inside card) ── */
.weather-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--nuage-gris);
}

.data-cell {
  padding: var(--space-md);
  text-align: center;
  border-right: 1px solid var(--nuage-gris);
}

.data-cell:last-child { border-right: none; }

.data-cell-label {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
  margin-bottom: 4px;
}

.data-cell-value {
  font-family: var(--ff-data);
  font-size: var(--fs-data-md);
  font-weight: 500;
  color: var(--ciel-profond);
}

.data-cell-unit {
  font-family: var(--ff-data);
  font-size: 10px;
  color: var(--doubs-roche);
  font-weight: 300;
}

/* ── 7-day forecast strip ── */
.forecast-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--nuage-gris);
}

.forecast-day {
  padding: var(--space-md) var(--space-xs);
  text-align: center;
  border-right: 1px solid var(--nuage-gris);
  transition: background var(--dur-fast);
}

.forecast-day:last-child { border-right: none; }
.forecast-day:hover { background: var(--nuage-clair); }

.forecast-day-name {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
}

.forecast-day-icon {
  font-size: 1.5rem;
  margin: 6px 0;
}

.forecast-day-temps {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.forecast-day-hi {
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ciel-profond);
}

.forecast-day-lo {
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  font-weight: 300;
  color: var(--doubs-roche);
}

/* ═══════════════════════════════════════════════
   SECTION LAYOUTS
   ═══════════════════════════════════════════════ */

.section {
  padding: var(--space-3xl) var(--gutter);
}

.section--alt { background: var(--nuage-clair); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-kicker {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--soleil-or);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-kicker::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--soleil-or);
}

.section-title {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ciel-profond);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--doubs-roche);
  max-width: 550px;
  margin-bottom: var(--space-xl);
}

/* ═══════════════════════════════════════════════
   CITY CARDS GRID
   ═══════════════════════════════════════════════ */

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.city-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.city-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.city-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 36, 56, 0.6) 100%);
}

.city-card-temp-overlay {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  font-family: var(--ff-data);
  font-size: var(--fs-data-lg);
  font-weight: 500;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.city-card-body {
  padding: var(--space-lg);
}

.city-card-name {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ciel-profond);
  margin-bottom: 2px;
}

.city-card-region {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.city-card-meta {
  display: flex;
  gap: var(--space-lg);
}

.city-card-meta-item {
  display: flex;
  flex-direction: column;
}

.city-card-meta-label {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
}

.city-card-meta-value {
  font-family: var(--ff-data);
  font-size: var(--fs-data-sm);
  font-weight: 500;
  color: var(--ciel-profond);
}

/* ═══════════════════════════════════════════════
   EDITORIAL CONTENT (articles)
   ═══════════════════════════════════════════════ */

.article-body {
  max-width: var(--max-content);
  margin: 0 auto;
}

.article-body h2 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ciel-profond);
  margin: var(--space-2xl) 0 var(--space-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: var(--space-sm);
}

.article-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--soleil-or);
  transition: width var(--dur-slow) var(--ease-out);
}

.article-body h2:hover::after {
  width: 80px;
}

.article-body h3 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--ciel-profond);
  margin: var(--space-xl) 0 var(--space-md);
}

.article-body p {
  margin-bottom: var(--space-lg);
  color: var(--ciel-profond);
  line-height: 1.8;
}

.article-body blockquote {
  border-left: 3px solid var(--soleil-or);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  background: var(--nuage-clair);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: 1.1em;
  color: var(--ciel-profond);
}

/* ── Inline weather widget (in article) ── */
.inline-weather {
  background: white;
  border: 1px solid var(--nuage-gris);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.inline-weather-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.inline-weather-data {
  flex: 1;
}

.inline-weather-city {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
}

.inline-weather-temp {
  font-family: var(--ff-data);
  font-size: var(--fs-data-lg);
  font-weight: 500;
  color: var(--ciel-profond);
}

.inline-weather-desc {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  font-style: italic;
}

.inline-weather-details {
  display: flex;
  gap: var(--space-lg);
  flex-shrink: 0;
}

.inline-weather-detail {
  text-align: center;
}

.inline-weather-detail-label {
  font-family: var(--ff-data);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
}

.inline-weather-detail-value {
  font-family: var(--ff-data);
  font-size: var(--fs-data-sm);
  font-weight: 500;
  color: var(--ciel-profond);
}

/* ═══════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 36, 56, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-date {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.04em;
}

.blog-card-title {
  font-family: var(--ff-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ciel-profond);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  transition: color var(--dur-fast);
}

.blog-card:hover .blog-card-title { color: var(--ciel-azur); }

.blog-card-excerpt {
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-read {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ciel-azur);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur-normal) var(--ease-out);
}

.blog-card:hover .blog-card-read { gap: 12px; }

.blog-card-read svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-normal) var(--ease-out);
}

.blog-card:hover .blog-card-read svg { transform: translateX(4px); }

.blog-card-weather-tag {
  font-family: var(--ff-data);
  font-size: 10px;
  background: var(--nuage-clair);
  color: var(--doubs-roche);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════
   EPHEMERIS BAR
   ═══════════════════════════════════════════════ */

.ephemeris-bar {
  background: var(--ciel-nuit);
  padding: var(--space-md) var(--gutter);
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.ephemeris-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.ephemeris-icon { font-size: 1.2rem; }

.ephemeris-label {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ciel-brume);
}

.ephemeris-value {
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  color: white;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════
   AIR QUALITY BADGE
   ═══════════════════════════════════════════════ */

.aqi-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-radius: 20px;
  font-family: var(--ff-data);
  font-size: var(--fs-small);
  font-weight: 500;
}

.aqi-badge--good { background: #E8F5E9; color: #2E7D32; }
.aqi-badge--moderate { background: #FFF8E1; color: #F57F17; }
.aqi-badge--poor { background: #FFEBEE; color: #C62828; }

.aqi-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ═══════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════ */

.faq-list {
  max-width: var(--max-content);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--nuage-gris);
}

.faq-question {
  font-family: var(--ff-editorial);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ciel-profond);
  padding: var(--space-lg) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  line-height: 1.4;
  transition: color var(--dur-fast);
}

.faq-question:hover { color: var(--ciel-azur); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--doubs-roche);
  transition: transform var(--dur-normal) var(--ease-out);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-normal) var(--ease-out),
              padding var(--dur-normal) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  color: var(--doubs-roche);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
  background: var(--ciel-nuit);
  color: var(--ciel-brume);
  padding: var(--space-3xl) var(--gutter) var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: var(--ff-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-brand-desc {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--doubs-roche);
  margin-bottom: var(--space-lg);
}

.footer-data-source {
  font-family: var(--ff-data);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--doubs-roche);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.footer-col h4 {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soleil-couchant);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  transition: color var(--dur-fast);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
}

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero { min-height: 85vh; }

  .hero-weather-strip {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }

  .weather-city-pill {
    flex: 0 0 calc(25% - 1px);
  }

  .weather-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .forecast-strip {
    grid-template-columns: repeat(7, 1fr);
    overflow-x: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .inline-weather {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .main-nav { display: none; /* mobile burger */ }

  .ephemeris-bar {
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .weather-city-pill {
    flex: 0 0 calc(33.33% - 1px);
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .weather-banner-cities {
    gap: var(--space-md);
  }
}

/* ═══════════════════════════════════════════════
   UTILITY / DESIGN-SYSTEM HELPERS
   ═══════════════════════════════════════════════ */

.text-data { font-family: var(--ff-data); }
.text-editorial { font-family: var(--ff-editorial); }
.text-body { font-family: var(--ff-body); }

.text-gold { color: var(--soleil-or); }
.text-sky { color: var(--ciel-azur); }
.text-muted { color: var(--doubs-roche); }

.bg-cloud { background: var(--nuage-clair); }
.bg-deep { background: var(--ciel-profond); color: white; }
.bg-night { background: var(--ciel-nuit); color: white; }

/* ═══════════════════════════════════════════════
   ARTICLE LAYOUT (page + blog)
   ═══════════════════════════════════════════════ */

/* Article hero (non-home) */
.hero--article {
  min-height: 50vh;
  max-height: 500px;
}

.hero--article .hero-content {
  max-width: var(--max-content);
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast);
}

.breadcrumb a:hover { color: white; }

.breadcrumb-sep {
  opacity: 0.4;
  font-size: 10px;
}

/* Article meta */
.article-meta {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  letter-spacing: 0.04em;
}

/* Article summary (chapeau) */
.article-summary {
  max-width: var(--max-content);
  margin: var(--space-2xl) auto var(--space-xl);
  font-family: var(--ff-editorial);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--doubs-roche);
  line-height: 1.7;
  border-left: 3px solid var(--soleil-or);
  padding-left: var(--space-lg);
}

/* Article content wrapper */
.article-content {
  padding: 0 var(--gutter);
}

/* Lettrine */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-editorial);
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  padding-right: 0.08em;
  margin-top: 0.05em;
  color: var(--ciel-profond);
  font-weight: 700;
}

/* Article body lists */
.article-body ul, .article-body ol {
  margin: var(--space-md) 0 var(--space-lg);
  padding-left: var(--space-xl);
}

.article-body li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.article-body ul li::marker {
  color: var(--soleil-or);
}

/* Article body images */
.article-body img {
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

/* Article body tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: var(--fs-small);
}

.article-body th {
  background: var(--ciel-profond);
  color: white;
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-md);
  text-align: left;
}

.article-body td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--nuage-gris);
}

.article-body tr:hover td {
  background: var(--nuage-clair);
}

/* ── TOC (Table of Contents) ── */
.toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.toc-title {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soleil-or);
  margin-bottom: var(--space-md);
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: var(--space-xs);
}

.toc-list a {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  display: block;
  padding: var(--space-xs) 0;
  border-left: 2px solid transparent;
  padding-left: var(--space-md);
  transition: all var(--dur-fast) var(--ease-out);
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--ciel-azur);
  border-left-color: var(--ciel-azur);
}

/* Article two-column layout (TOC + body) */
.article-grid {
  max-width: calc(var(--max-content) + 280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    max-height: none;
    background: var(--nuage-clair);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
  }
}

/* ── Related articles section ── */
.related-section {
  max-width: var(--max-content);
  margin: var(--space-3xl) auto 0;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--nuage-gris);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: var(--space-lg);
  border: 1px solid var(--nuage-gris);
  border-radius: var(--radius-md);
  transition: all var(--dur-normal) var(--ease-out);
}

.related-card:hover {
  border-color: var(--ciel-azur);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.related-card-title {
  font-family: var(--ff-editorial);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ciel-profond);
  margin-bottom: var(--space-xs);
}

.related-card-desc {
  font-size: var(--fs-small);
  color: var(--doubs-roche);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related card with image */
.related-card--img {
  padding: 0;
  overflow: hidden;
}

.related-card-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-normal) var(--ease-out);
}

.related-card--img:hover .related-card-image {
  transform: scale(1.05);
}

.related-card-body {
  padding: var(--space-lg);
}

/* ═══════════════════════════════════════════════
   CITY PAGE LAYOUT
   ═══════════════════════════════════════════════ */

.city-hero-temp {
  font-family: var(--ff-data);
  font-size: var(--fs-data-xl);
  font-weight: 500;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.city-weather-section {
  padding: var(--space-2xl) var(--gutter);
  background: var(--nuage-clair);
}

.city-weather-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .city-weather-inner {
    grid-template-columns: 1fr;
  }
}

/* Radar embed */
.radar-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}

.radar-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════════
   MOBILE NAVIGATION
   ═══════════════════════════════════════════════ */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all var(--dur-fast) var(--ease-out);
}

.scrolled .hamburger span {
  background: var(--ciel-profond);
}

body.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 36, 56, 0.97);
  backdrop-filter: blur(12px);
  padding: calc(80px + var(--space-xl)) var(--gutter) var(--space-xl);
  flex-direction: column;
  gap: var(--space-md);
  overflow-y: auto;
}

body.nav-open .mobile-nav {
  display: flex;
}

.mobile-nav a {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h3);
  color: white;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}

.mobile-nav a:hover {
  color: var(--soleil-couchant);
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .main-nav { display: none; }
}

/* ═══════════════════════════════════════════════
   IMMERSIVE SECTION (homepage)
   ═══════════════════════════════════════════════ */

.immersive-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--gutter);
  overflow: hidden;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.immersive-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.immersive-content .section-kicker {
  color: var(--soleil-couchant);
  justify-content: center;
}

.immersive-content .section-kicker::before {
  background: var(--soleil-couchant);
}

.immersive-content .section-title {
  color: white;
  margin-bottom: var(--space-lg);
}

.immersive-content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--ciel-profond);
  background: var(--soleil-couchant);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-button:hover {
  background: var(--soleil-or);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════
   UTILITY PAGES
   ═══════════════════════════════════════════════ */

.page-content {
  max-width: var(--max-content);
  margin: var(--space-2xl) auto;
  padding: 0 var(--gutter);
}

.page-content h1 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--ciel-profond);
  margin-bottom: var(--space-xl);
}

.page-content h2 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--ciel-profond);
  margin: var(--space-2xl) 0 var(--space-lg);
}

.page-content p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin: var(--space-md) 0 var(--space-lg);
  padding-left: var(--space-xl);
}

.page-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   BLOG INDEX
   ═══════════════════════════════════════════════ */

.blog-hero {
  background: var(--ciel-profond);
  padding: calc(80px + var(--space-2xl)) var(--gutter) var(--space-2xl);
  text-align: center;
}

.blog-hero h1 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h1);
  font-weight: 700;
  color: white;
}

.blog-hero p {
  font-family: var(--ff-body);
  color: var(--ciel-brume);
  margin-top: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.blog-listing {
  max-width: var(--max-width);
  margin: var(--space-2xl) auto;
  padding: 0 var(--gutter);
}

/* ═══════════════════════════════════════════════
   PLAN DU SITE
   ═══════════════════════════════════════════════ */

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.sitemap-section h3 {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soleil-or);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--nuage-gris);
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
}

.sitemap-section li {
  margin-bottom: var(--space-xs);
}

.sitemap-section a {
  font-size: var(--fs-small);
  color: var(--ciel-profond);
  transition: color var(--dur-fast);
}

.sitemap-section a:hover {
  color: var(--ciel-azur);
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */

.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--doubs-roche);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--brouillard);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--ciel-profond);
  background: white;
  transition: border-color var(--dur-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ciel-azur);
  box-shadow: 0 0 0 3px rgba(61, 126, 199, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  color: white;
  background: var(--ciel-azur);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--dur-fast) var(--ease-out);
}

.form-submit:hover {
  background: var(--ciel-profond);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════ */

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--gutter);
}

.error-code {
  font-family: var(--ff-data);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 300;
  color: var(--nuage-gris);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-page h1 {
  font-family: var(--ff-editorial);
  font-size: var(--fs-h1);
  color: var(--ciel-profond);
  margin-bottom: var(--space-lg);
}

.error-page p {
  color: var(--doubs-roche);
  max-width: 450px;
  margin: 0 auto var(--space-xl);
}

/* ═══════════════════════════════════════════════
   STATION LINKS (homepage)
   ═══════════════════════════════════════════════ */

.station-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: center;
}

.station-link {
  font-family: var(--ff-data);
  font-size: var(--fs-micro);
  color: var(--doubs-roche);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--brouillard);
  border-radius: 20px;
  transition: all var(--dur-fast);
  text-decoration: none;
}

.station-link:hover {
  border-color: var(--ciel-azur);
  color: var(--ciel-azur);
  background: rgba(61, 126, 199, 0.05);
}

/* ═══════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════ */

@media print {
  .site-header, .site-footer, .scroll-indicator,
  .hero-weather-strip, .ephemeris-bar, .toc,
  .related-section, .mobile-nav { display: none; }

  .hero { min-height: auto; max-height: 200px; }

  .article-grid { grid-template-columns: 1fr; }

  .article-body { max-width: 100%; }

  body { font-size: 12pt; line-height: 1.5; }
}
