/**
 * UNV — Styles du thème enfant Kadence · DESIGN v9.
 *
 * SOURCE UNIQUE DE VÉRITÉ :
 *   design/refonte-home/mockup-home-v9.html          (mockup validé Jo — référence pixel)
 *   design/refonte-home/design-system/tokens.css     (tokens portables)
 *   design/refonte-home/design-system/DESIGN-SYSTEM.md
 *
 * Les composants sont scopés sous `.unv-v9` (classe posée sur <body> via body_class,
 * cf. functions.php) : zéro fuite sur l'admin, l'éditeur, Kadence parent et les plugins,
 * tout en gardant les noms de classes IDENTIQUES au mockup (traçabilité 1:1).
 *
 * Typo verrouillée : Inter variable self-hostée (JAMAIS de serif).
 * Light uniquement — le v9 validé n'a pas de mode sombre (le dark auto v3 est retiré :
 * il inversait les fonds et cassait la DA validée).
 *
 * @package UNV_Kadence_Child
 */

/* ==========================================================================
   1. FILET DE SÉCURITÉ CONTRE L'OVERFLOW HORIZONTAL (invariant : 375→1920)
   ========================================================================== */
/* `both-edges` et pas `stable` seul : `stable` ne réserve la gouttière qu'à DROITE
   → tout le contenu centré est décalé d'une demi-gouttière vers la gauche (mesuré :
   pill à x=114.5 au lieu de x=120 dans le mockup) et les marges gauche/droite ne sont
   plus symétriques. `both-edges` réserve des deux côtés → centrage exact, identique au
   mockup, ET pas de saut de layout entre une page courte et une page longue. */
html {
  scrollbar-gutter: stable both-edges;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

html,
body,
.wp-site-blocks,
.wp-block-group.alignfull,
.alignfull {
  box-sizing: border-box;
}

img,
.wp-block-image img,
figure img,
.wp-block-cover img,
.wp-block-media-text__media img,
.wp-block-column img,
[class*="placeholder"] img,
[class*="placeholder"] {
  max-width: 100%;
  height: auto;
}

.wp-block-columns {
  flex-wrap: wrap !important;
  max-width: 100%;
}

@media (min-width: 900px) {
  .wp-block-columns {
    flex-wrap: nowrap !important;
  }
}

/* ==========================================================================
   2. TOKENS v9 — SOURCE UNIQUE (extraits verbatim de design-system/tokens.css)
   --------------------------------------------------------------------------
   ⚠️ Ne JAMAIS redéfinir ces valeurs ailleurs. Les slugs theme.json sont
   volontairement laissés tels quels (le contenu WP existant les référence),
   mais ATTENTION : le slug `navy` de theme.json vaut #0050A0 = le `--blue`
   d'ici. En cas de doute, ces tokens-ci font foi (ils viennent du mockup).
   ========================================================================== */
:root {
  /* — Palette (marque réelle Siméon) — */
  --navy: #0A3E72;        /* bleu royal profond — panneaux/footer */
  --navy-deep: #082F57;   /* fonds les plus profonds (footer, loc-info) */
  --blue: #0050A0;        /* ROYAL — primary : boutons, liens, titres accent */
  --blue-d: #003E80;      /* hover primary */
  --sky: #0096D2;         /* bleu clair — accents, eyebrows on-dark, rôles comité */
  --lac: #1C6FA6;         /* bleu lac — accents/liens/anneaux focus (était utilisé partout SANS être défini) */
  --red: #E23A2E;         /* rouge logo — accent minimal (badge) */
  --red-d: #C43227;
  --gold: #C9A24B;        /* réserve */
  --ink: #14263D;         /* texte courant */
  --muted: #5C7085;       /* texte secondaire */
  --cream: #EFF6FC;       /* bleu très clair aéré (fonds de section alternés) */
  --paper: #FFFFFF;       /* blanc pur */
  --line: #E9EFF4;        /* filets/bordures claires — hairline adouci (1er passage anti-« look IA », Pedro 2026-07-18) */
  --white: #ffffff;

  /* — Typographie (Inter variable ; ratio ~1.25, base 16-17) — */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --fs-hero: clamp(38px, 5.2vw, 66px);
  --fs-h2: clamp(30px, 4.2vw, 52px);
  --fs-h3: clamp(22px, 2.4vw, 28px);
  --fs-lead: clamp(18px, 1.5vw, 21px);
  --fs-body: 17px;
  --fs-cap: 14px;
  --lh-tight: 1.08;
  --lh-body: 1.6;
  --ls-eyebrow: .22em;

  /* — Spacing (échelle 4·8·12·16·24·32·48·64·96) — */
  --s1: 4px;  --s2: 8px;   --s3: 12px; --s4: 16px; --s6: 24px;
  --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;

  /* — Rayons / ombres — */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  /* Élévation : teinte UNIQUE (encre navy), resserrée — moins « ombre portée IA » (Pedro 2026-07-21). */
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .05);
  --shadow: 0 1px 2px rgba(14, 42, 71, .04), 0 6px 20px rgba(14, 42, 71, .07);
  --shadow-lg: 0 16px 44px rgba(14, 42, 71, .14);

  /* — Layout — */
  --page: min(1200px, 92vw);

  /* — Motion — */
  --m-fast: .2s;
  --m-base: .35s;
  --m-slow: .7s;
  --ease: cubic-bezier(.2, .8, .2, 1);          /* easing UI standard */
  --ease-cut: cubic-bezier(.16, 1, .30, 1);     /* expo-out : reveals/intro premium */
}

/* ==========================================================================
   3. COMPAT v3 → v9
   --------------------------------------------------------------------------
   Les patterns pas encore migrés consomment des tokens `--uv-*` / `--unv-*`
   (espacements inline, filets). On les remappe sur l'échelle v9 pour qu'ils
   restent cohérents pendant la migration. À purger quand les 7 sous-pages
   sont toutes en v9.
   ========================================================================== */
:root {
  --uv-space-2xs: var(--s1); --uv-space-xs: var(--s2);  --uv-space-sm: var(--s3);
  --uv-space-md: var(--s4);  --uv-space-lg: var(--s6);  --uv-space-xl: var(--s8);
  --uv-space-2xl: var(--s12); --uv-space-3xl: var(--s16); --uv-space-4xl: var(--s24);
  --uv-space-5xl: 128px; --uv-space-6xl: 160px; --uv-space-7xl: 200px;

  --uv-fs-base: var(--fs-body);
  --uv-fs-md: 19px;
  --uv-fs-3xl: var(--fs-h2);
  --uv-r-sm: var(--radius);

  --unv-border: var(--line);
  --unv-argent: var(--muted);
  --unv-placeholder: var(--cream);
}

/* ==========================================================================
   4. BASE
   ========================================================================== */
.unv-v9 {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--blue) var(--cream);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-d); }

.unv-v9 h1,
.unv-v9 h2,
.unv-v9 h3,
.unv-v9 .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: .01em;
  color: var(--navy);
}

.unv-v9 a { color: inherit; text-decoration: none; }
.unv-v9 img { max-width: 100%; display: block; }

.unv-v9 .eyebrow {
  font-size: var(--fs-cap);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 var(--s4);
}
.unv-v9 .eyebrow.on-dark { color: #8FD0EF; }

.unv-v9 .lead {
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.55;
}

.unv-v9 .container {
  width: var(--page);
  margin-inline: auto;
}

.unv-v9 .site-main > section,
.unv-v9 section.unv-section {
  padding-block: clamp(56px, 9vw, 120px);
}

/* — Boutons — */
/* Boutons ronds « de base » (retour Pedro : on garde le pill classique partout).
   Primaire = pill plein bleu + légère élévation ; secondaire = pill contour qui se
   remplit au survol ; variante on-dark = pill translucide (verre) sur fond sombre. */
.unv-v9 .btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--m-fast) var(--ease), background var(--m-fast),
              color var(--m-fast), border-color var(--m-fast), box-shadow var(--m-fast);
  white-space: nowrap;
}
.unv-v9 .btn:hover { transform: translateY(-2px); }
.unv-v9 .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 80, 160, .26); }
.unv-v9 .btn-primary:hover { background: var(--blue-d); }
.unv-v9 .btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.unv-v9 .btn-ghost:not(.on-dark):hover { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 80, 160, .26); }
.unv-v9 .btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .66);
  background: rgba(9, 34, 64, .34);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.unv-v9 .btn-ghost.on-dark:hover { background: rgba(9, 34, 64, .60); border-color: #fff; }
.unv-v9 .arw { transition: transform var(--m-fast) var(--ease); }
.unv-v9 .btn:hover .arw { transform: translateX(3px); }

/* — Accessibilité : focus clavier visible sur TOUT élément interactif (WCAG 2.4.7).
   Uniquement au clavier (:focus-visible) — n'apparaît pas au clic souris. — */
.unv-v9 a:focus-visible,
.unv-v9 button:focus-visible,
.unv-v9 [role="button"]:focus-visible,
.unv-v9 summary:focus-visible,
.unv-v9 input:focus-visible,
.unv-v9 select:focus-visible,
.unv-v9 textarea:focus-visible,
.unv-v9 [tabindex]:focus-visible {
  outline: 2px solid var(--lac);
  outline-offset: 2px;
  border-radius: 3px;
}

/* — Lien d'évitement : caché jusqu'au focus clavier, puis visible en haut (WCAG 2.4.1). — */
.unv-skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 2147483001;
  background: var(--navy, #0E2A47);
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(14, 42, 71, .25);
  transition: top .16s ease;
}
.unv-skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* — Reveal au scroll — */
.unv-v9 .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--m-base) var(--ease), transform var(--m-base) var(--ease);
}
.unv-v9 .reveal.in { opacity: 1; transform: none; }

.unv-v9 .reveal-asset {
  opacity: 0;
  transform: translateY(34px) scale(.9);
  transition: opacity .85s var(--ease-cut), transform .95s var(--ease-cut);
  will-change: transform, opacity;
}
.unv-v9 .reveal-asset.in { opacity: 1; transform: none; }

.unv-v9 .mem.reveal {
  transform: translateY(30px) scale(.965);
  transition: opacity .8s var(--ease-cut), transform var(--m-base) var(--ease-cut);
}
.unv-v9 .mem.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .unv-v9 .reveal,
  .unv-v9 .reveal-asset { opacity: 1; transform: none; transition: none; }
}

/* — Vertical cut reveal (intro hero) —
   ⚠️ SCOPÉ `.unv-front` (= la home, cf. body_class) : c'est la SEULE page qui joue la
   choréo d'intro. Sans ce scope, le header resterait à opacity:0 sur toutes les
   sous-pages, où aucun script ne vient le révéler → header invisible partout. */
.js .unv-front [data-reveal] { opacity: 0; }
.js .unv-front .site-header { opacity: 0; }   /* évite le flash header visible→animé */
.js .unv-front #conditions { opacity: 0; }    /* widget révélé en DERNIER */

.unv-v9 .rv-word {
  display: inline-flex;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em;
  line-height: inherit;
}
.unv-v9 .rv-i { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .js .unv-front [data-reveal] { opacity: 1 !important; }
  .unv-v9 .hero-liquid { display: none !important; }
}

/* ==========================================================================
   5. COMPOSANTS v9
   ========================================================================== */

/* ---------- HEADER (pill flottant translucide) ---------- */
.unv-v9 .site-header {
  position: fixed;
  inset: 28px 0 auto;
  /* > 1000 : passe AU-DESSUS des contrôles Leaflet (z-index 1000) — la carte ne
     doit jamais recouvrir le menu (retour Pedro 2026-07-18). */
  z-index: 1100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.unv-v9 .nav-pill {
  pointer-events: auto;
  width: var(--page);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: 9px 12px 9px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 6px 24px rgba(14, 42, 71, .10);
  /* background-color (et non le raccourci `background`) : Safari n'interpole PAS le raccourci
     dans une transition (il garde l'ancienne couleur puis saute) → on cible la longhand. */
  transition: background-color var(--m-base), box-shadow var(--m-base);
}
.unv-v9 .site-header.scrolled .nav-pill {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 30px rgba(14, 42, 71, .12);
}
.unv-v9 .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 18px;
  white-space: nowrap;
}
.unv-v9 .brand .brand-full { font-weight: 700; }
/* Sigle « UNV » (typo du logo) — masqué en desktop, révélé en mobile à côté de l'emblème. */
.unv-v9 .brand .brand-short { display: none; font-weight: 700; letter-spacing: .04em; }
/* logo SOUDÉ au header : taille fluide + marges proportionnelles → calage identique à toute taille */
.unv-v9 .brand .brand-mark {
  --logo: clamp(58px, 7.4vw, 120px);
  width: var(--logo);
  height: var(--logo);
  overflow: visible;
  margin: calc(var(--logo) * -0.2167) 0 calc(var(--logo) * -0.2167) calc(var(--logo) * -0.2);
  display: block;
  flex: none;
}
.unv-v9 #unvBarre {
  transform-box: view-box;
  transform-origin: 138.28px 137.35px;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .unv-v9 #unvBarre { transform: none !important; }
}

.unv-v9 .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  margin-left: auto;
  min-width: 0;
}
/* Top-level : bouton de groupe (deroulant) OU lien direct -- meme look. */
.unv-v9 .nav-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 2px;
  font: 600 14.5px var(--font-display, system-ui);
  color: var(--ink);
  opacity: .85;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity var(--m-fast);
}
.unv-v9 .nav-top:hover { opacity: 1; }
.unv-v9 .nav-top:focus-visible { outline: 2px solid var(--lac); outline-offset: 3px; border-radius: 4px; opacity: 1; }
.unv-v9 .nav-top.is-current, .unv-v9 .nav-top[aria-current="page"] { opacity: 1; }
.unv-v9 .nav-top::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 100%;
  bottom: -1px;
  height: 1.5px;
  background: var(--blue);
  transition: right var(--m-base) var(--ease);
}
.unv-v9 .nav-item--group:hover .nav-top::after,
.unv-v9 .nav-top:hover::after,
.unv-v9 .nav-top.is-current::after,
.unv-v9 .nav-top[aria-current="page"]::after { right: 2px; }
.unv-v9 .nav-chevron { opacity: .65; transition: transform var(--m-fast) var(--ease); }
.unv-v9 .nav-item--group { position: relative; display: inline-flex; }
.unv-v9 .nav-item--group::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.unv-v9 .nav-menu {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 208px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition: opacity var(--m-fast) var(--ease), transform var(--m-fast) var(--ease), visibility var(--m-fast);
}
.unv-v9 .nav-item--group:hover .nav-menu,
.unv-v9 .nav-item--group.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.unv-v9 .nav-item--group:hover .nav-chevron,
.unv-v9 .nav-item--group.is-open .nav-chevron { transform: rotate(180deg); }
.unv-v9 .nav-menu li { margin: 0; }
.unv-v9 .nav-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font: 500 14px var(--font-display, system-ui);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--m-fast), color var(--m-fast);
}
.unv-v9 .nav-menu a:hover { background: var(--cream); color: var(--navy); }
.unv-v9 .nav-menu a:focus-visible { outline: 2px solid var(--lac); outline-offset: -2px; background: var(--cream); color: var(--navy); }
.unv-v9 .nav-menu a[aria-current="page"] { color: var(--lac); font-weight: 700; }

.unv-v9 .nav-actions { display: flex; align-items: center; gap: 10px; }
/* `flex:none` + `nowrap` : sans eux, la pression du flex casse « FR / EN » et
   « Espace membre » sur plusieurs lignes (le mockup n'avait que 5 liens de nav,
   le site réel en a 6 → le pill est plus contraint). */
.unv-v9 .lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  white-space: nowrap;
  flex: none;
}
.unv-v9 .lang b { color: var(--navy); }
.unv-v9 .lang a { color: var(--muted); }
.unv-v9 .lang a:hover { color: var(--blue); }
.unv-v9 .member-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  white-space: nowrap;
  flex: none;
}
/* CTA header calé sur la taille de « Espace membre » (équilibre + libère de la place). */
.unv-v9 .nav-actions .btn { flex: none; font-size: 13.5px; padding: 8px 16px; box-shadow: none; }
.unv-v9 .nav-actions .btn:hover { box-shadow: none; }
.unv-v9 .member-link:hover { border-color: var(--blue); }
.unv-v9 .burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
/* Burger ⇄ croix : morphing d'un tracé SVG continu (inspiration Pedro). Le burger vit
   dans le pill (z-index 1100 > drawer 200) → la croix reste DEVANT le menu et cliquable :
   un seul contrôle ouvre ET ferme (NNGroup #4 cohérence, #3 contrôle utilisateur). */
.unv-v9 .burger-svg { width: 30px; height: 30px; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.unv-v9 .burger-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray .6s cubic-bezier(.4, 0, .2, 1),
              stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1),
              stroke .3s ease;
}
.unv-v9 .burger-line--tb { stroke-dasharray: 12 63; }
.unv-v9 .burger.is-open .burger-svg { transform: rotate(-45deg); }
.unv-v9 .burger.is-open .burger-line--tb { stroke-dasharray: 20 300; stroke-dashoffset: -32.42; }
@media (prefers-reduced-motion: reduce) {
  .unv-v9 .burger-svg, .unv-v9 .burger-line { transition: none; }
}

/* ---------- HERO ---------- */
.unv-v9 .hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}
.unv-v9 .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Effet eau liquid — canvas WebGL sur la photo ; fade-in quand prêt, fallback = photo statique */
.unv-v9 .hero-liquid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.unv-v9 .hero-liquid.on { opacity: 1; }

.unv-v9 .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(226, 239, 250, .30) 0%, rgba(226, 239, 250, .10) 9%, rgba(226, 239, 250, 0) 20%),
    linear-gradient(180deg, rgba(8, 36, 63, .32) 0%, rgba(8, 36, 63, .04) 30%, rgba(8, 36, 63, .20) 60%, rgba(8, 36, 63, .80) 100%);
}
/* scrim navy : teinte la colonne texte + garantit le contraste AA du blanc */
.unv-v9 .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(125% 105% at 100% 0%, rgba(6, 38, 70, .93) 0%, rgba(6, 38, 70, .52) 30%, rgba(6, 38, 70, .12) 51%, rgba(6, 38, 70, 0) 67%),
    linear-gradient(270deg, rgba(6, 38, 70, .9) 0%, rgba(6, 38, 70, .48) 15%, rgba(6, 38, 70, 0) 42%),
    linear-gradient(96deg, rgba(6, 38, 70, .82) 0%, rgba(6, 38, 70, .54) 26%, rgba(6, 38, 70, .18) 48%, rgba(6, 38, 70, 0) 66%);
}
/* Héros 2 colonnes : à gauche le texte, à droite le panneau webcam + conditions live.
   Grille ≥1025px ; repli en 1 colonne centrée < 1024px (cf. media query plus bas). */
.unv-v9 .hero-inner {
  position: relative;
  z-index: 2;
  width: min(1220px, 92vw);
  margin-inline: auto;
  min-height: 100svh;
  padding-block: clamp(104px, 13vh, 144px) clamp(36px, 5vh, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  text-align: left;
}
.unv-v9 .hero-heart { position: relative; max-width: 620px; }
.unv-v9 .hero-heart::before {
  content: "";
  position: absolute;
  inset: -56px -108px;
  z-index: -1;
  background: radial-gradient(ellipse 74% 80% at 50% 46%, rgba(5, 22, 42, .60) 0%, rgba(5, 22, 42, .36) 46%, rgba(5, 22, 42, 0) 76%);
}
.unv-v9 .hero-eyebrow {
  font-size: var(--fs-cap);
  letter-spacing: .30em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EAF4FC;
  text-shadow: 0 1px 10px rgba(5, 20, 38, .72), 0 0 22px rgba(5, 20, 38, .55);
  margin-bottom: var(--s6);
}
.unv-v9 .hero h1 {
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-hero);
  max-width: none;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(5, 20, 38, .62), 0 0 48px rgba(5, 20, 38, .45);
  margin: 0;
}
.unv-v9 .hero-sub {
  margin: var(--s6) 0 var(--s2);
  font-size: var(--fs-lead);
  color: #fff;
  font-weight: 500;
  max-width: 46ch;
  text-shadow: 0 1px 14px rgba(5, 20, 38, .6), 0 0 30px rgba(5, 20, 38, .4);
}
.unv-v9 .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: var(--s8);
}

@media (max-width: 1024px) {
  .unv-v9 .hero { flex-direction: column; align-items: center; justify-content: flex-start; }
  .unv-v9 .hero-inner {
    min-height: auto;
    padding-block: clamp(120px, 18vh, 168px) clamp(40px, 6vh, 72px);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: clamp(28px, 5vh, 48px);
  }
  .unv-v9 .hero-heart { max-width: 720px; }
  .unv-v9 .hero-sub { margin-inline: auto; }
  .unv-v9 .hero-cta { justify-content: center; }
  .unv-v9 .conditions { justify-self: center; max-width: min(360px, 90vw); }
}

/* ---------- PANNEAU CONDITIONS + WEBCAM (colonne droite du héros) ---------- */
.unv-v9 .conditions {
  position: relative;
  z-index: 4;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 384px;
  padding: 14px 16px 16px;
  border-radius: var(--radius-lg);
  background: rgba(9, 38, 70, .36);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 20px 52px rgba(14, 42, 71, .42);
  color: #fff;
  text-align: left;
}
.unv-v9 .c-row { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.unv-v9 .c-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.unv-v9 .c-head-txt { display: flex; flex-direction: column; gap: 3px; }
/* fanion UNV — accent ondulant WebGL */
.unv-v9 .c-flag {
  width: 112px;
  height: 72px;
  flex: none;
  pointer-events: none;
  filter: drop-shadow(0 7px 15px rgba(8, 40, 74, .44));
}
.unv-v9 .c-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #DCE4EA;
}
/* Indicateur « en direct » : point rouge fixe, sans animation (retour Pedro 2026-07-18). */
.unv-v9 .c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
/* Attribution de la source météo (retour Pedro 2026-07-18). */
.unv-v9 .c-src { margin: 10px 0 0; font-size: 10.5px; letter-spacing: .02em; }
.unv-v9 .c-src a { color: rgba(255, 255, 255, .58); text-decoration: none; }
.unv-v9 .c-src a:hover { color: rgba(255, 255, 255, .85); text-decoration: underline; }
.unv-v9 .c-place { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; }
.unv-v9 .c-temp { font-size: 25px; font-family: var(--font-display); line-height: 1; }
.unv-v9 .c-meta { font-size: 12.5px; color: rgba(255, 255, 255, .84); line-height: 1.35; }

/* compas direction du vent */
.unv-v9 .compass { position: relative; width: 44px; height: 44px; flex: none; color: #fff; margin-left: auto; }
.unv-v9 .compass-rose,
.unv-v9 .compass-needle { position: absolute; inset: 0; width: 100%; height: 100%; }
.unv-v9 .compass-needle { transition: transform .9s var(--ease); transform: rotate(var(--wind-deg, 0deg)); }

/* cadre webcam en direct */
.unv-v9 .c-webcam-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  margin-top: 14px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0a2f57;
  transition: border-color var(--m-fast), transform var(--m-fast);
}
.unv-v9 .c-webcam-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../media/hero/port-vidy-aerial.jpg') center/cover;
  opacity: .5;
}
.unv-v9 .c-webcam-frame:hover { border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.unv-v9 .cw-live {
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.unv-v9 .cw-play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; opacity: .92; }
.unv-v9 .cw-hint { position: absolute; bottom: 7px; right: 10px; z-index: 1; font-size: 10.5px; opacity: .85; color: #fff; }

/* modale webcam (consent gate nLPD — aucun iframe tiers auto-chargé) */
.unv-v9 .webcam-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 24, 42, .62);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.unv-v9 .webcam-modal.open { display: flex; }
.unv-v9 .wm-card {
  position: relative;
  max-width: 380px;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}
.unv-v9 .wm-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.unv-v9 .wm-icon { font-size: 38px; }
.unv-v9 .wm-card h3 { margin: 6px 0 8px; font-family: var(--font-display); font-size: 22px; }
.unv-v9 .wm-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.unv-v9 .wm-note { font-size: 12.5px; opacity: .85; }
/* mode DIRECT (URL https) : la modale s'élargit et intègre le flux vidéo dans un cadre 16:9 */
.unv-v9 .webcam-modal.is-live .wm-card { max-width: 720px; }
.unv-v9 .wm-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 4px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a2f57;
}
.unv-v9 .wm-stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- LE CLUB ---------- */
/* `.site-main > section.club` et pas `.club` : la règle de rythme générique
   `.unv-v9 .site-main > section` (0,2,1) bat `.unv-v9 .club` (0,2,0) → le padding-top
   réduit ne s'appliquait jamais (120px au lieu de 52px). Dans le mockup l'arbitrage
   était inverse (`section` = (0,0,1) < `.club` = (0,1,0)) ; le scopage `.unv-v9` a
   inversé la hiérarchie. Le padding réduit est VOULU : le voilier `.club-sail` est
   ancré au-dessus du container et l'ancre #club doit dégager le header fixe. */
.unv-v9 .site-main > section.club { padding-top: clamp(28px, 4vw, 52px); }
.unv-v9 .club { background: var(--paper); }
.unv-v9 .club-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.unv-v9 .club h2 { font-size: var(--fs-h2); max-width: 14ch; margin: 0 0 var(--s6); }
.unv-v9 .club p { color: var(--muted); max-width: 52ch; margin: 0 0 var(--s4); }

.unv-v9 .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.unv-v9 .stat {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform var(--m-base) var(--ease), box-shadow var(--m-base) var(--ease), border-color var(--m-base);
}
.unv-v9 .stat .n { font-family: var(--font-display); font-size: 40px; color: var(--navy); line-height: 1; }
.unv-v9 .stat .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
.unv-v9 .stat.accent { background: var(--navy); color: #fff; }
.unv-v9 .stat.accent .n { color: #fff; }
.unv-v9 .stat.accent .l { color: #C7D6E2; }
.unv-v9 .stat:hover { border-color: var(--sky); box-shadow: var(--shadow-lg); }
.unv-v9 .stat.accent:hover { border-color: rgba(255, 255, 255, .45); }

/* ---------- ACTIVITÉS ---------- */
.unv-v9 .acts { background: var(--cream); }
.unv-v9 .sec-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.unv-v9 .sec-head h2 { font-size: var(--fs-h2); margin: 0 0 var(--s4); }
.unv-v9 .acts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Variante 2 colonnes : pages qui n'ont que 2 cartes (École de voile, Ports voisins) —
   la grille 3-col y laissait une colonne vide. */
.unv-v9 .acts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.unv-v9 .act {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--m-base) var(--ease), box-shadow var(--m-base);
}
.unv-v9 .act:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.unv-v9 .act .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 80, 160, .10);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform var(--m-base) var(--ease), background var(--m-base), color var(--m-base);
}
.unv-v9 .act .ic svg { width: 24px; height: 24px; }
.unv-v9 .act h3 { font-size: 20px; margin: 0 0 8px; }
.unv-v9 .act p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.unv-v9 .act::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transition: width var(--m-base) var(--ease);
}
.unv-v9 .act:hover::after { width: 100%; }
.unv-v9 .act:hover .ic { transform: scale(1.08) rotate(-5deg); background: var(--blue); color: #fff; }
/* Cartes ÉVÉNEMENT (image en tête + date + titre) — /régates « Le calendrier » (retour Pedro). */
.unv-v9 .act--event { display: flex; flex-direction: column; padding: 0; }
.unv-v9 .act--event .act-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-deep, #0a2f57), var(--lac, #1C6FA6)) center/cover no-repeat; }
.unv-v9 .act--event .act-body { display: flex; flex-direction: column; gap: 5px; padding: 18px 22px 22px; }
.unv-v9 .act--event .act-date { font-size: 13px; font-weight: 700; color: var(--lac, #1C6FA6); letter-spacing: .02em; }
.unv-v9 .act--event h3 { margin: 0; }
.unv-v9 .act--event .act-loc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
/* Page d'un événement (single unv_event) : le bandeau reprend .page-head, l'image de
   l'événement remplace la photo par défaut (style inline), texte en blanc conservé. */
.unv-v9 .event-head .event-back { color: #8FD0EF; text-decoration: none; font-weight: 600; }
.unv-v9 .event-head .event-back:hover { text-decoration: underline; }
.unv-v9 .event-detail { max-width: 72ch; }
.unv-v9 .event-detail > * + * { margin-top: var(--s5); }
.unv-v9 .event-detail p { line-height: 1.7; color: var(--ink); }
.unv-v9 .event-detail img { border-radius: var(--radius); max-width: 100%; height: auto; }
/* ---------- CARTE INTERACTIVE DU LÉMAN (page Ports, retour Pedro) ---------- */
.unv-v9 .leman-map { position: relative; }
.unv-v9 .leman-map__stage { position: relative; width: 100%; max-width: 1000px; margin-inline: auto; }
.unv-v9 .leman-map__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 40px rgba(14, 42, 71, .18)); }
/* Reflets d'eau (retour Pedro : effet CSS d'origine rétabli, volontairement DISCRET). */
.unv-v9 .leman-map__water { mix-blend-mode: screen; }
.unv-v9 .leman-glint { fill: rgba(190, 230, 255, .26); }
@keyframes leman-drift-1 { 0%, 100% { transform: translate(-2%, 0); } 50% { transform: translate(2.5%, -2.5%); } }
@keyframes leman-drift-2 { 0%, 100% { transform: translate(2%, 1.5%); } 50% { transform: translate(-2.5%, -2%); } }
.unv-v9 .leman-glint.g1 { animation: leman-drift-1 20s ease-in-out infinite; }
.unv-v9 .leman-glint.g2 { animation: leman-drift-2 26s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .unv-v9 .leman-glint { animation: none; } }
/* Points de port */
.unv-v9 .leman-port { position: absolute; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; padding: 7px; display: grid; place-items: center; z-index: 2; }
.unv-v9 .leman-port__dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--navy, #0E2A47); box-shadow: 0 2px 6px rgba(14, 42, 71, .4); transition: transform .15s ease; }
.unv-v9 .leman-port.is-home .leman-port__dot { width: 17px; height: 17px; background: var(--red, #E4572E); border-color: #fff; position: relative; }
/* Petite animation : le port d'attache (Port de Vidy) pulse doucement. */
.unv-v9 .leman-port.is-home .leman-port__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red, #E4572E); animation: leman-home-ping 2.8s ease-out infinite; pointer-events: none; }
@keyframes leman-home-ping { 0% { transform: scale(.6); opacity: .7; } 70% { opacity: 0; } 100% { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .unv-v9 .leman-port.is-home .leman-port__dot::after { animation: none; } }
.unv-v9 .leman-port:hover .leman-port__dot, .unv-v9 .leman-port.is-active .leman-port__dot { transform: scale(1.3); }
.unv-v9 .leman-port:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; border-radius: 50%; }
.unv-v9 .leman-port__label { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; white-space: nowrap; font: 600 11.5px var(--font-display, system-ui); color: var(--navy); background: rgba(255, 255, 255, .92); padding: 2px 7px; border-radius: 6px; box-shadow: 0 2px 8px rgba(14, 42, 71, .12); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.unv-v9 .leman-port:hover .leman-port__label, .unv-v9 .leman-port.is-active .leman-port__label, .unv-v9 .leman-port.is-home .leman-port__label { opacity: 1; }
/* Fiche port */
.unv-v9 .leman-card { position: absolute; width: 252px; max-width: calc(100vw - 32px); background: #fff; border-radius: var(--radius); padding: 15px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 5; animation: unv-rail-in .18s ease; }
.unv-v9 .leman-card[hidden] { display: none; }
.unv-v9 .leman-card.is-float { transform: translate(-50%, -100%); }
.unv-v9 .leman-card.is-float.is-below { transform: translate(-50%, 0); }
.unv-v9 .leman-card__x { position: absolute; top: 2px; right: 2px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.unv-v9 .leman-card__name { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.unv-v9 .leman-card__info { margin: 0 0 12px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.unv-v9 .leman-card__link { font: 600 13.5px var(--font-display, system-ui); color: var(--lac); text-decoration: none; }
.unv-v9 .leman-card__link:hover { text-decoration: underline; }
.unv-v9 .leman-map__hint { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
/* Planificateur « depuis Vidy » — barre de départ, itinéraire, temps de trajet */
.unv-v9 .sec-lead { max-width: 46ch; margin: 10px auto 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.unv-v9 .leman-route { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 1 7; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
/* Icônes bateau (voilier / moteur) — SVG maison, remplacent les emojis */
.unv-v9 .tv-ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; fill: currentColor; }
.unv-v9 .tv-nowind { color: var(--muted); font-weight: 600; }
/* Planificateur météo : sélecteur de jour + alerte + disclaimer */
.unv-v9 .leman-forecast { max-width: 760px; margin: 0 auto 30px; }
.unv-v9 .leman-forecast__lbl { text-align: center; margin: 0 0 10px; font: 600 12px var(--font-display, system-ui); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.unv-v9 .leman-days { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 2px; }
.unv-v9 .leman-day { flex: 0 0 auto; display: grid; gap: 2px; justify-items: center; min-width: 84px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.unv-v9 .leman-day:hover { border-color: var(--lac); background: #fff; color: var(--navy); }
.unv-v9 .leman-day.is-sel { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.unv-v9 .leman-day.is-storm { border-color: rgba(228, 87, 46, .5); }
.unv-v9 .leman-day.is-storm .leman-day__wind { color: #b23a18; }
.unv-v9 .leman-day:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
.unv-v9 .leman-day__lbl { font: 700 13px var(--font-display, system-ui); color: var(--navy); text-transform: capitalize; }
.unv-v9 .leman-day__wind { font-size: 11.5px; color: var(--muted); }
.unv-v9 .leman-days__off { font-size: 13px; color: var(--muted); }
.unv-v9 .leman-warn { max-width: 620px; margin: 12px auto 0; padding: 10px 16px; border-radius: var(--radius); font: 600 13.5px var(--font-display, system-ui); text-align: center; }
.unv-v9 .leman-warn.is-danger { background: rgba(228, 87, 46, .12); color: #a5330f; border: 1px solid rgba(228, 87, 46, .35); }
.unv-v9 .leman-warn.is-warn { background: rgba(214, 158, 46, .16); color: #7a5200; border: 1px solid rgba(214, 158, 46, .42); }
/* Vide : on collapse SANS display:none pour garder la région live dans l'arbre a11y. */
.unv-v9 .leman-warn.is-empty { margin: 0; padding: 0; border: 0; min-height: 0; }
/* Disclaimer : REPLIÉ derrière un résumé sur mobile (sinon un pavé de texte encombre sous
   la carte), DÉPLIÉ en ligne sur desktop. */
.unv-v9 .leman-disc { max-width: 640px; margin: 10px auto 0; }
.unv-v9 .leman-disc__sum { cursor: pointer; text-align: center; font-size: 12px; color: var(--muted); list-style: none; padding: 6px 10px; }
.unv-v9 .leman-disc__sum::-webkit-details-marker { display: none; }
.unv-v9 .leman-disc__sum::after { content: " ▾"; }
.unv-v9 .leman-disc[open] .leman-disc__sum::after { content: " ▴"; }
.unv-v9 .leman-disc__body { margin: 6px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: center; }
@media (min-width: 721px) {
  /* Desktop : toujours visible (résumé masqué, corps forcé). */
  .unv-v9 .leman-disc__sum { display: none; }
  .unv-v9 .leman-disc > .leman-disc__body { display: block; }
}
/* ── Store-finder des ports : carte (gauche) + liste défilante (droite) ── */
.unv-v9 .leman-finder { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.unv-v9 .leman-finder__map { min-width: 0; }
.unv-v9 .leman-finder__panel { display: flex; flex-direction: column; min-width: 0; }
/* /ports : sélecteur Départ/Destination (trip) qui remplit la colonne carte + panneau « Détails »
   sous la carte — même moteur guidé que l'accueil, présenté en store-finder (retour Pedro). */
/* margin-bottom généreux : l'étiquette « Port de Vidy » (port du haut, toujours affichée)
   déborde au-dessus de la carte et ne doit pas chevaucher la barre Départ/Destination. */
.unv-v9 .leman-finder__map .leman-trip { max-width: none; margin: 0 0 40px; }
.unv-v9 .leman-finder__map .leman-disc { margin-top: 18px; }
.unv-v9 .leman-finder__hint { text-align: center; margin: 14px auto 0; max-width: 340px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.unv-v9 .leman-finder__hint[hidden] { display: none; }
.unv-v9 .leman-search { margin: 0 0 12px; }
.unv-v9 .leman-search__input { width: 100%; font: 500 15px var(--font-display, system-ui); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 16px; }
.unv-v9 .leman-search__input:focus-visible { outline: 2px solid var(--lac); outline-offset: 1px; }
/* contain:paint — sans lui, le débordement défilable de ce volet (24 ports ≈ 7660px
   bridés à 640px) « fuit » dans la hauteur de défilement de la PAGE → ~5800px de vide
   blanc sous le footer (volet flex dans une grille : l'overflow-y du volet ne se contient
   pas lui-même ; contain:paint le confine). Mesuré : rétablit la page à la base du footer. */
.unv-v9 .leman-list { list-style: none; margin: 0; padding: 4px; display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; overscroll-behavior: contain; contain: paint; }
.unv-v9 .leman-list__none { color: var(--muted); font-size: 14px; padding: 20px; text-align: center; }
.unv-v9 .leman-list__none[hidden] { display: none; }
.unv-v9 .leman-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; scroll-margin: 8px; transition: border-color .15s, box-shadow .15s; }
.unv-v9 .leman-item[hidden] { display: none; }
.unv-v9 .leman-item.is-active { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 10px 26px rgba(14, 42, 71, .10); }
.unv-v9 .leman-item.is-home { background: linear-gradient(0deg, #fff, rgba(228, 87, 46, .045)); }
.unv-v9 .leman-item__sel { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; cursor: pointer; }
.unv-v9 .leman-item__sel:focus-visible { outline: 2px solid var(--lac); outline-offset: 3px; border-radius: 6px; }
.unv-v9 .leman-item__name { display: block; font: 700 16.5px var(--font-display, system-ui); color: var(--navy); }
.unv-v9 .leman-item__region { display: block; font: 600 11px var(--font-display, system-ui); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.unv-v9 .leman-item__trip { margin: 9px 0 0; font: 700 14px var(--font-display, system-ui); color: var(--navy); }
.unv-v9 .leman-item__trip:empty { display: none; }
.unv-v9 .leman-item__km { display: block; font: 500 12px var(--font-display, system-ui); color: var(--muted); margin-top: 2px; }
.unv-v9 .leman-item__home { color: var(--red, #E4572E); font-weight: 700; }
.unv-v9 .leman-item__facts { margin: 11px 0 0; display: grid; gap: 5px; }
.unv-v9 .leman-item__facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: 13px; line-height: 1.45; }
.unv-v9 .leman-item__facts dt { color: var(--muted); font-weight: 600; }
.unv-v9 .leman-item__facts dd { margin: 0; color: var(--ink); }
.unv-v9 .clamp1, .unv-v9 .clamp2, .unv-v9 .clamp3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.unv-v9 .clamp1 { -webkit-line-clamp: 1; }
.unv-v9 .clamp2 { -webkit-line-clamp: 2; }
.unv-v9 .clamp3 { -webkit-line-clamp: 3; }
/* Places visiteurs = info clé (retour Pedro) : mise en avant ; total des places = discret. */
.unv-v9 .leman-item__facts > .is-key dt { color: var(--lac); }
.unv-v9 .leman-item__facts > .is-key dd { color: var(--navy); font-weight: 600; }
.unv-v9 .leman-item__total { margin: 11px 0 0; font-size: 12px; color: var(--muted); }
.unv-v9 .leman-item__svc { list-style: none; margin: 11px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.unv-v9 .leman-item__svc li { font: 600 11px var(--font-display, system-ui); color: var(--lac); background: rgba(28, 111, 166, .10); border-radius: 20px; padding: 3px 10px; }
.unv-v9 .leman-item__links { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font: 600 13px var(--font-display, system-ui); }
.unv-v9 .leman-item__links a { color: var(--lac); text-decoration: underline; text-underline-offset: 2px; }
.unv-v9 .leman-item__links a.leman-item__site { color: var(--navy); }

/* ── Port de Vidy : fiche vérifiée (port d'attache) — même langage visuel que le store-finder, source unique éditable ── */
.unv-v9 .vidy-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.unv-v9 .vidy-hero > * { min-width: 0; } /* évite tout débordement d'un enfant de grille (email long éditable) */
/* Spécificité renforcée (.vidy-hero > .vidy-hero__prose) pour battre .unv-prose, déclaré plus bas avec la même spécificité. */
.unv-v9 .vidy-hero .vidy-hero__prose { max-width: 58ch; }
.unv-v9 .vidy-fiche { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow); }
.unv-v9 .vidy-fiche__kicker { margin: 0 0 14px; font: 700 12px var(--font-display, system-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--lac); }
.unv-v9 .vidy-fiche__key { padding: 14px 16px; background: rgba(28, 111, 166, .06); border: 1px solid rgba(28, 111, 166, .14); border-radius: var(--radius); }
.unv-v9 .vidy-fiche__klabel { margin: 0 0 5px; font: 700 11.5px var(--font-display, system-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--lac); }
.unv-v9 .vidy-fiche__kval { margin: 0; color: var(--navy); font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.unv-v9 .vidy-fiche__list { margin: 16px 0 0; display: grid; gap: 13px; }
.unv-v9 .vidy-fiche__list > div { display: grid; gap: 3px; }
.unv-v9 .vidy-fiche__list dt { font: 700 11.5px var(--font-display, system-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.unv-v9 .vidy-fiche__list dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; }
.unv-v9 .vidy-fiche__contact { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.unv-v9 .vidy-fiche__contact a { color: var(--lac); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.unv-v9 .vidy-fiche__svc { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.unv-v9 .vidy-fiche__svc li { font: 600 11.5px var(--font-display, system-ui); color: var(--lac); background: rgba(28, 111, 166, .10); border-radius: 20px; padding: 4px 11px; }
.unv-v9 .vidy-fiche__total { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.unv-v9 .vidy-fiche__link { display: inline-block; margin: 18px 0 0; font: 600 13.5px var(--font-display, system-ui); color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.unv-v9 .vidy-fiche__link:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 820px) { .unv-v9 .vidy-hero { grid-template-columns: 1fr; gap: 26px; } .unv-v9 .vidy-hero .vidy-hero__prose { max-width: none; } }

/* ── Page Partenaires : répertoire de cartes (« présentoir à flyers » du club) ── */
.unv-v9 .ports-home__cta { text-align: center; margin-top: clamp(22px, 3vw, 34px); }
.unv-v9 .partners-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.unv-v9 .partner-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.unv-v9 .partner-card__logo { height: 128px; display: grid; place-items: center; padding: 22px; background: var(--cream); border-bottom: 1px solid var(--line); }
.unv-v9 .partner-card__img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; display: block; }
.unv-v9 .partner-card__initial { font: 800 44px var(--font-display, system-ui); color: var(--lac); opacity: .55; }
.unv-v9 .partner-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.unv-v9 .partner-card__cat { align-self: flex-start; font: 600 11.5px var(--font-display, system-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--lac); background: rgba(28, 111, 166, .10); border-radius: var(--radius-pill); padding: 4px 11px; }
.unv-v9 .partner-card__name { margin: 0; font-size: 20px; color: var(--navy); }
.unv-v9 .partner-card__desc { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.unv-v9 .partner-card__links { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 600 13.5px var(--font-display, system-ui); }
.unv-v9 .partner-card__site { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.unv-v9 .partner-card__flyer { display: inline-flex; align-items: center; gap: 6px; color: var(--lac); text-decoration: underline; text-underline-offset: 2px; }
.unv-v9 .partner-card__site:focus-visible, .unv-v9 .partner-card__flyer:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; border-radius: 4px; }
.unv-v9 .partners-empty { max-width: 560px; margin-inline: auto; text-align: center; padding: clamp(30px, 5vw, 56px) 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.unv-v9 .partners-empty svg { width: 44px; height: 44px; color: var(--lac); opacity: .7; }

/* ── Boutique Spreadshop embarquée (chargement au clic, nLPD) ── */
.unv-v9 .shop-gate { max-width: 560px; margin-inline: auto; text-align: center; padding: clamp(30px, 5vw, 52px) 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.unv-v9 .shop-gate[hidden] { display: none; }
.unv-v9 .shop-gate__priv { margin: 16px auto 0; max-width: 42ch; color: var(--muted); font-size: 13px; line-height: 1.5; }
.unv-v9 .shop-mount { max-width: 1180px; margin-inline: auto; }
/* Boutique pas encore ouverte : bloc « en construction, bientôt disponible ». */
.unv-v9 .shop-soon { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(34px, 6vw, 60px) 28px; border: 1px dashed #c9d6e2; border-radius: var(--radius-lg); background: var(--cream); }
.unv-v9 .shop-soon__ico { color: var(--blue); }
.unv-v9 .shop-soon__badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fff4e0; color: #9a6700; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.unv-v9 .shop-soon__h { margin: 4px 0 0; font-size: var(--fs-h3); color: var(--navy); }
.unv-v9 .shop-soon__p { margin: 0 auto 8px; max-width: 46ch; color: var(--muted); line-height: 1.6; }
.unv-v9 .shop-mount[aria-busy="true"] { min-height: 320px; }
.unv-v9 .partners-empty h2 { margin: 14px 0 8px; font-size: clamp(22px, 3vw, 28px); color: var(--navy); }
.unv-v9 .partners-empty p { margin: 0 auto; max-width: 46ch; color: var(--muted); }

/* ── Page Statuts : visionneuse PDF maison (PDF.js, défilement CONFINÉ — retour Pedro) ── */
.unv-v9 .pdfv { max-width: 880px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.unv-v9 .pdfv__bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--cream); }
.unv-v9 .pdfv__grp { display: inline-flex; align-items: center; gap: 5px; }
.unv-v9 .pdfv__pages { margin-right: auto; }
.unv-v9 .pdfv__ico { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); cursor: pointer; transition: background .15s, border-color .15s; }
.unv-v9 .pdfv__ico:hover { background: var(--cream); border-color: var(--blue); }
.unv-v9 .pdfv__ico:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
.unv-v9 .pdfv__count { font: 700 14px var(--font-display, system-ui); color: var(--navy); min-width: 60px; text-align: center; font-variant-numeric: tabular-nums; }
.unv-v9 .pdfv__dl { padding: 9px 18px; font-size: 13.5px; }
.unv-v9 .pdfv__scroll { position: relative; height: min(78vh, 900px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; background: #565f68; padding: 16px 0; }
.unv-v9 .pdfv__doc { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: min-content; }
.unv-v9 .pdfv__canvas { height: auto; box-shadow: 0 4px 18px rgba(0, 0, 0, .30); border-radius: 2px; background: #fff; }
.unv-v9 .pdfv__loading, .unv-v9 .pdfv__fallback { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: max-content; max-width: 80%; text-align: center; color: #fff; font: 600 14px var(--font-display, system-ui); }
.unv-v9 .pdfv__loading[hidden], .unv-v9 .pdfv__fallback[hidden] { display: none; }
.unv-v9 .pdfv__fallback a { color: #fff; text-decoration: underline; }
.unv-v9 .pdfv__adopted { margin: 0; padding: 11px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--cream); }
@media (max-width: 640px) {
  .unv-v9 .pdfv__scroll { height: calc(100dvh - 250px); min-height: 400px; }
  .unv-v9 .pdfv__bar { padding: 8px 10px; gap: 7px; }
  .unv-v9 .pdfv__dl { padding: 8px 15px; }
}

@media (max-width: 900px) {
  .unv-v9 .leman-finder { grid-template-columns: 1fr; gap: 8px; }
  .unv-v9 .leman-list { max-height: 460px; }
  /* Sur colonne unique, l'étiquette « Port de Vidy » (port du haut) ne doit pas chevaucher la barre Départ/Destination. */
  .unv-v9 .leman-finder__map .leman-trip { margin-bottom: 56px; }
}
@media (max-width: 620px) { .unv-v9 .leman-days { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-block: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .unv-v9 .leman-day { scroll-snap-align: start; } }

/* ============================================================= */
/* Planificateur ACCUEIL — flux GUIDE (menus + panneau resultat) */
/* ============================================================= */
/* Tout le planificateur dans UN bloc cadré (retour Pedro : « trop collé, mettre dans un bloc »).
   Bloc blanc aéré sur la section crème ; sous-cartes (trip, détails) détachées au liseré. */
.unv-v9 .leman-planner { max-width: 600px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px, 3.5vw, 40px); box-shadow: 0 14px 44px rgba(14, 42, 71, .07); }
.unv-v9 .leman-guided { max-width: none; }
/* Bande des jours : fleche « jours suivants » a droite quand ca defile (retour Pedro). */
.unv-v9 .leman-days-wrap { position: relative; }
.unv-v9 .leman-days__next {
  position: absolute; top: 50%; right: 2px; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  /* padding:0 — sinon le padding global des <button> décentre le chevron (cf. swap/croix). */
  padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  cursor: pointer; box-shadow: -6px 0 12px rgba(251, 250, 247, .9), 0 3px 10px rgba(14, 42, 71, .16); z-index: 3;
}
.unv-v9 .leman-days__next svg { display: block; }
.unv-v9 .leman-days__next[hidden] { display: none; }
.unv-v9 .leman-days__next:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
/* Sélecteur « Départ / Destination » unifié (façon CFF, retour Pedro) : rail à points reliés + bouton d'inversion. */
.unv-v9 .leman-trip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; gap: 0 14px; max-width: 460px; margin: 0 auto 70px; padding: 6px 14px 6px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2px 10px rgba(14, 42, 71, .05); }
.unv-v9 .leman-trip__rail { display: flex; flex-direction: column; align-items: center; padding: 26px 0; }
.unv-v9 .leman-trip__dot { width: 13px; height: 13px; flex: none; border-radius: 50%; border: 3px solid var(--blue); background: #fff; }
.unv-v9 .leman-trip__dot--to { border-color: var(--navy); }
.unv-v9 .leman-trip__line { flex: 1; width: 2px; min-height: 18px; background: var(--line); margin: 4px 0; }
.unv-v9 .leman-trip__fields { display: flex; flex-direction: column; min-width: 0; }
.unv-v9 .leman-trip__field { padding: 9px 0; }
.unv-v9 .leman-trip__field + .leman-trip__field { border-top: 1px solid var(--line); }
.unv-v9 .leman-trip__field label { display: block; margin: 0 0 1px; font: 600 12px var(--font-display, system-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.unv-v9 .leman-trip__field select { -webkit-appearance: none; appearance: none; width: 100%; border: 0; background: transparent; padding: 2px 0; font: 600 19px var(--font-display, system-ui); color: var(--navy); cursor: pointer; text-overflow: ellipsis; }
.unv-v9 .leman-trip__field select:focus-visible { outline: 2px solid var(--lac); outline-offset: 3px; border-radius: 4px; }
.unv-v9 .leman-trip__swap { align-self: center; width: 46px; height: 46px; flex: none; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; box-shadow: 0 3px 10px rgba(14, 42, 71, .12); transition: transform .25s var(--ease), border-color .15s, color .15s; }
.unv-v9 .leman-trip__swap:hover { border-color: var(--blue); color: var(--blue); transform: rotate(180deg); }
.unv-v9 .leman-trip__swap:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
.unv-v9 .leman-trip__swap svg { display: block; }
.unv-v9 .leman-guided__aside { min-width: 0; }
/* Panneau resultat compact SOUS la carte. */
.unv-v9 .leman-result { position: relative; margin-top: 16px; padding: 16px 16px 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(14, 42, 71, .05); scroll-margin-top: 96px; }
.unv-v9 .leman-result[hidden] { display: none; }
.unv-v9 .leman-result__close { position: absolute; top: 9px; right: 9px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; padding: 0; border-radius: 50%; background: rgba(14, 42, 71, .06); color: var(--navy); cursor: pointer; transition: background .15s; }
.unv-v9 .leman-result__close svg { display: block; }
.unv-v9 .leman-result__close:hover { background: rgba(14, 42, 71, .12); }
.unv-v9 .leman-result__close:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
.unv-v9 .leman-result__route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; margin: 0 34px 0 0; font: 700 19px var(--font-display, system-ui); color: var(--navy); }
.unv-v9 .leman-result__sep { color: var(--lac); font-weight: 400; }
.unv-v9 .leman-result__region { flex-basis: 100%; font: 500 13px var(--font-display, system-ui); color: var(--muted); }
.unv-v9 .leman-result__trip { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-top: 12px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 600 15.5px var(--font-display, system-ui); color: var(--navy); }
.unv-v9 .leman-result__dot { color: var(--line); }
.unv-v9 .leman-result__km { color: var(--muted); font-weight: 500; font-size: 13px; }
.unv-v9 .leman-result__wind { display: flex; align-items: center; gap: 14px; padding: 12px 0 2px; }
.unv-v9 .leman-result__wind .compass { color: var(--navy); margin-left: 0; width: 54px; height: 54px; }
.unv-v9 .leman-result__windtxt { display: flex; flex-direction: column; gap: 2px; }
.unv-v9 .leman-result__windlbl { font: 600 11px var(--font-display, system-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.unv-v9 .leman-result__windval { font: 700 17px var(--font-display, system-ui); color: var(--navy); }
.unv-v9 .leman-result__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 10px 0 0; }
.unv-v9 .leman-result__facts div { min-width: 0; }
.unv-v9 .leman-result__facts dt { font: 600 11px var(--font-display, system-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.unv-v9 .leman-result__facts dd { margin: 1px 0 0; font-size: 14px; color: var(--navy); }
.unv-v9 .leman-result__svc { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.unv-v9 .leman-result__svc li { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--navy); }
.unv-v9 .leman-result__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; }
.unv-v9 .leman-result__links a { font-size: 14px; font-weight: 600; color: var(--lac); text-decoration: none; }
.unv-v9 .leman-result__links a:hover { text-decoration: underline; }
.unv-v9 .leman-guided__hint { text-align: center; margin: 14px auto 0; max-width: 340px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.unv-v9 .leman-guided__hint[hidden] { display: none; }
/* Mobile : typo du planificateur équilibrée (retour Pedro : « titres trop grands »). */
@media (max-width: 640px) {
  .unv-v9 .leman-trip__field select { font-size: 16.5px; }
  .unv-v9 .leman-result__route { font-size: 16.5px; }
  .unv-v9 .leman-result__windval { font-size: 15.5px; }
  .unv-v9 .leman-result__trip { font-size: 14px; }
  .unv-v9 .leman-trip__field label { font-size: 11.5px; }
  .unv-v9 .leman-result__windlbl,
  .unv-v9 .leman-result__facts dt { font-size: 11px; }
  .unv-v9 .leman-result__facts dd { font-size: 13.5px; }
  .unv-v9 .leman-result__facts { grid-template-columns: 1fr; gap: 10px 0; }
}
/* Desktop (ACCUEIL) : contrôles (journées + sélecteur) groupés à GAUCHE, carte juste en dessous
   (aucun espacement variable), et la FICHE dans sa propre colonne à DROITE sur toute la hauteur.
   La fiche étant une colonne à part, sa hauteur ne décale plus jamais la carte ni les contrôles. */
@media (min-width: 900px) {
  .unv-v9 .leman-planner { max-width: 1180px; }
  .unv-v9 .leman-planner .leman-guided {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    grid-template-areas: "side fiche" "map fiche" "disc disc";
    column-gap: 28px; row-gap: 18px; align-items: start;
  }
  .unv-v9 .leman-guided__side { grid-area: side; min-width: 0; }
  .unv-v9 .leman-guided__side .leman-forecast { max-width: none; margin: 0 0 24px; }
  .unv-v9 .leman-planner .leman-forecast__lbl { text-align: left; }
  .unv-v9 .leman-planner .leman-days { gap: 12px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
  .unv-v9 .leman-guided__side .leman-trip { max-width: none; margin: 0; }
  /* Marge au-dessus de la carte : l'étiquette « Port de Vidy » (au sommet du lac) ne doit pas
     être serrée contre le sélecteur. */
  .unv-v9 .leman-planner .leman-map__stage { grid-area: map; max-width: none; width: 100%; margin-top: 30px; }
  .unv-v9 .leman-planner .leman-disc { grid-area: disc; }
  /* Fiche : colonne de droite, pleine hauteur (contrôles + carte). Le résultat remplit la
     colonne et ne défile que s'il dépasse → pas de décalage de la carte. */
  .unv-v9 .leman-planner .leman-guided__aside { grid-area: fiche; align-self: stretch; min-width: 0; }
  .unv-v9 .leman-planner .leman-result { margin-top: 0; height: 100%; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
  /* État « vide » (aucun trajet choisi) : invite centrée + icône boussole, pour que la colonne
     de droite réservée à la fiche paraisse intentionnelle plutôt que vide. */
  .unv-v9 .leman-planner .leman-guided__hint { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; margin: 0; max-width: none; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .45); }
  .unv-v9 .leman-planner .leman-guided__hint::before { content: ""; width: 46px; height: 46px; opacity: .45; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A3E72' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.2'/%3E%3Cpath d='M15.6 8.4 10.6 10.6 8.4 15.6 13.4 13.4Z'/%3E%3C/svg%3E"); }
  .unv-v9 .leman-planner .leman-guided__hint[hidden] { display: none; }
  /* /ports : structure différente (sans .leman-planner) → inchangé. */
  .unv-v9 .leman-finder__detail .leman-result { height: auto; overflow: visible; margin-top: 16px; }
  .unv-v9 .leman-result__facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .unv-v9 .leman-days__next { scroll-behavior: auto; } }
@media (max-width: 620px) { .unv-v9 .leman-days { padding-right: 40px; } }
.unv-v9 .leman-port.is-from .leman-port__dot { box-shadow: 0 0 0 4px rgba(28, 111, 166, .40), 0 2px 6px rgba(14, 42, 71, .4); }
.unv-v9 .leman-port.is-from .leman-port__label { opacity: 1; }
.unv-v9 .leman-card__trip { margin: 2px 0 3px; font: 700 14.5px var(--font-display, system-ui); color: var(--navy); letter-spacing: .01em; }
.unv-v9 .leman-card__trip[hidden] { display: none; }
.unv-v9 .leman-card__from { margin: 0 0 11px; font-size: 12.5px; color: var(--muted); }
.unv-v9 .leman-card__from[hidden] { display: none; }
.unv-v9 .leman-card__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.unv-v9 .leman-card__link[hidden] { display: none; }
.unv-v9 .leman-card__setfrom { border: 0; background: transparent; padding: 0; color: var(--lac); font: 600 13px var(--font-display, system-ui); cursor: pointer; }
.unv-v9 .leman-card__setfrom:hover { text-decoration: underline; }
.unv-v9 .leman-card__setfrom[hidden] { display: none; }
@media (max-width: 720px) {
  /* Fiche = feuille du bas, POSÉE AU-DESSUS de la barre météo (≈74px) pour ne pas la couvrir. */
  .unv-v9 .leman-card, .unv-v9 .leman-card.is-float, .unv-v9 .leman-card.is-float.is-below { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: auto; transform: none; }
  /* Cibles tactiles plus grandes (le point reste petit, la zone cliquable grandit) — retour Pedro. */
  .unv-v9 .leman-port { padding: 13px; }
  .unv-v9 .leman-port__label { display: none; }
  /* Nomme le port d'attache, le port de départ et le port sélectionné (sinon 23 points anonymes). */
  .unv-v9 .leman-port.is-home .leman-port__label,
  .unv-v9 .leman-port.is-from .leman-port__label,
  .unv-v9 .leman-port.is-active .leman-port__label { display: block; opacity: 1; }
}
/* Utilitaire : masqué visuellement mais lu par les lecteurs d'écran. */
.unv-v9 .u-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Le club — sections « texte + espace image » (2 colonnes, retour Pedro ; photos à venir). */
.unv-v9 .split-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.unv-v9 .split-media__text { max-width: 60ch; }
.unv-v9 .split-media__text h2 { margin: 0 0 var(--s5); }
.unv-v9 .split-media__text p { margin: 0; color: var(--ink); line-height: 1.65; }
.unv-v9 .split-media__ph { aspect-ratio: 4 / 3; border-radius: var(--radius); display: grid; place-content: center; justify-items: center; gap: 10px; color: #8ba6bf; background: linear-gradient(135deg, rgba(14, 42, 71, .07), rgba(28, 111, 166, .12)); border: 1px dashed rgba(14, 42, 71, .18); }
.unv-v9 .split-media__ph svg { width: 40px; height: 40px; }
.unv-v9 .split-media__ph span { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.unv-v9 .split-media--reverse .split-media__text { order: 2; }
@media (max-width: 820px) {
  .unv-v9 .split-media { grid-template-columns: 1fr; gap: 26px; }
  .unv-v9 .split-media--reverse .split-media__text { order: 0; }
}
/* Le club — Candidater + Tarifs sur une même ligne (2 colonnes, retour Pedro). */
.unv-v9 .apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.unv-v9 .apply-col h2 { margin: 0 0 var(--s5); }
.unv-v9 .apply-col p { margin: 0; color: var(--ink); line-height: 1.65; max-width: 52ch; }
.unv-v9 .apply-grid .tariffs { max-width: none; margin: 0; }
@media (max-width: 820px) { .unv-v9 .apply-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- MEMBRES ---------- */
.unv-v9 .members { background: var(--paper); }
.unv-v9 .mem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: var(--s8); }
.unv-v9 .mem {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--m-base);
}
.unv-v9 .mem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  z-index: 1;
}
.unv-v9 .mem:hover { box-shadow: var(--shadow-lg); }
.unv-v9 .mem .tag {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}
.unv-v9 .mem h3 { font-size: 26px; margin: 0 0 14px; }
.unv-v9 .mem p { color: var(--muted); margin: 0 0 10px; font-size: 15.5px; }
.unv-v9 .mem ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.unv-v9 .mem li { margin-bottom: 6px; }
.unv-v9 .mem .tag,
.unv-v9 .mem h3,
.unv-v9 .mem p,
.unv-v9 .mem ul { position: relative; z-index: 2; }
.unv-v9 .mem-asset {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: clamp(62px, 7vw, 92px);
  opacity: .85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 10px 18px rgba(10, 62, 114, .24));
  transition: transform var(--m-base) var(--ease);
}
.unv-v9 .mem:hover .mem-asset { transform: translateY(-5px) rotate(-5deg) scale(1.06); }
.unv-v9 .mem.honor .mem-asset { width: clamp(58px, 6.2vw, 80px); }

/* ---------- COMITÉ ---------- */
.unv-v9 .committee { background: var(--cream); }
.unv-v9 .committee h2,
.unv-v9 .committee .sec-head h2 { color: var(--ink); }
.unv-v9 .com-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unv-v9 .com {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.unv-v9 .com .ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; background: var(--blue); }
.unv-v9 .com .mono {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.unv-v9 .com .nm { font-family: var(--font-display); font-size: 20px; }
.unv-v9 .com .rl { font-size: 13px; color: var(--sky); margin-top: 3px; font-weight: 500; }

/* ---------- ADHÉSION ---------- */
.unv-v9 .join-info { background: var(--cream); }
.unv-v9 .join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.unv-v9 .join-info h2 { font-size: var(--fs-h2); margin: 0 0 var(--s6); }
.unv-v9 .steps { counter-reset: st; margin: var(--s8) 0 0; }
.unv-v9 .step { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.unv-v9 .step:last-child { border-bottom: 1px solid var(--line); }
.unv-v9 .step .si {
  counter-increment: st;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--blue);
  flex: none;
  width: 40px;
}
.unv-v9 .step .si::before { content: "0" counter(st); }
.unv-v9 .step h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy); }
.unv-v9 .step p { margin: 0; font-size: 15px; color: var(--muted); }

.unv-v9 .tariffs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.unv-v9 .tariffs h3 { font-size: 20px; margin: 0 0 20px; }
.unv-v9 .trow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.unv-v9 .trow:last-of-type { border-bottom: 0; }
.unv-v9 .trow .tl { font-size: 15.5px; color: var(--ink); }
.unv-v9 .trow .tl small { display: block; color: var(--muted); font-size: 13px; }
.unv-v9 .trow .tp { font-family: var(--font-display); font-size: 22px; color: var(--navy); white-space: nowrap; }
.unv-v9 .tariffs .note { font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.unv-v9 .tariffs .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ---------- BANDE VIDÉO (rejoignez-nous) ---------- */
/* `background` = REPLI OBLIGATOIRE : sur la home la vidéo couvre le fond, mais les
   sous-pages utilisent ce bloc SANS <video> (budget perf). Sans ce navy, le ::after
   n'est qu'un dégradé semi-transparent posé sur du blanc → texte blanc illisible. */
.unv-v9 .join-band {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.unv-v9 .join-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.unv-v9 .join-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 80, 160, .40), rgba(10, 62, 114, .62));
}
.unv-v9 .join-band .jb { position: relative; z-index: 2; max-width: 640px; padding-inline: 24px; }
.unv-v9 .join-band h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 16px; }
.unv-v9 .join-band p { color: rgba(255, 255, 255, .9); font-size: var(--fs-lead); margin: 0 0 28px; }
.unv-v9 .band-swan {
  position: absolute;
  z-index: 2;
  left: clamp(12px, 3vw, 70px);
  bottom: 0;
  width: clamp(120px, 15vw, 220px);
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 86%; /* pivot près de la ligne d'eau → roulis crédible */
  will-change: transform, translate, rotate;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .42));
}

/* ---------- ACTUALITÉS ---------- */
.unv-v9 .news { background: var(--paper); }
.unv-v9 .news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: var(--s8);
  flex-wrap: wrap;
}
.unv-v9 .news-head h2 { font-size: var(--fs-h2); margin: 0; }
.unv-v9 .news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.unv-v9 .news-card + .news-card { margin-top: 20px; }
.unv-v9 .news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
.unv-v9 .news-date .d { font-family: var(--font-display); font-size: 44px; color: var(--navy); line-height: 1; }
.unv-v9 .news-date .m { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.unv-v9 .news-body .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-d);
  background: rgba(226, 58, 46, .1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.unv-v9 .news-body h3 { font-size: 22px; margin: 0 0 8px; }
.unv-v9 .news-body p { margin: 0; color: var(--muted); }

/* ---------- LOCALISATION ---------- */
.unv-v9 .loc { background: var(--cream); }
.unv-v9 .loc-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.unv-v9 .loc-info { background: var(--navy); color: #fff; padding: clamp(32px, 4vw, 52px); }
.unv-v9 .loc-info h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 20px; }
.unv-v9 .loc-info .li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.unv-v9 .loc-info .li:first-of-type { border-top: 0; }
.unv-v9 .loc-info .li svg { width: 20px; height: 20px; color: var(--sky); flex: none; margin-top: 2px; }
.unv-v9 .loc-info .li b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 400; }
.unv-v9 .loc-info .li span { font-size: 14.5px; color: #C7D6E2; }
.unv-v9 .loc-info .li a { color: #C7D6E2; text-decoration: underline; text-underline-offset: .2em; }
.unv-v9 .loc-info .li a:hover { color: #fff; }
.unv-v9 #unvMap { min-height: 420px; height: 100%; background: #0b2035; z-index: 0; }
/* Le shortcode [unv_contact_map] rend `.unv-contact-map` avec une hauteur EN STYLE INLINE
   (height:420px) : dans la grille, le panneau navy est plus haut → bande blanche sous la
   carte. On force la carte à remplir sa cellule (le `!important` est nécessaire pour
   battre le style inline du shortcode). */
.unv-v9 .loc-grid .unv-contact-map {
  height: 100% !important;
  min-height: 420px;
  background: #0b2035;
  /* Dans .loc-grid (déjà une carte arrondie overflow:hidden), la carte ne doit PAS être
     une 2e carte : ses coins arrondis + son ombre laissaient voir le fond au bord intérieur
     (liseré entre le panneau bleu et la carte). On l'aplatit → elle remplit sa cellule. */
  border-radius: 0;
  box-shadow: none;
}
.unv-v9 .leaflet-container { font-family: inherit; }
.unv-v9 .loc .sec-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: none; }
.unv-v9 .loc-compass { flex: none; margin: 0; }

/* ---------- GALERIE ---------- */
/* ⚠️ `.unv-gallery` et NON `.gallery` : `.gallery` est une classe RÉSERVÉE de WordPress
   (galeries classiques `[gallery]`). Kadence la style en `display:grid` + `margin-bottom:1.5em`
   → notre `.container` devenait un item de grille, son `margin-inline:auto` était ignoré et
   toute la section partait à gauche (constaté par Jo le 2026-07-15 : « la galerie photo
   n'est pas recentrée »). Ne jamais réutiliser un nom de classe WP core dans le kit. */
.unv-v9 .unv-gallery { background: var(--paper); }
.unv-v9 .gt-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.unv-v9 .gt-grid a { overflow: hidden; border-radius: var(--radius); display: block; position: relative; }
.unv-v9 .gt-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.unv-v9 .gt-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-slow) var(--ease); }
.unv-v9 .gt-grid a:hover img { transform: scale(1.05); }

/* ---------- GALERIE (page dédiée) ---------- */
.unv-v9 .unv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.unv-v9 .unv-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
}
/* la 1re photo porte la section : grande tuile 2×2 */
.unv-v9 .unv-gallery-grid figure.feature { grid-column: span 2; grid-row: span 2; }
.unv-v9 .unv-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--m-slow) var(--ease);
}
.unv-v9 .unv-gallery-grid figure:hover img { transform: scale(1.05); }

/* Galeries par événement : chaque photo est un bouton cliquable (ouvre la lightbox). */
.unv-v9 .unv-gallery-event { padding-block: clamp(26px, 4vw, 52px); }
.unv-v9 .unv-gallery-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.unv-v9 .unv-gallery-head h2 { margin: 0; }
.unv-v9 .unv-gallery-date { margin: 0; color: var(--muted); font-size: 14px; text-transform: capitalize; }
.unv-v9 .unv-gal-item {
  margin: 0; padding: 0; border: 0; cursor: pointer; display: block;
  overflow: hidden; border-radius: var(--radius); background: var(--cream);
}
.unv-v9 .unv-gal-item.feature { grid-column: span 2; grid-row: span 2; }
.unv-v9 .unv-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--m-slow) var(--ease); }
.unv-v9 .unv-gal-item:hover img { transform: scale(1.05); }
.unv-v9 .unv-gal-item:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }

/* Lightbox — agrandissement plein écran, sans légende. */
.unv-v9 .unv-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center;
  background: rgba(6, 20, 36, .92); padding: 24px;
}
.unv-v9 .unv-lightbox.open { display: flex; }
.unv-v9 .unv-lb-img { max-width: min(94vw, 1400px); max-height: 90vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 70px rgba(0, 0, 0, .5); }
.unv-v9 .unv-lb-close,
.unv-v9 .unv-lb-nav {
  position: absolute; z-index: 2; box-sizing: border-box; margin: 0; padding: 0;
  flex: none; border: 0; cursor: pointer; color: #fff; line-height: 1;
  background: rgba(255, 255, 255, .14); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.unv-v9 .unv-lb-close:hover { background: rgba(255, 255, 255, .3); transform: scale(1.08); }
.unv-v9 .unv-lb-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 24px; }
.unv-v9 .unv-lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.unv-v9 .unv-lb-nav:hover { background: rgba(255, 255, 255, .3); transform: translateY(-50%) scale(1.08); }
.unv-v9 .unv-lb-prev { left: 16px; }
.unv-v9 .unv-lb-next { right: 16px; }
@media (prefers-reduced-motion: reduce) { .unv-v9 .unv-gal-item img { transition: none; } }
@media (max-width: 640px) { .unv-v9 .unv-lb-nav { width: 44px; height: 44px; font-size: 28px; } }

@media (max-width: 1000px) {
  .unv-v9 .unv-gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
}

/* ---------- FOOTER ---------- */
.unv-v9 .footer {
  background: var(--navy-deep);
  color: #C7D6E2;
  padding-block: clamp(56px, 7vw, 84px) 32px;
  position: relative;
  overflow: hidden;
}
.unv-v9 .footer .container { position: relative; z-index: 1; }
.unv-v9 .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
.unv-v9 .foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}
.unv-v9 .foot-brand img { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 5px; }
.unv-v9 .footer p { font-size: 14.5px; line-height: 1.6; color: #9FB4C6; max-width: 34ch; }
.unv-v9 .foot-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
}
.unv-v9 .foot-col a,
.unv-v9 .foot-col li { display: block; color: #9FB4C6; font-size: 14.5px; padding: 5px 0; transition: color var(--m-fast); }
.unv-v9 .foot-col a:hover { color: #5BA3D6; }
.unv-v9 .foot-col ul { list-style: none; margin: 0; padding: 0; }
.unv-v9 .dl { display: inline-flex; align-items: center; gap: 8px; }
.unv-v9 .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7C93A8;
}
.unv-v9 .foot-bottom a { color: #7C93A8; }
.unv-v9 .foot-bottom a:hover { color: #fff; }
.unv-v9 .foot-flag {
  display: block;
  width: 300px;
  height: 172px;
  margin: 22px 0 -8px -48px;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .36));
}
/* `.footer-swan` : règle SUPPRIMÉE (2026-07-15). C'était du CSS mort recopié du mockup
   — lui-même un résidu : le cygne y a été déplacé vers la bande Léman (`.band-swan`).
   Recopier une règle morte a suffi à faire ressusciter l'élément côté port. */

/* ---------- DRAWER MOBILE ---------- */
.unv-v9 .drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  /* Padding bas = hauteur du rail fixe (~72px) + marge, sinon le CTA « Devenir membre »
     passe DERRIÈRE la barre d'outils du bas (retour Pedro). + safe-area iOS. */
  padding: 96px 28px calc(90px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  transition: transform var(--m-base) var(--ease);
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain; /* le scroll du menu ne se propage pas à la page */
  -webkit-overflow-scrolling: touch;
}
.unv-v9 .drawer.open { transform: none; pointer-events: auto; }
/* Page figée pendant que le menu est ouvert : SEUL le menu défile (retour Pedro). Le JS
   pose top:-scrollY et restaure la position à la fermeture (verrou iOS-safe). */
.unv-v9.drawer-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
/* Entrée en cascade des entrées quand le drawer s'ouvre (animation « stylée » — Pedro). */
.unv-v9 .drawer > * { opacity: 0; transform: translateY(16px); }
.unv-v9 .drawer.open > * { animation: unv-drawer-item .5s cubic-bezier(.2, .7, .2, 1) both; }
.unv-v9 .drawer.open > *:nth-child(1) { animation-delay: .10s; }
.unv-v9 .drawer.open > *:nth-child(2) { animation-delay: .16s; }
.unv-v9 .drawer.open > *:nth-child(3) { animation-delay: .22s; }
.unv-v9 .drawer.open > *:nth-child(4) { animation-delay: .28s; }
.unv-v9 .drawer.open > *:nth-child(5) { animation-delay: .34s; }
.unv-v9 .drawer.open > *:nth-child(n+6) { animation-delay: .40s; }
@keyframes unv-drawer-item { to { opacity: 1; transform: none; } }
/* Hiérarchie inversée (retour Pedro « liens enfant pas visibles ») : la CATÉGORIE devient
   un surtitre discret, la DESTINATION (lien enfant) devient l'élément proéminent. Sections
   toujours ouvertes — tout est visible d'emblée, avec de l'air entre les « parents ». */
.unv-v9 .drawer-sec { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.unv-v9 .drawer-sec:first-child { padding-top: 2px; }
.unv-v9 .drawer-sec__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #7FA6C8;
}
.unv-v9 .drawer-sub { list-style: none; margin: 0; padding: 0; }
.unv-v9 .drawer-sub__link {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; line-height: 1.15;
  color: #fff; padding: 9px 0;
}
.unv-v9 .drawer-sub__link[aria-current="page"] { color: #cfe3f5; }
.unv-v9 .drawer-sub__link:hover,
.unv-v9 .drawer-sub__link:focus-visible { color: #bcd8f0; }
/* Liens de 1er niveau sans enfant (Contact, Espace membre) = destinations directes. */
.unv-v9 .drawer-top {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: #fff; padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.unv-v9 .drawer-top:hover,
.unv-v9 .drawer-top:focus-visible { color: #bcd8f0; }
/* Cartes d'action mises en avant (Espace membre + Boutique) : icône + libellé + flèche
   (retour Pedro « mettez en avant l'espace membre avec l'icône adaptée »). */
.unv-v9 .drawer-card {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 15px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 600;
  transition: background-color .18s, border-color .18s;
}
.unv-v9 .drawer-card--member { margin-top: 22px; }
.unv-v9 .drawer-card:hover,
.unv-v9 .drawer-card:focus-visible { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); }
.unv-v9 .drawer-card__ic { display: grid; place-items: center; flex: none; color: #bcd8f0; }
.unv-v9 .drawer-card__ic svg { width: 24px; height: 24px; display: block; }
.unv-v9 .drawer-card__txt { min-width: 0; }
.unv-v9 .drawer-card__arrow { margin-left: auto; opacity: .55; font-size: 20px; line-height: 1; }
/* CTA membre. */
.unv-v9 .drawer .btn { margin-top: 16px; justify-content: center; }
.unv-v9 .drawer .btn-primary { background: #fff; color: var(--navy); border-bottom: 0; }
.unv-v9 .drawer .btn-primary:hover { background: #eaf2fa; color: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .unv-v9 .drawer > * { opacity: 1; transform: none; animation: none; }
}
/* Drawer ouvert (classe posée sur <body>) : le pill s'efface (le navy du drawer
   transparaît), le logo + « UNV » + la croix passent en blanc, et le gouvernail fait
   un tour complet. Retour Pedro : « logo entièrement blanc », « animation combinée
   avec le gouvernail », croix visible DEVANT le menu. */
.unv-v9.drawer-open .nav-pill {
  /* Navy plein = fond identique au drawer (le header s'y fond) MAIS masque le contenu qui
     défile sous l'en-tête (sinon les liens transparaissent derrière le logo au scroll).
     background-color + transition COURTE : la barre devient bleue tout de suite à
     l'ouverture, plus de « barre blanche » qui traîne sur Safari (retour Pedro). */
  background-color: var(--navy);
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.unv-v9.drawer-open .brand { color: #fff; }
.unv-v9.drawer-open .brand-mark path { fill: #fff; }
.unv-v9.drawer-open .brand-mark {
  transform: rotate(360deg);
  transition: transform .7s cubic-bezier(.34, 1.2, .4, 1);
}
.unv-v9.drawer-open .burger-line { stroke: #fff; }
.unv-v9.drawer-open .nav-actions .btn-primary { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .unv-v9.drawer-open .brand-mark { transition: none; transform: none; }
}
.unv-v9 .drawer .drawer-lang {
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  color: #9FB4C6;
  border-bottom: 0;
}

/* ---------- ACCENTS NAUTIQUES (kit) ---------- */
.unv-v9 .asset-fig {
  margin-inline: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 16px 34px rgba(10, 62, 114, .20));
}
.unv-v9 .asset-fig img { display: block; width: 100%; height: auto; }
.unv-v9 .asset-lg { width: clamp(210px, 27vw, 340px); margin-block: clamp(20px, 3.5vw, 44px); }
.unv-v9 .asset-md { width: clamp(116px, 13vw, 158px); }
.unv-v9 .club-sail { margin-block: clamp(18px, 3vw, 44px); transform-origin: 50% 82%; will-change: transform, translate, rotate; }
.unv-v9 .gal-perch { margin-block: clamp(104px, 13vw, 182px) clamp(14px, 2vw, 28px); }
.unv-v9 .com-cap { margin-bottom: clamp(6px, 1vw, 12px); }

.unv-v9 section[id],
.unv-v9 header[id] { scroll-margin-top: 100px; }
.unv-v9 #club { scroll-margin-top: 104px; }

/* ---------- TILT 3D ---------- */
.unv-v9 .tilt { transform-style: preserve-3d; will-change: transform; }

/* ==========================================================================
   6. COUCHE WORDPRESS — patterns fondation absents du mockup
   (pages éditoriales : prose, tableaux, formulaires, en-têtes de page)
   ========================================================================== */

/* ---------- EN-TÊTE DE PAGE (sous-pages : pas de hero liquid) ----------
   Le padding-top doit dégager le header FIXE : le pill descend jusqu'à ~146px
   (inset 22px + logo clamp jusqu'à 120px + padding), donc tout ce qui est sous
   ~160px passerait dessous. On garde en plus une vraie respiration. */
.unv-v9 .page-head {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  /* Bandeau photo du lac — écho léger du héros d'accueil (même image), sans le liquid WebGL.
     Voile navy dégradé par-dessus = lisibilité du titre en blanc. */
  background-image:
    linear-gradient(180deg, rgba(9, 28, 51, .74) 0%, rgba(9, 28, 51, .48) 52%, rgba(9, 28, 51, .66) 100%),
    url('../media/hero/port-vidy-aerial.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: 0;
  color: #fff;
}
/* (Le cygne + le voilier animés ne vivent QUE sur le héros de l'accueil — retour Pedro
   2026-07-20 : ils ne doivent PAS apparaître dans le bandeau des pages internes.) */
.unv-v9 .page-head > * { position: relative; z-index: 1; }
/* Plus d'air sous le menu flottant sur les pages internes (retour Pedro 2026-07-18).
   ⚠️ Spécificité : la règle de rythme générique `.unv-v9 .site-main > section` (0,2,1)
   BAT `.unv-v9 .page-head` (0,2,0) → le padding-top clamp(200px…) ne s'appliquait JAMAIS
   (l'eyebrow passait sous le menu fixe). On monte donc à `.site-main > section.page-head`
   (0,3,1) pour battre le rythme, exactement comme `.site-main > section.club` (cf. LE CLUB). */
.unv-v9 .site-main > section.page-head {
  padding-block: clamp(200px, 24vh, 276px) clamp(40px, 6vw, 72px);
}
/* La carte crée son propre contexte d'empilement : ses z-index internes (contrôles
   Leaflet) restent confinés et ne peuvent plus remonter au-dessus du menu. */
.unv-v9 .leaflet-container { isolation: isolate; z-index: 0; }
.unv-v9 .page-head h1 { font-size: var(--fs-hero); margin: 0; max-width: 18ch; color: #fff; text-shadow: 0 1px 30px rgba(0, 0, 0, .30); }
.unv-v9 .page-head .lead { margin: var(--s6) 0 0; max-width: 60ch; color: #C7D6E2; text-shadow: 0 1px 20px rgba(0, 0, 0, .28); }
.unv-v9 .page-head .eyebrow { color: #8FD0EF; }

/* `.band-water` : l'ancienne variante navy pleine est désormais absorbée par le bandeau photo
   de base ci-dessus (toutes les sous-pages ont l'effet d'eau). La classe reste tolérée dans les
   gabarits régates/ports (no-op) — rien à changer côté markup. */

/* ---------- PROSE (rythme éditorial sur tokens) ---------- */
.unv-v9 .unv-prose { max-width: 68ch; color: var(--ink); }
.unv-v9 .unv-prose > * + * { margin-top: var(--s4); }
.unv-v9 .unv-prose h2 { font-size: var(--fs-h2); margin-top: var(--s16); margin-bottom: var(--s6); }
.unv-v9 .unv-prose h3 { font-size: var(--fs-h3); margin-top: var(--s12); margin-bottom: var(--s3); }
.unv-v9 .unv-prose h2:first-child,
.unv-v9 .unv-prose h3:first-child { margin-top: 0; }
.unv-v9 .unv-prose p { color: var(--muted); line-height: var(--lh-body); }
.unv-v9 .unv-prose strong { color: var(--ink); font-weight: 600; }
.unv-v9 .unv-prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
.unv-v9 .unv-prose a:hover { color: var(--blue-d); }
.unv-v9 .unv-prose ul,
.unv-v9 .unv-prose ol { padding-left: 20px; color: var(--muted); }
.unv-v9 .unv-prose li { margin-bottom: var(--s2); }
.unv-v9 .unv-prose li::marker { color: var(--sky); }
.unv-v9 .unv-prose blockquote {
  margin: var(--s8) 0;
  padding: var(--s4) 0 var(--s4) var(--s6);
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.unv-v9 .unv-prose blockquote p { color: var(--ink); }
.unv-v9 .unv-prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s12) 0; }

/* ---------- TABLEAUX (tarifs, horaires) ---------- */
.unv-v9 .unv-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.unv-v9 .unv-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15.5px; }
.unv-v9 .unv-table caption { caption-side: top; text-align: left; padding: 0 0 var(--s3); color: var(--muted); font-size: var(--fs-cap); }
.unv-v9 .unv-table th,
.unv-v9 .unv-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.unv-v9 .unv-table thead th {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  z-index: 1;
}
.unv-v9 .unv-table tbody tr:nth-child(even) { background: var(--cream); }
.unv-v9 .unv-table tbody tr:last-child td { border-bottom: 0; }
.unv-v9 .unv-table td.num { text-align: right; font-family: var(--font-display); color: var(--navy); white-space: nowrap; }

/* ---------- FORMULAIRES ---------- */
.unv-v9 .unv-form { display: grid; gap: var(--s4); }
.unv-v9 .unv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.unv-v9 .unv-field { display: flex; flex-direction: column; gap: var(--s2); }
.unv-v9 .unv-label { font-size: var(--fs-cap); font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.unv-v9 .unv-label .req { color: var(--red-d); margin-left: 2px; }
.unv-v9 .unv-input,
.unv-v9 .unv-field input[type="text"],
.unv-v9 .unv-field input[type="email"],
.unv-v9 .unv-field input[type="tel"],
.unv-v9 .unv-field input[type="date"],
.unv-v9 .unv-field select,
.unv-v9 .unv-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--m-fast), box-shadow var(--m-fast);
}
.unv-v9 .unv-field textarea { min-height: 140px; resize: vertical; }
.unv-v9 .unv-input:focus,
.unv-v9 .unv-field input:focus,
.unv-v9 .unv-field select:focus,
.unv-v9 .unv-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 80, 160, .14);
}
.unv-v9 .unv-hint { font-size: 13px; color: var(--muted); }

/* carte formulaire (verre clair sur fond cream) */
.unv-v9 .unv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.unv-v9 .unv-card h3 { font-size: var(--fs-h3); margin: 0 0 var(--s6); }

/* ---------- LISTE D'ARCHIVE (core/post-template → ul>li) ---------- */
.unv-v9 .unv-archive-list {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.unv-v9 .unv-archive-list > li { margin: 0; }
.unv-v9 .unv-archive-list .unv-card h2 { font-size: var(--fs-h3); margin: var(--s2) 0 var(--s3); }
.unv-v9 .unv-archive-list .unv-card p { color: var(--muted); margin: 0; }
.unv-v9 .wp-block-query-pagination { margin-top: var(--s12); gap: var(--s3); }
.unv-v9 .wp-block-query-pagination a { color: var(--blue); font-weight: 600; }

/* Contenu éditorial rendu par core/post-content : le bloc pose ses propres marges,
   on garde le rythme de .unv-prose sans le casser. */
.unv-v9 .unv-prose .wp-block-post-content > * + * { margin-top: var(--s4); }
.unv-v9 .page-head .wp-block-post-title { margin: 0; }
.unv-v9 .page-head .wp-block-post-date { margin: 0 0 var(--s3); }

/* ---------- ÉTAT VIDE (agenda/actualités sans contenu) ---------- */
.unv-v9 .unv-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) var(--s6);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.unv-v9 .unv-empty p { margin: 0; font-size: var(--fs-lead); }

/* ---------- CHIPS ---------- */
.unv-v9 .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--m-fast), color var(--m-fast);
}
.unv-v9 a.chip:hover { border-color: var(--blue); color: var(--blue); }
.unv-v9 .chip-live { background: var(--navy); border-color: var(--navy); color: #fff; }
.unv-v9 .chip-live .c-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(226, 58, 46, .6); }

/* ---------- PLACEHOLDER PEDRO (contenu en attente client) ---------- */
.unv-v9 .unv-todo {
  /* Masqué (retour Pedro 2026-07-20) : les notes « [À CONFIRMER PEDRO — …] » ne doivent plus
     s'afficher côté visiteur. Le markup reste en place jusqu'à réception du contenu réel. */
  display: none;
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 4px 10px;
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
/* Collapse burger AVANT que le pill déborde.
   Le pill a une largeur FIXE (var(--page)) : si son contenu dépasse, les éléments SORTENT
   par la droite (le bouton « Devenir membre » se retrouvait hors du pill). Budget contenu
   mesuré ≈ 1185px ; à 1320px de viewport, var(--page) vaut min(1200, 92vw=1214) = 1200
   → il reste 15px de marge. En dessous, 92vw rétrécit plus vite que le contenu → burger.
   Le mockup collapsait à 1240px, mais ses 5 libellés sont plus courts que les nôtres
   (« Activités » vs « École de voile »). */
/* Depuis 2026-11 (retour Pedro « burger seulement quand ça ne tient plus ») : c'est main.js
   (setupNavFit) qui MESURE si le menu tient et pose .nav-compact sur le header. Le seuil
   1320px ne sert plus que de repli sans JavaScript (body sans .navfit). */
.unv-v9 .site-header.nav-compact .nav-links { display: none; }
.unv-v9 .site-header.nav-compact .burger { display: flex; }
.unv-v9 .site-header.nav-compact .lang,
.unv-v9 .site-header.nav-compact .member-link { display: none; }
.unv-v9 .site-header.nav-compact .nav-actions { margin-left: auto; }
@media (max-width: 1320px) {
  .unv-v9:not(.navfit) .nav-links { display: none; }
  .unv-v9:not(.navfit) .burger { display: flex; }
  .unv-v9:not(.navfit) .lang,
  .unv-v9:not(.navfit) .member-link { display: none; }
  .unv-v9:not(.navfit) .nav-actions { margin-left: auto; }
}

@media (max-width: 1000px) {
  .unv-v9 .club-grid,
  .unv-v9 .join-grid,
  .unv-v9 .loc-grid { grid-template-columns: 1fr; }
  .unv-v9 .acts-grid,
  .unv-v9 .com-grid { grid-template-columns: 1fr 1fr; }
  .unv-v9 .mem-grid { grid-template-columns: 1fr 1fr; }
  /* Footer tablette : marque en pleine largeur, puis les 3 groupes de liens alignés
     (retour Pedro : le 2 colonnes déséquilibré « n'a pas de sens »). */
  .unv-v9 .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .unv-v9 .foot-grid > div:first-child { grid-column: 1 / -1; }
  .unv-v9 #unvMap { min-height: 340px; }
  .unv-v9 .unv-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .unv-v9 .loc .sec-head { display: block; }
  .unv-v9 .loc-compass { display: block; width: clamp(72px, 16vw, 104px); margin: 14px 0 0; }
  .unv-v9 .band-swan { width: 104px; left: 4px; }
}

@media (max-width: 640px) {
  /* Header façon barre pleine largeur : plus d'air autour du logo (« qu'il respire »)
     + sigle « UNV » dans la typo du logo à côté (retour Pedro). */
  .unv-v9 .site-header { top: 0; }
  .unv-v9 .nav-pill {
    width: 100%;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .unv-v9 .brand { gap: 8px; }
  /* Le logo REMPLIT tout son viewBox (aucune marge interne : bbox 0→276). La marge négative
     de calage desktop (-0.2·logo) le faisait donc déborder ~9px hors de la barre à gauche.
     On l'annule en mobile : le logo tient ENTIÈREMENT dans la barre blanche, avec de l'air
     tout autour fourni par le padding du pill (retour Pedro : « qu'on le voie parfaitement,
     avec un peu de marge »). */
  .unv-v9 .brand .brand-mark { --logo: clamp(64px, 18vw, 84px); margin: 0; }
  .unv-v9 .brand .brand-full { display: none; }
  .unv-v9 .brand .brand-short { display: inline; font-size: 21px; }
  .unv-v9 .lang,
  .unv-v9 .member-link { display: none; }
  .unv-v9 .hero-inner { padding-bottom: 40px; }
  .unv-v9 .hero-cta .btn { flex: 1; }
  .unv-v9 .acts-grid,
  .unv-v9 .com-grid,
  .unv-v9 .mem-grid,
  .unv-v9 .stats { grid-template-columns: 1fr; }
  /* Footer mobile : une seule colonne, propre et lisible (retour Pedro). */
  .unv-v9 .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .unv-v9 .news-card { grid-template-columns: 1fr; text-align: center; }
  .unv-v9 .news-date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: baseline;
  }
  .unv-v9 .foot-bottom { flex-direction: column; }
  .unv-v9 .gt-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .unv-v9 .gt-grid a:first-child { grid-column: span 2; grid-row: auto; }
  /* mobile : le logo du pill est réduit (clamp mini 58px) → header plus court.
     Même spécificité (0,3,1) que la règle desktop, sinon la valeur mobile ne s'applique pas. */
  .unv-v9 .site-main > section.page-head { padding-block: clamp(130px, 20vh, 170px) var(--s12); }
  .unv-v9 .unv-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
}

/* ==========================================================================
   8. WORDPRESS / BLOCKS OVERRIDES
   ========================================================================== */
.unv-v9 .wp-block-post-content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Le thème v9 pilote sa propre mise en page pleine largeur : neutralise le
   padding racine de theme.json sur les sections gérées par le kit (sinon
   double gouttière avec .container). */
.unv-v9 .wp-site-blocks > main { padding-inline: 0; }
.unv-v9 .site-main > section { width: 100%; }

/* Barre d'admin : le header fixe ne doit pas passer dessous. */
.admin-bar.unv-v9 .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar.unv-v9 .site-header { top: 46px; }
}

/* ===================================================================== */
/* PANNEAU « MÉTÉO & WEBCAM » site-wide (Lot B — retour Pedro 2026-07-18) */
/* ===================================================================== */
/* Conditions & agenda — RAIL façon verbier.ch (retour Pedro) : rail vertical d'icônes
   collé au bord DROIT sur desktop, barre horizontale en BAS sur mobile. Chaque icône ouvre
   son panneau (météo / vent / agenda) ; la webcam ouvre la pop-up. */
.unv-v9 .unv-rail { position: fixed; z-index: 1090; }
.unv-v9 .unv-rail-bar {
  display: flex; overflow: hidden;
  background: rgba(251, 250, 247, .98);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.unv-v9 .unv-rail-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative;
  border: 0; background: transparent; cursor: pointer; color: var(--navy, #0E2A47);
  padding: 11px 14px; transition: color .18s, background .18s;
  font: 600 9.5px var(--font-display, system-ui);
}
.unv-v9 .unv-rail-btn:hover { background: rgba(14, 42, 71, .05); }
.unv-v9 .unv-rail-btn[aria-expanded="true"] { color: var(--lac, #1C6FA6); background: rgba(28, 111, 166, .09); }
.unv-v9 .unv-rail-btn:focus-visible { outline: 2px solid var(--lac); outline-offset: -3px; }
.unv-v9 .unv-rail-ic { display: inline-grid; place-items: center; }
.unv-v9 .unv-rail-btn svg { width: 23px; height: 23px; display: block; }
.unv-v9 .unv-rail-lbl { letter-spacing: .03em; text-transform: uppercase; opacity: .85; }
.unv-v9 .unv-rail-temp { font-size: 12px; font-weight: 700; line-height: 1; }
.unv-v9 .unv-rail-temp:empty { display: none; }
/* Panneaux (flyout) : fondu seul → pas de conflit avec le centrage par transform. */
.unv-v9 .unv-rail-panel {
  position: fixed; z-index: 1089; width: 300px; max-width: calc(100vw - 24px);
  background: rgba(251, 250, 247, .98); border-radius: var(--radius-lg); padding: 12px 14px 14px;
  box-shadow: 0 24px 60px rgba(14, 42, 71, .38); border: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: unv-rail-in .2s ease;
}
.unv-v9 .unv-rail-panel[hidden] { display: none; }
/* En-tête de flyout : titre + croix « Fermer » sur une vraie barre (retour Pedro : la croix
   flottante seule paraissait « bizarre »). Sortie claire de la modale — NNGroup #3. */
.unv-v9 .unv-rail-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 -2px 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(14, 42, 71, .12);
}
.unv-v9 .unv-rail-head__t {
  font: 700 13px var(--font-display, system-ui); letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy, #0E2A47);
}
.unv-v9 .unv-rail-close svg { display: block; }
.unv-v9 .unv-rail-close {
  flex: none; width: 30px; height: 30px; padding: 0; margin: -4px -4px -4px 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--navy, #0E2A47);
  cursor: pointer; transition: background .18s, transform .12s;
}
.unv-v9 .unv-rail-close:hover { background: rgba(14, 42, 71, .10); }
.unv-v9 .unv-rail-close:active { transform: scale(.9); }
.unv-v9 .unv-rail-close:focus-visible { outline: 2px solid var(--lac); outline-offset: 2px; }
@keyframes unv-rail-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .unv-v9 .unv-rail-panel { animation: none; } }
/* Desktop : rail vertical à droite, panneaux à sa gauche (centrés verticalement). */
@media (min-width: 861px) {
  .unv-v9 .unv-rail { top: 50%; right: 0; transform: translateY(-50%); }
  .unv-v9 .unv-rail-bar { flex-direction: column; border-radius: 16px 0 0 16px; }
  .unv-v9 .unv-rail-btn + .unv-rail-btn::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: rgba(14, 42, 71, .12); }
  .unv-v9 .unv-rail-panel { top: 50%; right: 80px; transform: translateY(-50%); }
}
/* Mobile : barre horizontale en bas, panneaux au-dessus. */
@media (max-width: 860px) {
  .unv-v9 .unv-rail { left: 0; right: 0; bottom: 0; }
  .unv-v9 .unv-rail-bar { flex-direction: row; justify-content: space-around; border-radius: 14px 14px 0 0; border-bottom: 0; }
  .unv-v9 .unv-rail-btn { flex: 1; padding: 9px 6px calc(9px + env(safe-area-inset-bottom, 0px)); }
  .unv-v9 .unv-rail-btn + .unv-rail-btn::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(14, 42, 71, .12); }
  .unv-v9 .unv-rail-panel { left: 12px; right: 12px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); width: auto; }
  .unv-v9 .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  /* Barre du bas : le bouton météo affiche icône + température (20°) ; on masque le mot
     « Météo » (redondant) pour garder tous les boutons à la même hauteur (retour Pedro). */
  .unv-v9 .unv-rail-btn[data-panel="meteo"] .unv-rail-lbl { display: none; }
  .unv-v9 .unv-rail-btn[data-panel="meteo"] .unv-rail-temp { font-size: 9.5px; font-weight: 700; letter-spacing: .03em; opacity: .85; }
}
/* Carte météo (dégradé navy → lac, adaptée du visuel uiverse) */
.unv-v9 .uw-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 16px 18px 18px; color: #fff;
  background: linear-gradient(135deg, var(--navy-deep, #0a2f57) 0%, var(--lac, #1C6FA6) 100%);
  min-height: 176px; display: flex; flex-direction: column;
}
.unv-v9 .uw-ic { position: absolute; top: -4px; right: 8px; width: 92px; height: 92px; color: #bfe6ff; opacity: .9; filter: drop-shadow(0 6px 14px rgba(6, 26, 50, .4)); }
.unv-v9 .uw-ic svg { width: 100%; height: 100%; }
.unv-v9 .uw-ic:empty { display: none; }
.unv-v9 .uw-top { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.unv-v9 .uw-live { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #DCE4EA; }
.unv-v9 .uw-place { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.unv-v9 .uw-temp { font-size: 48px; line-height: 1; font-family: var(--font-display); font-weight: 600; margin: 12px 0 auto; position: relative; z-index: 1; }
.unv-v9 .uw-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; position: relative; z-index: 1; margin-top: 12px; }
.unv-v9 .uw-wind { display: flex; flex-direction: column; gap: 1px; }
.unv-v9 .uw-wind-lbl { font-size: 11px; color: rgba(235, 235, 245, .62); }
.unv-v9 .uw-wind-val { font-size: 14.5px; }
.unv-v9 .uw-wind-val b { font-weight: 700; }
.unv-v9 .uw-cond { font-size: 12px; color: rgba(255, 255, 255, .85); margin-top: 2px; }
.unv-v9 .uw-card .compass { width: 42px; height: 42px; margin-left: 0; }
/* Carte VENT : la vitesse du vent est l'élément principal ; boussole plus grande. */
.unv-v9 .uw-card--wind { min-height: 148px; }
.unv-v9 .uw-card--wind .uw-bottom { margin-top: auto; align-items: center; }
.unv-v9 .uw-card--wind .uw-wind-val { font-size: 29px; font-weight: 700; font-family: var(--font-display); line-height: 1.05; }
.unv-v9 .uw-card--wind .uw-wind-val b { color: #cfeaff; }
.unv-v9 .uw-card--wind .compass { width: 60px; height: 60px; }
/* Panneau AGENDA (liste des prochains événements du club) */
.unv-v9 .uw-agenda-title { margin: 2px 0 9px; font: 600 11px var(--font-display); text-transform: uppercase; letter-spacing: .11em; color: var(--navy); opacity: .8; }
.unv-v9 .uw-agenda-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.unv-v9 .uw-agenda-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.unv-v9 .uw-agenda-list a:hover { background: rgba(14, 42, 71, .06); }
.unv-v9 .uw-agenda-thumb { flex: none; width: 42px; height: 42px; border-radius: 9px; background: linear-gradient(135deg, var(--navy-deep, #0a2f57), var(--lac, #1C6FA6)) center/cover no-repeat; }
.unv-v9 .uw-agenda-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.unv-v9 .uw-agenda-date { font-size: 11px; font-weight: 700; color: var(--lac); }
.unv-v9 .uw-agenda-name { font-size: 13px; color: var(--ink); line-height: 1.25; }
.unv-v9 .uw-agenda-empty { font-size: 13px; color: var(--muted); padding: 4px 2px 8px; margin: 0; }
.unv-v9 .uw-agenda-all { display: inline-block; margin-top: 8px; font: 600 13px var(--font-display); color: var(--navy); text-decoration: none; }
.unv-v9 .uw-agenda-all:hover { color: var(--lac); }
/* Webcam + source */
.unv-v9 .uw-webcam {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px;
  padding: 11px; border-radius: 12px; text-decoration: none; font: 600 13.5px var(--font-display);
  background: var(--navy, #0E2A47); color: #fff; transition: background .2s;
}
.unv-v9 .uw-webcam:hover { background: var(--lac, #1C6FA6); }
.unv-v9 .uw-src { margin: 8px 0 0; text-align: center; font-size: 10.5px; }
.unv-v9 .uw-src a { color: var(--muted); text-decoration: none; }
.unv-v9 .uw-src a:hover { text-decoration: underline; }

/* Prévisions 7 jours : liste verticale (façon appli météo), posée sur le panneau clair
   → texte + icônes en navy. Barre de température par jour, échelle commune à la semaine. */
.unv-v9 .uw-forecast { margin: 0.75rem 0 0; display: flex; flex-direction: column; }
.unv-v9 .uw-forecast[hidden] { display: none; }
.unv-v9 .uw-fc-row {
  display: grid;
  grid-template-columns: 4.9rem 1.35rem 2rem 1fr 2rem;
  align-items: center; gap: 0.4rem;
  padding: 0.34rem 0; min-height: 1.9rem;
}
.unv-v9 .uw-fc-row + .uw-fc-row { border-top: 1px solid rgba(14, 42, 71, .09); }
.unv-v9 .uw-fc-day { font: 600 0.8rem var(--font-display, system-ui); color: var(--navy, #0E2A47); text-transform: capitalize; white-space: nowrap; }
.unv-v9 .uw-fc-ic { width: 1.3rem; height: 1.3rem; color: var(--lac, #1C6FA6); display: grid; place-items: center; }
.unv-v9 .uw-fc-ic svg { width: 100%; height: 100%; }
.unv-v9 .uw-fc-min { font-size: 0.8rem; color: var(--muted, #6b7785); text-align: right; }
.unv-v9 .uw-fc-max { font: 700 0.8rem var(--font-display, system-ui); color: var(--navy, #0E2A47); text-align: right; }
.unv-v9 .uw-fc-bar { position: relative; height: 0.32rem; border-radius: 999px; background: rgba(14, 42, 71, .1); }
.unv-v9 .uw-fc-bar i {
  position: absolute; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-deep, #0a2f57), var(--lac, #1C6FA6));
}

/* Hero repassé en 1 colonne centrée : la météo/webcam a migré dans le panneau site-wide. */
.unv-v9 .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; width: min(920px, 92vw); }
.unv-v9 .hero-heart { max-width: 800px; }
.unv-v9 .hero-sub { margin-inline: auto; max-width: 52ch; }
.unv-v9 .hero-cta { justify-content: center; }

/* Mini-login (espace membre non connecté) — retour Pedro 2026-07-18. */
.unv-v9 .unv-minilogin #loginform p { margin: 0 0 14px; }
.unv-v9 .unv-minilogin #loginform label { display: block; font-weight: 600; font-size: 14px; }
.unv-v9 .unv-minilogin #loginform input[type="text"],
.unv-v9 .unv-minilogin #loginform input[type="password"] { width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; box-sizing: border-box; }
.unv-v9 .unv-minilogin #loginform .login-remember label { font-weight: 400; display: inline-flex; align-items: center; gap: 7px; }
.unv-v9 .unv-minilogin #loginform .login-submit input { width: 100%; margin-top: 4px; padding: 12px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s; }
.unv-v9 .unv-minilogin #loginform .login-submit input:hover { background: var(--lac); }
.unv-v9 .unv-minilogin__lost { margin: 14px 0 0; text-align: center; font-size: 14px; }

/* Bouton d'action dans l'en-tête de page (ex. Bénévolats → « Proposer mon aide »). */
.unv-v9 .page-head__cta { margin: var(--s5, 22px) 0 0; }

/* Menu burger sur petits écrans (retour comité 2026-10, petit portable Windows) :
   - la 1re rubrique ne passe plus sous le logo (logo ≈ 20→102px) ;
   - le rail Météo/Webcam ne recouvre plus le menu ouvert. */
.unv-v9 nav.drawer { padding-top: 124px; }
body.drawer-open .unv-rail { display: none; }

/* Connexion simplifiée (public senior, retour comité 2026-10) : plus grand, plus lisible. */
.unv-v9 .unv-minilogin { max-width: 460px !important; }
.unv-v9 .unv-minilogin #loginform label { font-size: 17px; }
.unv-v9 .unv-minilogin #loginform input[type="text"],
.unv-v9 .unv-minilogin #loginform input[type="password"] { font-size: 19px; min-height: 54px; padding: 12px 14px; }
.unv-v9 .unv-minilogin #loginform .login-remember label { font-size: 16px; }
.unv-v9 .unv-minilogin #loginform .login-remember input { width: 20px; height: 20px; }
.unv-v9 .unv-minilogin #loginform .login-submit input { font-size: 18px; min-height: 54px; }
.unv-v9 .unv-minilogin__lost { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.unv-v9 .unv-minilogin__lost p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.unv-v9 .unv-minilogin__lost-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: 16.5px; text-decoration: none; }
.unv-v9 .unv-minilogin__lost-btn:hover, .unv-v9 .unv-minilogin__lost-btn:focus-visible { background: var(--navy); color: #fff; }
.unv-v9 .unv-notice-ok { margin: 0 0 22px; padding: 14px 18px; border: 1px solid #2f8a5b; border-left-width: 5px; border-radius: 12px; background: #e9f6ef; color: #1d5c3c; font-weight: 600; font-size: 16.5px; }
