:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: #e2e2e2;
  --blue: #274289;   /* bleu drapeau FR */
  --red:  #C33533;   /* rouge drapeau FR */
  --fresqueviolet: #6A5EAB;
  --fresqueorange: #F9920C;
  --fresquejaune: #FCDE63;
  --radius-card: 14px;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #ffffff 0%, #fcfcfd 100%);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

/* HEADER / NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(39, 66, 137, 0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 10px;
}

.logo img {
  width: auto;
}

.logo-text {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  line-height: 1.2;
}

/* NAV */

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* burger mobile */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 28px;
  height: 22px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: "";
  top: -8px;
}

.nav-toggle-label span::after {
  content: "";
  top: 8px;
}

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(-90deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  top: 0;
  opacity: 0;
}

@media (max-width: 800px) {
  .main-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #ffffff;
	border-bottom: 1px solid #f0f0f0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease-out;
  }

  .main-nav ul {
	flex-direction: column;
	padding: 0.75rem 1.5rem 1.25rem;
	gap: 0.75rem;
  }

  .nav-toggle-label {
	display: block;
	margin-right: 25px;
  }

  .nav-toggle:checked ~ .main-nav {
	max-height: 240px;
  }
}

/* HERO */

.hero {
  padding: 2.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: block;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 0;
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(164, 0, 0, 0.35);
}

.btn-secondary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(20, 40, 90, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  box-shadow: var(--shadow-soft);
}

.btn-outline2 {
  background: var(--red);
  color: #ffffff;
}

.btn-outline2:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 85, 164, 0.35);
}

.hero-image {
  position: relative;
}

.hero-image-inner {
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hero-flag-bar {
  display: flex;
  height: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hero-flag-bar span:nth-child(1) { flex: 1; background: var(--blue); }
.hero-flag-bar span:nth-child(2) { flex: 1; background: #ffffff; }
.hero-flag-bar span:nth-child(3) { flex: 1; background: var(--red); }

/* QUICK LINKS (4 cartes) */

.quick-links {
  padding: 1.5rem 0 0 0;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 20px;
}

.quick-link-card {
  position: relative;
  background: linear-gradient(to bottom, #ffffff, #fbfcfe);
  padding: 1.35rem 0.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #eef1f5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  transition: all 0.25s ease;
  text-align: center;
  overflow: hidden;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,66,137,0.16);
}

.quick-link-title {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 auto;
}

.quick-link-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  min-height: 50px;
  padding: 0 10px;
  width: 100%;
}

.quick-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-icon img {
  width: 90px;
  height: 90px;
  filter: contrast(1.1);
}

#qui-sommes-nous,
#entrainements,
#boutique,
#inscriptions,
#competitions,
#tournoi-saint-louis,
#tournoi-saint-louis-infos,
#tournoi-saint-louis-acces,
#tournoi-saint-louis-gallerie,
#politique-confidentialite,
#mentions-legales {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.escrime-section-header {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

/* SECTION TITLES */

.section {
  padding: 2.75rem 0;
}

.section-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.section-title {
  position: relative;
  font-size: 1.55rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.02em;
}

.section-subtitle {
  position: relative;
  font-size: 1.55rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.02em;
  padding-left: 1.5rem;
}

/* PRESENTATION */

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.presentation-text p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f5f7fb;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.presentation-photo {
  overflow: hidden;
}

/* HORAIRES PREVIEW */

.schedule-intro {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.schedule-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid #f0f0f0;
  padding: 1.1rem 1rem 1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.87rem;
}

.schedule-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  color: var(--color-muted);
}

.schedule-row span:first-child {
  font-weight: 500;
}

.section-footer-link {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.section-footer-link a {
  color: var(--blue);
  font-weight: 600;
}

/* FOOTER */

/* FOOTER */

.site-footer {
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  padding: 1.5rem 1.5rem 0 1.5rem;
  margin: 15px 0 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* bandeau principal */
.footer-top {
  padding: 2rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.footer-col p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  font-weight: 600;
  color: var(--blue);
}

/* Logos institutionnels */

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
}

.footer-logos img {
  max-height: 75px;
  width: auto;
  filter: grayscale(10%);
}

/* Liens utiles */

.footer-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-links li + li {
  margin-top: 0.35rem;
}

.footer-col-links a {
  color: var(--color-muted);
}

.footer-col-links a:hover {
  color: var(--color-text);
}

/* Bandeau bas avec © + drapeau */

.footer-bottom {
  padding: 0.9rem 0 1.2rem;
}

.footer-bottom-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

/* Responsive footer */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-logos {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
  .hero-inner {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 2rem;
  }

  .quick-links-grid {
	grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .presentation-grid {
	grid-template-columns: minmax(0,1fr);
  }

  .presentation-photo {
	max-width: 420px;
	justify-self: center;
  }

  .schedule-grid {
	grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 800px) {
  .hero-inner {
	grid-template-columns: minmax(0,1fr);
  }

  .hero {
	padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .hero-actions {
	gap: 0.6rem;
  }  
}

@media (max-width: 640px) {
  .header-inner {
	padding: 0.5rem 0;
  }

  .logo img {
	height: 50px;
  }

  .hero h1 {
	font-size: 1.9rem;
  }

 .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    padding: 0 1.5rem;
  }

  .quick-link-card {
    aspect-ratio: 1 / 1;
    padding: 0.9rem 0.6rem;
    align-items: center;
    justify-content: center;
  }

  .quick-icon {
    width: 54px;
    height: 54px;
  }

  .quick-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
  }

  .quick-link-title {
    font-size: 0.9rem;
    line-height: 1.2;
	font-weight: 500;
  }

  .quick-link-text {
    font-size: 0.68rem;
    line-height: 1.35;
    min-height: 0;
    padding: 0;
	display: none;
  }

  .schedule-grid {
	grid-template-columns: minmax(0,1fr);
  }

  .section {
	padding: 2.1rem 0;
  }
}

/* HERO VIDEO */

.hero-video-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Bouton play/pause minimaliste */

.hero-video-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hero-video-toggle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

/* Quand la vidéo est en lecture, on masque le bouton */

.hero-video-wrapper.is-playing .hero-video-toggle {
  opacity: 0;
  pointer-events: none;
}

/* ACTUALITÉS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Carte mise en avant pleine largeur */
.news-card-featured {
  grid-column: 1 / -1;
}

.news-card-featured a {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 360px;
}

.news-card-featured .news-image {
  grid-row: span 3;
}

.news-card-featured .news-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.news-card-featured .news-date {
  align-self: end;
  margin: 1.6rem 1.6rem 0.45rem;
}

.news-card-featured .news-title {
  font-size: 1.75rem;
  line-height: 1.15;
  padding: 0 1.6rem 0.75rem;
}

.news-card-featured .news-excerpt {
  font-size: 1rem;
  padding: 0 1.6rem 1.6rem;
}

.news-featured-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: var(--red);
  color: #fff;
  padding: 0.42rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 800px) {
  .news-card-featured a {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-card-featured .news-image {
    grid-row: auto;
  }

  .news-card-featured .news-image img {
    min-height: 0;
  }

  .news-card-featured .news-title {
    font-size: 1.35rem;
  }
}

.news-card {
  background: #ffffff;
  border: 1px solid #eef1f5;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(39,66,137,0.15);
}

.news-card a {
  display: block;
  height: 100%;
}

.news-image {
  overflow: hidden;
  position: relative;
}

.news-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.06), transparent);
  pointer-events: none;
}

.news-image img {
  width: 100%;
  height: 190px;
  display: block;
  transition: transform 0.4s ease;
}

.news-date {
  display: inline-flex;
  margin: 0.95rem 1rem 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--blue-soft);
  border: 1px solid rgba(39,66,137,0.10);
  padding: 0.28rem 0.55rem;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 0 1rem 0.45rem;
}

.news-excerpt {
  color: var(--color-muted);
  line-height: 1.5;
  padding: 0 1rem 1.2rem;
  font-size: 0.95rem;
}

/* RESPONSIVE */

/* 2 colonnes tablette */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 1 colonne mobile */
@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* base */
.main-nav .menu { display:flex; list-style:none; gap:1.75rem; }
.main-nav .menu-link { display:inline-flex; align-items:center; gap:.5rem; padding-bottom:.2rem; }

.has-submenu { position:relative; }
.submenu-toggle { display:none; }

.submenu {
  list-style:none;
  margin:0;
  padding:0;
}

/* caret (affiché seulement mobile/tablet) */
.submenu-caret{
  display:none;
  cursor:pointer;
  padding:.25rem .35rem;
  line-height:1;
}
.submenu-caret .caret{
  display:inline-block;
  width:10px; height:10px;
  border-right:2px solid var(--color-text);
  border-bottom:2px solid var(--color-text);
  transform:rotate(45deg);
  transition:transform .2s ease;
}

/* DESKTOP: dropdown au survol */
@media (min-width: 801px){
  .has-submenu > .submenu{
    position:absolute;
    top:calc(100% + 0px);
    left:0;
    min-width:240px;
    background:#fff;
    border:1px solid #f0f0f0;
    box-shadow:var(--shadow-soft);
    padding:.5rem;
    display:none;
    z-index:100;
  }

  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu{
    display:block;
  }

  .submenu a{
    display:block;
    padding:.6rem .75rem;
    font-size: 0.95rem;
  }
  .submenu a:hover,
  .submenu a:focus-visible{
    background:#f5f7fb;
    color:var(--blue);
  }

  /* on cache le caret en desktop */
  .submenu-caret{ display:none; }
}

/* MOBILE/TABLET: clic pour déplier */
@media (max-width: 800px){
  /* ton menu burger est en colonne */
  .main-nav .menu{ flex-direction:column; gap:.75rem; }

  /* le parent devient une grille: lien + caret */
  .has-submenu{
    display:grid;
    grid-template-columns: 1fr auto;
    align-items:center;
  }

  .submenu-caret{ 
	display:inline-flex;
	align-items:center;
	justify-content:center;
	transform: translateY(-5px);
}

  /* sous-menu replié par défaut */
  .has-submenu > .submenu{
    grid-column:1 / -1;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    border-left:2px solid #f0f0f0;
    margin-left:.25rem;
    padding-left:.75rem;
  }

  /* ouverture */
  .submenu-toggle:checked + .submenu-caret .caret{
    transform: rotate(225deg);
  }
  .submenu-toggle:checked + .submenu-caret + .submenu{
    max-height: 600px;
  }

  .submenu a{
    display:block;
    padding:.55rem 0;
    font-size:.92rem;
    color:var(--color-muted);
  }
  .submenu a:hover,
  .submenu a:focus-visible{
    color:var(--blue);
  }

  /* augmente la hauteur max du menu burger si besoin */
  .nav-toggle:checked ~ .main-nav { max-height: 600px; }
}
@media (max-width: 800px) {

	.logo {
		margin: 0 auto;
	}

  /* Sous-menu fermé = rien ne dépasse */
  .has-submenu .submenu{
    grid-column: 1 / -1;
    max-height: 0;
    overflow: clip;          /* mieux que hidden si dispo */
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    transition: max-height .25s ease, padding .2s ease;
  }

  /* Ouverture */
  .submenu-toggle:checked + .submenu-caret + .submenu{
    max-height: 600px;       /* assez grand */
    padding: .4rem 0 .2rem .75rem !important;
    margin-top: .35rem !important;
    border-left: 2px solid #f0f0f0 !important;
  }

  /* Optionnel : évite les micro “espaces” visuels */
  .submenu a{
    display: block;
    padding: .55rem 0;
    line-height: 1.2;
  }
}


/* BOUTIQUE */
.shop-list{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:.5rem;
}

.shop-item{
  display:grid;
  grid-template-columns: 270px 1fr;
  background:#fff;
  border:1px solid #f0f0f0;
  overflow:hidden;
  margin: 20px 0;
}

.shop-media{
  display:block;
  background:#fafafa;
  border-right:1px solid #f3f3f3;
}

.shop-media img{
  width:auto;
  min-height:300px;
  object-fit:cover;
}

.shop-body{
  padding:1rem 1rem 1.05rem;
  display:flex;
  flex-direction:column;
  gap:.45rem;
}

.shop-title{
  font-size:1.05rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  line-height:1.15;
}

.shop-meta{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
}

.shop-price{
  font-weight:700;
  color:var(--blue);
  font-size:1rem;
}

.shop-badge{
  font-size:.72rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  padding:.2rem .55rem;
  border-radius:999px;
  background:#f5f7fb;
  color:var(--blue);
  border:1px solid #e9edf8;
}

.shop-badge.is-red{
  background: rgba(195,53,51,0.08);
  color: var(--red);
  border-color: rgba(195,53,51,0.18);
}

.shop-desc{
  color:var(--color-muted);
  font-size: 0.95rem;
  max-width: 90ch;
}

.shop-actions{
  display:flex;
  gap:.6rem;
  margin-top:.35rem;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 1024px){
  .shop-item{ grid-template-columns: 200px 1fr; }
}

@media (max-width: 800px){
  .shop-item{
    grid-template-columns: 1fr;
  }
  .shop-media{
    border-right:0;
    border-bottom:1px solid #f3f3f3;
  }
}

/* Boutique 2 */

.shop-order { display: block; }

.shop-checkout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.shop-checkout-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.shop-checkout-lead {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 90ch;
}

.shop-checkout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: end;
  margin-bottom: 1rem;
}

/* tes champs existent déjà, mais au cas où */
.shop-field input,
.shop-field select {
  width: 100%;
  border: 1px solid rgb(0 0 0 / 25%);
  border-radius: 3px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}

.shop-field input:focus,
.shop-field select:focus {
  outline: none;
  border-color: rgba(39, 66, 137, 0.55);
  box-shadow: 0 0 0 4px rgba(39, 66, 137, 0.12);
}

.shop-submit {
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .shop-checkout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.wpcf7-submit {
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 100%;
  text-transform: uppercase;
  background-color: #066aab;
  color: #FFFFFF;
  width: 100%;
  padding: 15px;
  border: 0px;
  cursor: pointer;
border-radius: 3px;
}

.wpcf7-submit:hover {
  background-color: #055589;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open { display: block; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.lightbox-dialog {
  position: relative;
  width: min(980px, calc(100% - 2rem));
  margin: 5vh auto;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.lightbox-figure {
  margin: 0;
  overflow: hidden;
  background: #f5f5f7;
}

.lightbox-main {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
}

.lightbox-thumbs {
  margin-top: .75rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}

.lightbox-thumb {
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox-thumb img {
  display: block;
  height: 100px;
  width: auto;
}

@media (max-width: 640px) {
  .lightbox-dialog {
    width: calc(100% - 1rem);
    margin: 3vh auto;
    padding: .75rem;
  }
  .lightbox-thumb img { height: 100px; }
}

/* --- Sélecteur de taille boutique --- */

.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 0.75rem;
}

.shop-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}

.shop-field-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.shop-field select {
  padding: 0.45rem 0.55rem;
  border-radius: 3px;
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  background: #fff;
}

/* Mobile : tout en colonne */
@media (max-width: 640px) {
  .shop-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-field {
    width: 100%;
  }
}

/* ====== ARTICLE TEMPLATE ====== */

.article-hero {
  position: relative;
  min-height: clamp(320px, 47vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

@media (max-width: 768px) {
  .article-hero {
    min-height: clamp(220px, 31vh, 320px);
  }
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.18) 100%
  );
}

.article-hero-inner {
  position: relative;
  padding: 2.5rem 1.5rem 2.2rem;
  color: #fff;
}

.article-hero-content {
  max-width: 900px;
}

.article-meta {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  margin-bottom: .75rem;
  font-size: .85rem;
  opacity: .95;
}

.article-date {
  padding: .2rem .55rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.article-tag {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(39,66,137,0.65);
  border: 1px solid rgba(255,255,255,0.18);
}

.article-title {
  margin: 0 0 .7rem;
  line-height: 1.08;
  font-size: clamp(1.5rem, 3vw + 1rem, 3rem);
}

.article-subtitle {
  margin: 0;
  max-width: 60ch;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.article-flag-bar {
  position: relative;
  display: flex;
  height: 6px;
}
.article-flag-bar span:nth-child(1) { flex: 1; background: var(--blue); }
.article-flag-bar span:nth-child(2) { flex: 1; background: #ffffff; }
.article-flag-bar span:nth-child(3) { flex: 1; background: var(--red); }

.article-body { padding-top: 2.2rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.article-content {
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.article-content h2 {
  margin: 1.4rem 0 .6rem;
  font-size: 1.2rem;
}

.article-content p,
.article-content li {
  color: var(--color-muted);
  font-size: .95rem;
}

.article-content ul {
  padding-left: 1.2rem;
  margin: .5rem 0 1rem;
}

.article-quote {
  margin: 1.2rem 0;
  padding: 1rem 1rem;
  border-left: 4px solid var(--blue);
  background: #f5f7fb;
  border-radius: 12px;
  color: #222;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .75rem;
}

.article-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 155px;
}

.article-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1rem;
}

.article-card h3 {
  margin: 0 0 .7rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.article-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  font-size: .92rem;
  color: var(--color-muted);
}

.article-kv span:nth-child(odd) {
  color: #222;
  font-weight: 600;
}

.article-related {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-related li + li { margin-top: .55rem; }

.article-related a {
  color: var(--blue);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-hero-inner { padding: 0 1.2rem; }
  .article-content { padding: 1.25rem 1.1rem; border: none; box-shadow: none;}
  .article-gallery { grid-template-columns: minmax(0, 1fr); }
  .article-gallery img { height: 180px; }
}

/* ===== QUI SOMMES-NOUS ===== */

.about-intro{
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

.about-intro-text p{
  color: var(--color-muted);
  margin-bottom: .75rem;
  font-size: .95rem;
}

.about-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:.75rem;
}

.about-intro-card{
  background:#fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.about-card-title{
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .75rem;
}

.about-facts{
  list-style:none;
  padding:0;
  margin:0 0 1rem 0;
  display:grid;
  gap:.45rem;
  color: var(--color-muted);
  font-size:.92rem;
}

.about-facts strong{ color: var(--color-text); }

/* Comité */
.team-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: .75rem;
}

.team-card{
  background:#fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  display:flex;
  flex-direction: column;
}

.team-photo{
  aspect-ratio: 4 / 3;
  background:#f5f5f7;
  overflow:hidden;
}

.team-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.team-body{
  padding: 1rem 1rem 1.1rem;
}

.team-role{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}

.team-name{
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.team-bio{
  color: var(--color-muted);
  font-size: .95rem;
}

/* Maître d’armes */
.coach-card{
  margin-top: .75rem;
  background:#fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  display:grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.coach-photo{
  background:#f5f5f7;
  min-height: 260px;
}

.coach-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.coach-body{
  padding: 1.25rem 1.25rem 1.35rem;
}

.coach-role{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .35rem;
}

.coach-name{
  font-size: 1.35rem;
  margin-bottom: .65rem;
}

.coach-bio{
  color: var(--color-muted);
  font-size: .95rem;
  margin-bottom: .75rem;
}

.coach-points {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.coach-point {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.coach-point strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #111;
}

.coach-point ul {
  margin: 0.3rem 0 0 1.1rem;
  padding: 0;
}

.coach-point li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}


/* Responsive */
@media (max-width: 1024px){
  .about-intro{
    grid-template-columns: 1fr;
  }
  .team-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .coach-card{
    grid-template-columns: 1fr;
  }
  .coach-photo{
    min-height: 240px;
  }
}

@media (max-width: 640px){
  .team-grid{
    grid-template-columns: 1fr;
  }
  .coach-body{
    padding: 1rem;
  }
}

/* ===== Inscriptions ===== */

.info-banner{
  background:#f5f7fb;
  border:1px solid #e8edf7;
  border-left:4px solid var(--blue);
  padding:0.9rem 1rem;
  margin: 0.75rem 0 1.5rem;
  color: var(--color-text);
}

.info-banner--accent{
  border-left-color: var(--red);
}

.inscriptions-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card{
  background:#fff;
  border:1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1rem 1rem;
}

.info-card-title{
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.info-card-lead{
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.kv{
  margin:0;
}

.kv-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid #f3f3f3;
}

.kv-row:first-child{
  border-top: 0;
}

.kv dt{
  font-weight: 700;
  color: var(--color-text);
}

.kv dd{
  margin: 0;
  color: var(--color-muted);
}

.link-strong{
  color: var(--blue);
  font-weight: 700;
}

.subsection{
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.subsection-title{
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.muted{ color: var(--color-muted); }
.tiny{ font-size: 0.82rem; }

.cta-row{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-top: 0.9rem;
}

.checklist{
  margin: 0.9rem 0 1.1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.checklist-item{
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 0.5rem;
  margin: 10px 0;
  background: #ffffff;
  border: 1px solid #f2f2f2;
}

/* Responsive */
@media (max-width: 1024px){
  .inscriptions-grid{
    grid-template-columns: 1fr;
  }
  .checklist{
    grid-template-columns: 1fr;
  }
  .kv-row{
    grid-template-columns: 95px 1fr;
  }
}

/* ===== PAGE ENTRAINEMENTS ===== */

.page-lead{
  max-width: 58rem;
  margin: .75rem 0 1.75rem;
  color: var(--color-muted);
}

.trainings-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.training-card{
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1rem;
}

.training-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: .75rem;
}

.training-day{
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.training-badges{
  display: inline-flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.training-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: #f5f7fb;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  border: 1px solid rgba(39,66,137,.15);
}

.training-badge.badge-red{
  background: rgba(195,53,51,.08);
  color: var(--red);
  border-color: rgba(195,53,51,.18);
}

.training-rows{
  display: grid;
  gap: .55rem;
}

.training-row{
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: .55rem .6rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.training-time{
  font-weight: 700;
  color: #111;
  font-size: .92rem;
  white-space: nowrap;
}

.training-label{
  color: var(--color-muted);
  font-size: .93rem;
}

.training-sep{
  color: #111;
  font-weight: 700;
}

.training-infos{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card{
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1rem;
}

.info-card h3{
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .6rem;
}

.info-card ul{
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.info-card p{
  color: var(--color-muted);
}

.info-card .muted{
  color: #777;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px){
  .trainings-grid{ grid-template-columns: 1fr; }
  .training-infos{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .training-row{
    grid-template-columns: 1fr;
    gap: .25rem;
  }
  .training-time{
    font-size: .95rem;
  }
}

/* Map Entraînements */

.map-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  box-shadow: var(--shadow-soft);
}

.map-info {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.map-info h3 {
  margin-bottom: 0.75rem;
}

.map-satellite {
  position: relative;
  display: block;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 1.5rem;
}

.map-satellite img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.map-satellite:hover img {
  transform: scale(1.3);
}

.map-satellite-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0f0f0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-actions {
  margin-top: 1.25rem;
}

/* LOCALISATION */

.contact-location {
  padding: 1.5rem;
}

.contact-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.contact-address {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.map-embed {
  width: 100%;
  height: 350px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0f0f0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 240px;
  }
}

/* PDF */

.pdf {
	width: 10%;
}

/* Compétitions */

/* --- COMPÉTITIONS (table) --- */

.table-wrap{
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  overflow: auto; /* scroll horizontal si besoin */
}

.comp-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px; /* aide en desktop/tablette */
}

.comp-table thead th{
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid #f0f0f0;
  padding: 0.95rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1;
}

.comp-table tbody td{
  padding: 1rem;
  border-bottom: 1px solid #f3f3f3;
  font-size: 0.95rem;
  text-align: center;
}

.comp-sub{
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.th-actions, .td-actions{
  white-space: nowrap;
  text-align: center;
}

.btn.btn-sm{
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.comp-note{
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px dashed #e6e6e6;
  border-radius: var(--radius-card);
  color: var(--color-muted);
  background: #fff;
}

/* --- Mobile : tableau -> cartes --- */
@media (max-width: 800px){
  .table-wrap{
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .comp-table{
    min-width: 0;
    border-spacing: 0;
    border-collapse: collapse;
  }

  .comp-table thead{
    display: none;
  }

  .comp-table,
  .comp-table tbody,
  .comp-table tr,
  .comp-table td{
    display: block;
    width: 100%;
  }

  .comp-table tr{
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-soft);
    padding: 0.9rem 0.9rem 0.7rem;
    margin-bottom: 0.9rem;
  }

  .comp-table tbody td{
    border: 0;
    padding: 0.35rem 0;
  }

  .comp-table tbody td::before{
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
  }

  .td-actions{
    text-align: left;
    margin-top: 0.55rem;
  }

  .td-actions .btn{
    width: 100%;
    justify-content: center;
  }
}

/* ===== Compétitions passées ===== */

/* Desktop */
.comp-table tr.competition-passee td {
  background: #e7e7e7;
  color: #4f4f4f;
}

.comp-table tr.competition-passee td strong {
  color: #363636;
}

.comp-table tr.competition-passee .text-muted {
  color: #666;
}

.comp-table tr.competition-passee .btn-primary {
  background: #6b7280;
  color: #fff;
  box-shadow: none;
}

.comp-table tr.competition-passee .btn-primary:hover {
  transform: none;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 800px) {
  .comp-table tr {
    padding: 1.05rem 1rem 0.9rem;
  }

  .comp-table tbody td {
    padding: 0.45rem 0;
  }

  .td-actions {
    margin-top: 0.8rem;
  }

  .comp-table tr.competition-passee {
    background: #e7e7e7;
    color: #4f4f4f;
    border: 1px solid #d6d6d6;
    box-shadow: none;
  }

  .comp-table tr.competition-passee td {
    background: transparent;
    color: inherit;
  }

  .comp-table tr.competition-passee td::before {
    color: #727272;
    font-weight: 700;
  }

  .comp-table tr.competition-passee td strong {
    color: #363636;
  }

  .comp-table tr.competition-passee .text-muted {
    color: #666;
  }

  .comp-table tr.competition-passee .btn-primary {
    background: #6b7280;
    color: #fff;
    box-shadow: none;
  }

  .comp-table tr.competition-passee .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

.comp-table tr.competition-passee td.td-actions {
  background: #e7e7e7;
}

/* Tournoi de Saint-Louis */

/* ===== Tournoi des 3 Frontières ===== */

.t3f-hero{
  padding: 2.25rem 0 1.25rem;
}

.t3f-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.t3f-kicker{
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
}

.t3f-title{
  font-size: clamp(2rem, 3vw + 1rem, 2.9rem);
  line-height: 1.1;
  margin: 0 0 .8rem;
}

.t3f-lead{
  color: var(--color-muted);
  max-width: 44rem;
  margin-bottom: 1.25rem;
  font-size:0.95rem;
  line-height: 1.75;
}

.t3f-cta{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}

.t3f-badges{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.t3f-badge{
  font-size: .72rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: #f5f7fb;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

/* Collage photos */
.t3f-collage{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: .75rem;
}

.t3f-photo{
  overflow: hidden;
}

.t3f-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t3f-photo:nth-child(1){
  grid-row: span 2;
  grid-auto-rows: 150px;
  min-height: 315px;
}

/* Infos grid */

@media (max-width: 640px){

	.t3f-hero-media {
		display: none;
	}
}

.t3f-info-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.t3f-card{
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.t3f-card-title{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-muted);
  margin-bottom: .4rem;
}

.t3f-card-value{
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.t3f-card-cta .t3f-card-actions{
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .85rem;
  text-align: center;
}

/* Galerie */
.t3f-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.t3f-gallery-item{
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.t3f-gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.t3f-gallery-item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.t3f-note{
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px){
  .t3f-hero-inner{ grid-template-columns: 1fr; }
  .t3f-photo:nth-child(1){ min-height: 280px; }
  .t3f-info-grid{ grid-template-columns: 1fr; }
  .t3f-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .t3f-collage{ grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .t3f-photo:nth-child(1){ grid-row: auto; min-height: 220px; }
  .t3f-gallery{ grid-template-columns: 1fr; }
  .t3f-gallery-item img{ height: 210px; }
}

/* Politique de confidentialité */

.legal-content {
  max-width: 800px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--color-text);
}

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.legal-content li {
  margin-bottom: 0.3rem;
}

/* Réseaux Sociaux */

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Emoji */

.emoji {
	margin-right:10px !important;
}

/* ===== GALERIE ARTICLES ===== */

.escrime-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0 0;
  align-items: center;
}

.escrime-gallery.columns-1 { grid-template-columns: 1fr; }
.escrime-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.escrime-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.escrime-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.escrime-gallery.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.escrime-gallery.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.escrime-gallery-item {
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.escrime-gallery-item img {
  width: 100%;
  display: block;
}

/* LIGHTBOX */

body.lightbox-open {
  overflow: hidden;
}

.escrime-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.escrime-lightbox.is-open {
  display: block;
}

.escrime-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}

.escrime-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  height: calc(100vh - 4rem);
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.escrime-lightbox-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.escrime-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  background: #fff;
}

.escrime-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.escrime-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.escrime-lightbox-nav.prev {
  left: 0.5rem;
}

.escrime-lightbox-nav.next {
  right: 0.5rem;
}

.article-image-top {
	margin: 0 0 2rem;
}

.article-image-top a {
	display: block;
	cursor: zoom-in;
}

.article-image-top img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {
  .escrime-gallery.columns-3,
  .escrime-gallery.columns-4,
  .escrime-gallery.columns-5,
  .escrime-gallery.columns-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .escrime-gallery,
  .escrime-gallery.columns-2,
  .escrime-gallery.columns-3,
  .escrime-gallery.columns-4,
  .escrime-gallery.columns-5,
  .escrime-gallery.columns-6 {
    grid-template-columns: 1fr;
  }

  .escrime-lightbox-dialog {
    width: calc(100% - 1rem);
    height: calc(100vh - 1rem);
    margin: 0.5rem auto;
  }

  .escrime-lightbox-nav.prev {
    left: 0.25rem;
  }

  .escrime-lightbox-nav.next {
    right: 0.25rem;
  }

  .escrime-lightbox-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

/* Une seule image : pas de crop */
.escrime-gallery.columns-1 .escrime-gallery-item {
  display: block;
}

.escrime-gallery.columns-1 .escrime-gallery-item img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  cursor: zoom-in;
}

/* ===== PARTAGE SIDEBAR ===== */

.article-card-share .article-share {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-card-share .article-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: rgba(39,66,137,0.2);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.share-facebook { color: #1877f2; }
.share-linkedin { color: #0a66c2; }
.share-x { color: #111111; }
.share-whatsapp { color: #1fa855; }

/* Desktop/tablette */
.article-card-share .share-btn {
  width: 100%;
  justify-content: center;
}

/* Mobile : icônes seules */
@media (max-width: 640px) {
  .article-card-share .article-share-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .article-card-share .share-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    box-shadow: none;
  }

  .article-card-share .share-btn-text {
    display: none;
  }

  .article-card-share .share-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .article-card-share .share-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   PAGE ESCRIME
========================================================= */

.escrime-hero {
  padding: 3.2rem 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(39,66,137,0.07), transparent 38%),
    radial-gradient(circle at right center, rgba(195,53,51,0.06), transparent 34%),
    linear-gradient(to bottom, #ffffff 0%, #fbfcfe 100%);
}

.escrime-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
}

.escrime-kicker {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.escrime-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.escrime-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 62ch;
}

.escrime-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.escrime-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(39,66,137,0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.escrime-hero-side {
  display: flex;
}

.escrime-hero-card {
  width: 100%;
  border: 1px solid #eaf0fb;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.07);
  align-self: stretch;
}

.escrime-hero-card-label {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}

.escrime-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.escrime-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 0.95rem 0.9rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e6edf8;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.escrime-summary-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  line-height: 1.2;
}

.escrime-summary-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-muted);
}

/* Intro section */

.escrime-intro-section {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.escrime-section-header .section-title {
  margin-bottom: 0.6rem;
}

.escrime-section-header .section-subtitle {
  color: var(--color-muted);
  line-height: 1.7;
}

.escrime-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.escrime-benefit-card {
  background: #ffffff;
  border: 1px solid #edf1f6;
  padding: 1.2rem 1.05rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.escrime-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.08);
  border-color: rgba(39,66,137,0.16);
}

.escrime-benefit-icon {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.escrime-benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.escrime-benefit-card p {
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Weapons */

.escrime-weapons-section {
  padding-top: 1rem;
}

.escrime-weapons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.6rem;
  align-items: stretch;
}

.escrime-weapon-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #edf1f6;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.escrime-weapon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.09);
  border-color: rgba(39,66,137,0.18);
}

.escrime-weapon-head {
  padding: 1.25rem 1.25rem 0.9rem;
  border-bottom: 1px solid #f3f5f8;
}

.escrime-weapon-title {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0.8rem 0 0.55rem;
}

.escrime-weapon-lead {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.escrime-weapon-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.escrime-weapon-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.escrime-weapon-list li {
  color: var(--color-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.escrime-weapon-highlight {
  margin-top: auto;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f7f9fc;
  border: 1px solid #e8eef7;
  color: #222;
  line-height: 1.6;
  font-size: 0.93rem;
}

.escrime-weapon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(39,66,137,0.08);
  border: 1px solid rgba(39,66,137,0.14);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.escrime-weapon-badge--neutral {
  background: #f2f3f5;
  border-color: #e2e4e8;
  color: #4b5563;
}

.escrime-weapon-badge--accent {
  background: rgba(195,53,51,0.08);
  border-color: rgba(195,53,51,0.14);
  color: var(--red);
}

.escrime-weapon-card--fleuret .escrime-weapon-head {
  background: linear-gradient(to bottom, rgba(39,66,137,0.03), transparent);
}

.escrime-weapon-card--epee .escrime-weapon-head {
  background: linear-gradient(to bottom, rgba(0,0,0,0.025), transparent);
}

.escrime-weapon-card--sabre .escrime-weapon-head {
  background: linear-gradient(to bottom, rgba(195,53,51,0.04), transparent);
}

/* CTA */

.escrime-cta-section {
  padding-top: 0.5rem;
}

.escrime-cta-box {
  background:
    linear-gradient(135deg, rgba(39,66,137,0.98), rgba(29,49,103,0.96));
  color: #ffffff;
  padding: 1.6rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 22px 50px rgba(39,66,137,0.22);
}

.escrime-cta-box .section-eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.35rem;
}

.escrime-cta-box h2 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.escrime-cta-box p {
  color: rgba(255,255,255,0.88);
  max-width: 58ch;
}

.escrime-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.escrime-cta-actions .btn-primary {
  background: #ffffff;
  color: var(--blue);
}

.escrime-cta-actions .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(255,255,255,0.2);
}

.escrime-cta-actions .btn-secondary {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  box-shadow: none;
}

.escrime-cta-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .escrime-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .escrime-weapons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .escrime-hero-inner {
    grid-template-columns: 1fr;
  }

  .escrime-title {
    max-width: 14ch;
  }

  .escrime-cta-box {
    grid-template-columns: 1fr;
  }

  .escrime-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .escrime-hero {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .escrime-title {
    font-size: 2rem;
    max-width: none;
  }

  .escrime-lead {
    font-size: 0.96rem;
  }

  .escrime-benefits-grid {
    grid-template-columns: 1fr;
  }

  .escrime-weapon-head,
  .escrime-weapon-body,
  .escrime-hero-card,
  .escrime-cta-box {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .escrime-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .escrime-cta-actions .btn {
    width: 100%;
    text-align: center;
  }
 
   .footer-logos {
    display: flex;
    flex-wrap: nowrap; /* on reste sur une ligne */
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-logos a {
    flex: 1 1 0; /* chaque logo prend une part égale */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-logos img {
    max-height: 32px; /* clé principale */
    width: auto;
    max-width: 100%;
  }

  /* Ajustement spécifique logos horizontaux */
  .footer-logos a:nth-child(3) img {
    max-height: 24px;
  }
 
}

/* Pagination actualités */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination .navigation {
  width: 100%;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--color-border);
  border-radius: 999px;

  background: #fff;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pagination .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  cursor: default;
  box-shadow: 0 8px 20px rgba(39, 66, 137, 0.22);
}

.pagination .page-numbers.current:hover {
  transform: none;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  padding: 0 18px;
  gap: 0.4rem;
}

.pagination .page-numbers.next::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.pagination .page-numbers.prev::before {
  content: "←";
  font-size: 1rem;
  line-height: 1;
}

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .pagination {
    margin-top: 2.2rem;
  }

  .pagination .nav-links {
    gap: 0.45rem;
  }

  .pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  .pagination .page-numbers.next,
  .pagination .page-numbers.prev {
    width: 100%;
    max-width: 220px;
    margin-top: 0.35rem;
  }
}

/* Facebook dans la navigation */

.menu-social {
	display: flex;
	align-items: center;
}

.menu-social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding-bottom: 0;
}

.menu-social-link img {
	width: 18px;
	height: 18px;
	opacity: 0.75;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-social-link:hover img {
	opacity: 1;
	transform: translateY(-1px);
}

/* Desktop */
@media (min-width: 801px) {
	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
	}

	.main-nav {
		flex: 1;
		display: flex;
		justify-content: flex-end;
	}

	.main-nav .menu {
		display: flex;
		align-items: center;
		width: auto;
		gap: 1.75rem;
	}

	.menu-social {
		margin-left: 5rem;
	}

	.menu-social-text {
		display: none;
	}
}

/* Mobile */
@media (max-width: 800px) {
	.menu-social {
		padding-top: 0.4rem;
	}

	.menu-social-link {
		font-size: 0.95rem;
		font-weight: 500;
	}

	.menu-social-text {
		display: inline;
	}
}

/* ===== Popup Tournoi Saint-Louis 2026 ===== */

body.tournoi-popup-open {
  overflow: hidden;
}

.tournoi-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tournoi-popup.is-visible {
  display: flex;
}

.tournoi-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.tournoi-popup__box {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 2.5rem);
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

.tournoi-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.tournoi-popup__image-link {
  display: block;
  background: #f5f5f5;
}

.tournoi-popup__image-link img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 2.5rem);
  object-fit: contain;
}

.tournoi-popup__content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.tournoi-popup__eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.tournoi-popup__content h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  margin: 0;
}

.tournoi-popup__cta {
  display: inline-flex;
  justify-content: center;
  margin-top: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 760px) {
  .tournoi-popup {
    padding: 0.8rem;
  }

  .tournoi-popup__box {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
    max-height: calc(100vh - 1.6rem);
    overflow-y: auto;
  }

  .tournoi-popup__image-link img {
    max-height: 68vh;
  }

  .tournoi-popup__content {
    padding: 1rem;
    text-align: center;
  }

  .tournoi-popup__close {
    width: 38px;
    height: 38px;
    font-size: 1.8rem;
  }
}