/**
* 2010-2026 SwissGeek | Web Developer Freelance
*
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https:// opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https:// devdocs.prestashop.com/ for more information.
*
* @Module		sgkpaddock
* @Description	Front office styles: paddock section, partners page and application form.
* @Version		2.1.0
* @Copyright	SwissGeek | Web Developer Freelance <https://swissgeek.dev/>
* @support		Support Requests <https://admin.swissgeek.dev/forms/ticket?styled=1&with_logo=1>
* @Blog			Breaking News <https://news.swissgeek.dev/> <https://news.prestageek.ch/>
* @Addons		Developments <https://prestageek.ch/> <https://add.swissgeek.dev/>
*
* @license		http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*				Valid for 1 website (or project) for each purchase of license International Registered 
*				Trademark & Property of SwissGeek. More information on <https://swissgeek.dev/license/>
*/

/* Scope autonome : ne dépend d'aucune variable du thème.
   La couleur d'accent est injectée en inline via --sgk-accent. */
/* ─── Jetons de design ────────────────────────────────────────────────────────
   Ces valeurs sont celles d'ORIGINE. L'onglet « Design » du back-office ne
   réécrit pas cette feuille : il pose les jetons en ligne sur chaque racine
   `.sgkpaddock`, et seulement si le marchand a choisi une palette. Palette
   « suivre le thème » = fonds transparents et couleurs héritées.            */
.sgkpaddock{
  --sgk-green:#0e2a24; --sgk-green-2:#123a30; --sgk-green-3:#16493c;
  --sgk-cream:#f2ede1; --sgk-muted:#9db3ab; --sgk-line:#1e463b;
  --sgk-accent:#e8a33d;
  --sgk-btn-bg:var(--sgk-accent); --sgk-btn-fg:var(--sgk-green); --sgk-btn-bg-hover:var(--sgk-btn-bg);
  --sgk-light-bg:#fff; --sgk-light-surface:#fbfaf6; --sgk-light-field:#faf9f6;
  --sgk-light-ink:#26302c; --sgk-light-muted:#5a6b64; --sgk-light-line:#e6e3da;
  --sgk-link:#14453a; --sgk-link-hover:#0e2a24;
  --sgk-radius:16px; --sgk-badge:52px;
  --sgk-font:'Archivo','Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  --sgk-body:'Inter','Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  box-sizing:border-box;
}
.sgkpaddock *,.sgkpaddock *::before,.sgkpaddock *::after{box-sizing:border-box}
.sgkpaddock__wrap{max-width:1260px;margin:0 auto;padding:0 24px}

/* ============ SECTION ACCUEIL ============ */
.sgkpaddock--home{
  background:var(--sgk-green);
  color:var(--sgk-cream);
  padding:56px 0;
  margin:0;
  font-family:var(--sgk-body);
  background-image:none;
}
.sgkpaddock__head{text-align:center;max-width:620px;margin:0 auto 30px}
.sgkpaddock__kicker{
  font-family:var(--sgk-font);font-weight:700;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--sgk-accent);display:inline-block;margin-bottom:12px
}
.sgkpaddock__title{
  font-family:var(--sgk-font);font-weight:800;
  font-size:clamp(calc(var(--sgk-fs-title,36px) * .72), 3.6vw, var(--sgk-fs-title,36px));
  line-height:1.02;letter-spacing:-.01em;text-transform:uppercase;margin:0 0 12px;color:var(--sgk-cream)
}
.sgkpaddock__intro{color:var(--sgk-muted);font-size:var(--sgk-fs-text,16px);line-height:1.55;margin:0}

.sgkpaddock__grid{
  list-style:none;margin:0 0 8px;padding:0;
  display:grid;grid-template-columns:repeat(var(--sgk-cols,6),1fr);gap:14px
}
.sgkpaddock__club{margin:0}
.sgkpaddock__clubLink,.sgkpaddock__club{color:inherit;text-decoration:none}
.sgkpaddock__clubLink{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  aspect-ratio:1/1;padding:14px;text-align:center;
  background:var(--sgk-green-2);border:1px solid var(--sgk-line);border-radius:var(--sgk-radius);
  transition:transform .16s ease,border-color .16s ease,background .16s ease
}
.sgkpaddock__clubLink:hover{
  border-color:var(--sgk-accent);transform:translateY(-3px);background:var(--sgk-green-3)
}
.sgkpaddock__badge{
  width:var(--sgk-badge,52px);height:var(--sgk-badge,52px);flex:0 0 auto;border-radius:50%;overflow:hidden;
  display:flex;align-items:center;justify-content:center
}
/* Vignette avec logo : pas d'encadrement, le logo se suffit à lui-même. Seul
   le repli « initiales » (aucun logo fourni) garde un disque de couleur —
   sans lui, des initiales seules sur le fond de la page seraient illisibles. */
.sgkpaddock__badge--initials{background:var(--sgk-green);border:2px solid var(--sgk-accent)}
/* Niveau de partenariat sur le mur et le bandeau, seuls endroits qui n'ont
   jusqu'ici jamais montré le niveau autrement que par la puce texte (fiche
   club, page Partenaires) — un simple anneau, mêmes teintes que ces puces,
   `box-shadow` plutôt que `border` pour ne rien ajouter aux dimensions du
   blason (`box-sizing` n'est pas forcé sur `.sgkpaddock__badge`). */
.sgkpaddock__badge--tier-gold{box-shadow:0 0 0 2px #e8c05a}
.sgkpaddock__badge--tier-silver{box-shadow:0 0 0 2px #d6d9dc}
.sgkpaddock__badge--tier-bronze{box-shadow:0 0 0 2px #e0b088}
.sgkpaddock__badge img{width:100%;height:100%;object-fit:contain;padding:4px}
.sgkpaddock__initials{
  font-family:var(--sgk-font);font-weight:900;color:var(--sgk-accent);letter-spacing:-.01em;
  /* Les initiales suivent le blason : à 120 px, 15 px de texte flotterait. */
  font-size:clamp(11px, calc(var(--sgk-badge,52px) * .29), 34px)
}
.sgkpaddock__clubName{
  font-family:var(--sgk-font);font-weight:600;font-size:12px;line-height:1.2;color:var(--sgk-cream);
  overflow-wrap:anywhere
}

/* ─── Focus visible ───────────────────────────────────────────────────────────
   Le socle n'en portait aucun : seul le skin Panda en posait un, et seulement
   sur le bouton. Sur un thème qui neutralise `outline`, plus rien n'était
   visible au clavier. L'anneau est posé sur toutes les cibles focalisables. */
.sgkpaddock a:focus-visible,
.sgkpaddock button:focus-visible,
.sgkpaddock input:focus-visible,
.sgkpaddock textarea:focus-visible,
.sgkpaddock [tabindex]:focus-visible{
  outline:3px solid var(--sgk-accent);outline-offset:3px;border-radius:4px
}
.sgkpaddock--home .sgkpaddock__clubLink:focus-visible,
.sgkpaddock--footer .sgkpaddock__stripLink:focus-visible{outline-offset:2px}
/* Repli pour les navigateurs sans :focus-visible (aucun anneau vaut moins
   qu'un anneau parfois de trop). */
@supports not selector(:focus-visible){
  .sgkpaddock a:focus,.sgkpaddock button:focus{outline:3px solid var(--sgk-accent);outline-offset:3px}
}

/* ─── Carrousel du mur ────────────────────────────────────────────────────────
   La piste est un défilement à accrochage : sans JavaScript elle reste
   utilisable au doigt et à la molette, seules les commandes disparaissent. */
.sgkpaddock__slider{position:relative}
.sgkpaddock__grid--slider{
  display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  margin:0 0 8px;padding:2px
}
.sgkpaddock__grid--slider::-webkit-scrollbar{display:none}
.sgkpaddock__grid--slider .sgkpaddock__club{
  scroll-snap-align:start;
  flex:0 0 calc((100% - (var(--sgk-cols,6) - 1) * 14px) / var(--sgk-cols,6))
}
.sgkpaddock__grid--slider:focus-visible{outline:3px solid var(--sgk-accent);outline-offset:4px}
.sgkpaddock__nav{
  position:absolute;top:calc(50% - 20px);z-index:2;width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  border:1px solid var(--sgk-line);background:var(--sgk-green-2);color:var(--sgk-cream);
  font-size:22px;line-height:1;font-family:var(--sgk-font);
  transition:background .15s ease,border-color .15s ease,opacity .15s ease
}
.sgkpaddock__nav:hover{background:var(--sgk-green-3);border-color:var(--sgk-accent)}
.sgkpaddock__nav[disabled]{opacity:.35;cursor:default}
.sgkpaddock__nav--prev{left:-8px}
.sgkpaddock__nav--next{right:-8px}
/* Sans le script, les commandes ne pilotent rien : elles n'apparaissent
   qu'une fois le carrousel initialisé. */
.sgkpaddock__slider:not(.is-ready) .sgkpaddock__nav,
.sgkpaddock__slider:not(.is-ready) .sgkpaddock__dots{display:none}
.sgkpaddock__dots{display:flex;gap:8px;justify-content:center;margin:14px 0 0}
.sgkpaddock__dot{
  width:9px;height:9px;padding:0;border-radius:50%;cursor:pointer;
  border:1px solid var(--sgk-muted);background:transparent;transition:background .15s ease
}
.sgkpaddock__dot.is-active{background:var(--sgk-accent);border-color:var(--sgk-accent)}
.sgkpaddock__dot:focus-visible{outline:3px solid var(--sgk-accent);outline-offset:3px}
@media (max-width:900px){
  .sgkpaddock__grid--slider .sgkpaddock__club{flex-basis:calc((100% - 28px) / 3)}
  .sgkpaddock__nav{display:none}
}
@media (max-width:520px){
  .sgkpaddock__grid--slider .sgkpaddock__club{flex-basis:calc((100% - 14px) / 2)}
}

/* Bloc programme */
.sgkpaddock__programTxt{min-width:0}
.sgkpaddock__programCta{display:flex;justify-content:flex-end;align-items:center}
.sgkpaddock__program{
  margin-top:24px;background:var(--sgk-green-2);border:1px solid var(--sgk-line);border-radius:calc(var(--sgk-radius) + 6px);
  padding:32px;display:grid;grid-template-columns:1.4fr auto;align-items:center;gap:24px
}
.sgkpaddock__programTitle{
  font-family:var(--sgk-font);font-weight:800;
  font-size:clamp(calc(var(--sgk-fs-title,36px) * .5), 2.4vw, calc(var(--sgk-fs-title,36px) * .7));
  text-transform:uppercase;line-height:1.05;margin:6px 0 14px;color:var(--sgk-cream)
}
.sgkpaddock__perks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sgkpaddock__perks li{display:flex;align-items:center;gap:11px;color:var(--sgk-cream);font-weight:500}
.sgkpaddock__check{
  width:26px;height:26px;flex:0 0 auto;border-radius:50%;background:var(--sgk-green-3);
  color:var(--sgk-accent);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px
}

/* Bouton */
.sgkpaddock__btn{
  display:inline-flex;align-items:center;gap:9px;cursor:pointer;
  font-family:var(--sgk-font);font-weight:700;font-size:var(--sgk-fs-btn,14px);text-transform:uppercase;letter-spacing:.03em;
  padding:14px 26px;border-radius:40px;border:2px solid transparent;
  background:var(--sgk-btn-bg);color:var(--sgk-btn-fg);text-decoration:none;transition:filter .15s ease,transform .15s ease,background .15s ease
}
.sgkpaddock__btn:hover{filter:brightness(1.06);transform:translateY(-1px);background:var(--sgk-btn-bg-hover);color:var(--sgk-btn-fg)}
.sgkpaddock__btn svg{display:block}

/* ============ PAGE FORMULAIRE ============ */
.sgkpaddock--form{font-family:var(--sgk-body);max-width:1080px;margin:0 auto;padding:8px 0 40px}
.sgkpaddock__success{
  display:flex;gap:14px;align-items:center;background:#e9f7ef;border:1px solid #b6e2c6;
  color:#1f7a45;border-radius:14px;padding:16px 18px;margin-bottom:24px
}
.sgkpaddock__successIcon{
  width:34px;height:34px;flex:0 0 auto;border-radius:50%;background:#22c55e;color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700
}
.sgkpaddock__success p{margin:2px 0 0;color:#2f7d52}
.sgkpaddock__formGrid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}

.sgkpaddock__pitch{
  background:var(--sgk-green);color:var(--sgk-cream);border-radius:20px;padding:32px;
  background-image:radial-gradient(90% 130% at 90% -20%,rgba(232,163,61,.16),transparent 55%)
}
.sgkpaddock__pitch .sgkpaddock__title{font-size:clamp(calc(var(--sgk-fs-title,36px) * .58), 3vw, calc(var(--sgk-fs-title,36px) * .8))}
.sgkpaddock__pitch .sgkpaddock__intro{color:var(--sgk-muted);margin-bottom:20px}
.sgkpaddock__pitch .sgkpaddock__perks{margin-top:8px}

.sgkpaddock__form{background:var(--sgk-light-bg);border:1px solid var(--sgk-light-line);border-radius:calc(var(--sgk-radius) + 4px);padding:28px}
.sgkpaddock__row{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.sgkpaddock__cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sgkpaddock__row label{font-family:var(--sgk-font);font-weight:600;font-size:13px;color:var(--sgk-light-ink)}
/* L'astérisque porte une information (champ obligatoire) : il doit atteindre AA
   sur la carte claire, où l'accent réglable peut tomber à 2,16:1. */
.sgkpaddock__req{color:var(--sgk-accent)}
.sgkpaddock__form .sgkpaddock__req{color:#a03a12}
.sgkpaddock__form input,.sgkpaddock__form textarea{
  width:100%;font-family:var(--sgk-body);font-size:14.5px;color:var(--sgk-light-ink);
  background:var(--sgk-light-field);border:1.5px solid var(--sgk-light-line);border-radius:12px;padding:12px 14px;transition:border-color .15s ease,box-shadow .15s ease
}
.sgkpaddock__form input:focus,.sgkpaddock__form textarea:focus{
  outline:none;border-color:var(--sgk-green-3);box-shadow:0 0 0 3px rgba(22,73,60,.10);background:var(--sgk-light-bg)
}
.sgkpaddock__form textarea{resize:vertical;min-height:120px}
.sgkpaddock__btn--submit{
  margin-top:6px;width:100%;justify-content:center
}
/* pot de miel : masqué visuellement et pour lecteurs d'écran */
.sgkpaddock__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ============ RESPONSIVE ============ */
@media (max-width:900px){
  .sgkpaddock__grid{grid-template-columns:repeat(3,1fr)}
  .sgkpaddock__program{grid-template-columns:1fr;text-align:left}
  .sgkpaddock__programCta{justify-content:flex-start}
  .sgkpaddock__formGrid{grid-template-columns:1fr}
}
@media (max-width:520px){
  .sgkpaddock__grid{grid-template-columns:repeat(2,1fr)}
  .sgkpaddock__cols{grid-template-columns:1fr}
  .sgkpaddock--home{padding:44px 0}
  .sgkpaddock__program{padding:24px}
  .sgkpaddock__pitch,.sgkpaddock__form{padding:24px}
}
@media (prefers-reduced-motion:reduce){
  .sgkpaddock *{transition:none!important}
}

/* Mur en colonne latérale (displayLeftColumn / displayRightColumn) : une
   colonne de 180-250px n'a pas la largeur pour laquelle le mur pleine page a
   été pensé. Classe posée par le contrôleur selon le hook rendu — pas une
   media query, la largeur de la page peut rester grande pendant que la
   colonne, elle, reste étroite. */
.sgkpaddock--narrow.sgkpaddock--home{padding:18px 0}
.sgkpaddock--narrow .sgkpaddock__wrap{max-width:none;padding:0 4px}
.sgkpaddock--narrow .sgkpaddock__head{text-align:left;max-width:none;margin:0 0 14px}
.sgkpaddock--narrow .sgkpaddock__kicker{font-size:10px;margin-bottom:6px}
.sgkpaddock--narrow .sgkpaddock__title{font-size:17px;line-height:1.15;margin:0 0 6px}
.sgkpaddock--narrow .sgkpaddock__intro{font-size:12.5px;line-height:1.4}
.sgkpaddock--narrow .sgkpaddock__grid{grid-template-columns:repeat(2,1fr)!important;gap:8px}
.sgkpaddock--narrow .sgkpaddock__grid--slider .sgkpaddock__club{flex-basis:70%!important}
.sgkpaddock--narrow .sgkpaddock__clubLink{padding:8px;gap:6px}
.sgkpaddock--narrow .sgkpaddock__badge{width:36px!important;height:36px!important}
.sgkpaddock--narrow .sgkpaddock__clubName{font-size:10.5px;line-height:1.2}
.sgkpaddock--narrow .sgkpaddock__nav{display:none} /* flèches du carrousel : pas la place */
.sgkpaddock--narrow .sgkpaddock__more{margin-top:14px}
.sgkpaddock--narrow .sgkpaddock__link{font-size:12px}
.sgkpaddock--narrow .sgkpaddock__program{
  grid-template-columns:1fr;text-align:left;padding:16px;gap:12px;margin-top:16px
}
.sgkpaddock--narrow .sgkpaddock__programTitle{font-size:14px;margin:4px 0 8px}
.sgkpaddock--narrow .sgkpaddock__perks{gap:6px}
.sgkpaddock--narrow .sgkpaddock__perks li{font-size:12px}
.sgkpaddock--narrow .sgkpaddock__check{width:20px;height:20px;font-size:11px}
.sgkpaddock--narrow .sgkpaddock__programCta{justify-content:flex-start}
.sgkpaddock--narrow .sgkpaddock__btn{
  width:100%;justify-content:center;font-size:12px;padding:10px 14px
}

/* ============================================================= */
/* ============  AJOUTS v1.1.0  ================================= */
/* ============================================================= */

/* Forme des badges : carré (option) */
.sgkpaddock__badge--square,
.sgkpaddock__badge--square img{border-radius:calc(var(--sgk-radius) * .625)}

/* Logos en niveaux de gris jusqu'au survol (option) */
.sgkpaddock.is-grayscale .sgkpaddock__badge img{filter:grayscale(1);opacity:.85;transition:filter .2s,opacity .2s}
.sgkpaddock.is-grayscale .sgkpaddock__club:hover .sgkpaddock__badge img,
.sgkpaddock.is-grayscale .sgkpaddock__stripItem:hover .sgkpaddock__badge img,
.sgkpaddock.is-grayscale .sgkpaddock__card:hover .sgkpaddock__badge img{filter:none;opacity:1}

/* Lien "voir tous les partenaires" */
.sgkpaddock__more{text-align:center;margin-top:26px}
.sgkpaddock__link{
  display:inline-flex;align-items:center;gap:6px;font-family:var(--sgk-font);font-weight:700;
  font-size:13px;letter-spacing:.02em;color:var(--sgk-link-dark,var(--sgk-accent));text-decoration:none
}
/* Sur fond clair, l'accent (réglable par le marchand) peut tomber sous 3:1 :
   le texte passe en encre foncée, l'accent ne sert plus qu'au soulignement. */
.sgkpaddock--list .sgkpaddock__link,
.sgkpaddock__form .sgkpaddock__link{color:var(--sgk-link);text-decoration-color:var(--sgk-accent)}
.sgkpaddock--list .sgkpaddock__link:hover,
.sgkpaddock__form .sgkpaddock__link:hover{color:var(--sgk-link-hover)}
.sgkpaddock__link:hover{text-decoration:underline}
.sgkpaddock__link svg{transition:transform .15s}
.sgkpaddock__link:hover svg{transform:translateX(3px)}

/* ---- Page "Partenaires" (liste complète) ---- */
.sgkpaddock--list{
  background:var(--sgk-light-bg);color:var(--sgk-light-ink);padding:8px 0 40px;font-family:var(--sgk-body);
}
.sgkpaddock__intro--lead{max-width:720px;margin:0 auto 30px;text-align:center;color:var(--sgk-light-muted);font-size:16px}
.sgkpaddock__cards{
  list-style:none;margin:0;padding:0;display:grid;gap:16px;
  grid-template-columns:repeat(3,1fr);max-width:1080px;margin:0 auto
}
.sgkpaddock__card{
  display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid var(--sgk-light-line);
  border-radius:var(--sgk-radius);background:var(--sgk-light-surface);transition:border-color .15s,box-shadow .15s;
  min-height:224px
}
.sgkpaddock__card:hover{border-color:var(--sgk-accent);box-shadow:0 8px 24px rgba(14,42,36,.08)}
.sgkpaddock__cardBody{min-width:0;display:flex;flex-direction:column;height:100%}
.sgkpaddock__cardName{display:block;font-family:var(--sgk-font);font-weight:700;color:var(--sgk-light-ink);font-size:16px}
.sgkpaddock__cardDesc{
  margin:4px 0 8px;color:var(--sgk-light-muted);font-size:13px;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.sgkpaddock__cardBody .sgkpaddock__link{margin-top:auto;padding-top:6px}
.sgkpaddock--list .sgkpaddock__badge{flex:0 0 auto}
.sgkpaddock__listCta{text-align:center;margin-top:34px}
.sgkpaddock__empty{text-align:center;color:var(--sgk-light-muted);padding:40px 0;font-size:15px}

/* Champ signalé après un envoi refusé (voir l'ancrage dans partner.tpl). */
.sgkpaddock__form .is-invalid{border-color:#a03a12;box-shadow:0 0 0 3px rgba(160,58,18,.12)}

/* ---- Pagination de la page Partenaires ---- */
.sgkpaddock__pager{
  display:flex;align-items:center;justify-content:center;gap:18px;margin:28px 0 0;
  font-family:var(--sgk-font);font-weight:700;font-size:13px
}
.sgkpaddock__pagerLink{color:var(--sgk-link);text-decoration:underline;text-decoration-color:var(--sgk-accent)}
.sgkpaddock__pagerLink:hover{color:var(--sgk-link-hover)}
.sgkpaddock__pagerState{color:var(--sgk-light-muted);font-weight:600}
.sgkpaddock__pagerPages{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.sgkpaddock__pagerPage{
  min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--sgk-light-line);border-radius:10px;text-decoration:none;
  color:var(--sgk-light-ink);background:var(--sgk-light-bg)
}
.sgkpaddock__pagerPage:hover{border-color:var(--sgk-accent)}
.sgkpaddock__pagerPage.is-current{background:var(--sgk-light-surface);border-color:var(--sgk-accent);font-weight:800}

/* ---- Bandeau logos en pied de page ---- */
.sgkpaddock--footer{background:var(--sgk-green);color:var(--sgk-cream);padding:26px 0;font-family:var(--sgk-body)}
.sgkpaddock--footer .sgkpaddock__wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:center}
.sgkpaddock__slider--strip{flex:1 1 320px;min-width:0;padding:0 30px}
.sgkpaddock__slider--strip .sgkpaddock__dots{margin-top:8px}
.sgkpaddock__footerLabel{
  font-family:var(--sgk-font);font-weight:700;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--sgk-muted)
}
.sgkpaddock__strip{
  list-style:none;margin:0;padding:4px 0;display:flex;flex-wrap:wrap;gap:14px;align-items:center
}
/* Bandeau en carrousel (option indépendante de celle du mur) : même piste
   défilable au doigt/à la molette sans script, mêmes flèches réutilisées —
   seul le conteneur change de forme (ligne compacte plutôt que grille).
   Déclarée APRÈS la règle de base : à spécificité égale (une seule classe
   de chaque côté), c'est l'ordre dans la feuille qui tranche — la placer
   avant la laissait silencieusement écrasée par `flex-wrap:wrap` ci-dessus. */
.sgkpaddock__strip--slider{
  flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin
}
.sgkpaddock__strip--slider .sgkpaddock__stripItem{scroll-snap-align:center;flex:0 0 auto}
/* Au-delà d'une dizaine de blasons, mieux vaut défiler que déborder en hauteur. */
@media (max-width:900px){
  .sgkpaddock__strip{
    flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin
  }
  .sgkpaddock__stripItem{scroll-snap-align:center;flex:0 0 auto}
}
.sgkpaddock__stripLink{display:inline-flex;color:inherit;text-decoration:none}
.sgkpaddock__badge--sm{width:calc(var(--sgk-badge,52px) * .92);height:calc(var(--sgk-badge,52px) * .92)}
.sgkpaddock__badge--sm img{width:100%;height:100%;object-fit:contain}

/* ---- Consentement RGPD ---- */
/* La mise en page vit sur le conteneur : le label n'enveloppe plus la case,
   pour que le lien « Politique de confidentialité » ne la bascule pas au clic. */
.sgkpaddock__consent{display:flex;gap:10px;align-items:flex-start;margin:6px 0 14px;font-size:13px;color:var(--sgk-cream)}
.sgkpaddock__consent label{cursor:pointer}
.sgkpaddock__form .sgkpaddock__consent{color:var(--sgk-light-ink)}
.sgkpaddock__consent > span{flex:1 1 auto;min-width:0}
.sgkpaddock__consent input[type=checkbox]{width:16px;height:16px;margin:3px 0 0;flex:0 0 16px}
.sgkpaddock__consent a{color:var(--sgk-accent);text-decoration:underline}
/* Sur fond clair, l'accent réglable ne porte pas de texte : encre foncée, accent au soulignement. */
.sgkpaddock__form .sgkpaddock__consent a{color:var(--sgk-link);text-decoration-color:var(--sgk-accent)}

/* ---- reCAPTCHA ---- */
.sgkpaddock__captcha{margin:6px 0 16px}
.sgkpaddock__captchaText{
  font-family:var(--sgk-body);font-size:13.5px;color:var(--sgk-light-muted);margin:0 0 10px
}

/* ---- Bloc erreurs ---- */
.sgkpaddock__errors{
  max-width:1100px;margin:0 auto 18px;padding:14px 18px;border-radius:12px;
  background:#fdecec;border:1px solid #f5b5b5;color:#8a1c1c;font-size:14px
}
.sgkpaddock__errors ul{margin:0;padding-left:18px}

/* ---- Responsive additionnel ---- */
@media (max-width:900px){
  .sgkpaddock__cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .sgkpaddock__cards{grid-template-columns:1fr}
}


/* ─── Mode sombre (option « suivre le système ») ───────────────────────────────
   Activé par la classe `is-autodark` posée sur la racine par le module : sans
   réglage explicite, on ne présume pas du thème de la boutique. */
@media (prefers-color-scheme: dark){
  .sgkpaddock.is-autodark{
    --sgk-light-bg:#14181a; --sgk-light-surface:#1b2124; --sgk-light-field:#1b2124;
    --sgk-light-ink:#e9eded; --sgk-light-muted:#a9b6b2; --sgk-light-line:#2b3438;
    --sgk-link:#cfe6dd; --sgk-link-hover:#ffffff;
  }
  .sgkpaddock.is-autodark .sgkpaddock__form input,
  .sgkpaddock.is-autodark .sgkpaddock__form textarea,
  .sgkpaddock.is-autodark .sgkpaddock__search,
  .sgkpaddock.is-autodark .sgkpaddock__select{color:var(--sgk-light-ink)}
}

/* ─── Fiche club, filtres et méta ─────────────────────────────────────────────
   Ces blocs vivent sur les pages claires : encre et surfaces viennent des mêmes
   jetons que la page Partenaires. */
.sgkpaddock--club{
  font-family:var(--sgk-body);max-width:1080px;margin:0 auto;padding:8px 0 48px;
  background:var(--sgk-light-bg);color:var(--sgk-light-ink)
}
.sgkpaddock__clubHead{display:flex;gap:24px;align-items:flex-start;margin:0 0 26px}
.sgkpaddock__badge--lg{width:calc(var(--sgk-badge,52px) * 2.2);height:calc(var(--sgk-badge,52px) * 2.2)}
.sgkpaddock__clubIntro{min-width:0;flex:1 1 auto}
.sgkpaddock__clubTitle{
  font-family:var(--sgk-font);font-weight:800;font-size:calc(var(--sgk-fs-title,36px) * .83);line-height:1.1;
  text-transform:uppercase;margin:0 0 10px;color:var(--sgk-light-ink);overflow-wrap:anywhere
}
.sgkpaddock__clubLead{margin:12px 0 0;font-size:16px;color:var(--sgk-light-muted)}
.sgkpaddock__clubActions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}
.sgkpaddock__clubBody{
  margin:0 0 34px;padding:22px;border:1px solid var(--sgk-light-line);
  border-radius:var(--sgk-radius);background:var(--sgk-light-surface);line-height:1.65
}
.sgkpaddock__clubBody p{margin:0 0 12px}

/* Galerie photo : grille responsive, miniatures carrées. Les liens restent de
   vrais <a href> vers l'image d'origine (dégradation sans JS) ; la visionneuse
   ci-dessous les intercepte seulement si le script s'exécute. */
.sgkpaddock__gallery{
  display:grid;grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));gap:10px;margin:0 0 34px
}
.sgkpaddock__galleryItem{
  display:block;border-radius:calc(var(--sgk-radius, 16px) * .5);overflow:hidden;
  border:1px solid var(--sgk-light-line);aspect-ratio:1/1;position:relative
}
.sgkpaddock__galleryItem img{width:100%;height:100%;object-fit:cover;display:block}
.sgkpaddock__galleryItem:focus-visible{outline:3px solid var(--sgk-accent);outline-offset:2px}
/* Légende : visible seulement quand présente (le module n'affiche jamais de
   barre vide), sur un dégradé pour rester lisible sur toute photo. */
.sgkpaddock__galleryCaption{
  position:absolute;left:0;right:0;bottom:0;margin:0;padding:18px 8px 6px;
  font-size:11px;line-height:1.3;color:#fff;text-align:center;
  background:linear-gradient(to top, rgba(14,42,36,.82), rgba(14,42,36,0));
  pointer-events:none
}

/* ─── Visionneuse plein écran (accessible) ──────────────────────────────────
   Montée sur <body>, hors de `.sgkpaddock` : `position:fixed` doit rester
   relatif au viewport même si un ancêtre du thème pose un `transform`, ce
   qu'un conteneur imbriqué ne garantirait pas. Les teintes reprennent donc les
   valeurs PAR DÉFAUT des jetons du module en dur plutôt que `var(--sgk-*)`,
   qui ne serait pas hérité à cet endroit du DOM. N'existe et ne s'affiche que
   si le script l'injecte : sans JS, les vignettes restent de simples liens. */
.sgkpaddock-lightbox{
  position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
  background:rgba(14,42,36,.94);padding:24px;box-sizing:border-box
}
.sgkpaddock-lightbox[hidden]{display:none}
.sgkpaddock-lightbox__figure{margin:0;max-width:min(92vw,1100px);max-height:92vh;display:flex;flex-direction:column;align-items:center}
.sgkpaddock-lightbox__img{max-width:100%;max-height:78vh;object-fit:contain;border-radius:8px;display:block;background:#0a1d18}
.sgkpaddock-lightbox__caption{margin:14px 0 0;color:#f2ede1;font-size:14px;line-height:1.5;text-align:center;max-width:70ch}
.sgkpaddock-lightbox__count{margin:6px 0 0;color:#9db3ab;font-size:12px;letter-spacing:.04em}
.sgkpaddock-lightbox__close,.sgkpaddock-lightbox__nav{
  position:fixed;border:1.5px solid rgba(242,237,225,.35);background:rgba(14,42,36,.65);
  color:#f2ede1;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:border-color .15s,background-color .15s
}
.sgkpaddock-lightbox__close:hover,.sgkpaddock-lightbox__nav:hover,
.sgkpaddock-lightbox__close:focus-visible,.sgkpaddock-lightbox__nav:focus-visible{
  border-color:#e8a33d;background:rgba(22,73,60,.85)
}
.sgkpaddock-lightbox__close:focus-visible,.sgkpaddock-lightbox__nav:focus-visible{outline:3px solid #e8a33d;outline-offset:2px}
.sgkpaddock-lightbox__close{top:20px;right:20px}
.sgkpaddock-lightbox__nav--prev{top:50%;left:20px;transform:translateY(-50%)}
.sgkpaddock-lightbox__nav--next{top:50%;right:20px;transform:translateY(-50%)}
@media (max-width:640px){
  .sgkpaddock-lightbox__nav--prev{left:8px}
  .sgkpaddock-lightbox__nav--next{right:8px}
}

/* Profils sociaux de la fiche club.
   Les pictogrammes suivent l'encre du lien (`currentColor`) : aucune couleur de
   marque n'est codée en dur, la palette du marchand reste maîtresse. Cible de
   40 px de côté : au-dessus du minimum tactile, y compris sur mobile. */
.sgkpaddock__socials{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  margin:16px 0 0;padding:0;list-style:none
}
.sgkpaddock__socialItem{margin:0}
.sgkpaddock__social{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;
  border:1.5px solid var(--sgk-light-line);background:var(--sgk-light-surface);
  color:var(--sgk-light-ink);text-decoration:none;
  transition:border-color .15s ease,color .15s ease,background-color .15s ease
}
.sgkpaddock__social:hover,.sgkpaddock__social:focus-visible{
  border-color:var(--sgk-accent);color:var(--sgk-link-hover);background:var(--sgk-light-bg)
}
.sgkpaddock__socialIcon{display:block;width:20px;height:20px}
/* Le nom du réseau reste dans le document pour les lecteurs d'écran : un lien
   dont le contenu est une image sans texte n'a pas de nom accessible. */
.sgkpaddock__srOnly{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0
}
/* Feuille de pictogrammes : jamais rendue, seulement clonée par <use>. */
.sgkpaddock__sprite{position:absolute;width:0;height:0;overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .sgkpaddock__social,.sgkpaddock-lightbox__close,.sgkpaddock-lightbox__nav{transition:none}
}
.sgkpaddock__clubFoot{
  display:flex;gap:18px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;margin-top:30px;padding-top:22px;border-top:1px solid var(--sgk-light-line)
}
.sgkpaddock--club .sgkpaddock__link{color:var(--sgk-link);text-decoration-color:var(--sgk-accent)}

/* Méta : catégorie, ville, membres, année, niveau */
.sgkpaddock__meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0 0}
.sgkpaddock__chip{
  display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:40px;
  border:1px solid var(--sgk-light-line);background:var(--sgk-light-surface);
  font-family:var(--sgk-font);font-weight:600;font-size:12px;color:var(--sgk-light-ink);
  text-decoration:none
}
.sgkpaddock__tier{
  display:inline-flex;align-items:center;padding:4px 11px;border-radius:40px;
  font-family:var(--sgk-font);font-weight:800;font-size:11px;text-transform:uppercase;
  letter-spacing:.06em;color:#241a05
}
/* Teintes de niveau volontairement fixes : elles portent un sens, et doivent
   rester lisibles quelle que soit la palette du marchand. */
.sgkpaddock__tier--gold{background:#e8c05a}
.sgkpaddock__tier--silver{background:#d6d9dc}
.sgkpaddock__tier--bronze{background:#e0b088}

/* Filtres de la page Partenaires : un champ par bloc, empilables en flex-wrap
   pour ne jamais dépendre du nombre de filtres réellement affichés (catégorie,
   niveau et ville n'apparaissent que si au moins un club les utilise). */
.sgkpaddock__filters{display:flex;flex-wrap:wrap;gap:14px 16px;align-items:flex-end;margin:0 0 22px}
.sgkpaddock__field{display:flex;flex-direction:column;gap:6px;flex:1 1 180px;min-width:0}
.sgkpaddock__field--search{flex:2 1 260px}
.sgkpaddock__field--submit{flex:0 0 auto}
.sgkpaddock__filterLabel{
  font-family:var(--sgk-font);font-weight:700;font-size:13px;color:var(--sgk-light-ink)
}
.sgkpaddock__search,
.sgkpaddock__select{
  min-width:0;min-height:38px;padding:10px 14px;font-family:var(--sgk-body);font-size:14.5px;
  color:var(--sgk-light-ink);background:var(--sgk-light-field);
  border:1.5px solid var(--sgk-light-line);border-radius:12px
}
.sgkpaddock__filterBtn{
  min-height:38px;padding:11px 20px;border:0;border-radius:12px;cursor:pointer;
  font-family:var(--sgk-font);font-weight:700;font-size:13px;
  background:var(--sgk-btn-bg);color:var(--sgk-btn-fg)
}

@media (max-width:700px){
  .sgkpaddock__clubHead{flex-direction:column;gap:16px}
  .sgkpaddock__clubTitle{font-size:24px}
}

/* ─── Écriture de droite à gauche ─────────────────────────────────────────────
   Les blocs sont en flex/grid, donc l'ordre suit déjà `dir`. Restent les
   marges, les flèches et le décalage du carrousel, à refléter explicitement. */
[dir=rtl] .sgkpaddock__nav--prev{left:auto;right:-8px;transform:scaleX(-1)}
[dir=rtl] .sgkpaddock__nav--next{right:auto;left:-8px;transform:scaleX(-1)}
[dir=rtl] .sgkpaddock__link svg,
[dir=rtl] .sgkpaddock__btn svg{transform:scaleX(-1)}
[dir=rtl] .sgkpaddock__grid--slider{direction:rtl}
[dir=rtl] .sgkpaddock__consent{flex-direction:row}
[dir=rtl] .sgkpaddock__pager{flex-direction:row-reverse}
