/* =============================================================
   VERTIFOOT — habillage (chargé en DERNIER via _vf_theme.php)
   « Le foot local se partage. » Charte : bleu marine #061A3D, vert fluo
   #9BFF3F, blanc, gris clair #F4F6F9, gris texte #64748B. Police Inter.
   Le socle (pages, modules, endpoints) est celui du template EICAR/Vertiact :
   ce fichier ne change QUE le design. Préfixe des composants propres : vf-.
   ============================================================= */

:root {
  --vf-navy: #061A3D;
  --vf-navy-2: #0B2552;            /* survols, cartes sur fond marine */
  --vf-green: #9BFF3F;             /* remplissages (boutons, pastilles) */
  --vf-green-hover: #B4FF6E;
  --vf-green-ink: #2F9E11;         /* vert LISIBLE sur fond blanc (textes, liens) */
  --vf-white: #FFFFFF;
  --vf-soft: #F4F6F9;
  --vf-muted: #64748B;
  --vf-ink: #0B1B33;
  --vf-line: #E3E8EF;
  --vf-radius: 12px;
  --vf-shadow: 0 10px 30px rgba(6, 26, 61, .08);

  /* Variables historiques du template (noms EICAR) mappées sur la charte */
  --red: #2F9E11;
  --red-dark: #237A0C;
  --black: #ffffff;               /* fond de page */
  --dark: #F4F6F9;
  --grey: #ffffff;                /* cartes */
  --mid: #E9EDF3;
  --light: #64748B;
  --white: #0B1B33;               /* texte principal */
  --font: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --menu-bg: #061A3D;
  --menu-text: #ffffff;
  --menu-hover: #9BFF3F;
  --menu-border: #9BFF3F;
  --menu-border-top: #061A3D;
}

html, body.vf-site { background: #ffffff; }
body.vf-site { color: var(--vf-ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.vf-site ::selection { background: rgba(155,255,63,.45); color: var(--vf-navy); }
body.vf-site :focus-visible { outline: 2px solid var(--vf-green-ink); outline-offset: 2px; }

/* ---------- HEADER (marine, fixe, discret) ---------- */
body.vf-site .site-header {
  background: var(--vf-navy) !important;
  border-bottom: 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 20px rgba(6,26,61,.18);
}
body.vf-site .site-header.is-overlay { background: var(--vf-navy) !important; }
body.vf-site .header-logo { align-items: center; }
body.vf-site .header-logo .logo-img { display: block; height: 34px; width: auto; max-width: none; }
@media (max-width: 768px) { body.vf-site .header-logo .logo-img { height: 28px; } }
body.vf-site .btn-hamburger span { background: #fff !important; }

body.vf-site .site-header .header-nav a,
body.vf-site .site-header .header-nav .wl-cmenu-btn,
body.vf-site .site-header .header-nav .wl-commu-btn {
  position: relative; color: rgba(255,255,255,.86); font-weight: 600; font-size: 14px; background: transparent;
}
body.vf-site .site-header .header-nav a:hover,
body.vf-site .site-header .header-nav .wl-cmenu-btn:hover,
body.vf-site .site-header .header-nav .wl-commu-btn:hover { color: #fff; background: transparent; }
body.vf-site .site-header .header-nav a.active { color: var(--vf-green); background: transparent; }
body.vf-site .site-header .header-nav a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--vf-green);
}
body.vf-site .site-header .header-nav .nav-ic { display: none; }

/* Icônes et boutons d'action du header sur fond marine */
body.vf-site .site-header .wl-search-mobile-btn,
body.vf-site .site-header .wl-notif-btn,
body.vf-site .site-header .wl-msg-btn { color: #fff; background: transparent; }
body.vf-site .site-header .wl-search-mobile-btn:hover { background: rgba(255,255,255,.08); }
body.vf-site .site-header .wl-publish { display: none !important; }     /* remplacé par .vf-pub-cta */

/* Action principale du site : « Publier un but » */
.vf-pub-cta {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 10px;
  background: var(--vf-green); color: var(--vf-navy) !important; font: 800 14px var(--font); text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(155,255,63,.25); transition: background .15s, transform .15s;
}
.vf-pub-cta:hover { background: var(--vf-green-hover); transform: translateY(-1px); }
@media (max-width: 960px) { .vf-pub-cta { display: none; } }   /* mobile : bouton central de la barre du bas */

/* Connexion (contour clair) / S'inscrire (plein vert) */
body.vf-site .site-header .btn-login {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 10px; font-weight: 600; font-size: 14px;
}
body.vf-site .site-header .btn-login:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
body.vf-site .site-header .btn-register {
  background: #fff; color: var(--vf-navy); border: 1.5px solid #fff;
  border-radius: 10px; font-weight: 700; font-size: 14px;
}
body.vf-site .site-header .btn-register:hover { background: var(--vf-soft); border-color: var(--vf-soft); color: var(--vf-navy); }
@media (max-width: 600px) { body.vf-site .site-header .header-actions .btn-register { display: none !important; } }

/* Recherche du header */
body.vf-site .site-header .wl-search,
body.vf-site .site-header .wl-search-input,
body.vf-site .site-header .wl-search-scope { color: var(--vf-ink); }
body.vf-site .site-header .wl-search-input::placeholder { color: #94A3B8; }

/* Barre du bas (mobile) : marine, bouton central vert */
body.vf-site .wl-bottombar { background: var(--vf-navy) !important; border-top: 0 !important; }
body.vf-site .wl-bottombar .wl-bn { color: rgba(255,255,255,.72) !important; text-decoration: none; }
body.vf-site .wl-bottombar .wl-bn.active { color: var(--vf-green) !important; }
body.vf-site .wl-bottombar .wl-bn-pub .wl-bn-pub-ic { background: var(--vf-green) !important; color: var(--vf-navy) !important; box-shadow: 0 6px 18px rgba(155,255,63,.35); }
body.vf-site .wl-bottombar .wl-bn-pub span:last-child { color: #fff !important; }

/* ---------- Boutons génériques ---------- */
body.vf-site .btn-primary {
  background: var(--vf-green); border-color: var(--vf-green); color: var(--vf-navy); border-radius: 10px;
  padding: 14px 26px; font-weight: 800; letter-spacing: 0;
}
body.vf-site .btn-primary:hover { background: var(--vf-green-hover); border-color: var(--vf-green-hover); color: var(--vf-navy); }
.vf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1.5px solid transparent; font: 800 15px var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.vf-btn:hover { transform: translateY(-1px); }
.vf-btn-green { background: var(--vf-green); color: var(--vf-navy); }
.vf-btn-green:hover { background: var(--vf-green-hover); color: var(--vf-navy); }
.vf-btn-ghost { background: rgba(6,26,61,.35); color: #fff; border-color: rgba(255,255,255,.75); backdrop-filter: blur(4px); }
.vf-btn-ghost:hover { background: #fff; color: var(--vf-navy); }
.vf-btn-navy { background: var(--vf-navy); color: #fff; }
.vf-btn-navy:hover { background: var(--vf-navy-2); color: #fff; }
.vf-btn-line { background: #fff; color: var(--vf-navy); border-color: var(--vf-line); }
.vf-btn-line:hover { border-color: var(--vf-navy); }

/* ---------- Titres de sections ---------- */
body.vf-site .section-title, body.vf-site .sec-title, body.vf-site h2.section-h { color: var(--vf-ink); }

/* ---------- FOOTER (marine) ---------- */
body.vf-site .site-footer { background: var(--vf-navy); border-top: 0; color: rgba(255,255,255,.75); }
body.vf-site .site-footer h4 { color: #fff; }
body.vf-site .site-footer a { color: rgba(255,255,255,.75); }
body.vf-site .site-footer a:hover { color: var(--vf-green); }
body.vf-site .site-footer .footer-bottom { border-top-color: rgba(255,255,255,.1); }
body.vf-site .site-footer .footer-bottom p, body.vf-site .site-footer .fl-baseline { color: rgba(255,255,255,.55); }
body.vf-site .site-footer img.vf-foot-logo { display: block; height: 36px !important; width: auto !important; max-width: 240px; margin-bottom: 12px; object-fit: contain; object-position: left center; align-self: flex-start; }
body.vf-site .site-footer .vf-foot-tagline { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- AUTH (connexion / inscription) ---------- */
/* ---------- AUTH (connexion / inscription) : écran partagé avec visuel ---------- */
body.vf-site .auth-card {
  background: #fff; border: 1px solid var(--vf-line); border-radius: 16px;
  box-shadow: 0 10px 40px rgba(20,20,30,.06);
}
body.vf-site .auth-logo { display: none; }               /* le logo est déjà dans le header */
body.vf-site .auth-title { font-size: 24px; font-weight: 800; text-align: left; color: var(--vf-ink); }
body.vf-site .auth-sub { text-align: left; color: var(--vf-muted); }
body.vf-site .auth-form label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: #3a3a44; }
body.vf-site .auth-form input, body.vf-site .auth-form select {
  background: #fff; border: 1.5px solid #dcdce3; border-radius: 8px; color: var(--vf-ink);
}
body.vf-site .auth-form input:focus, body.vf-site .auth-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(120,200,40,.12); }
body.vf-site .auth-submit { border-radius: 8px; font-weight: 600; }
body.vf-site .auth-submit:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
body.vf-site .auth-opts a, body.vf-site .auth-foot a { color: var(--red); }

body.vf-site .auth-wrap.vf-auth {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 0; align-items: stretch;
  max-width: 1100px; margin: 0 auto; padding: 40px 24px 60px !important; min-height: calc(100vh - 76px);
}
body.vf-site .vf-auth .auth-card { max-width: none; border-radius: 16px 0 0 16px; border-right: none; display: flex; flex-direction: column; justify-content: center; padding: 40px 38px; }
.vf-auth-visual {
  position: relative; border-radius: 0 16px 16px 0; overflow: hidden; min-height: 520px;
  background-color: #061A3D; background-size: cover; background-position: center 25%;
  display: flex; align-items: flex-end;
}
.vf-auth-visual::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,14,.92) 0%, rgba(10,10,14,.35) 50%, rgba(10,10,14,.05) 100%);
}
.vf-auth-visual-txt { position: relative; padding: 34px 36px; color: #fff; }
.vf-auth-visual-txt h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
.vf-auth-visual-txt p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0; max-width: 380px; }
.vf-auth-visual--card { border-radius: 16px; min-height: 280px; margin-bottom: 14px; }
@media (max-width: 860px) {
  body.vf-site .auth-wrap.vf-auth { grid-template-columns: 1fr; padding: 16px 16px 40px !important; }
  body.vf-site .vf-auth .auth-card { border-radius: 16px; border-right: 1px solid var(--vf-line); padding: 28px 22px; }
  body.vf-site .vf-auth .vf-auth-visual { display: none; }
  .vf-auth-visual--card { min-height: 200px; }
}

/* Onglets « Vous êtes » (catégories communauté : Artiste / Agence) */
.vf-cat-field { grid-column: 1 / -1; }
.vf-cat-lbl { display: block; font-size: 13px; font-weight: 600; color: #3a3a44; margin: 14px 0 8px; }
.vf-cat-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--vf-line); }
.vf-cat-tab { flex: 1; position: relative; margin: 0 !important; cursor: pointer; text-align: center; }
.vf-cat-tab input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.vf-cat-tab span {
  display: block; padding: 11px 8px; font-size: 14px; font-weight: 600; color: var(--vf-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.vf-cat-tab input:checked + span { color: var(--red); border-bottom-color: var(--red); }
.vf-cat-tab input:focus-visible + span { outline: 2px solid rgba(120,200,40,.4); outline-offset: 2px; }

/* Pages d'authentification autonomes (header fixe sans espaceur) : réserver sa hauteur */
body.vf-site .auth-wrap { padding-top: 112px !important; }
@media (max-width: 860px) { body.vf-site .auth-wrap { padding-top: 92px !important; } }
/* Logo du footer : proportions conservées */
body.vf-site .site-footer img.vf-foot-logo { height: 30px !important; width: auto !important; max-width: 240px; object-fit: contain; }

/* ---------- Bandeaux de titre des pages (Vidéos, Communauté, Offres…) ----------
   Voile clair sur l'image (ou dégradé si pas d'image) → titres en encre. */
body.vf-site [class*="-hero-txt"] h1,
body.vf-site .ap-hero h1, body.vf-site .sa-hero h1, body.vf-site .au-hero h1 { color: var(--vf-ink) !important; }
body.vf-site [class*="-hero-txt"] p,
body.vf-site .ap-hero p, body.vf-site .sa-hero p, body.vf-site .au-hero p { color: #4a4a55 !important; }
body.vf-site [class*="-hero-bg"].no-img {
  background: radial-gradient(120% 120% at 85% 0%, rgba(120,200,40,.22), #f7f7f9 62%) !important;
}
/* Étapes numérotées (inscription) : chiffre blanc sur pastille rouge */
body.vf-site .as-num { color: #fff !important; }
/* Thème clair permanent : les bascules clair/sombre héritées du template sont masquées */
body.vf-site .auth-theme-toggle, body.vf-site .pub-theme-toggle,
body.vf-site .up-theme-toggle, body.vf-site .pf-theme-toggle { display: none !important; }
body.vf-site .site-footer img.vf-foot-logo { align-self: flex-start; object-position: left center; }

/* ---------- Profil : encart des compteurs sur la couverture ---------- */
body.vf-site .pf-stats { background: rgba(255,255,255,.94) !important; border: 1px solid rgba(255,255,255,.7) !important; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
body.vf-site .pf-stat b { color: var(--vf-ink) !important; }
body.vf-site .pf-stat .pf-stat-txt span { color: var(--vf-muted) !important; }
body.vf-site .pf-stat .pf-stat-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(120,200,40,.1) !important; color: var(--red) !important; display: inline-flex; margin: 0; }
body.vf-site .pf-stat .pf-stat-ic svg { stroke: var(--red) !important; }

.vf-dd { position: relative; }
.vf-dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #dcdce3; background: #fff; color: #2a2a31; font: 600 13.5px var(--font); cursor: pointer; transition: border-color .15s; }
.vf-dd-btn:hover { border-color: var(--vf-ink); }
.vf-dd.is-set .vf-dd-btn { border-color: var(--red); color: var(--red); background: rgba(120,200,40,.05); }
.vf-dd-btn svg { transition: transform .2s; }
.vf-dd.open .vf-dd-btn svg { transform: rotate(180deg); }
.vf-dd-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 200px; max-height: 320px; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--vf-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15,15,19,.14); }
.vf-dd.open .vf-dd-menu { display: block; }
.vf-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: #2a2a31; font-size: 14px; text-decoration: none; white-space: nowrap; }
.vf-dd-menu a:hover { background: var(--vf-soft); }
.vf-dd-menu a.on { color: var(--red); font-weight: 700; background: rgba(120,200,40,.06); }
.vf-search { display: flex; margin-left: auto; min-width: 0; }
.vf-search input { height: 38px; width: 220px; max-width: 100%; border: 1px solid #dcdce3; border-right: none; border-radius: 999px 0 0 999px; padding: 0 14px; font: 16px var(--font); color: var(--vf-ink); background: #fff; outline: none; }
.vf-search input:focus { border-color: var(--red); }
.vf-search button { height: 38px; padding: 0 14px; border: none; border-radius: 0 999px 999px 0; background: var(--vf-ink); color: #fff; cursor: pointer; display: flex; align-items: center; }
@media (max-width: 700px) { .vf-search { margin-left: 0; width: 100%; } .vf-search input { flex: 1; width: auto; } }
.vf-resbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; font-size: 14px; color: var(--vf-muted); }
.vf-resbar strong { color: var(--vf-ink); }
.vf-resbar a { color: var(--red); }
.vf-resbar .vf-dd-menu { left: auto; right: 0; }
.vf-tabs-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--vf-line); margin-bottom: 8px; }
.vf-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
.vf-tabs::-webkit-scrollbar { display: none; }
.vf-tabs a { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--vf-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.vf-tabs a:hover { color: var(--vf-ink); }
.vf-tabs a.on { color: var(--vf-ink); border-bottom-color: var(--red); }
.vf-tabs-row .vf-search { margin: 6px 0 8px auto; }
/* =============================================================
   MES MÉDIAS (sélection des contenus affichés sur le profil)
   ============================================================= */
.vf-mm { max-width: 1240px; margin: 0 auto; padding: 28px 24px 70px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; }
@media (max-width: 800px) { .vf-mm { grid-template-columns: 1fr; } }
.vf-mm-side { min-width: 0; }
.vf-mm-brand { font-size: 20px; font-weight: 800; color: var(--vf-ink); margin: 4px 0 16px; }
.vf-mm-side nav { display: flex; flex-direction: column; gap: 4px; }
.vf-mm-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #3a3a44; font-size: 14px; text-decoration: none; }
.vf-mm-side a:hover { background: var(--vf-soft); }
.vf-mm-side a.on { background: var(--vf-soft); color: var(--vf-ink); font-weight: 700; }
@media (max-width: 800px) { .vf-mm-side nav { flex-direction: row; overflow-x: auto; } .vf-mm-side a { white-space: nowrap; } .vf-mm-brand { display: none; } }
.vf-mm-main { min-width: 0; }
.vf-mm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.vf-mm-head h1 { margin: 0; font-size: 26px; font-weight: 800; color: var(--vf-ink); }
.vf-mm-head p { margin: 6px 0 0; color: var(--vf-muted); font-size: 14.5px; }
.vf-mm-add.open .vf-dd-menu { display: block; }
.vf-dd-btn-plain { cursor: pointer; }
.vf-mm-tabs { border-bottom: 1px solid var(--vf-line); margin-bottom: 12px; }
.vf-mm-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--vf-muted); margin-bottom: 14px; }
.vf-mm-bar strong { color: var(--red); }
.vf-mm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.vf-mm-tile { position: relative; display: block; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #061A3D; cursor: pointer; transition: border-color .15s, transform .15s; }
.vf-mm-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .15s; }
.vf-mm-tile:hover img { opacity: .8; }
.vf-mm-tile.on { border-color: var(--red); }
.vf-mm-tile.on img { opacity: 1; }
.vf-mm-tile.busy { opacity: .6; pointer-events: none; }
.vf-mm-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #888; font-size: 34px; }
.vf-mm-check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); color: transparent; display: flex; align-items: center; justify-content: center; }
.vf-mm-tile.on .vf-mm-check { background: var(--red); border-color: var(--red); color: #fff; }
.vf-mm-dur { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,.6); padding: 2px 6px; border-radius: 4px; }
.vf-mm-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 7px; font-size: 11.5px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Profil : textes du hero toujours clairs (une règle h1/p générale les assombrissait) */
/* =============================================================
   RECHERCHE — identité VertiFoot (≠ EICAR, ≠ Vertiact)
   Bandeau bleu marine sous le header, liseré « lignes de terrain » vert,
   champ souligné en blanc, filtre en étiquette verte, bouton vert plein.
   ============================================================= */
@media (min-width: 961px) {
  body.vf-site .site-header.search-open .header-inner .wl-search {
    height: 92px;
    background:
      radial-gradient(60% 140% at 85% 0%, rgba(120,200,40,.28), transparent 60%),
      #061A3D;
    border: none;
    box-shadow: 0 18px 40px rgba(10,10,14,.35);
    gap: 14px;
  }
  /* liseré vert en bas du bandeau */
  body.vf-site .site-header.search-open .header-inner .wl-search::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--vf-green) 20%, var(--vf-green) 80%, transparent);
    opacity: .9;
  }
  /* filtre « Tout » : étiquette verte */
  body.vf-site .site-header.search-open .header-inner .wl-scope-btn {
    height: 40px; padding: 0 14px 0 16px;
    background: #9BFF3F; color: #061A3D; border: none; border-radius: 6px;
    font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  }
  body.vf-site .site-header.search-open .header-inner .wl-scope-btn:hover { background: #fff; }
  body.vf-site .site-header.search-open .header-inner .wl-scope-btn svg { color: #061A3D; }
  /* champ : grand, transparent, souligné */
  body.vf-site .site-header.search-open .header-inner .wl-search-input {
    flex: 0 1 620px; max-width: 620px; height: 48px;
    background: transparent; color: #fff;
    border: none; border-bottom: 2px solid rgba(255,255,255,.35); border-radius: 0;
    font-size: 20px; font-weight: 500; padding: 0 6px;
    transition: border-color .2s;
  }
  body.vf-site .site-header.search-open .header-inner .wl-search-input::placeholder { color: rgba(255,255,255,.5); font-weight: 400; }
  body.vf-site .site-header.search-open .header-inner .wl-search-input:focus { border-bottom-color: var(--vf-green); }
  /* bouton vert plein avec libellé */
  body.vf-site .site-header.search-open .header-inner .wl-search .wl-search-btn {
    width: auto; height: 44px; margin: 0; padding: 0 20px; gap: 8px;
    background: var(--vf-green); color: var(--vf-navy); border: none; border-radius: 8px;
    font: 700 14px var(--font);
  }
  body.vf-site .site-header.search-open .header-inner .wl-search .wl-search-btn::after { content: 'Rechercher'; }
  body.vf-site .site-header.search-open .header-inner .wl-search .wl-search-btn:hover { background: var(--vf-green-hover); color: var(--vf-navy); }
  body.vf-site .site-header.search-open .header-inner .wl-search:focus-within { box-shadow: 0 18px 40px rgba(10,10,14,.35); }
  /* bouton loupe du header : état actif */
  body.vf-site .site-header.search-open .wl-search-mobile-btn { background: var(--vf-ink); color: #fff; }
  /* menu du filtre + suggestions : cartes blanches nettes */
  body.vf-site .site-header.search-open .header-inner .wl-suggestions { top: calc(100% + 12px); width: 720px; }
}
body.vf-site .wl-scope-menu { border: 1px solid var(--vf-line); border-radius: 10px; box-shadow: 0 18px 40px rgba(10,10,14,.18); }
body.vf-site .wl-scope-menu a { font-weight: 600; }
body.vf-site .wl-scope-menu a.active { background: #9BFF3F; color: #061A3D; }
body.vf-site .wl-suggestions { border: 1px solid var(--vf-line); border-radius: 12px; box-shadow: 0 22px 50px rgba(10,10,14,.2); }
body.vf-site .wl-sug:hover { background: var(--vf-soft); }

/* Mobile : modale de recherche, en-tête marine + champ souligné */
body.vf-site .wl-searchm-bar { background: #061A3D; border-bottom: 3px solid var(--vf-green); }
body.vf-site .wl-searchm-input { background: transparent !important; border: none !important; border-bottom: 2px solid rgba(255,255,255,.35) !important; border-radius: 0 !important; color: #fff !important; font-size: 17px; }
body.vf-site .wl-searchm-input::placeholder { color: rgba(255,255,255,.55) !important; }
body.vf-site .wl-searchm-close, body.vf-site .wl-searchm-go { color: #fff !important; }
body.vf-site .wl-searchm-ql { background: #9BFF3F !important; color: #061A3D !important; border: none !important; font-weight: 600; }
@media (min-width: 961px) { body.vf-site .site-header.search-open .header-inner .wl-search { top: 76px !important; margin-top: 0 !important; transform: none; animation: vfSearchDrop .22s ease-out; } }
@keyframes vfSearchDrop { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* =============================================================
   ACCUEIL VertiFoot
   ============================================================= */
.vf-home { background: #fff; padding-bottom: 40px; }
.vf-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 760px) { .vf-wrap { padding: 0 16px; } }

/* --- Hero : photo de but, voile marine à gauche, titre « pinceau » --- */
.vf-hero {
  position: relative; overflow: hidden; background: var(--vf-navy); color: #fff;
  min-height: 520px; display: flex; align-items: center;
}
.vf-hero-bg { position: absolute; inset: 0; }
.vf-hero-bg img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: center 40%; }
.vf-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--vf-navy) 0%, rgba(6,26,61,.97) 34%, rgba(6,26,61,.55) 60%, rgba(6,26,61,.1) 100%),
    linear-gradient(to top, rgba(6,26,61,.8) 0%, transparent 35%);
}
.vf-hero-in { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 56px 24px 110px; }
.vf-hero-title {
  margin: 0; max-width: 640px; font-family: 'Permanent Marker', 'Inter', sans-serif; font-weight: 400;
  font-size: clamp(40px, 6.2vw, 78px); line-height: .98; text-transform: uppercase; letter-spacing: .01em;
  transform: rotate(-3deg); transform-origin: left bottom; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.vf-hero-title span { display: block; }
.vf-hero-title .g { color: var(--vf-green); }
.vf-hero-sub { margin: 26px 0 0; max-width: 520px; font-size: 18px; font-weight: 600; line-height: 1.5; color: rgba(255,255,255,.9); }
.vf-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vf-hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.75); }
.vf-hero-stats b { color: var(--vf-green); font-size: 18px; font-weight: 800; margin-right: 2px; }
@media (max-width: 899px) {
  .vf-hero { min-height: 0; align-items: flex-end; }
  .vf-hero-bg img { width: 100%; opacity: .55; }
  .vf-hero-bg::after { background: linear-gradient(to top, var(--vf-navy) 18%, rgba(6,26,61,.55) 70%, rgba(6,26,61,.35) 100%); }
  .vf-hero-in { padding: 120px 16px 100px; }
  .vf-hero-sub { font-size: 16px; }
}

/* --- Recherche locale (carte blanche qui chevauche le hero) --- */
.vf-finder {
  position: relative; z-index: 5; max-width: 1232px; margin: -64px auto 0; padding: 14px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: stretch;
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(6,26,61,.18);
}
@media (max-width: 1280px) { .vf-finder { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 1000px) { .vf-finder { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vf-finder-go { grid-column: 1 / -1; } }
@media (max-width: 560px)  { .vf-finder { grid-template-columns: 1fr; margin: -56px 16px 0; padding: 10px; } }
.vf-finder-go { height: 60px; }

.vf-sel { position: relative; min-width: 0; }
.vf-sel-btn {
  width: 100%; height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  background: #fff; border: 1.5px solid var(--vf-line); border-radius: 12px; cursor: pointer; text-align: left;
  font-family: var(--font); color: var(--vf-ink); transition: border-color .15s, background .15s;
}
.vf-sel-btn:hover { border-color: #b8c3d3; }
.vf-sel.open .vf-sel-btn, .vf-sel-btn:focus-visible { border-color: var(--vf-navy); }
.vf-sel.has-val .vf-sel-btn { border-color: var(--vf-green-ink); background: #f6fdee; }
.vf-sel-btn:disabled { cursor: not-allowed; background: var(--vf-soft); }
.vf-sel.is-disabled .vf-sel-txt { opacity: .55; }
.vf-sel-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--vf-soft); color: var(--vf-navy); }
.vf-sel.has-val .vf-sel-ic { background: var(--vf-green); }
.vf-sel-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.vf-sel-txt small { font-size: 12px; font-weight: 700; color: var(--vf-ink); }
.vf-sel-val { font-size: 13px; color: var(--vf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-sel.has-val .vf-sel-val { color: var(--vf-ink); font-weight: 600; }
.vf-sel-chev { flex: 0 0 auto; color: var(--vf-muted); transition: transform .2s; }
.vf-sel.open .vf-sel-chev { transform: rotate(180deg); }
.vf-sel.is-loading .vf-sel-chev { animation: vfSpin .8s linear infinite; }
@keyframes vfSpin { to { transform: rotate(360deg); } }
.vf-sel-pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--vf-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(6,26,61,.16); padding: 8px;
}
.vf-sel-search { width: 100%; height: 40px; padding: 0 12px; border: 1.5px solid var(--vf-line); border-radius: 8px; font: 16px var(--font); color: var(--vf-ink); }
.vf-sel-search:focus { outline: none; border-color: var(--vf-navy); }
.vf-sel-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow: auto; }
.vf-sel-list li { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--vf-ink); cursor: pointer; }
.vf-sel-list li small { display: block; font-size: 12px; color: var(--vf-muted); }
.vf-sel-list li:hover { background: var(--vf-soft); }
.vf-sel-list li.is-all { color: var(--vf-muted); }
.vf-sel-list li.is-none { color: var(--vf-muted); cursor: default; font-style: italic; }
.vf-sel-list li.is-none:hover { background: none; }

/* --- Sections --- */
.vf-sec { margin-top: 44px; }
.vf-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.vf-sec-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--vf-ink); }
.vf-sec-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--vf-green-ink); text-decoration: none; white-space: nowrap; }
.vf-sec-more:hover { color: var(--vf-navy); }
@media (max-width: 600px) { .vf-sec-title { font-size: 20px; } .vf-sec { margin-top: 32px; } }

/* --- Carte « but » --- */
.vf-ggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .vf-ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .vf-ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px)  { .vf-ggrid { grid-template-columns: 1fr; } }
.vf-gcard { min-width: 0; display: flex; flex-direction: column; }
.vf-gcard-media {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--vf-radius); overflow: hidden;
  background: linear-gradient(135deg, var(--vf-navy), var(--vf-navy-2));
}
.vf-gcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vf-gcard:hover .vf-gcard-media img { transform: scale(1.04); }
.vf-gcard-play {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(6,26,61,.55); border: 2px solid rgba(255,255,255,.9); backdrop-filter: blur(3px); transition: background .2s, color .2s, transform .2s;
}
.vf-gcard-play svg { margin-left: 3px; }
.vf-gcard:hover .vf-gcard-play { background: var(--vf-green); border-color: var(--vf-green); color: var(--vf-navy); transform: scale(1.06); }
.vf-gcard-dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(6,26,61,.85); color: #fff; font-size: 12px; font-weight: 700; }
.vf-gcard-body { padding: 10px 2px 0; min-width: 0; }
.vf-gcard-title { margin: 0 0 8px; font-size: 15px; font-weight: 800; line-height: 1.3; min-width: 0; }
.vf-gcard-title a { color: var(--vf-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vf-gcard-title a:hover { color: var(--vf-green-ink); }
.vf-gcard-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.vf-av {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--vf-navy); color: var(--vf-green); font-size: 13px; font-weight: 800;
}
.vf-av img { width: 100%; height: 100%; object-fit: cover; }
.vf-gcard-meta { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.vf-gcard-scorer { font-size: 13px; font-weight: 700; color: var(--vf-ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.vf-gcard-scorer:hover { color: var(--vf-green-ink); }
.vf-gcard-club { font-size: 12px; color: var(--vf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-gcard-club a { color: inherit; text-decoration: none; }
.vf-gcard-club a:hover { color: var(--vf-navy); }
.vf-gcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--vf-muted); }
.vf-gcard-reg, .vf-gcard-stats span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.vf-gcard-reg { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vf-gcard-stats { display: inline-flex; gap: 10px; flex: 0 0 auto; }

/* --- État vide (aucun but publié) --- */
.vf-empty-hero {
  margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 36px; border-radius: 20px; background: var(--vf-soft);
}
@media (max-width: 900px) { .vf-empty-hero { grid-template-columns: 1fr; padding: 24px 20px; gap: 22px; } }
.vf-kicker { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--vf-navy); color: var(--vf-green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vf-empty-txt h2 { margin: 14px 0 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--vf-ink); }
.vf-empty-txt p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--vf-muted); max-width: 520px; }
.vf-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vf-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: #fff; border-radius: 14px; box-shadow: var(--vf-shadow); }
.vf-step-n { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vf-green); color: var(--vf-navy); font-weight: 800; }
.vf-steps b { display: block; font-size: 15px; color: var(--vf-ink); }
.vf-steps small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--vf-muted); }

/* --- Clubs à découvrir --- */
.vf-clubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .vf-clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vf-club {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 12px; align-items: center;
  padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--vf-shadow); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.vf-club:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(6,26,61,.12); }
.vf-club-logo { grid-row: 1 / 4; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); }
.vf-club-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vf-club-name { font-size: 14.5px; font-weight: 800; color: var(--vf-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-club-sub { font-size: 12.5px; color: var(--vf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-club-n { font-size: 12px; font-weight: 700; color: var(--vf-green-ink); }

/* --- Rejoindre : 3 cartes profil --- */
.vf-join-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .vf-join-grid { grid-template-columns: 1fr; } }
.vf-join-card {
  position: relative; display: flex; align-items: flex-end; min-height: 180px; padding: 20px; border-radius: 16px; overflow: hidden;
  background: var(--vf-navy); color: #fff; text-decoration: none; isolation: isolate;
}
.vf-join-img { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform .4s ease; }
.vf-join-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,26,61,.96) 15%, rgba(6,26,61,.35) 75%); }
.vf-join-card:hover .vf-join-img { transform: scale(1.05); }
.vf-join-txt { flex: 1; min-width: 0; padding-right: 54px; }
.vf-join-txt b { display: block; font-size: 18px; font-weight: 800; }
.vf-join-txt small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.82); }
.vf-join-go { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vf-green); color: var(--vf-navy); transition: transform .2s; }
.vf-join-card:hover .vf-join-go { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .vf-gcard-media img, .vf-join-img, .vf-btn, .vf-club, .vf-pub-cta { transition: none !important; }
  .vf-gcard:hover .vf-gcard-media img, .vf-join-card:hover .vf-join-img { transform: none; }
}

/* =============================================================
   PAGES VertiFoot (listes, fiches, but, inscription, publication, tableau de bord)
   ============================================================= */
.vf-page { background: #fff; padding: 8px 0 56px; min-height: 60vh; }
.vf-narrow { max-width: 920px; }
.vf-wrap.vf-narrow { margin: 0 auto; }
.vf-muted { color: var(--vf-muted); font-size: 14px; }
.vf-center { text-align: center; }
.vf-h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--vf-ink); margin: 28px 0 14px; }
.vf-h3 { font-size: 16px; font-weight: 800; color: var(--vf-ink); margin: 22px 0 12px; }
.vf-tag { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff4dc; color: #8a5a00; vertical-align: 2px; white-space: nowrap; }
.vf-tag-off { background: #fdecee; color: #b42335; }
.vf-btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.vf-btn-xl { height: 56px; padding: 0 34px; font-size: 17px; letter-spacing: .02em; }
.vf-btn-block { width: 100%; margin-top: 16px; }
.vf-icon-btn { width: 48px; padding: 0; }
.vf-btn-line.vf-icon-btn, .vf-ehead .vf-btn-ghost { color: #fff; }
.vf-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.vf-linkbtn { background: none; border: 0; padding: 0; color: var(--vf-green-ink); font: 600 14px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.vf-linkbtn:hover { color: var(--vf-navy); }
.vf-btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.vf-mini-link { font-size: 13px; font-weight: 700; color: var(--vf-green-ink); text-decoration: none; }
.vf-mini-link:hover { color: var(--vf-navy); }

/* Fil d'Ariane + en-tête de page */
.vf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 13px; color: var(--vf-muted); }
.vf-crumbs a { color: var(--vf-muted); text-decoration: none; }
.vf-crumbs a:hover { color: var(--vf-navy); }
.vf-crumbs [aria-current] { color: var(--vf-ink); font-weight: 600; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 10px 0 20px; }
.vf-phead h1 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.025em; color: var(--vf-ink); line-height: 1.12; }
.vf-phead p { margin: 6px 0 0; color: var(--vf-muted); font-size: 15.5px; }
.vf-phead-center { justify-content: center; text-align: center; }
.vf-h1-ic { display: inline-flex; vertical-align: -4px; margin-right: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--vf-green); color: var(--vf-navy); }

/* Barre de filtres */
.vf-filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin-bottom: 14px; background: var(--vf-soft); border-radius: 14px; }
.vf-filterbar .vf-sel { flex: 1 1 170px; }
.vf-filterbar .vf-btn { height: 52px; }
.vf-sel-compact .vf-sel-btn { height: 52px; }
.vf-sel-compact .vf-sel-txt small { font-size: 11px; color: var(--vf-muted); font-weight: 600; }
.vf-qbox { flex: 2 1 240px; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; background: #fff; border: 1.5px solid var(--vf-line); border-radius: 12px; color: var(--vf-muted); }
.vf-qbox:focus-within { border-color: var(--vf-navy); }
.vf-qbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 16px var(--font); color: var(--vf-ink); }
.vf-reset { font-size: 13.5px; font-weight: 600; color: var(--vf-muted); }
@media (max-width: 640px) { .vf-filterbar .vf-sel, .vf-qbox, .vf-filterbar .vf-btn { flex: 1 1 100%; } }

/* Onglets */
.vf-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--vf-line); margin: 4px 0 20px; }
.vf-tabs::-webkit-scrollbar { display: none; }
.vf-tabs a { position: relative; padding: 12px 16px; font-size: 14.5px; font-weight: 700; color: var(--vf-muted); text-decoration: none; white-space: nowrap; }
.vf-tabs a:hover { color: var(--vf-ink); }
.vf-tabs a.on { color: var(--vf-ink); }
.vf-tabs a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--vf-green); }

/* Pastilles (départements) */
.vf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.vf-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--vf-soft); color: var(--vf-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.vf-chips a i { font-style: normal; font-size: 11.5px; color: var(--vf-muted); }
.vf-chips a:hover { background: #e9eef5; }
.vf-chips a.on { background: var(--vf-navy); color: #fff; }
.vf-chips a.on i { color: var(--vf-green); }

/* Pagination */
.vf-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; }
.vf-pager a, .vf-pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--vf-soft); color: var(--vf-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.vf-pager a:hover { background: #e9eef5; }
.vf-pager .on { background: var(--vf-navy); color: #fff; }

/* État vide */
.vf-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 20px; margin: 8px 0; border-radius: 16px; background: var(--vf-soft); }
.vf-empty-ic { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--vf-navy); box-shadow: var(--vf-shadow); }
.vf-empty b { font-size: 17px; color: var(--vf-ink); }
.vf-empty p { margin: 0 0 8px; max-width: 460px; color: var(--vf-muted); font-size: 14.5px; line-height: 1.5; }

/* Grilles annuaires */
.vf-ggrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .vf-ggrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .vf-ggrid-3 { grid-template-columns: 1fr; } }
.vf-clubs-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .vf-clubs-page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .vf-clubs, .vf-clubs-page { grid-template-columns: 1fr; } }
.vf-verified { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--vf-green); color: var(--vf-navy); vertical-align: 1px; font-style: normal; }
.vf-cat-badge { font-size: 13px; font-weight: 800; color: var(--vf-green); }

.vf-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .vf-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.vf-pcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--vf-shadow); text-decoration: none; transition: transform .15s, box-shadow .15s; min-width: 0; }
.vf-pcard:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(6,26,61,.12); }
.vf-pcard-av { position: relative; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 8px; background: var(--vf-navy); color: var(--vf-green); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.vf-pcard-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.vf-pcard-num { position: absolute; right: -4px; bottom: -2px; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font: 800 13px/28px var(--font); font-style: normal; border: 3px solid #fff; }
.vf-pcard-name { font-weight: 800; font-size: 15px; color: var(--vf-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-pcard-sub { font-size: 12.5px; color: var(--vf-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-pcard-n { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--vf-green-ink); }

/* Régions */
.vf-rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vf-rcard { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--vf-shadow); text-decoration: none; transition: transform .15s; }
.vf-rcard:hover { transform: translateY(-2px); }
.vf-rcard-ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); }
.vf-rcard-name { font-weight: 800; font-size: 15px; color: var(--vf-ink); }
.vf-rcard-n { font-size: 12.5px; color: var(--vf-muted); }
.vf-rcard-go { grid-row: 1 / 3; grid-column: 3; color: var(--vf-green-ink); }

/* En-tête de fiche (club / équipe / joueur) */
.vf-entity { padding-top: 0; }
.vf-ehead { position: relative; overflow: hidden; background: var(--vf-navy); color: #fff; min-height: 260px; display: flex; align-items: flex-end; }
.vf-ehead-bg { position: absolute; inset: 0; }
.vf-ehead-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vf-ehead-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,61,.96) 0%, rgba(6,26,61,.75) 45%, rgba(6,26,61,.35) 100%), linear-gradient(to top, rgba(6,26,61,.9), transparent 60%); }
.vf-ehead-in { position: relative; z-index: 1; width: 100%; display: flex; align-items: flex-end; gap: 22px; padding-top: 40px !important; padding-bottom: 26px !important; flex-wrap: wrap; }
.vf-elogo { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 22px; background: #fff; color: var(--vf-navy); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.3); position: relative; }
.vf-elogo img { width: 100%; height: 100%; object-fit: contain; }
.vf-elogo-round { border-radius: 50%; overflow: visible; background: var(--vf-navy); border: 4px solid #fff; }
.vf-elogo-round img { object-fit: cover; border-radius: 50%; }
.vf-elogo-round b { font-size: 46px; color: var(--vf-green); }
.vf-elogo-round .vf-pcard-num { right: 0; bottom: 4px; min-width: 34px; height: 34px; line-height: 28px; font-size: 15px; }
.vf-ehead-txt { flex: 1 1 280px; min-width: 0; }
.vf-ehead-txt h1 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.vf-ehead-txt p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.vf-ehead-txt a { color: #fff; font-weight: 700; }
.vf-ehead-note { margin-top: 8px !important; font-size: 13px !important; color: var(--vf-green) !important; }
.vf-ehead-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.vf-cat-pill { padding: 3px 10px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font-size: 13px; }
@media (max-width: 640px) {
  .vf-ehead { min-height: 0; }
  .vf-elogo { flex-basis: 84px; width: 84px; height: 84px; border-radius: 16px; }
  .vf-ehead-acts { width: 100%; }
  .vf-ehead-acts .vf-btn:first-child { flex: 1; }
}
.vf-etabs { margin-top: 6px; }

/* Chiffres */
.vf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.vf-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .vf-kpis, .vf-kpis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vf-kpi { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--vf-shadow); color: var(--vf-green-ink); }
.vf-kpi svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #eefbe0; }
.vf-kpi b { font-size: 24px; font-weight: 800; color: var(--vf-ink); line-height: 1; }
.vf-kpi span { font-size: 12.5px; color: var(--vf-muted); }

.vf-teamrow { display: flex; flex-wrap: wrap; gap: 10px; }
.vf-teamchip { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; background: var(--vf-soft); text-decoration: none; min-width: 140px; }
.vf-teamchip b { font-size: 16px; font-weight: 800; color: var(--vf-navy); }
.vf-teamchip span { font-size: 12.5px; color: var(--vf-muted); }
.vf-teamchip:hover { background: #e9eef5; }

/* Cartes texte, listes de définitions */
.vf-card { background: #fff; border-radius: 16px; box-shadow: var(--vf-shadow); padding: 22px; margin-bottom: 16px; }
.vf-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--vf-ink); }
.vf-card h2 svg { color: var(--vf-green-ink); }
.vf-card p { margin: 0 0 10px; line-height: 1.6; }
.vf-card-accent { box-shadow: inset 4px 0 0 var(--vf-green), var(--vf-shadow); }
.vf-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 800px) { .vf-about { grid-template-columns: 1fr; } }
.vf-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 14.5px; }
.vf-dl dt { color: var(--vf-muted); }
.vf-dl dd { margin: 0; color: var(--vf-ink); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.vf-dl a { color: var(--vf-green-ink); }
.vf-player-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
@media (max-width: 900px) { .vf-player-grid { grid-template-columns: 1fr; } }
.vf-bio { margin-top: 14px !important; color: var(--vf-ink); }

/* Alertes */
.vf-alert { padding: 12px 16px; border-radius: 12px; background: #fff4dc; color: #6b4a00; font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.vf-alert-info { background: #eef4ff; color: #1f3b6b; }

/* Page d'un but */
.vf-goal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .vf-goal-grid { grid-template-columns: 1fr; } }
.vf-player { border-radius: 16px; overflow: hidden; background: #000; }
.vf-goal-title { margin: 16px 0 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--vf-ink); }
.vf-goal-who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vf-av-lg { flex-basis: 48px; width: 48px; height: 48px; font-size: 18px; }
.vf-goal-whotxt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vf-goal-scorer { font-weight: 800; font-size: 16px; color: var(--vf-ink); text-decoration: none; }
a.vf-goal-scorer:hover { color: var(--vf-green-ink); }
.vf-goal-whotxt span { font-size: 13.5px; color: var(--vf-muted); }
.vf-goal-whotxt span a { color: var(--vf-muted); }
.vf-goal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0; padding: 10px 0; border-top: 1px solid var(--vf-line); border-bottom: 1px solid var(--vf-line); }
.vf-act { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--vf-soft); border: 0; color: var(--vf-ink); font: 600 14px var(--font); text-decoration: none; cursor: pointer; }
.vf-act:hover { background: #e9eef5; }
.vf-goal-actions .reactions-summary-bar { padding: 0 6px !important; }
.vf-goal-views { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13.5px; color: var(--vf-muted); }
.vf-goal-desc { font-size: 15.5px; line-height: 1.6; color: var(--vf-ink); }
.vf-goal-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 12px 0 0; font-size: 13.5px; color: var(--vf-muted); }
.vf-goal-meta li { display: inline-flex; align-items: center; gap: 6px; }
.vf-goal-meta a { color: var(--vf-green-ink); }
.vf-goal-comments { margin-top: 28px; }
.vf-side-list { display: flex; flex-direction: column; gap: 12px; }
.vf-side-it, .vf-mygoal { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: start; text-decoration: none; }
.vf-side-th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--vf-navy); }
.vf-side-th img { width: 100%; height: 100%; object-fit: cover; }
.vf-side-th i { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(6,26,61,.85); color: #fff; font: 700 11px var(--font); }
.vf-side-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vf-side-tx b { font-size: 14px; font-weight: 800; color: var(--vf-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vf-side-tx small { font-size: 12.5px; color: var(--vf-muted); }
.vf-side-it:hover b { color: var(--vf-green-ink); }

/* 404 */
.vf-404 { text-align: center; padding: 70px 16px 40px; }
.vf-404-ball { display: inline-flex; width: 110px; height: 110px; border-radius: 50%; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); margin-bottom: 18px; }
.vf-404 h1 { font-family: 'Permanent Marker', var(--font); font-weight: 400; font-size: 44px; color: var(--vf-navy); margin: 0 0 8px; }
.vf-404 p { color: var(--vf-muted); margin: 0 0 22px; }
.vf-404-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Choix d'inscription */
.vf-choice { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.vf-choice-card { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 40%); align-items: center; gap: 18px; min-height: 120px; padding: 0 0 0 22px; border-radius: 18px; background: #fff; border: 1.5px solid #dfeccf; box-shadow: var(--vf-shadow); overflow: hidden; text-decoration: none; transition: transform .15s, border-color .15s; }
.vf-choice-card:hover { transform: translateY(-2px); border-color: var(--vf-green-ink); }
.vf-choice-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--vf-navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.vf-choice-txt b { display: block; font-size: 19px; font-weight: 800; color: var(--vf-ink); }
.vf-choice-txt small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--vf-muted); }
.vf-choice-img { align-self: stretch; background-size: cover; background-position: center; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
.vf-choice-go { position: absolute; right: 18px; bottom: 50%; transform: translateY(50%); width: 44px; height: 44px; border-radius: 50%; background: var(--vf-green); color: var(--vf-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
@media (max-width: 640px) {
  .vf-choice-card { grid-template-columns: 52px minmax(0, 1fr); padding: 18px 64px 18px 16px; min-height: 0; }
  .vf-choice-ic { width: 52px; height: 52px; }
  .vf-choice-img { display: none; }
}

/* Formulaires en étapes */
.vf-wizard { background: #fff; border-radius: 18px; box-shadow: var(--vf-shadow); padding: 26px; }
@media (max-width: 600px) { .vf-wizard { padding: 18px 14px; border-radius: 14px; } }
.vf-stepper { list-style: none; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.vf-stepper li { display: flex; align-items: center; gap: 8px; color: var(--vf-muted); font-size: 13.5px; }
.vf-stepper li + li::before { content: ''; width: 36px; height: 2px; background: var(--vf-line); margin-right: 2px; }
.vf-stepper span { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--vf-soft); font-weight: 800; color: var(--vf-muted); }
.vf-stepper li.on span, .vf-stepper li.done span { background: var(--vf-green); color: var(--vf-navy); }
.vf-stepper li.on b { color: var(--vf-ink); }
@media (max-width: 560px) { .vf-stepper b { display: none; } .vf-stepper li.on b { display: inline; } .vf-stepper li + li::before { width: 18px; } }
.vf-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 640px) { .vf-fgrid { grid-template-columns: 1fr; } }
.vf-col2 { grid-column: 1 / -1; }
.vf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vf-field > span { font-size: 13.5px; font-weight: 700; color: var(--vf-ink); }
.vf-field > span i { font-style: normal; color: #d1384a; }
.vf-field input[type=text], .vf-field input[type=email], .vf-field input[type=password], .vf-field input[type=date], .vf-field input[type=number], .vf-field input[type=tel], .vf-field textarea, .vf-scorer-name {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--vf-line); border-radius: 12px; background: #fff; font: 16px var(--font); color: var(--vf-ink);
}
.vf-field textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.vf-field input:focus, .vf-field textarea:focus, .vf-scorer-name:focus { outline: none; border-color: var(--vf-navy); box-shadow: 0 0 0 3px rgba(155,255,63,.35); }
.vf-field small, .vf-count { font-size: 12.5px; color: var(--vf-muted); }
.vf-count { align-self: flex-end; }
.vf-field small a { color: var(--vf-green-ink); }
.vf-field.is-err input, .vf-field.is-err textarea, .vf-field.is-err .vf-sel-btn { border-color: #d1384a; }
.vf-check.is-err span { color: #b42335; }
.vf-fmsg a { color: var(--vf-green-ink); font-weight: 700; }
.vf-scorer-name { margin-top: 8px; }
.vf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.vf-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-chipset label { position: relative; cursor: pointer; }
.vf-chipset input { position: absolute; opacity: 0; pointer-events: none; }
.vf-chipset span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--vf-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--vf-ink); transition: background .15s, border-color .15s; }
.vf-chipset input:checked + span { background: var(--vf-navy); border-color: var(--vf-navy); color: #fff; }
.vf-chipset input:focus-visible + span { outline: 2px solid var(--vf-green-ink); outline-offset: 2px; }
.vf-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--vf-ink); cursor: pointer; }
.vf-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--vf-green-ink); }
.vf-check a { color: var(--vf-green-ink); }
.vf-check-sm { margin-top: 8px; font-size: 13px; }
.vf-sel.is-off { opacity: .45; pointer-events: none; }
.vf-hint { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; color: var(--vf-muted); }
.vf-newclub { padding: 14px; border-radius: 12px; background: var(--vf-soft); }
.vf-fgrid-logo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vf-logo-drop { grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; border: 2px dashed #c9d4e3; border-radius: 14px; text-align: center; cursor: pointer; color: var(--vf-muted); }
.vf-logo-drop:hover { border-color: var(--vf-green-ink); }
.vf-logo-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf-logo-prev { width: 84px; height: 84px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--vf-soft); color: var(--vf-navy); overflow: hidden; }
.vf-logo-prev img { width: 100%; height: 100%; object-fit: contain; }
.vf-logo-drop b { color: var(--vf-ink); font-size: 14px; }
.vf-logo-drop small { font-size: 12px; }
.vf-recap { padding: 18px; border-radius: 14px; background: var(--vf-soft); margin-bottom: 14px; }
.vf-recap .vf-h3 { margin-top: 0; }
.vf-recap-goal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 640px) { .vf-recap-goal { grid-template-columns: 1fr; } }
.vf-recap-th img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--vf-navy); }
.vf-wiz-msg { margin-top: 16px; font-size: 14px; font-weight: 600; }
.vf-wiz-msg.err { color: #b42335; }
.vf-wiz-msg.ok { color: var(--vf-green-ink); }
.vf-wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--vf-line); }
.vf-wiz-nav [data-wiz=next], .vf-wiz-nav [data-wiz=submit] { margin-left: auto; min-width: 160px; }
.vf-done { text-align: center; padding: 40px 20px; background: #fff; border-radius: 18px; box-shadow: var(--vf-shadow); }
.vf-done-ic { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: var(--vf-green); color: var(--vf-navy); font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.vf-done h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: var(--vf-ink); }
.vf-done p { margin: 0 auto 20px; max-width: 520px; color: var(--vf-muted); line-height: 1.55; }

/* Publication : dépôt de la vidéo */
.vf-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; border: 2px dashed #c9d4e3; border-radius: 16px; background: #fbfcfe; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.vf-drop:hover, .vf-drop.is-over { border-color: var(--vf-green-ink); background: #f6fdee; }
.vf-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf-drop-ic { color: var(--vf-navy); }
.vf-drop b { font-size: 17px; color: var(--vf-ink); }
.vf-drop > span:not(.vf-btn) { color: var(--vf-muted); font-size: 13px; }
.vf-drop small { color: var(--vf-muted); font-size: 12.5px; }
.vf-vprev { display: flex; flex-direction: column; gap: 10px; }
.vf-vprev video { width: 100%; max-height: 420px; border-radius: 14px; background: #000; }
.vf-upbar { height: 10px; border-radius: 999px; background: var(--vf-soft); overflow: hidden; }
.vf-upbar-in { width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6fd61f, var(--vf-green)); transition: width .25s; }
.vf-upmsg { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--vf-muted); }
.vf-vprev.is-ok .vf-upmsg { color: var(--vf-green-ink); }
.vf-vprev.is-err .vf-upmsg { color: #b42335; }
.vf-thumbpick { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 12px; border-radius: 12px; background: var(--vf-soft); }
.vf-thumbpick > span { grid-column: 1 / -1; font-size: 13.5px; font-weight: 700; }
.vf-thumbpick canvas { width: 160px; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: #000; grid-row: span 2; }
.vf-thumbpick input[type=range] { width: 100%; accent-color: var(--vf-green-ink); }
.vf-thumbpick small { font-size: 12.5px; color: var(--vf-muted); }
.vf-tips { display: flex; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 14px; background: #eef4ff; color: #1f3b6b; }
.vf-tips-ic { color: #3b6fd8; }
.vf-tips b { display: block; margin-bottom: 4px; }
.vf-tips ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.6; }
.vf-progress { margin-top: 16px; }
.vf-progress p { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--vf-ink); }
.vf-gate { text-align: center; padding: 36px 22px; }
.vf-gate-ic { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); margin-bottom: 10px; }
.vf-gate h2 { justify-content: center; }

/* Tableau de bord */
.vf-dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .vf-dash-grid { grid-template-columns: 1fr; } }
.vf-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vf-reqs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--vf-soft); }
.vf-reqs li small { display: block; font-size: 12.5px; color: var(--vf-muted); }
.vf-reqs li.is-done { opacity: .6; }
.vf-reqs-acts { display: flex; gap: 8px; font-weight: 700; color: var(--vf-green-ink); }
.vf-roles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vf-roles li { padding: 10px 12px; border-radius: 12px; background: var(--vf-soft); }
.vf-roles li a b { color: var(--vf-ink); }
.vf-roles li small { display: block; font-size: 12.5px; color: var(--vf-muted); margin: 2px 0 4px; }
.vf-details { margin-top: 10px; }
.vf-details summary { cursor: pointer; font-weight: 700; color: var(--vf-green-ink); margin-bottom: 12px; }
.vf-inline-msg { font-size: 13.5px; font-weight: 600; color: var(--vf-green-ink); margin-left: 10px; }
.vf-mygoals { display: flex; flex-direction: column; gap: 12px; }
.vf-mygoal { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; padding: 10px; border-radius: 14px; background: #fff; box-shadow: var(--vf-shadow); }
@media (max-width: 560px) { .vf-side-it, .vf-mygoal { grid-template-columns: 120px minmax(0, 1fr); } .vf-mygoal .vf-tag { grid-column: 2; justify-self: start; } }
.vf-account { margin-top: 24px; }

/* Petit message flottant */
.vf-toast { position: fixed; left: 50%; bottom: 92px; z-index: 3000; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: var(--vf-navy); color: #fff; font: 600 14px var(--font); box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.vf-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   V2 — tous les gestes techniques
   ============================================================= */
/* Barre des catégories (défilante sur mobile) */
.vf-techbar { margin: 22px 0 6px; position: relative; }
.vf-techbar-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.vf-techbar-in::-webkit-scrollbar { display: none; }
.vf-techbar a { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--vf-soft); color: var(--vf-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.vf-techbar a svg { color: var(--vf-green-ink); }
.vf-techbar a:hover { background: #e9eef5; }
.vf-techbar a.on { background: var(--vf-navy); color: #fff; }
.vf-techbar a.on svg { color: var(--vf-green); }
.vf-page .vf-techbar { margin-top: 4px; }

/* Cartes vidéo : catégorie, geste, rang de défi */
.vf-gcard-cat { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font-size: 11.5px; font-weight: 800; }
.vf-gcard-rank { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); font-weight: 800; font-size: 14px; border: 2px solid var(--vf-green); }
.vf-gcard-tech { display: inline-block; margin: -2px 0 8px; font-size: 12px; font-weight: 700; color: var(--vf-green-ink); }

/* Recherche d'accueil : texte + 4 filtres */
.vf-finder-v2 { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)) auto; }
.vf-finder-q { height: 60px; }
@media (max-width: 1200px) { .vf-finder-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vf-finder-q, .vf-finder-v2 .vf-finder-go { grid-column: 1 / -1; } }
@media (max-width: 560px) { .vf-finder-v2 { grid-template-columns: 1fr; } }

/* Défis */
.vf-chgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .vf-chgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vf-chgrid { grid-template-columns: 1fr; } }
.vf-chcard { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; min-height: 190px; padding: 18px; border-radius: 16px; overflow: hidden; background: var(--vf-navy); color: #fff; text-decoration: none; justify-content: flex-end; }
.vf-chcard-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 120% at 100% 0%, rgba(155,255,63,.35), transparent 55%), var(--vf-navy) center / cover; transition: transform .4s; }
.vf-chcard-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,26,61,.95) 20%, rgba(6,26,61,.35)); }
.vf-chcard:hover .vf-chcard-bg { transform: scale(1.04); }
.vf-chcard-state { position: absolute; left: 14px; top: 14px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.15); }
.vf-chcard-state.is-live { background: var(--vf-green); color: var(--vf-navy); }
.vf-chcard-state.is-soon { background: #fff; color: var(--vf-navy); }
.vf-chcard-ic { position: absolute; right: 14px; top: 12px; color: var(--vf-green); }
.vf-chcard b { font-size: 18px; font-weight: 800; line-height: 1.25; }
.vf-chcard small { font-size: 13px; color: rgba(255,255,255,.8); }
.vf-chcard-foot { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.vf-elogo-defi { background: var(--vf-navy); color: var(--vf-green); border: 3px solid var(--vf-green); }
.vf-rules { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; font-size: 14.5px; }
.vf-rules li { margin-bottom: 4px; }

/* Badges (page vidéo) */
.vf-goal-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.vf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--vf-soft); color: var(--vf-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.vf-badge:hover { background: #e9eef5; }
.vf-badge-cat { background: var(--vf-green); color: var(--vf-navy); }
.vf-badge-tag { font-weight: 600; color: var(--vf-muted); }
.vf-badge-ctx { background: #eef4ff; color: #1f3b6b; }
.vf-badge-defi { background: var(--vf-navy); color: #fff; }
.vf-badge-defi svg { color: var(--vf-green); }
.vf-goal-whotxt small { font-size: 12.5px; }

/* Publication : étiquettes, joueur inscrit, états */
.vf-tagpick { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 50px; padding: 6px 8px; border: 1.5px solid var(--vf-line); border-radius: 12px; background: #fff; }
.vf-tagpick:focus-within { border-color: var(--vf-navy); }
.vf-tagpick-chips { display: contents; }
.vf-tagchip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--vf-navy); color: #fff; font-size: 13px; font-weight: 600; }
.vf-tagchip small { color: var(--vf-green); font-size: 11px; }
.vf-tagchip button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; line-height: 1; }
.vf-tagpick > input[type=search], .vf-psearch-in { flex: 1; min-width: 180px; border: 0; outline: 0; font: 16px var(--font); color: var(--vf-ink); background: transparent; height: 36px; }
.vf-tagpick-sug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--vf-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(6,26,61,.16); max-height: 280px; overflow: auto; }
.vf-tagpick-sug li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.vf-tagpick-sug li small { margin-left: 8px; font-size: 12px; color: var(--vf-muted); }
.vf-tagpick-sug li:hover { background: var(--vf-soft); }
.vf-tagpick-sug li.is-none { color: var(--vf-muted); cursor: default; font-style: italic; }
.vf-psearch { position: relative; margin-top: 8px; padding: 6px 12px; border: 1.5px solid var(--vf-line); border-radius: 12px; }
.vf-psearch small { display: block; margin: 2px 0 4px; }
.vf-states { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 18px 0 0; counter-reset: st; }
.vf-states li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--vf-soft); color: var(--vf-muted); font-size: 13px; font-weight: 700; }
.vf-states li.on { background: var(--vf-navy); color: #fff; }
.vf-states li.done { background: #eefbe0; color: var(--vf-green-ink); }
.vf-states li.done::before { content: '✓'; }
.vf-linkbtn-danger { color: #b42335; }
.vf-thumbpick canvas { aspect-ratio: auto; max-height: 180px; object-fit: contain; }

/* Profils, statistiques, classements */
.vf-kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .vf-kpis-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vf-kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vf-qres { margin-bottom: 8px; }
.vf-pgrid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vf-ranked .vf-rankwrap { position: relative; }
.vf-rankno { position: absolute; z-index: 2; left: -8px; top: -10px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vf-green); color: var(--vf-navy); font-size: 18px; font-weight: 800; box-shadow: 0 6px 16px rgba(6,26,61,.25); border: 3px solid #fff; }

/* Tableau de bord & gestion */
.vf-dash-nav { position: sticky; top: 76px; z-index: 5; background: #fff; }
.vf-count-pill { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font: 800 12px/20px var(--font); font-style: normal; text-align: center; }
.vf-dash section[id] { scroll-margin-top: 140px; }
.vf-dash-profile { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.vf-mini-stats { list-style: none; display: flex; gap: 14px; padding: 0; margin: 0; flex-wrap: wrap; }
.vf-mini-stats li { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--vf-muted); }
.vf-mini-stats b { font-size: 20px; color: var(--vf-ink); }
.vf-tag-ok { background: #eefbe0; color: #237A0C; }
.vf-switch { display: flex; align-items: center; gap: 12px; margin: 10px 0; font-size: 14px; cursor: pointer; }
.vf-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf-switch span { position: relative; flex: 0 0 46px; height: 26px; border-radius: 999px; background: #cbd5e1; transition: background .2s; }
.vf-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.vf-switch input:checked + span { background: var(--vf-green-ink); }
.vf-switch input:checked + span::after { transform: translateX(20px); }
.vf-switch input:focus-visible + span { outline: 2px solid var(--vf-navy); outline-offset: 2px; }
.vf-mygoal-acts { display: flex; align-items: center; gap: 6px; }
.vf-iconlink { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--vf-soft); color: var(--vf-ink); cursor: pointer; text-decoration: none; }
.vf-iconlink:hover { background: #e9eef5; }
.vf-iconlink.vf-del:hover, .vf-mgr-rm:hover, .vf-member-end:hover { background: #fdecee; color: #b42335; }
.vf-err-txt { color: #b42335 !important; }
.vf-roles li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vf-roles li > span { min-width: 0; }
.vf-roles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.vf-inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vf-inline-form input { flex: 1 1 160px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--vf-line); border-radius: 10px; font: 15px var(--font); }
.vf-imgpick { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
@media (max-width: 560px) { .vf-imgpick { grid-template-columns: 1fr; } }
.vf-logo-drop-sm { grid-row: auto; padding: 10px; }
.vf-banner-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 130px; border: 2px dashed #c9d4e3; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: center; color: var(--vf-muted); }
.vf-banner-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf-banner-prev { position: absolute; inset: 0; background: var(--vf-soft) center / cover; opacity: .9; }
.vf-banner-drop b, .vf-banner-drop small { position: relative; background: rgba(255,255,255,.85); padding: 1px 8px; border-radius: 6px; }
.vf-banner-drop b { color: var(--vf-ink); }
.vf-imgpick .is-loading { opacity: .5; pointer-events: none; }

/* =============================================================
   Supporters, photo de profil, activité, à la une
   ============================================================= */
.vf-photo-pick { display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px dashed #c9d4e3; border-radius: 14px; cursor: pointer; }
.vf-photo-pick:hover { border-color: var(--vf-green-ink); }
.vf-photo-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf-photo-prev { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); }
.vf-photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.vf-photo-pick b { display: block; color: var(--vf-ink); font-size: 14.5px; }
.vf-photo-pick small { display: block; color: var(--vf-muted); font-size: 12.5px; }
.vf-clubpick { padding: 10px 12px; border: 1.5px solid var(--vf-line); border-radius: 12px; }
.vf-clubpick-hint { margin: 4px 0; }
.vf-clubpick-list { max-height: 240px; overflow: auto; }
.vf-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vf-feed-it { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--vf-ink); }
a.vf-feed-it:hover { background: var(--vf-soft); }
.vf-feed li.is-new .vf-feed-it { background: #f3fbe9; }
.vf-feed-av { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--vf-navy); color: var(--vf-green); font-weight: 800; }
.vf-feed-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.vf-feed-ic { position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; background: var(--vf-navy); color: #fff; }
.vf-feed-ic.is-like { background: #e2364d; } .vf-feed-ic.is-comment { background: #3b6fd8; } .vf-feed-ic.is-follow, .vf-feed-ic.is-team { background: var(--vf-green-ink); }
.vf-feed-ic.is-video { background: var(--vf-green); color: var(--vf-navy); } .vf-feed-ic.is-mod { background: #b42335; }
.vf-feed-tx { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.4; }
.vf-feed-tx small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--vf-muted); }
.vf-feed-th { flex: 0 0 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--vf-navy); }
.vf-feed-th img { width: 100%; height: 100%; object-fit: cover; }
.vf-alert-link { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.vf-bn-badge { position: absolute; top: 2px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font: 800 11px/18px var(--font); font-style: normal; text-align: center; }
body.vf-site .wl-bottombar .wl-bn { position: relative; }
.vf-une .vf-sec-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vf-une-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--vf-navy); color: var(--vf-green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* =============================================================
   Page publique « clubs partenaires » (pré-lancement)
   ============================================================= */
body.vf-lp { background: #fff; padding: 0 !important; }
.vf-lp-top { position: sticky; top: 0; z-index: 50; background: var(--vf-navy); box-shadow: 0 6px 20px rgba(6,26,61,.25); }
.vf-lp-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.vf-lp-logo { display: flex; flex-direction: column; text-decoration: none; }
.vf-lp-logo img { height: 34px; width: auto; }
.vf-lp-logo span { margin-top: 2px; font-size: 9.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.vf-lp-hero { position: relative; overflow: hidden; background: var(--vf-navy); color: #fff; }
.vf-lp-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.vf-lp-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.vf-lp-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--vf-navy) 0%, rgba(6,26,61,.55) 30%, rgba(6,26,61,0) 60%); }
.vf-lp-hero-in { position: relative; z-index: 1; padding-top: 56px !important; padding-bottom: 64px !important; }
.vf-lp-hero-in > * { max-width: 640px; }
.vf-lp-title { margin: 18px 0 0; font-family: 'Permanent Marker', var(--font); font-weight: 400; line-height: .98; text-transform: uppercase; transform: rotate(-2deg); transform-origin: left bottom; }
.vf-lp-title span { display: block; }
.vf-lp-brush { display: inline-block !important; width: fit-content; padding: 6px 18px 2px; background: var(--vf-green); color: var(--vf-navy); font-size: clamp(26px, 3.6vw, 44px); clip-path: polygon(1% 8%, 99% 0, 100% 88%, 0 100%); }
.vf-lp-big { font-size: clamp(48px, 7.4vw, 96px); color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.vf-lp-big.g { color: var(--vf-green); }
.vf-lp-sub { margin: 26px 0 0; font-size: 18.5px; line-height: 1.55; color: rgba(255,255,255,.9); }
.vf-lp-sub b { color: var(--vf-green); }
.vf-lp-ctas { margin-top: 26px; }
.vf-lp-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 24px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.vf-lp-checks li { display: inline-flex; align-items: center; gap: 6px; }
.vf-lp-checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--vf-green); color: var(--vf-navy); }
@media (max-width: 900px) {
  .vf-lp-hero-img { width: 100%; opacity: .35; }
  .vf-lp-hero-img::after { background: linear-gradient(to top, var(--vf-navy) 10%, rgba(6,26,61,.5)); }
  .vf-lp-hero-in { padding-top: 36px !important; padding-bottom: 44px !important; }
  .vf-lp-sub { font-size: 16.5px; }
}
.vf-lp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -34px !important; position: relative; z-index: 2; }
@media (max-width: 1000px) { .vf-lp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vf-lp-benefits { grid-template-columns: 1fr; } }
.vf-lp-benefit { padding: 22px 18px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(6,26,61,.12); text-align: center; }
.vf-lp-benefit > span { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: var(--vf-navy); color: #fff; border: 3px solid var(--vf-green); }
.vf-lp-benefit b { display: block; margin: 12px 0 6px; font-size: 15.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--vf-ink); }
.vf-lp-benefit p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--vf-muted); }
.vf-lp-what { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 56px !important; margin-bottom: 56px !important; }
@media (max-width: 900px) { .vf-lp-what { grid-template-columns: 1fr; } }
.vf-lp-what h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--vf-ink); letter-spacing: -.02em; }
.vf-lp-what > div > p { color: var(--vf-muted); line-height: 1.65; font-size: 15.5px; }
.vf-lp-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.vf-lp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--vf-ink); }
.vf-lp-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--vf-green-ink); }
.vf-lp-form-wrap { padding: 56px 0 64px; background: var(--vf-soft); scroll-margin-top: 72px; }
.vf-lp-form h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; color: var(--vf-ink); }
.vf-req { color: #d1384a; font-style: normal; }
.vf-lp-foot { background: var(--vf-navy); color: rgba(255,255,255,.7); padding: 32px 0; font-size: 13.5px; }
.vf-lp-foot-in { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vf-lp-foot img { height: 32px; width: auto; margin-bottom: 6px; }
.vf-lp-foot p { margin: 0; }
.vf-lp-foot a { color: rgba(255,255,255,.85); }
.vf-lp-foot a:hover { color: var(--vf-green); }
.vf-lp-team { opacity: .6; }
.vf-preview-bar { position: relative; z-index: 900; padding: 7px 16px; background: var(--vf-green); color: var(--vf-navy); font-size: 13px; font-weight: 700; text-align: center; }
.vf-preview-bar a { color: var(--vf-navy); }

/* Page autonome « clubs partenaires » : elle ne charge pas style_vertifoot.css,
   d'où une remise à zéro minimale (sinon champs width:100% + padding = débordement). */
body.vf-lp { margin: 0; font-family: var(--font); color: var(--vf-ink); line-height: 1.5; -webkit-text-size-adjust: 100%; }
body.vf-lp *, body.vf-lp *::before, body.vf-lp *::after { box-sizing: border-box; }
body.vf-lp img { max-width: 100%; }
body.vf-lp input, body.vf-lp textarea, body.vf-lp button { font-family: inherit; }
body.vf-lp .vf-field input[type=text], body.vf-lp .vf-field input[type=email], body.vf-lp .vf-field input[type=tel], body.vf-lp .vf-field input[type=number] { height: 50px; min-height: 0; line-height: normal; }
body.vf-lp h1, body.vf-lp h2, body.vf-lp h3, body.vf-lp p { margin-top: 0; }
body.vf-lp a { color: var(--vf-green-ink); }
body.vf-lp .vf-btn { color: var(--vf-navy); }
body.vf-lp .vf-btn-ghost { color: #fff; }

/* Header de la page partenaires : logo, slogan et bouton toujours sur une ligne */
.vf-lp-top-in { flex-wrap: nowrap; }
.vf-lp-logo { min-width: 0; flex: 0 1 auto; }
.vf-lp-logo span { white-space: nowrap; }
.vf-lp-top .vf-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 600px) {
  .vf-lp-top-in { height: 64px; gap: 12px; }
  .vf-lp-logo img { height: 28px; }
  .vf-lp-logo span { font-size: 8px; letter-spacing: .18em; }
  .vf-lp-top .vf-btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
}
@media (max-width: 400px) { .vf-lp-logo span { display: none; } }

/* Page partenaires : barre fixe en bas sur mobile, uniquement le bouton « Partager » central (rond vert) */
.vf-lp-bar { display: none; }
@media (max-width: 760px) {
  .vf-lp-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-start;
    height: calc(46px + env(safe-area-inset-bottom)); background: var(--vf-navy); box-shadow: 0 -8px 24px rgba(6,26,61,.3); }
  .vf-lp-bar-share { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent;
    color: #fff; font: 700 11.5px var(--font); cursor: pointer; transform: translateY(-30px); }
  .vf-lp-bar-round { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--vf-green); color: var(--vf-navy); border: 4px solid var(--vf-navy); box-shadow: 0 8px 22px rgba(155,255,63,.45); transition: transform .15s; }
  .vf-lp-bar-share:active .vf-lp-bar-round { transform: scale(.94); }
  body.vf-lp { padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
  .vf-toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* =============================================================
   Bandeau cookies (composant commun /cookies.php) aux couleurs VertiFoot.
   Le composant imprime son <style> APRÈS cette feuille : on préfixe par
   « html body » pour gagner en spécificité sans toucher au fichier commun.
   ============================================================= */
html body #lk-cookie-banner { background: var(--vf-navy); border-top: 3px solid var(--vf-green); box-shadow: 0 -8px 30px rgba(6,26,61,.35); color: #fff; font-family: var(--font, 'Inter', system-ui, sans-serif); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
html body #lk-cookie-banner .lk-cookie-top strong { color: var(--vf-green); }
html body #lk-cookie-banner .lk-cookie-text { color: rgba(255,255,255,.82); }
html body #lk-cookie-banner .lk-cookie-text em { color: #fff; font-style: normal; font-weight: 700; }
html body #lk-cookie-banner .lk-cookie-text a { color: var(--vf-green); }
html body #lk-cookie-banner .lk-cookie-btn-accept { background: var(--vf-green); border-color: var(--vf-green); color: var(--vf-navy); font-weight: 800; }
html body #lk-cookie-banner .lk-cookie-btn-accept:hover { background: var(--vf-green-hover); border-color: var(--vf-green-hover); }
html body #lk-cookie-banner .lk-cookie-btn-refuse { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
html body #lk-cookie-banner .lk-cookie-btn-refuse:hover { border-color: #fff; color: #fff; }
html body #lk-cookie-banner .lk-cookie-btn-manage { color: rgba(255,255,255,.65); }
html body #lk-cookie-banner .lk-cookie-btn-manage:hover { color: var(--vf-green); }
/* Modale « Gérer les paramètres » : fond blanc, accents navy (vert illisible sur blanc) */
html body #lk-cookie-modal { font-family: var(--font, 'Inter', system-ui, sans-serif); }
html body #lk-cookie-modal .lk-cm-header h2 { color: var(--vf-navy); }
html body #lk-cookie-modal .lk-cm-close:hover { color: var(--vf-navy); }
html body #lk-cookie-modal .lk-toggle input:checked + .lk-toggle-track,
html body #lk-cookie-modal .lk-toggle input:disabled + .lk-toggle-track { background: var(--vf-navy); }
html body #lk-cookie-modal .lk-toggle input:checked + .lk-toggle-track::after { background: var(--vf-green); }
html body #lk-cookie-modal .lk-cm-btn-save { background: var(--vf-green); border-color: var(--vf-green); color: var(--vf-navy); font-weight: 800; }
html body #lk-cookie-modal .lk-cm-btn-save:hover { background: var(--vf-green-hover); border-color: var(--vf-green-hover); }
html body #lk-cookie-modal a { color: var(--vf-green-ink); }

/* =============================================================
   Photos (en plus des vidéos) : sélecteur Vidéo / Photos, dépôt multiple,
   cartes photo, page photo, Explorer par type, page supporter, tableau de bord.
   ============================================================= */
.vf-wizard[data-mode="photo"] .vf-mode-video, .vf-wizard[data-mode="video"] .vf-mode-photo { display: none !important; }
.vf-stepper b i, .vf-field > span b { font-style: normal; font-weight: inherit; }
.vf-modesw { display: flex; gap: 6px; padding: 6px; margin: 0 auto 16px; max-width: 420px; background: #fff; border-radius: 999px; box-shadow: var(--vf-shadow); }
.vf-modesw button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--vf-muted); font: 700 15px var(--font); cursor: pointer; transition: background .15s, color .15s; }
.vf-modesw button:hover { color: var(--vf-ink); }
.vf-modesw button.on { background: var(--vf-navy); color: #fff; }
.vf-modesw button.on svg { color: var(--vf-green); }
.vf-phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.vf-phit { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--vf-soft); }
.vf-phit img { width: 100%; height: 100%; object-fit: cover; }
.vf-phit button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(6,26,61,.82); color: #fff; font-size: 19px; line-height: 1; cursor: pointer; }
.vf-phit button:hover { background: #b42318; }
.vf-phit figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: var(--vf-green); color: var(--vf-navy); font-size: 11.5px; font-weight: 800; }
.vf-phit.is-ok::after { content: '✓'; position: absolute; left: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--vf-green); color: var(--vf-navy); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.vf-phadd { aspect-ratio: 1; border: 2px dashed #c9d4e3; border-radius: 12px; background: #fbfcfe; color: var(--vf-muted); font: 800 28px/1 var(--font); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.vf-phadd span { font-size: 12.5px; font-weight: 700; }
.vf-phadd:hover { border-color: var(--vf-green-ink); color: var(--vf-green-ink); background: #f6fdee; }
.vf-phcount { margin: 10px 0 0; font-size: 13px; color: var(--vf-muted); }

/* Cartes photo (même format que les vidéos, pastille appareil photo) */
.vf-gcard-kind { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(6,26,61,.78); color: #fff; }
.vf-gcard-photo:hover .vf-gcard-kind { background: var(--vf-green); color: var(--vf-navy); }

/* Page photo */
.vf-photo-stage { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #0b1424; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.vf-photo-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.vf-photo-zoom img { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
.vf-photo-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(6,26,61,.72); color: #fff; transition: background .15s, color .15s; }
.vf-photo-nav:hover { background: var(--vf-green); color: var(--vf-navy); }
.vf-photo-nav.is-prev { left: 12px; }
.vf-photo-nav.is-prev svg { transform: rotate(180deg); }
.vf-photo-nav.is-next { right: 12px; }
.vf-photo-count { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(6,26,61,.82); color: #fff; font-size: 12.5px; font-weight: 700; }
.vf-photo-strip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.vf-photo-strip a { flex: 0 0 72px; height: 72px; border-radius: 10px; overflow: hidden; opacity: .6; outline: 3px solid transparent; outline-offset: -3px; transition: opacity .15s; }
.vf-photo-strip a.on, .vf-photo-strip a:hover { opacity: 1; outline-color: var(--vf-green); }
.vf-photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.vf-badge-photo { background: var(--vf-navy); color: #fff; }
.vf-badge-photo svg { color: var(--vf-green); }
.vf-side-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.vf-side-photos a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--vf-soft); }
.vf-side-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vf-side-photos a:hover img { transform: scale(1.06); }
.vf-lightbox { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(3,10,24,.94); }
.vf-lightbox[hidden] { display: none; }
.vf-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.vf-lightbox-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .vf-photo-stage { border-radius: 12px; }
  .vf-photo-nav { width: 38px; height: 38px; margin-top: -19px; }
  .vf-photo-nav.is-prev { left: 8px; } .vf-photo-nav.is-next { right: 8px; }
}

/* Explorer : Vidéos / Photos / Tout */
.vf-mediatabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.vf-mediatabs a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--vf-line); color: var(--vf-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s; }
.vf-mediatabs a:hover { border-color: var(--vf-navy); }
.vf-mediatabs a.on { background: var(--vf-navy); border-color: var(--vf-navy); color: #fff; }
.vf-mediatabs a.on svg { color: var(--vf-green); }

/* Page supporter, tableau de bord */
.vf-follow-clubs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vf-follow-clubs a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--vf-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.vf-follow-clubs a:hover { color: var(--vf-green-ink); }
.vf-club-logo.vf-club-logo-sm { grid-row: auto; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; }
.vf-side-kind { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(6,26,61,.82); color: #fff; font-style: normal; }
.vf-avatar-edit { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.vf-avatar-edit > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.vf-av.vf-av-xl { flex: 0 0 72px; width: 72px; height: 72px; font-size: 26px; }
.vf-sec-title small { font-size: 13px; font-weight: 600; }
.vf-sec-more a { color: inherit; }
