/* ═══════════════════════════════════════════════════════════════
   Mighty Pickleball — « affiche »
   Noir, blanc cassé et un seul accent : le mauve électrique.
   Langage visuel (tiré du héros) : grandes bandes italiques inclinées, découpes à contour blanc,
   texture photocopie, étiquettes en bandeau. Aucune animation ; l'information reste lisible.
   Chargé APRÈS noir.css : redéfinit les variables et surcharge les composants.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --pu: #9A2EFF;            /* mauve électrique : surfaces, boutons, repères */
  --pu-hi: #B25CFF;         /* survol */
  --pu-lift: #C79BFF;       /* petit texte sur fond noir */
  --pu-ink: #7A14E0;        /* texte mauve sur fond blanc cassé */
  --paper: #F2F2EE;
  --line: #2A2A2A;
  --ink: #0A0A0A; --ink-2: #111; --ink-3: #1A1A1A;
  /* variables historiques : le vert devient noir (fonds) et mauve (accents) */
  --forest-d: #0A0A0A; --forest-m: #101010; --forest: #161616;
  --green: var(--pu); --lift: var(--pu-lift); --glow: var(--pu);
  --gold-2: var(--pu); --gold-dim: rgba(154,46,255,.2); --gold-glow: rgba(154,46,255,.4);
  --glass-bg: #121212; --glass-bg-2: #1A1A1A; --glass-line: var(--line); --glass-shadow: none;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 5 -3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --die: drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 -5px 0 #fff);
}
body::before { display: none; }
::selection { background: var(--pu); color: #fff; }
:focus-visible { outline-color: var(--pu-lift); }

/* Titres : Kanit italique ; le mot d'accent reste dans la même police, en mauve */
h1 em, h2 em, h3 em, .text-gold, .nh__title em {
  font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  letter-spacing: inherit; color: var(--pu-lift); line-height: inherit; -webkit-text-fill-color: currentColor; background: none;
}

/* Étiquette de section : bandeau incliné blanc cassé (même langage que les bandes du héros) */
.sband { display: inline-block; max-width: 100%; position: relative; background: var(--paper); color: var(--ink); padding: .1em .34em .06em; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--pu); }
.sband::after, .afh__band--w::after, .nx::after, .ftr__top::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: multiply; opacity: .28; pointer-events: none; }
.sband h2, .sband h1 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .98; color: var(--ink); margin: 0; }
.sband em, .sband .text-gold { color: var(--pu-ink); }
.sec-head h2, .page-hero h1, .cta-big h2 { color: var(--ink); }
.sec-head h2 { display: inline-block; background: var(--paper); padding: .1em .34em .06em; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--pu); font-size: clamp(2.2rem, 5.4vw, 4.8rem); position: relative; }
.sec-head h2 .text-gold, .sec-head h2 em { color: var(--pu-ink); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-eyebrow, .label { color: var(--pu-lift); font-weight: 600; letter-spacing: .16em; }
.sec-eyebrow { display: block; margin-bottom: 18px; }
.sec-head h2 + .sec-line { display: none; }

/* Boutons */
.btn { font-weight: 600; }
.btn-gold { background: var(--pu); border-color: var(--pu); color: #fff; box-shadow: none; }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.btn-outline-gold, .btn-outline-white { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-outline-gold:hover, .btn-outline-white:hover { background: #fff; color: var(--ink); }

/* ───────── En-tête ───────── */
.hdr { background: rgba(10,10,10,.94); }
.hdr::before { display: none; }
.hdr.is-solid { border-bottom: 1px solid var(--line); }
.hdr .hdr__logo { height: 52px !important; }
.hdr__nav { margin: 0 0 0 auto; }
.hdr__nav a { font-weight: 600; opacity: .92; letter-spacing: .04em; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { border-bottom-color: var(--pu); }
.hdr__icon { background: #1a1a1a; }
.hdr__count { background: var(--pu); }
@media (min-width: 941px) {
  .hdr--overlay:not(.is-solid) .hdr__nav { background: var(--ink); padding: 8px 26px; border-radius: 999px; }
}
.circuit-bar { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 2px solid var(--pu); }
.circuit-bar__nav a:hover, .circuit-bar__nav a[aria-current] { border-bottom-color: var(--pu); }
.circuit-bar__brand { color: var(--pu-lift); }
@media (max-width: 940px) { .hdr__nav a[aria-current] { color: var(--pu-lift); } }

/* ───────── Héros « affiche » ───────── */
.afh { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--ink); isolation: isolate; }
.afh__bands { position: absolute; left: -20%; width: 140%; top: 50%; transform: translateY(-50%) rotate(-5deg); z-index: 1; }
.afh__band { display: block; position: relative; width: 100%; overflow: hidden; white-space: nowrap; font: 900 italic clamp(4.6rem, 12.4vw, 14rem)/.94 var(--font-display); text-transform: uppercase; letter-spacing: -.025em; padding: .02em 0; }
.afh__band--k { background: var(--ink); color: #fff; }
.afh__band--w { background: var(--paper); color: var(--ink); }
.afh__cut { position: absolute; bottom: -3%; width: auto; max-width: none; z-index: 4; filter: grayscale(1) contrast(1.2) var(--die) drop-shadow(0 26px 30px rgba(0,0,0,.55)); pointer-events: none; }
.afh__cut--b { left: 20%; height: 100%; transform: scaleX(-1); }
.afh__cut--c { right: 2%; height: 84%; }
.afh__grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: var(--grain); }
.afh__tag { position: absolute; z-index: 8; right: 6%; top: 21%; transform: rotate(8deg); background: var(--pu); color: #fff; font: 900 italic 22px var(--font-display); text-transform: uppercase; padding: 10px 18px; letter-spacing: .02em; box-shadow: 0 8px 0 #000; }
.afh__cta { position: absolute; z-index: 9; left: var(--gutter); bottom: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.afh__cta .btn { height: 52px; padding: 0 28px; display: inline-flex; align-items: center; }
.afh__cta .btn-outline-white { background: #000; }
.afh__cta .btn-outline-white:hover { background: #fff; }
@media (max-width: 960px) {
  .afh__band { font-size: 6.2rem; }
  .afh__cut--c { display: none; }
  .afh__cut--b { left: 50%; height: 72%; transform: translateX(-50%) scaleX(-1); }
  .afh__tag { top: 17%; right: 4%; }
}
@media (max-width: 560px) { .afh__cta .btn { height: 48px; padding: 0 20px; font-size: .86rem; } }

/* ───────── Chiffres ───────── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--ink); }
.facts > div { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3.4vw, 44px) var(--gutter); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts b { font: 900 italic clamp(2.8rem, 6.4vw, 6rem)/.9 var(--font-display); color: #fff; }
.facts > div:first-child b { color: var(--pu-lift); }
.facts span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ───────── Section circuit : prochain match, classement, équipes ───────── */
.cx { padding: clamp(64px, 9vw, 120px) 0; background: var(--ink); }
.cx__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.cx__all { font-weight: 600; font-size: .9rem; color: var(--pu-lift); border-bottom: 1.5px solid var(--pu); padding-bottom: 3px; }
.cx__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.nx { position: relative; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; justify-items: start; overflow: hidden; }
.nx > * { position: relative; z-index: 1; }
.nx::after { z-index: 0; border-radius: 20px; }
.nx__lab { font: 700 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--pu-lift); padding: 7px 12px; border-radius: 6px; }
.nx__teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; width: 100%; }
.nx__tm { display: grid; justify-items: center; gap: 10px; text-align: center; }
.nx__tm img { height: clamp(76px, 9vw, 108px); width: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.nx__tm b { font: 900 italic clamp(1.1rem, 2vw, 1.7rem)/1 var(--font-display); text-transform: uppercase; }
.nx__vs { font: 900 italic 2rem var(--font-display); color: var(--pu-ink); }
.nx__info { width: 100%; border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 4px; font-size: .95rem; }
.nx__empty { font-size: 1.05rem; max-width: 34ch; }
.nx .btn-gold:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.stb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stb th { font: 600 .7rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #a9a9a9; padding: 12px 10px; text-align: center; border-bottom: 1px solid #444; }
.stb th:nth-child(2) { text-align: left; }
.stb td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: 1.05rem; }
.stb td:first-child { width: 52px; font: 900 italic 1.5rem var(--font-display); color: #8a8a8a; }
.stb__t { text-align: left !important; }
.stb__t a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.stb__t img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; }
.stb__p { font: 900 italic 1.5rem var(--font-display); }
.stb tr:hover td { background: #141414; }
.stb tr.is-lead td { background: #171717; }
.stb tr.is-lead td:first-child { color: #fff; background: var(--pu); }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.tiles a { display: grid; justify-items: center; gap: 10px; padding: 20px 10px 16px; background: #141414; border: 1px solid var(--line); border-radius: 16px; text-align: center; transition: border-color .2s, background .2s; }
.tiles a:hover { border-color: var(--pu); background: #1a1a1a; }
.tiles img { height: 70px; width: auto; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); margin: 4px 0; }
.tiles b { font: 900 italic .95rem var(--font-display); text-transform: uppercase; }
@media (max-width: 900px) { .cx__grid { grid-template-columns: 1fr; } }

/* ───────── Bandes décoratives (fixes, sans défilement) ───────── */
.strips { position: relative; height: clamp(190px, 21vw, 300px); overflow: hidden; margin: 0; background: var(--ink); }
.strips span { position: absolute; left: -6%; right: -6%; overflow: hidden; white-space: nowrap; font: 900 italic clamp(1.6rem, 3.8vw, 3.4rem)/clamp(54px, 6.4vw, 92px) var(--font-display); text-transform: uppercase; height: clamp(54px, 6.4vw, 92px); letter-spacing: -.01em; padding-left: 2%; }
.strips__a { top: 14%; background: var(--paper); color: var(--ink); transform: rotate(-2.4deg); z-index: 2; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.strips__b { top: 52%; background: var(--pu); color: #fff; transform: rotate(2deg); z-index: 1; }

/* ───────── Grandes lignes ───────── */
.rows { margin-top: clamp(40px, 6vw, 88px); }
.row { border-top-color: var(--line); }
.row:last-child { border-bottom-color: var(--line); }
.row::before { background: var(--pu); }
.row:hover .row__m, .row:hover .row__n, .row:hover .row__a { color: #fff; }
.rows:hover .row:not(:hover) .row__t { color: inherit; -webkit-text-stroke: 0; }
.row__a { color: var(--pu-lift); }

/* ───────── Boutique, villes, FAQ : surfaces plates, filets nets ───────── */
.cities__head, .shopx__head { margin-bottom: clamp(28px, 4vw, 48px); }
.shopx__all { color: var(--pu-lift); border-bottom-color: var(--pu); }
.glass-card, .nh__stats > div, .cities__list a, .prod, .faq__item, .team-card, .roster-team-card, .player-card, .news-card, .score-card, .scoreboard-card, .standings-wrap, .countdown-bar {
  background: #141414; border: 1px solid var(--line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cities__list a { border-radius: 14px; }
.cities__list a:hover { transform: none; background: #1a1a1a; border-color: var(--pu); }
.cities__list a:hover b { background: var(--pu); border-color: var(--pu); color: #fff; }
.prod { border-radius: 16px; }
.prod:hover { transform: none; background: #1a1a1a; border-color: var(--pu); }
.prod__img { border-radius: 10px; }
.faq__item, .faq__item:first-child { border-radius: 14px; border: 1px solid var(--line); }
.faq__item[open], .faq__item:hover { background: #1a1a1a; }
.faq__item summary::after { color: var(--pu-lift); }
.faq__grid .sband { margin-top: 6px; }

/* ───────── Appel à l'action et pied de page ───────── */
.cta-big, .cta-big--circuit { background: var(--ink); border-top: 1px solid var(--line); }
.cta-big h2 { display: inline-block; background: var(--paper); padding: .1em .34em .06em; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--pu); }
.cta-big--circuit .btn-gold { background: var(--pu); border-color: var(--pu); color: #fff; }
.cta-big--circuit .btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.ftr { border-top: 0; }
.ftr__top { position: relative; background: var(--paper); border: 0; border-radius: 0; box-shadow: 8px 8px 0 var(--pu); color: var(--ink); transform: rotate(-1deg); -webkit-backdrop-filter: none; backdrop-filter: none; background-image: none; }
.ftr__top::before { display: none; }
.ftr__top::after { z-index: 0; }
.ftr__top > * { position: relative; z-index: 1; }
.ftr__pitch { color: var(--ink); }
.ftr__cols { grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(140px, 1fr)); align-items: start; }
.ftr__brand { padding: 0; }
.ftr__logo { width: min(340px, 100%); }
.ftr__col--circuit h5 { color: var(--pu-lift); }
.ftr__col a:hover { text-decoration-color: var(--pu); }
.ftr__bottom { border-top-color: var(--line); }

/* ───────── Pages intérieures et circuit ───────── */
.section, .section--a, .section--b, .section--c { background: var(--ink); border-color: var(--line); }
.section--a { background: #0e0e0e; }
.page-hero, .zone-circuit .page-hero { background: var(--ink); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: screen; opacity: .12; pointer-events: none; }
.page-hero h1 { display: inline-block; background: var(--paper); padding: .06em .3em .04em; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--pu); position: relative; z-index: 1; }
.page-hero h1 em, .page-hero h1 .text-gold { color: var(--pu-ink); }
.page-hero p, .page-hero .breadcrumbs { position: relative; z-index: 1; }
.page-hero .breadcrumbs, .page-hero .woocommerce-breadcrumb { display: block; margin-bottom: 26px; }
.page-hero p { margin-top: 28px; }
.cta-band, .stats-strip { background: var(--ink); border-color: var(--line); }
.stats-strip .stat-num { color: #fff; }
.stats-strip > * > div:first-child .stat-num { color: var(--pu-lift); }
.countdown-bar { border-radius: 0; border-left: 0; border-right: 0; background: #0e0e0e; }
.team-card, .roster-team-card, .player-card, .news-card, .score-card, .scoreboard-card, .standings-wrap { border-radius: 16px; }
.team-card:hover, .roster-team-card:hover, .player-card:hover, .scoreboard-card:hover { background: #1a1a1a; border-color: var(--pu); }
.standings-top, .standings-row.standings-top td { background: #171717; }
.rank-badge.rank-1, .rank-1 { background: var(--pu) !important; color: #fff !important; border-color: var(--pu) !important; }
.sch-next, .sb-win-badge { color: #fff !important; }
.sch-badge.sch-next { background: var(--pu); }
.roster-team-logo, .standings-logo, .sch-team img, .sb-logo img { filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff); }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce-page a.button, .woocommerce-page button.button { background: var(--pu) !important; }

/* ───────── Pages uniques (équipe, joueur, match, page) : même langage que le héros ───────── */
.team-hero, .player-hero, .match-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.team-hero::after, .player-hero::after, .match-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: var(--grain); mix-blend-mode: screen; opacity: .1; }
.team-hero-inner, .player-hero-inner, .match-hero-inner { position: relative; z-index: 2; }
.team-hero-glow, .player-hero-glow, .match-hero-bg, .match-hero-overlay { display: none; }
.team-hero-logo img, .match-team-logo img { filter: drop-shadow(5px 0 0 #fff) drop-shadow(-5px 0 0 #fff) drop-shadow(0 5px 0 #fff) drop-shadow(0 -5px 0 #fff) drop-shadow(0 22px 26px rgba(0,0,0,.5)); }
.team-hero-logo, .match-team-logo { background: none !important; border: 0 !important; box-shadow: none !important; }
.team-hero-name, .player-hero-name, .match-hero-title { display: inline-block; background: var(--paper); color: var(--ink); padding: .06em .3em .04em; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--pu); }
.uh__tag { position: absolute; z-index: 3; right: 6%; top: 22%; transform: rotate(8deg); background: var(--pu); color: #fff; font: 900 italic clamp(.95rem, 1.6vw, 1.35rem) var(--font-display); text-transform: uppercase; padding: 9px 16px; letter-spacing: .02em; box-shadow: 0 7px 0 #000; max-width: 70vw; }
.team-section-title, .match-section-title, .witb-title { display: inline-block; background: var(--paper); color: var(--ink); padding: .1em .32em .06em; transform: rotate(-1.4deg); box-shadow: 6px 6px 0 var(--pu); border: 0; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: 26px; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--ink); }
.team-section-title::before, .team-section-title::after, .match-section-title::before, .match-section-title::after { display: none; }
.strips--sm { height: clamp(130px, 14vw, 190px); }
.strips--sm span { font-size: clamp(1.2rem, 2.6vw, 2.4rem); line-height: clamp(42px, 4.6vw, 64px); height: clamp(42px, 4.6vw, 64px); }
.strips--sm .strips__a { top: 12%; } .strips--sm .strips__b { top: 50%; }
.afh__cut--own { height: 84%; }

@media (max-width: 820px) { .ftr__cols { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
/* Score gagnant : mauve */
.mscore.mscore-win { color: var(--pu); background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; }
.game-score.game-score-winner { color: var(--pu); background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; }
.sb-score-win { background: none; -webkit-text-fill-color: currentColor; color: var(--pu); filter: none; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
