/* ==========================================================================
   TC Rhônelle — thème WordPress
   Concept : le court comme scène. Vert profond des courts couverts, or de la balle du logo,
   lime réservée au tournoi. Archivo étendu pour l'énergie, Bodoni italique pour l'élégance
   du logotype, DM Mono pour les étiquettes de match.
   ========================================================================== */
:root {
	--court: #10261E;
	--court-2: #17352A;
	--court-3: #23493A;
	--gold: #D1BE45;
	--gold-2: #E3D47A;
	--gold-ink: #6E6214;
	--lime: #D7F25A;
	--navy: #0F1836;
	--ink: #121417;
	--ink-2: #4A5057;
	--paper: #F4F5F0;
	--paper-2: #E9EBE3;
	--line: #D7DBD1;
	--chalk: #F1F3EC;
	--chalk-2: rgba(241, 243, 236, .72);
	--chalk-line: rgba(241, 243, 236, .14);

	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Bodoni", "Didot", "Bodoni 72", Georgia, serif;
	--mono: "DM Mono", ui-monospace, Menlo, monospace;

	--wrap: 1240px;
	--gutter: max(20px, env(safe-area-inset-left, 0px));
	--gutter-r: max(20px, env(safe-area-inset-right, 0px));
	--r: 18px;
	--r-sm: 10px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: 17px; line-height: 1.6; font-stretch: 100%;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 820px; }

/* ---------- Typo ---------- */
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.h2 { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.025em; line-height: 1; }
.h2 em, .page-title em, .hero-title em, .footer-big em { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; letter-spacing: -.01em; }
.h3 { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; line-height: 1.55; }
.small { font-size: .85rem; color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: .92rem; }

/* ---------- Boutons ---------- */
.btn {
	--bg: var(--ink); --fg: #fff; --bd: var(--ink);
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg); text-decoration: none;
	font-weight: 700; font-size: .98rem; font-stretch: 105%; line-height: 1; white-space: nowrap;
	overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn-gold:hover { color: var(--gold); }
.btn-lime { --bg: var(--lime); --fg: var(--navy); --bd: var(--lime); }
.btn-lime:hover { color: var(--lime); }
.btn-line { --bg: transparent; --fg: var(--chalk); --bd: rgba(241, 243, 236, .5); color: var(--chalk); }
.btn-line:hover { color: var(--ink); border-color: var(--chalk); }
.btn-line::before { background: var(--chalk); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--court); }
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; height: var(--header-h); color: var(--chalk); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.admin-bar .site-header { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 190px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .3s; }
.brand .brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid { background: rgba(244, 245, 240, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); --header-h: 70px; }
.site-header.is-solid .brand-light { opacity: 0; }
.site-header.is-solid .brand-dark { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; position: relative; }
.main-nav .menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav .menu a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_parent > a::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: inline-flex; }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid currentColor; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.menu-toggle-lines { width: 18px; height: 10px; position: relative; }
.menu-toggle-lines i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle-lines i:first-child { top: 0; }
.menu-toggle-lines i:last-child { top: 8px; }
.menu-open .menu-toggle-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines i:last-child { top: 4px; transform: rotate(-45deg); }

@media (min-width: 1101px) { .header-cta { display: none; } .main-nav .nav-extra { display: block; } .main-nav .nav-extra .nav-contact { display: none; } }
@media (max-width: 1100px) {
	.menu-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 0; z-index: -1; background: var(--court); color: var(--chalk);
		flex-direction: column; align-items: stretch; justify-content: center; gap: 36px;
		padding: calc(var(--header-h) + 20px) var(--gutter-r) 40px var(--gutter);
		clip-path: circle(0 at calc(100% - 60px) 40px); transition: clip-path .7s var(--ease); visibility: hidden;
	}
	.menu-open .main-nav { clip-path: circle(150% at calc(100% - 60px) 40px); visibility: visible; }
	.menu-open .site-header { color: var(--chalk); background: transparent; box-shadow: none; backdrop-filter: none; }
	.menu-open .site-header .brand-light { opacity: 1; }
	.menu-open .site-header .brand-dark { opacity: 0; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { font-size: clamp(2rem, 8vw, 3rem); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; padding: 6px 0; border-radius: 0; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
	.main-nav .menu a::after { left: 0; right: auto; width: 60px; bottom: 6px; }
	.menu-open .main-nav .menu a { opacity: 1; transform: none; }
	.menu-open .main-nav .menu li:nth-child(2) a { transition-delay: .05s; }
	.menu-open .main-nav .menu li:nth-child(3) a { transition-delay: .1s; }
	.menu-open .main-nav .menu li:nth-child(4) a { transition-delay: .15s; }
	.menu-open .main-nav .menu li:nth-child(5) a { transition-delay: .2s; }
	.menu-open .main-nav .menu li:nth-child(6) a { transition-delay: .25s; }
	.menu-open .main-nav .menu li:nth-child(7) a { transition-delay: .3s; }
	.nav-extra { display: grid; gap: 20px; justify-items: start; }
	.nav-contact { font-family: var(--mono); font-size: .9rem; color: var(--chalk-2); line-height: 1.9; }
	.nav-contact a { text-decoration: none; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand { width: 150px; } .header-cta { display: none; } }

/* ---------- Hero accueil ---------- */
.hero { position: relative; background: var(--court); color: var(--chalk); overflow: hidden; padding: calc(var(--header-h) + 48px) 0 96px; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(209, 190, 69, .22), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(241,243,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(241,243,236,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero .eyebrow, .dark-section .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.hero-title { font-family: var(--sans); font-weight: 900; font-stretch: 125%; font-size: clamp(3.4rem, 10.5vw, 9.2rem); line-height: .86; letter-spacing: -.045em; text-transform: uppercase; }
.hero-title .hero-line { display: block; }
.hero-title em { text-transform: none; color: var(--gold); font-size: .92em; letter-spacing: -.03em; }
.hero .lede { color: var(--chalk-2); }
.hero-visual { position: relative; min-width: 0; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid var(--chalk-line); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; max-width: 420px; margin: -10px auto -40px; width: 100%; }
	.hero { padding-bottom: 80px; }
}

/* Entrée du hero */
.js .hero-in { opacity: 0; transform: translateY(28px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * .1s + .15s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Court 3D ---------- */
.court-stage { position: relative; aspect-ratio: 1 / 1.05; perspective: 1400px; }
.court-plane { position: absolute; inset: 4% 18%; transform: rotateX(56deg) rotateZ(-24deg); transform-style: preserve-3d; }
.court-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .35)); }
.court-surface { fill: var(--court-3); }
.court-lines path { fill: none; stroke: var(--chalk); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .court-lines path { stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.js .court-lines path:nth-child(2) { animation-delay: .25s; }
.js .court-lines path:nth-child(3) { animation-delay: .35s; }
.js .court-lines path:nth-child(4), .js .court-lines path:nth-child(5) { animation-delay: .55s; }
.js .court-lines path:nth-child(6), .js .court-lines path:nth-child(7) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.court-net { stroke: var(--chalk); stroke-width: 1.8; opacity: .9; }
.ball { position: absolute; width: 11%; aspect-ratio: 1; left: 58%; top: 40%; animation: bounce 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.ball svg { width: 100%; height: 100%; animation: spin 2.8s linear infinite; }
.ball-shadow { position: absolute; left: 64%; top: 62%; width: 10%; height: 5%; border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(4px); animation: shadow 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes bounce {
	0% { transform: translate(-260%, -150%); }
	45% { transform: translate(0, 120%) scale(1.06, .9); }
	50% { transform: translate(20%, 118%) scale(1); }
	100% { transform: translate(240%, -170%); }
}
@keyframes shadow { 0%, 100% { opacity: .1; transform: scale(.4); } 47% { opacity: .9; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(0,0,0,.08); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-row { display: flex; align-items: center; gap: 28px; padding: 16px 14px; white-space: nowrap; font-family: var(--sans); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.ticker-row i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); display: inline-block; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-alt { background: var(--paper-2); }
.dark-section { background: var(--court); color: var(--chalk); }
.dark-section .lede { color: var(--chalk-2); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.split-head { max-width: none; grid-template-columns: 1fr minmax(0, 440px); align-items: end; gap: 24px 48px; }
.split-head > * { min-width: 0; }
.split-head > div { display: grid; gap: 18px; }
.center-head { text-align: center; justify-items: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .split, .split-head { grid-template-columns: 1fr; } .split-aside { position: static; } }

/* Apparition au défilement (seulement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .08s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Chiffres ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(32px, 4vw, 56px) 20px clamp(32px, 4vw, 56px) 0; display: grid; gap: 4px; align-content: start; }
.stat + .stat { padding-left: clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.stat-num { font-family: var(--sans); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-ink); }
.stat-sub { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Tournoi ---------- */
.tournoi { background: var(--navy); color: #fff; padding-block: clamp(72px, 10vw, 128px); overflow: hidden; position: relative; }
.tournoi::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(215, 242, 90, .18), transparent); }
.page-template-templates-tournois .tournoi { padding-top: calc(var(--header-h) + 56px); }
.tournoi-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tournoi-copy { display: grid; gap: 26px; min-width: 0; }
.tournoi .eyebrow { color: var(--lime); }
.tournoi .eyebrow::before { display: none; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(215, 242, 90, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(215, 242, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 242, 90, 0); } }
.tournoi-dates { font-family: var(--sans); font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 8.5vw, 7rem); line-height: .9; letter-spacing: -.05em; color: var(--lime); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .22em; font-variant-numeric: tabular-nums; }
.tournoi-dates .arr { font-weight: 400; }
.tournoi-dates .yr { color: transparent; -webkit-text-stroke: 2px #fff; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: .8rem; padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; letter-spacing: .04em; }
.tournoi-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.tournoi-facts div { padding: 16px 16px 0 0; }
.tournoi-facts div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.tournoi-facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.tournoi-facts dd { margin: 4px 0 0; font-stretch: 118%; font-weight: 900; font-size: 1.8rem; line-height: 1.1; }
.tournoi-facts dd small { font-weight: 500; font-size: .8rem; font-stretch: 100%; color: rgba(255,255,255,.7); }
.tournoi-facts dd.sm { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tournoi .btn-line { --fg: #fff; color: #fff; }
.tournoi-poster { display: block; border-radius: 14px; overflow: hidden; transform: rotate(3deg); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); max-width: 380px; justify-self: center; }
.tournoi-poster:hover { transform: rotate(0) scale(1.02); }
@media (max-width: 900px) { .tournoi-grid { grid-template-columns: 1fr; } .tournoi-poster { max-width: 300px; } }
@media (max-width: 560px) { .tournoi-facts { grid-template-columns: 1fr 1fr; } .tournoi-facts div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; } }

/* ---------- Sites / réservation ---------- */
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.site-tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--court); color: var(--chalk); display: grid; grid-template-rows: 240px 1fr; isolation: isolate; }
.site-media { overflow: hidden; position: relative; }
.site-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.site-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--court)); }
.site-tile:hover .site-media img { transform: scale(1.12); }
.site-body { padding: 0 clamp(22px, 3vw, 36px) clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; margin-top: -40px; position: relative; }
.site-tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.site-name { font-stretch: 125%; font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: .95; }
.site-adr { display: flex; gap: 8px; align-items: flex-start; color: var(--chalk-2); font-size: .95rem; }
.site-adr .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--gold); }
.site-tile .ticks li { color: var(--chalk-2); font-size: .95rem; }
.site-cta { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px 16px 22px; border-radius: 14px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 110%; transition: background .3s; }
.site-cta small { display: block; font-family: var(--mono); font-weight: 400; font-stretch: 100%; font-size: .74rem; letter-spacing: .06em; opacity: .7; }
.site-cta-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease); }
.site-cta-ico .ico { width: 20px; height: 20px; }
.site-cta:hover { background: var(--gold-2); }
.site-cta:hover .site-cta-ico { transform: rotate(45deg); }
@media (max-width: 820px) { .sites { grid-template-columns: 1fr; } .site-tile { grid-template-rows: 200px 1fr; } }

.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.howto-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.howto-col h2 span { color: var(--ink-2); font-weight: 500; font-stretch: 100%; font-size: .9rem; font-family: var(--mono); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--court); color: var(--gold); display: grid; place-items: center; font-family: var(--mono); font-size: .85rem; }
@media (max-width: 760px) { .howto { grid-template-columns: 1fr; } }
.notice { margin-top: 28px; padding: 18px 22px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); color: var(--ink-2); }
.notice a { color: var(--ink); font-weight: 700; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.tarif-head { font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 2px solid currentColor; }
.dark-section .tarif-head { color: var(--gold); }
.tarif-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.dark-section .tarif-row { border-color: var(--chalk-line); }
.tarif-row:hover { padding-left: 10px; }
.tarif-label { display: grid; font-weight: 700; }
.tarif-label small { font-weight: 400; font-size: .86rem; color: var(--ink-2); }
.dark-section .tarif-label small { color: var(--chalk-2); }
.tarif-price { font-stretch: 125%; font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tarif-price span { font-size: .5em; margin-left: 3px; color: var(--gold); vertical-align: .55em; }
@media (max-width: 640px) { .tarifs { grid-template-columns: 1fr; } }

/* ---------- Actualités ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; }
.post-card-link { display: grid; height: 100%; text-decoration: none; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card-link:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(16, 38, 30, .35); }
.post-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--court); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card-link:hover .post-card-media img { transform: scale(1.06); }
.post-card-ph { display: grid; place-items: center; height: 100%; }
.post-card-ph img { width: 64px; height: 64px; object-fit: contain; opacity: .9; }
.post-card-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.post-card-meta { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.post-card-cat { background: var(--gold); color: var(--ink); padding: 3px 9px; border-radius: 999px; }
.post-card-title { font-stretch: 110%; font-weight: 800; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.post-card-excerpt { color: var(--ink-2); font-size: .95rem; }
.post-card-more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin-top: 4px; }
.post-card-more .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.post-card-link:hover .post-card-more .ico { transform: translateX(4px); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-filter a { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; background: #fff; }
.cat-filter a[aria-current] { background: var(--court); color: var(--chalk); border-color: var(--court); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; background: #fff; }
.pagination .page-numbers.current { background: var(--court); color: var(--chalk); }
.empty-note { color: var(--ink-2); }

/* ---------- Équipe (accueil) ---------- */
.team-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.team-teaser-grid > div:first-child { display: grid; gap: 20px; justify-items: start; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.face { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--court); border: 4px solid var(--paper); box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); transition: transform .5s var(--ease); }
.face:nth-child(odd) { transform: translateY(14px); }
.face:hover { transform: scale(1.08) rotate(-3deg); }
.face img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .team-teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Organigramme ---------- */
.org { display: grid; gap: clamp(40px, 6vw, 72px); }
.org-top { display: flex; justify-content: center; }
.org-stem { width: 2px; height: 56px; background: linear-gradient(var(--gold), transparent); margin: -40px auto -40px; }
.org-group { display: grid; gap: 28px; }
.org-label { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.org-label::before, .org-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.person { width: 196px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.person-photo { width: 148px; height: 148px; border-radius: 50%; overflow: hidden; background: var(--court); position: relative; margin-bottom: 10px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .5s, transform .8s var(--ease); }
.person:hover .person-photo { box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--gold); transform: translateY(-4px); }
.person:hover .person-photo img { filter: none; transform: scale(1.06); }
.person-initials { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); font-stretch: 125%; font-weight: 900; font-size: 2rem; }
.person-role { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.person-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.person-detail { font-size: .84rem; color: var(--ink-2); }
.person.is-lead { width: 260px; }
.person.is-lead .person-photo { width: 200px; height: 200px; box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--gold); }
.person.is-lead .person-name { font-size: 1.8rem; }
.person.is-small { width: 160px; }
.person.is-small .person-photo { width: 116px; height: 116px; }
.person.is-small .person-name { font-size: 1.1rem; }
.person.is-coach .person-photo { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--court-3); }
@media (max-width: 560px) {
	.org-row { gap: 22px 10px; }
	.person, .person.is-small { width: calc(50% - 6px); }
	.person .person-photo, .person.is-small .person-photo { width: 112px; height: 112px; }
	.person-name { font-size: 1.1rem; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--gold-ink); text-transform: uppercase; }
.prose { display: grid; gap: 1em; max-width: 64ch; color: var(--ink-2); font-size: 1.05rem; }
.prose p { color: inherit; }

/* ---------- Cartes de fonctionnalités ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--court-2); border: 1px solid var(--chalk-line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease), border-color .4s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(209, 190, 69, .5); }
.feature h3 { font-stretch: 115%; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.feature p { color: var(--chalk-2); }
.feature-k { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.feature-link { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); font-weight: 700; text-decoration: none; margin-top: 6px; word-break: break-word; }
.feature-link .ico { width: 18px; height: 18px; color: var(--gold); flex: none; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Tournois de la saison ---------- */
.season-tournaments { display: grid; gap: 12px; }
.st { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: var(--r); background: var(--court-2); border: 1px solid var(--chalk-line); transition: background .4s; }
.st:hover { background: var(--court-3); }
.st-month { font-stretch: 125%; font-weight: 900; font-size: 1.6rem; text-transform: uppercase; color: var(--gold); letter-spacing: -.02em; }
.st h3 { font-stretch: 110%; font-weight: 800; font-size: 1.3rem; }
.st p { color: var(--chalk-2); font-family: var(--mono); font-size: .85rem; }
.st-n { font-stretch: 125%; font-weight: 900; font-size: 2rem; text-align: right; line-height: 1; }
.st-n small { display: block; font-family: var(--mono); font-weight: 400; font-stretch: 100%; font-size: .7rem; letter-spacing: .12em; color: var(--chalk-2); text-transform: uppercase; }
@media (max-width: 640px) { .st { grid-template-columns: 1fr auto; } .st-month { grid-column: 1 / -1; } }
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd a { font-weight: 700; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Partenaires ---------- */
.partners-section { overflow: hidden; }
.partners-section .section-head { margin-bottom: 40px; }
.partners-marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-row { display: flex; align-items: center; gap: 0; }
.partner { display: grid; place-items: center; height: 140px; padding: 0 clamp(32px, 5vw, 64px); border-right: 1px solid var(--line); }
.partner img { max-height: 70px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.partner-name { font-stretch: 115%; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 6px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); }
.partner-logo { height: 110px; display: grid; place-items: center; margin-bottom: 10px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.partner-logo img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.partner-title { font-weight: 800; font-stretch: 108%; }
.partner-act { font-size: .88rem; color: var(--ink-2); }
.partner-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.partner-link .ico { width: 15px; height: 15px; }

/* ---------- Formules partenaires ---------- */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.tier { background: var(--court-2); border: 1px solid var(--chalk-line); border-radius: var(--r); padding: 24px 20px 26px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(4px + var(--lvl, 0) * 2px); background: var(--gold); opacity: calc(.35 + var(--lvl, 0) * .16); }
.tier:hover { transform: translateY(-8px); border-color: rgba(209, 190, 69, .5); }
.tier.is-top { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tier.is-top::before { background: var(--ink); opacity: 1; }
.tier-head { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--chalk-line); }
.tier.is-top .tier-head { border-color: rgba(0,0,0,.15); }
.tier-name { font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tier.is-top .tier-name { color: var(--ink); }
.tier-price { font-stretch: 125%; font-weight: 900; font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.tier-price span { font-size: .5em; margin-left: 2px; vertical-align: .6em; }
.tier-plus { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-2); }
.tier.is-top .tier-plus { color: rgba(0,0,0,.6); }
.tier .ticks { font-size: .9rem; gap: 10px; }
.tier .ticks li { color: var(--chalk-2); }
.tier.is-top .ticks li { color: var(--ink); }
.tier.is-top .ticks li::before { background: var(--ink); }
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiers { grid-template-columns: 1fr; } }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pack { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.pack.is-top { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.pack-price { font-stretch: 125%; font-weight: 900; font-size: 2rem; letter-spacing: -.03em; color: var(--gold-ink); }
.pack p:last-child { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 960px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; } }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.why-grid > div { display: grid; gap: 16px; align-content: start; }
.why-grid .h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.dark-ticks li { color: var(--ink-2); }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 26px; display: grid; gap: 12px; align-content: start; }
.compare-col p { color: var(--ink-2); }
.compare-big { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink) !important; }
.compare-big strong { font-stretch: 120%; font-weight: 900; font-size: 1.4rem; }
.compare .small { grid-column: 1 / -1; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.cta-band { background: var(--court); color: var(--chalk); }
.cta-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta-band-inner > div:first-child { display: grid; gap: 18px; }
.cta-band .lede { color: var(--chalk-2); }
.cta-contact { background: var(--court-2); border: 1px solid var(--chalk-line); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.cta-contact a:not(.btn) { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; word-break: break-word; }
.cta-contact .ico { width: 18px; height: 18px; color: var(--gold); flex: none; }
.cta-contact .btn { margin-top: 8px; }
.cta-contact .btn .ico { color: inherit; }
.cta-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.cta-name small { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.contact-card .feature-k { color: var(--gold-ink); }
.contact-card a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-card .ico { width: 17px; height: 17px; color: var(--gold-ink); flex: none; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.address-band { margin-top: 20px; border-radius: var(--r); background: var(--court); color: var(--chalk); padding: clamp(26px, 4vw, 44px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.address-band .feature-k { margin-bottom: 8px; }
.address-big { font-stretch: 118%; font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }

/* ---------- En-tête des pages ---------- */
.page-hero { position: relative; background: var(--court); color: var(--chalk); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero-lines { position: absolute; inset: 0; pointer-events: none; }
.page-hero-lines span { position: absolute; background: var(--chalk-line); }
.page-hero-lines span:nth-child(1) { left: 0; right: 0; bottom: 30%; height: 1px; }
.page-hero-lines span:nth-child(2) { top: 0; bottom: 30%; right: 22%; width: 1px; }
.page-hero-lines span:nth-child(3) { top: 0; bottom: 30%; right: 38%; width: 1px; }
.js .page-hero-lines span { transform-origin: left; animation: lineIn 1.4s var(--ease) both; }
.js .page-hero-lines span:nth-child(n+2) { transform-origin: top; animation-name: lineInV; animation-delay: .3s; }
@keyframes lineIn { from { transform: scaleX(0); } }
@keyframes lineInV { from { transform: scaleY(0); } }
.page-hero::after { content: ""; position: absolute; right: calc(22% - 60px); top: calc(var(--header-h) + 36px); width: 120px; height: 120px; border-radius: 50%; background: var(--gold); opacity: .95; box-shadow: inset -14px -10px 0 rgba(0,0,0,.08); }
.page-hero-inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.page-title { font-stretch: 122%; font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: .95; max-width: 16ch; }
.page-title em { color: var(--gold); }
.page-title.is-article { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 22ch; }
.page-hero .lede { color: var(--chalk-2); }
.page-hero .eyebrow a { color: inherit; }
.page-hero.is-article::after { display: none; }
@media (max-width: 1100px) { .page-hero::after { display: none; } }
@media (max-width: 760px) { .page-hero-lines span:nth-child(3) { display: none; } }

/* ---------- Contenu éditorial ---------- */
.entry-content { font-size: 1.08rem; color: var(--ink); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-stretch: 115%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-top: 1.6em; }
.entry-content h3 { font-stretch: 110%; font-weight: 800; font-size: 1.3rem; margin-top: 1.4em; }
.entry-content p, .entry-content li { color: var(--ink-2); }
.entry-content a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.entry-content img { border-radius: var(--r-sm); }
.entry-content blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.4rem; }
.entry-content .wp-block-image figcaption { font-size: .85rem; color: var(--ink-2); }
.article-media { margin-top: -40px; position: relative; z-index: 2; }
.article-media img { width: 100%; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 96px; }
.post-nav a { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 700; background: #fff; }
.post-nav small { font-family: var(--mono); font-weight: 400; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.post-nav-next { text-align: right; grid-column: 2; }
.tcr-dotations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; overflow-x: auto; }
.tcr-dotation { width: 100%; min-width: 420px; border-collapse: collapse; background: #fff; border-radius: var(--r-sm); overflow: hidden; font-variant-numeric: tabular-nums; }
.tcr-dotation caption { text-align: left; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding: 0 0 10px; }
.tcr-dotation th, .tcr-dotation td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.tcr-dotation th:first-child, .tcr-dotation td:first-child { text-align: left; }
.tcr-dotation thead th { background: var(--court); color: var(--chalk); font-family: var(--mono); font-weight: 500; font-size: .76rem; }
.tcr-dotation tbody th { font-weight: 700; }
@media (max-width: 900px) { .tcr-dotations { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: #0B0D0E; color: #C9CDD2; padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid #23272B; }
.footer-big { font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 9vw, 8rem); line-height: .86; letter-spacing: -.05em; text-transform: uppercase; color: #fff; }
.footer-big em { text-transform: none; color: var(--gold); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 34ch; color: #8F959C; font-size: .95rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2C3136; display: grid; place-items: center; color: #fff; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials .ico { width: 20px; height: 20px; }
.footer-title { font-family: var(--mono); font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul + ul { margin-top: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul a:hover { color: var(--gold); }
.footer-contact li { word-break: break-word; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 24px; border-top: 1px solid #23272B; font-size: .86rem; color: #8F959C; }
.credit { display: inline-flex; align-items: center; gap: 12px; color: #8F959C !important; font-size: .8rem; }
.credit img { width: 132px; height: auto; transition: transform .4s var(--ease); }
.credit:hover img { transform: translateY(-2px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .reveal, .js .hero-in { opacity: 1; transform: none; }
	.ticker-track, .partners-track { animation: none; }
	.ball { display: none; }
}

/* ---------- Classes WordPress ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .screen-reader-text { font-size: .85rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Balle-guide (assets/js/scroll-ball.js) ---------- */
/* La piste couvre toute la page et coupe ce qui dépasse sur les côtés ; la balle y est posée en coordonnées de page. */
.scroll-ball-track { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow: hidden; z-index: 1; pointer-events: none; contain: layout paint style; }
.scroll-ball { position: absolute; top: 0; left: 0; width: 400px; height: 400px; will-change: transform; backface-visibility: hidden; }
.sb-squash { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.sb-shadow { position: absolute; inset: 9% 3% -7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .26), rgba(0, 0, 0, 0)); }
.sb-disc { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb-lime { opacity: 0; will-change: opacity; }
.sb-seams-clip { position: absolute; inset: 1.5%; border-radius: 50%; overflow: hidden; }
.sb-seams { width: 100%; height: 100%; will-change: transform; }
.tball { overflow: visible; }
/* Le contenu passe devant la balle, les fonds de section derrière. */
.has-scroll-ball .wrap { position: relative; z-index: 2; }
.has-scroll-ball .hero-grid { z-index: auto; }
.has-scroll-ball .hero-copy { position: relative; z-index: 2; }
.has-scroll-ball .ticker, .has-scroll-ball .partners-marquee { position: relative; z-index: 3; }
.has-scroll-ball .page-hero::after,
.has-scroll-ball .court-stage .ball,
.has-scroll-ball .ball-shadow { display: none; }
.has-scroll-ball .tournoi::before { z-index: 0; }

/* Équipe en noms (tant que les photos ne sont pas là) */
.team-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.team-names li { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.team-names li:nth-child(even) { transform: translateY(14px); }
.team-names li:hover { background: #fff; transform: translateY(-3px); }
.team-role { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.team-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.person-photo img.is-placeholder { filter: none; }
@media (max-width: 420px) { .team-names { grid-template-columns: 1fr; } .team-names li:nth-child(even) { transform: none; } }

/* Mobiles : on évite les flous d'arrière-plan, coûteux pendant le défilement. */
@media (hover: none) {
	.site-header.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244, 245, 240, .97); }
	.team-names li { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .94); }
}
