/* =========================================================================
   LE SAINT PALAISIEN — Feuille de style principale
   Concept : « Le poste d'observation »
   Palette ancrée sur le bleu d'origine #0095ec. Sans SVG.
   ========================================================================= */

/* ---------- Jetons ---------- */
:root {
  --bleu:       #0095ec;   /* bleu signature d'origine */
  --bleu-fonce: #0077c2;
  --bleu-clair: #d7ecfb;
  --abysse:     #04283a;   /* bleu abyssal — fonds & texte sombre */
  --abysse-2:   #063049;
  --ecume:      #f2f7fa;   /* blanc écume, froid */
  --blanc:      #ffffff;
  --sable:      #e6dccb;   /* sable chaud — filets discrets */
  --couchant:   #ff6f43;   /* corail du couchant — accent unique */
  --brume:      #63808f;   /* gris-bleu — texte secondaire */
  --encre:      #0d2833;   /* encre — texte sur clair */

  --serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --sans:   "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono:   "Space Mono", ui-monospace, "Courier New", monospace;

  --ct: 1200px;            /* largeur de contenu */
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--ecume);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bleu-fonce); text-decoration: none; }
a:hover { color: var(--bleu); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--abysse);
}

::selection { background: var(--bleu); color: #fff; }

.container { width: 100%; max-width: var(--ct); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Étiquette monospace (relèvement / eyebrow) ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bleu-fonce);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--bleu);
  display: inline-block;
}

/* ---------- Ligne d'horizon (motif signature) ---------- */
.horizon {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bleu) 12%, var(--bleu) 88%, transparent);
  margin: 0;
  opacity: .55;
}
.horizon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--couchant);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(255,111,67,.16);
}

/* =========================================================================
   NAVIGATION
   État par défaut = plein (fond clair, texte sombre) — lisible partout.
   État « survol du hero » (.nav-hero, non défilé) = transparent, texte blanc.
   ========================================================================= */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(242,247,250,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(4,40,58,.10);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
/* Sur une page à hero sombre, la barre est transparente tant qu'on n'a pas défilé */
.site-nav.nav-hero:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: var(--ct);
  margin-inline: auto;
  padding: .85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  position: relative;
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity .35s var(--ease);
}
.brand .logo-blanc { position: absolute; inset: 0; opacity: 0; }
.brand .logo-marine { opacity: 1; }
/* Sur le hero (transparent), on montre la version blanche */
.site-nav.nav-hero:not(.scrolled) .brand .logo-blanc { opacity: 1; }
.site-nav.nav-hero:not(.scrolled) .brand .logo-marine { opacity: 0; }
@media (max-width: 520px) { .brand-logo { height: 34px; } }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre);
  position: relative;
  padding-block: .35rem;
  transition: color .25s;
}
.site-nav.nav-hero:not(.scrolled) .nav-links a { color: #fff; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--bleu);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.current::after { width: 100%; }
.nav-links a.current { color: var(--bleu); }

.nav-live { display: inline-flex; align-items: center; gap: .45rem; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--couchant);
  box-shadow: 0 0 0 0 rgba(255,111,67,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,111,67,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(255,111,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,111,67,0); }
}

/* Bouton hamburger (3 barres CSS — sans SVG) */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: transparent;
  cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: currentColor; color: var(--encre);
  margin: 4px 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.site-nav.nav-hero:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   HERO VIDÉO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--abysse);
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,40,58,.55) 0%, rgba(4,40,58,0) 26%, rgba(4,40,58,0) 55%, rgba(4,40,58,.85) 100%);
}
.hero-body {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--ct);
  margin-inline: auto;
  padding: 0 var(--pad) clamp(2rem, 6vh, 4rem);
  color: #fff;
}
.hero .kicker { color: var(--bleu-clair); }
.hero .kicker::before { background: var(--bleu-clair); }

.hero-title {
  font-family: var(--serif);
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 7.5rem);
  line-height: .96;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bleu-clair);
}
.hero-sub {
  font-family: var(--sans);
  max-width: 34ch;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,.86);
}

/* Ruban de données (bandeau instrument) */
.data-ribbon {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(4,40,58,.35);
  backdrop-filter: blur(6px);
}
.data-ribbon .rib-inner {
  max-width: var(--ct);
  margin-inline: auto;
  padding: .7rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.6rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.rib-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.rib-item.live { color: #fff; }
.rib-sep { color: rgba(255,255,255,.3); }

/* indice de défilement */
.scroll-cue {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
  display: none;
}

/* =========================================================================
   SECTIONS GÉNÉRIQUES
   ========================================================================= */
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section-dark { background: var(--abysse); color: #eaf3f8; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .kicker { color: var(--bleu-clair); }
.section-dark .kicker::before { background: var(--bleu-clair); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 400;
}
.section-head p { color: var(--brume); margin: .5rem 0 0; font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(234,243,248,.72); }

/* =========================================================================
   ACTUALITÉS — pastilles rondes, morph carré + extrait au survol
   ========================================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2.2rem, 3.5vw, 3.4rem) clamp(1.2rem, 2.5vw, 2rem);
  align-items: start;
}
.article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* La pastille : ronde par défaut, carré arrondi au survol */
.article-media {
  position: relative;
  display: block;
  width: clamp(138px, 15vw, 186px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--abysse-2);
  box-shadow: 0 14px 30px -14px rgba(4,40,58,.45);
  transition: border-radius .55s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.article-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.article:hover .article-media,
.article:focus-within .article-media {
  border-radius: 20px;
  box-shadow: 0 24px 46px -18px rgba(4,40,58,.5);
  transform: translateY(-4px);
}
.article:hover .article-media img,
.article:focus-within .article-media img { transform: scale(1.05); }

/* Titre : toujours visible */
.article-title {
  font-size: 1.24rem;
  font-weight: 500;
  margin: 1.15rem 0 0;
  max-width: 22ch;
  transition: color .3s;
}
.article-title a { color: inherit; }
.article-title a:hover { color: var(--bleu-fonce); }
.section-dark .article-title a:hover { color: var(--bleu-clair); }

/* Bloc révélé au survol : catégorie + extrait + lien */
.article-reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  max-width: 34ch;
  transition: max-height .55s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.article:hover .article-reveal,
.article:focus-within .article-reveal {
  max-height: 280px;
  opacity: 1;
  margin-top: .85rem;
}

.article-cat {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bleu-fonce);
  margin: 0 0 .5rem;
}
.section-dark .article-cat { color: var(--bleu-clair); }
.article-text {
  color: var(--brume);
  font-size: .95rem;
  margin: 0 0 1rem;
}
.section-dark .article-text { color: rgba(234,243,248,.75); }

.article-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--abysse);
  position: relative;
  padding-bottom: 3px;
}
.section-dark .article-more { color: #fff; }
.article-more::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--couchant);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.article:hover .article-more::after,
.article-more:hover::after { transform: scaleX(1); }
.article-more:hover { color: var(--bleu-fonce); }
.article-more .arrow { transition: transform .3s var(--ease); display: inline-block; }
.article-more:hover .arrow { transform: translateX(4px); }

/* Tactile / petits écrans : pas de survol → on montre l'extrait d'emblée */
@media (hover: none), (max-width: 780px) {
  .article-reveal { max-height: 320px; opacity: 1; margin-top: .85rem; }
}

/* =========================================================================
   BANDE « DÉCOUVRIR » (relevés / accès rapides sur image)
   ========================================================================= */
.découvrir {
  position: relative;
  color: #fff;
  background: var(--abysse);
  overflow: hidden;
}
.découvrir-bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .34;
  z-index: 0;
}
.découvrir-inner {
  position: relative; z-index: 1;
  max-width: var(--ct);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
}
.découvrir-inner h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 400; }
.découvrir-inner .kicker { color: var(--bleu-clair); }
.découvrir-inner .kicker::before { background: var(--bleu-clair); }

.relevés { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.22); }
.relevé {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #fff;
  transition: padding-left .35s var(--ease), background .35s;
}
.relevé:hover { padding-left: 1rem; background: rgba(255,255,255,.05); }
.relevé-num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--bleu-clair);
}
.relevé-name {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 400;
  color: #fff;
}
.relevé-go {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: transform .3s var(--ease), color .3s;
}
.relevé:hover .relevé-go { color: var(--couchant); transform: translateX(5px); }

/* =========================================================================
   LE SON DE LA MER (écran vidéo)
   ========================================================================= */
.monitor {
  border: 1px solid rgba(4,40,58,.16);
  background: var(--blanc);
  box-shadow: 0 30px 60px -30px rgba(4,40,58,.35);
}
.monitor-bar {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid rgba(4,40,58,.12);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brume);
}
.monitor-bar .badge-live {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--couchant);
}
.monitor-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.monitor-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Page webcams : une vue principale en grand + deux vues équilibrées en dessous */
.webcam-featured { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.webcam-featured .monitor-screen { aspect-ratio: 21 / 9; }
.webcam-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 780px) {
  .webcam-featured .monitor-screen { aspect-ratio: 16 / 9; }
  .webcam-secondary { grid-template-columns: 1fr; }
}

/* =========================================================================
   GALERIE PHOTOS
   ========================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery.gallery-lg { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--abysse-2);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,40,58,.5));
  opacity: 0; transition: opacity .4s;
}
.shot::before {
  content: "＋";
  position: absolute; z-index: 2;
  right: 12px; bottom: 8px;
  font-family: var(--mono);
  color: #fff; font-size: 1.1rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.shot:hover img { transform: scale(1.07); }
.shot:hover::after,
.shot:hover::before { opacity: 1; transform: translateY(0); }

/* Lightbox maison (sans SVG) */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,24,34,.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
}
.lb-btn {
  position: absolute;
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #fff; cursor: pointer;
  width: 52px; height: 52px;
  font-family: var(--mono); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.lb-btn:hover { background: var(--bleu); border-color: var(--bleu); }
.lb-close { top: clamp(1rem,4vw,2rem); right: clamp(1rem,4vw,2rem); }
.lb-prev { left: clamp(.5rem,3vw,2rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(.5rem,3vw,2rem); top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: clamp(1rem,4vw,2rem); left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .18em;
  color: rgba(255,255,255,.75);
}

/* =========================================================================
   PAGE PRÉSENTATION (article)
   ========================================================================= */
.reading { max-width: 46rem; margin-inline: auto; }
.reading .chapo {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--abysse);
  margin-bottom: 2rem;
}
.reading p { margin: 0 0 1.4rem; }
.reading h3 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin: 2.6rem 0 1rem;
}
.reading h4 {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bleu-fonce);
  margin: 2rem 0 .7rem;
}
.reading figure { margin: 2rem 0; }
.reading figure img { width: 100%; }
.reading figcaption {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--brume);
  margin-top: .6rem;
}
.reading .lead-first::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: .8;
  padding: .06em .12em 0 0;
  color: var(--bleu);
}
.tag-cloud {
  font-size: .86rem;
  color: var(--brume);
  border-top: 1px solid rgba(4,40,58,.14);
  padding-top: 1.4rem;
  margin-top: 2.5rem;
}

/* =========================================================================
   BANNIÈRE INTERMÉDIAIRE
   ========================================================================= */
.callout { text-align: center; }
.callout h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 400; }
.callout p { color: var(--brume); }
.section-dark .callout p { color: rgba(234,243,248,.72); }

.btn-line {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bleu-fonce);
  border: 1px solid var(--bleu);
  padding: .85rem 1.5rem;
  margin-top: 1.4rem;
  transition: background .3s var(--ease), color .3s;
}
.btn-line:hover { background: var(--bleu); color: #fff; }
.btn-line .arrow { transition: transform .3s var(--ease); }
.btn-line:hover .arrow { transform: translateX(4px); }

/* =========================================================================
   FAQ (position 0 / questions fréquentes)
   ========================================================================= */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item {
  border-top: 1px solid rgba(4,40,58,.14);
  padding: .3rem 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(4,40,58,.14); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: var(--abysse);
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bleu-fonce); }
.faq-item summary::after {
  content: "+";
  position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.5rem; line-height: 1;
  color: var(--bleu);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { content: "–"; }
.faq-a {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--brume);
  font-size: 1.02rem;
  line-height: 1.65;
}
.faq-a p { margin: 0; }

/* =========================================================================
   PIED DE PAGE
   ========================================================================= */
.site-footer { background: var(--abysse); color: #cfe0ea; padding-top: 0; }
.footer-grid {
  max-width: var(--ct); margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .brand { color: #fff; font-size: 1.4rem; }
.footer-brand .brand span { color: var(--bleu); }
.footer-coords {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .12em;
  color: var(--brume);
  margin-top: 1rem;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bleu-clair);
  margin: 0 0 1.1rem;
  font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a { color: #cfe0ea; font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: var(--bleu-clair); }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.4rem var(--pad);
  max-width: var(--ct); margin-inline: auto;
}
.footer-base p {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .06em;
  color: var(--brume);
  margin: 0; text-align: center;
}
.footer-base a { color: var(--bleu-clair); }

/* =========================================================================
   RÉVÉLATION AU DÉFILEMENT
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; z-index: 61; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6rem var(--pad) 2.5rem;
    background: var(--abysse);
    transform: translateY(-102%);
    transition: transform .45s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  }
  .nav-links.open { transform: translateY(0); }
  .site-nav.menu-open .brand { z-index: 62; position: relative; }
  .site-nav.menu-open .brand .logo-blanc { opacity: 1; }
  .site-nav.menu-open .brand .logo-marine { opacity: 0; }
  .nav-links a { color: #fff !important; font-size: .9rem; padding: 1rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a::after { display: none; }
  .gallery, .gallery.gallery-lg { grid-template-columns: repeat(2, 1fr); }
  .relevé { grid-template-columns: 3.5rem 1fr; }
  .relevé-go { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .scroll-cue { display: none !important; }
}
@media (max-width: 460px) {
  .news-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.gallery-lg { grid-template-columns: 1fr; }
  .rib-item.season, .rib-sep.opt { display: none; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
