/* ═══════════════════════════════════════════════════════════════
   FC FONTAINE-LA-GAILLARDE — style-club.css
   Page publique « Le club » (organigramme) — style verre sombre.
   Chargé APRÈS style.css et style-public.css, uniquement par
   le-club.html (le header/footer public restent ceux du site).
   ═══════════════════════════════════════════════════════════════ */

.club-body {
  --c-ink: #071426; --c-ice: #bfe6fa; --c-gold: #e8a020;
  --c-glass: rgba(255,255,255,.06); --c-line: rgba(150,205,240,.22);
  --hex: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  color: #e8f3fb; min-height: 100vh;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(69,164,212,.28), transparent 60%),
    radial-gradient(800px 500px at 100% 30%, rgba(29,79,122,.55), transparent 60%),
    linear-gradient(180deg, #071426, #0b1d36 60%, #071426);
  background-attachment: fixed;
}
.club-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(150,205,240,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(150,205,240,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 75%);
}
.club-body > * { position: relative; z-index: 1; }
.club-body .pub-footer { margin-top: 24px; }

/* Hero */
.club-hero { max-width: 1180px; margin: 0 auto; padding: 56px 24px 12px; }
.club-eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-ice); }
.club-eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--pub-sky), transparent); }
.club-eyebrow select {
  font: inherit; letter-spacing: .08em; color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid var(--c-line); border-radius: 14px; padding: 4px 26px 4px 12px; min-height: 32px; cursor: pointer;
}
.club-eyebrow select option { color: #0f2744; }
.club-hero h1 {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 84px; line-height: .95;
  background: linear-gradient(90deg, #fff 0%, var(--c-ice) 45%, var(--pub-sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgba(69,164,212,.4));
}
.club-hero p { margin: 14px 0 0; color: rgba(232,243,251,.7); max-width: 540px; line-height: 1.65; font-size: 15px; }

.club-main { max-width: 1180px; margin: 0 auto; padding: 10px 24px 30px; }
.club-sec { margin-top: 44px; }
.club-sec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.club-sec-h h2 { margin: 0; font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.club-sec-h i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--c-line), transparent); }
.club-sec-h span { font-size: 12px; color: var(--c-ice); opacity: .75; white-space: nowrap; }

/* Verre */
.glass {
  position: relative; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid var(--c-line); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(120,200,245,.22), transparent 65%);
}
.glass:hover::before { opacity: 1; }

/* Photo hexagonale */
.ph { position: relative; width: 96px; height: 108px; flex: 0 0 auto; }
.ph .hex { position: absolute; inset: 0; clip-path: var(--hex); background: conic-gradient(from 200deg, var(--pub-sky), #fff, var(--pub-blue), var(--pub-sky)); }
.ph .hex > div { position: absolute; inset: 3px; clip-path: var(--hex); background: #0b1d36; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .04em; color: var(--c-ice); }
.ph .hex img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); clip-path: var(--hex); object-fit: cover; }
.gom {
  position: absolute; top: -4px; right: -6px; z-index: 3; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffe3a3, var(--c-gold) 62%, #b8730a);
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--c-ink);
  box-shadow: 0 0 0 1px rgba(232,160,32,.6), 0 0 16px rgba(232,160,32,.65); cursor: help;
}
.gom svg { width: 15px; height: 15px; fill: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }

.nm { font-weight: 600; font-size: 15px; color: #fff; line-height: 1.2; }
.rl { display: inline-block; margin-top: 5px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pub-sky); }
.rl.gold { color: var(--c-gold); }
.ct { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ct a { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--c-ice); text-decoration: none; border: 1px solid var(--c-line); background: rgba(255,255,255,.05); border-radius: 12px; padding: 3px 9px; transition: .15s; }
.ct a:hover { background: var(--pub-sky); color: var(--c-ink); border-color: var(--pub-sky); }
.ct svg { width: 11px; height: 11px; fill: currentColor; }

/* Bureau : bande compacte */
.bureau { display: flex; align-items: stretch; padding: 14px 18px; gap: 6px; flex-wrap: wrap; }
.b-item { flex: 1 1 200px; display: flex; align-items: center; gap: 14px; padding: 6px 14px; position: relative; min-width: 0; }
.b-item + .b-item::before { content: ""; position: absolute; left: -3px; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, var(--c-line), transparent); }
.b-item .ph { width: 78px; height: 88px; }
.b-item.pres { flex-grow: 1.2; }
.b-item.pres .ph { width: 88px; height: 99px; }

/* Arbitre */
.refs { display: flex; flex-wrap: wrap; gap: 14px; }
.ref { display: flex; align-items: center; gap: 16px; padding: 12px 20px; flex: 0 1 620px; }
.ref .ph { width: 64px; height: 72px; }
.flag { margin-left: auto; flex: 0 0 auto; font-size: 11px; font-weight: 600; color: #ffe27a; border: 1px solid rgba(255,226,122,.45); background: rgba(255,226,122,.08); border-radius: 12px; padding: 4px 10px; }

/* Équipes */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
.chip {
  flex: 0 0 auto; cursor: pointer; min-height: 42px; padding: 0 22px; border-radius: 22px; border: 1px solid var(--c-line); background: var(--c-glass);
  color: rgba(255,255,255,.75); font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: .2s;
}
.chip:hover { color: #fff; border-color: var(--pub-sky); }
.chip.on { color: var(--c-ink); background: linear-gradient(90deg, var(--c-ice), var(--pub-sky)); border-color: transparent; box-shadow: 0 0 24px rgba(69,164,212,.55); }
.cat { display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; }
.cat.no-photo { grid-template-columns: 1fr; }
.cat-photo { position: relative; min-height: 380px; clip-path: polygon(0 0,100% 0,calc(100% - 46px) 100%,0 100%); margin-right: -30px;
  background: linear-gradient(135deg, #14365a, #1d4f7a); }
.cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,38,0) 45%, rgba(7,20,38,.9)), linear-gradient(90deg, rgba(69,164,212,.18), transparent); }
.cat-photo .tag { position: absolute; left: 24px; bottom: 18px; z-index: 2; }
.tag h3 { margin: 0; font-family: var(--font-display); font-size: 92px; line-height: .9; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px #fff; filter: drop-shadow(0 0 18px rgba(69,164,212,.65)); }
.tag small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ice); }
.cat-side { padding: 28px 30px 28px 46px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.no-photo .cat-side { padding: 28px 30px; }
.cat-side h4 { margin: 0; font-family: var(--font-display); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ice); opacity: .75; }
.cat-lien { align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--pub-sky); text-decoration: none; border-bottom: 1px solid transparent; }
.cat-lien:hover, .cat-lien:focus-visible { border-bottom-color: currentColor; }
.no-photo .cat-side .tag h3 { font-size: 64px; }
.coach { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--c-line); transition: .2s; }
.coach:hover { transform: translateX(4px); border-color: var(--pub-sky); background: rgba(69,164,212,.1); }
.coach .ph { width: 62px; height: 70px; }
.coach .gom { width: 24px; height: 24px; top: -6px; right: -8px; }
.coach .gom svg { width: 12px; height: 12px; }
.empty { font-size: 13px; color: rgba(232,243,251,.55); font-style: italic; margin: 0; }
.legend { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: rgba(232,243,251,.6); }
.legend .gom { position: static; width: 20px; height: 20px; cursor: default; box-shadow: 0 0 0 1px rgba(232,160,32,.6), 0 0 10px rgba(232,160,32,.5); }
.legend .gom svg { width: 10px; height: 10px; }
.club-vide { text-align: center; padding: 60px 20px; color: rgba(232,243,251,.7); }

.rv { opacity: 0; transform: translateY(14px); animation: rv .6s ease forwards; }
@keyframes rv { to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .club-hero { padding: 36px 16px 8px; }
  .club-hero h1 { font-size: 54px; }
  .club-main { padding: 6px 16px 24px; }
  .bureau { flex-direction: column; padding: 10px; }
  .b-item + .b-item::before { display: none; }
  .cat { grid-template-columns: 1fr; }
  .cat-photo { min-height: 250px; margin: 0; clip-path: none; }
  .cat-side { padding: 22px; }
  .tag h3 { font-size: 64px; }
  .ref { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .rv { animation: none; opacity: 1; transform: none; } }

/* Blocs libres (commission, dirigeants…) */
.bloc-strip { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 12px 16px; }
.bs-item { flex: 1 1 230px; display: flex; align-items: center; gap: 12px; padding: 6px 10px; min-width: 0; }
.bs-item .ph { width: 52px; height: 59px; }
.bloc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.bloc-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 14px; }
.bloc-card .ph { width: 84px; height: 95px; margin-bottom: 4px; }
.bloc-card .ct { justify-content: center; }
@media (max-width: 820px) { .bs-item { flex-basis: 100%; } }

/* Second intitulé */
.rl2 { display: block; margin-top: 2px; opacity: .85; }


/* ═══ Photo agrandie au clic (carte) ═══ */
.ph.zoomable { cursor: zoom-in; transition: transform .2s, filter .2s; }
.ph.zoomable:hover, .ph.zoomable:focus-visible { transform: scale(1.07); filter: drop-shadow(0 0 12px rgba(69,164,212,.65)); outline: none; }

.zl { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; overflow: auto; padding: 16px;
  background: rgba(3,8,18,.86); perspective: 1200px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .zl { background: rgba(3,8,18,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.zl.open { display: flex; animation: zl-fade .25s ease; }
@keyframes zl-fade { from { opacity: 0; } to { opacity: 1; } }
.zl-dots { position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px); background-size: 32px 32px; }
.zl-lt { position: fixed; top: -150px; width: 420px; height: 720px; filter: blur(50px); pointer-events: none; }
.zl-lt.l { left: 5%; transform: rotate(-20deg); background: linear-gradient(180deg, rgba(69,164,212,.35), transparent); }
.zl-lt.r { right: 5%; transform: rotate(20deg); background: linear-gradient(180deg, rgba(232,160,32,.22), transparent); }

.zl-card { position: relative; width: min(400px, 94vw); margin: auto; padding: 30px 20px 22px; border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; transition: transform .15s ease-out;
  background: linear-gradient(135deg, #12294a 0%, #0a1830 52%, #050b16 100%); border: 1px solid rgba(191,230,250,.28);
  box-shadow: 0 0 60px rgba(69,164,212,.28), 0 30px 70px rgba(0,0,0,.85); animation: zl-rise .5s cubic-bezier(.2,.9,.3,1.15); }
@keyframes zl-rise { from { transform: scale(.8) translateY(30px); opacity: 0; } to { opacity: 1; } }
.zl-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-size: 250% 100%;
  background-image: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 48%, transparent 60%); animation: zl-shine 4.5s ease-in-out infinite; }
@keyframes zl-shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -60% 0; } }
.zl-crest { position: absolute; top: 46%; left: 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); object-fit: contain; opacity: .07; pointer-events: none; }
.zl-badge { position: absolute; top: 20px; left: 20px; z-index: 3; max-width: calc(100% - 90px); line-height: 1; }
.zl-badge b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 12px rgba(69,164,212,.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-badge i { display: block; margin-top: 3px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); }
.zl-x { position: absolute; top: 14px; right: 14px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1); color: #fff; font-size: 20px; cursor: pointer; }
.zl-x:hover, .zl-x:focus-visible { background: rgba(255,255,255,.28); outline: none; }

.zl-big { position: relative; z-index: 2; width: min(290px, 80vw); aspect-ratio: 96 / 108; margin-top: 50px; animation: zl-pop .55s .1s cubic-bezier(.2,.9,.3,1.15) backwards; }
@keyframes zl-pop { from { transform: scale(.5) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.zl-halo { position: absolute; inset: -26px; clip-path: var(--hex); background: radial-gradient(circle, rgba(69,164,212,.55), transparent 68%); filter: blur(14px); }
.zl-hex { position: absolute; inset: 0; clip-path: var(--hex); overflow: hidden; }
.zl-hex::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, var(--pub-sky), #fff, var(--c-gold), #fff, var(--pub-sky)); animation: zl-spin 8s linear infinite; }
@keyframes zl-spin { to { transform: rotate(360deg); } }
.zl-in { position: absolute; inset: 6px; clip-path: var(--hex); background: #0b1d36; }
.zl-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zl-big .gom { width: 46px; height: 46px; top: -2px; right: -8px; z-index: 4; cursor: default; }
.zl-big .gom svg { width: 23px; height: 23px; }

.zl-n { position: relative; z-index: 2; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8vw, 38px); letter-spacing: .04em;
  text-transform: uppercase; color: #fff; line-height: 1; text-align: center; text-shadow: 0 4px 10px rgba(0,0,0,.8); overflow-wrap: anywhere; }
.zl-r { position: relative; z-index: 2; margin-top: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pub-sky); text-align: center; }
.zl-r2 { margin-top: 2px; font-size: 14px; opacity: .85; }
.zl-grid { position: relative; z-index: 2; margin-top: 18px; width: 100%; display: grid; gap: 8px; padding: 12px 8px; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); }
.zl-grid div { text-align: center; min-width: 0; }
.zl-grid b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; line-height: 1.05; overflow-wrap: anywhere; }
.zl-grid span { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8da4c4; }
.zl-ct { position: relative; z-index: 2; margin-top: 12px; display: flex; gap: 8px; width: 100%; }
.zl-ct a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 12px; background: rgba(69,164,212,.18);
  border: 1px solid rgba(69,164,212,.5); color: #e8f3fb; text-decoration: none; font-weight: 600; font-size: 13px; }
.zl-ct a:hover, .zl-ct a:focus-visible { background: rgba(69,164,212,.34); outline: none; }
.zl-ct svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.zl-club { position: relative; z-index: 2; margin-top: 14px; font-size: 11.5px; color: #7f9bb3; display: flex; align-items: center; gap: 7px; }
.zl-club img { width: 18px; height: 18px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .zl-card, .zl-big, .zl-card::before, .zl-hex::before { animation: none; transition: none; } }
