/* Accueil — Padelaris Accueil.dc.html */

.zp-home-hero { --cut-h: 64px; --hero-pb: 140px; }
.zp-home-hero__court { left: calc(50% - 80px); top: 110px; width: 820px; height: 440px; }
.zp-home-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding-top: 64px; }
.zp-home-hero__l { display: flex; flex-direction: column; gap: 26px; }
.zp-home-hero__h1 { font-family: var(--zp-display); font-style: italic; font-weight: 800; font-size: 118px; line-height: .86; letter-spacing: -.005em; color: #fff; text-transform: uppercase; }
.zp-home-hero__h1 span { color: var(--zp-accent); }
.zp-home-hero__p { max-width: 500px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .82); text-wrap: pretty; }
.zp-home-hero__cta { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.zp-home-hero__r { position: relative; }
.zp-home-photo { position: relative; overflow: hidden; height: 440px; clip-path: var(--zp-cut-photo); background: repeating-linear-gradient(135deg, var(--zp-hero-photo-bg) 0 12px, var(--zp-hero-photo-bg2) 12px 24px); }
.zp-home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }

.zp-two { position: absolute; left: -36px; bottom: -56px; width: 360px; background: #fff; color: var(--zp-primary); box-shadow: 0 18px 40px color-mix(in srgb, var(--zp-primary) 28%, transparent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.zp-two__h { padding: 12px 16px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--zp-gray); text-transform: uppercase; border-bottom: 1px solid var(--zp-line-soft); }
.zp-two__who { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; }
.zp-app .zp-two__who a { font-weight: 800; font-size: 15px; color: var(--zp-primary); }
.zp-two__cols { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 16px 4px; gap: 12px; }
.zp-two__col { display: flex; flex-direction: column; gap: 6px; }
.zp-two__lab { font-size: 11px; font-weight: 700; color: var(--zp-gray); text-transform: uppercase; letter-spacing: .08em; }
.zp-two__off { display: flex; align-items: center; gap: 8px; }
.zp-two__off span:last-child { font-size: 12px; color: var(--zp-gray); }
.zp-two__elo { font-family: var(--zp-display); font-weight: 800; font-size: 34px; line-height: .9; }
.zp-two__v { margin: 10px 16px 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--zp-win-text); }
.zp-two__v.is-down { color: var(--zp-loss-text); }
.zp-two__v span:last-child { font-weight: 600; color: var(--zp-primary); }

.zp-home-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: -36px; padding-bottom: 64px; }
.zp-home-main, .zp-home-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

/* Top 5 */
.zp-top5__h { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; gap: 16px; }
.zp-top5__t { display: flex; align-items: baseline; gap: 14px; }
.zp-top5__t span { font-size: 13px; color: var(--zp-gray); font-weight: 600; }
.zp-top5__r { display: flex; align-items: center; gap: 18px; }
.zp-top5__seg { display: flex; background: var(--zp-bg); padding: 3px; gap: 2px; font-size: 12px; font-weight: 700; }
.zp-top5__seg button { padding: 6px 12px; color: var(--zp-gray); font-weight: 700; font-size: 12px; line-height: 1.5; }
.zp-top5__seg button.is-active { background: var(--zp-primary); color: #fff; }
.zp-top5__grid { grid-template-columns: 56px 48px minmax(0, 1fr) 90px 96px 132px; }
.zp-top5 .zp-thead { padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--zp-line-soft); }
.zp-top5__elo { text-align: right; padding-right: 22px; }
.zp-top5 .zp-trow:last-child { border-bottom: 0; }
.zp-top5__none { padding: 20px 24px; color: var(--zp-gray); font-size: 14px; }

/* Résultats */
.zp-results { display: flex; flex-direction: column; gap: 14px; }
.zp-results__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Prochain tournoi */
.zp-ntour { box-shadow: var(--zp-shadow-card-lg); }
.zp-ntour__band { background: var(--zp-accent); color: var(--zp-primary); padding: 10px 20px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; }
.zp-ntour__b { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.zp-ntour__date { display: flex; align-items: flex-end; gap: 14px; }
.zp-ntour__day { font-family: var(--zp-display); font-weight: 800; font-size: 92px; line-height: .78; }
.zp-ntour__dm { display: flex; flex-direction: column; gap: 2px; padding-bottom: 2px; }
.zp-ntour__month { font-family: var(--zp-display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.zp-ntour__time { font-size: 13px; font-weight: 600; color: var(--zp-gray); }
.zp-ntour__info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.zp-ntour__info strong { font-weight: 700; }
.zp-ntour__info span { color: var(--zp-gray); }
.zp-ntour__fill { display: flex; flex-direction: column; gap: 8px; }
.zp-ntour__fh { display: flex; justify-content: space-between; align-items: baseline; }
.zp-ntour__left { font-family: var(--zp-display); font-weight: 800; font-size: 24px; color: var(--zp-brand); }
.zp-ntour__count { font-size: 12px; font-weight: 700; color: var(--zp-gray); }
.zp-ntour__bar { height: 8px; background: var(--zp-line-soft); }
.zp-ntour__bar span { display: block; height: 100%; background: var(--zp-primary); }
.zp-ntour__who { display: flex; align-items: center; gap: 10px; }
.zp-ntour__avs { display: flex; }
.zp-ntour__avs .zp-av { margin-right: -7px; }
.zp-ntour__more { font-size: 12px; font-weight: 600; color: var(--zp-gray); margin-left: 12px; }
.zp-ntour__cta.zp-btn { padding: 15px; font-size: 15px; }
.zp-ntour__note { font-size: 12px; line-height: 1.5; color: var(--zp-gray); }

/* Joueur·se du mois */
.zp-potm { background: var(--zp-primary); color: #fff; position: relative; overflow: hidden; }
.zp-potm__stripe { position: absolute; top: -30px; right: 30px; width: 22px; height: 300px; background: var(--zp-brand); transform: rotate(24deg); }
.zp-potm__in { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.zp-potm__lab { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--zp-accent); }
.zp-potm__who { display: flex; align-items: center; gap: 14px; }
.zp-potm__id { display: flex; flex-direction: column; gap: 6px; }
.zp-app .zp-potm__n { font-family: var(--zp-display); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: #fff; }
.zp-potm__m { display: flex; gap: 8px; align-items: center; }
.zp-potm__m span:last-child { font-size: 12px; color: rgba(255, 255, 255, .75); }
.zp-potm__gain { display: flex; align-items: baseline; gap: 10px; }
.zp-potm__gain span:first-child { font-family: var(--zp-display); font-weight: 800; font-size: 64px; line-height: .9; color: var(--zp-accent); }
.zp-potm__gain span:last-child { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.zp-potm__spark { width: 100%; height: 70px; display: block; }
.zp-potm__spark polyline { stroke: var(--zp-accent); }
.zp-potm__spark--m { height: 52px; }
.zp-potm__f { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .82); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.zp-potm__f strong { font-weight: 700; color: #fff; }

/* ---------- Mobile ---------- */
.zp-mtour { position: relative; margin: -40px 16px 0; background: #fff; border: 1px solid var(--zp-line); box-shadow: 0 10px 24px color-mix(in srgb, var(--zp-primary) 12%, transparent); display: grid; grid-template-columns: 92px minmax(0, 1fr); color: var(--zp-primary) !important; text-decoration: none !important; }
.zp-mtour__d { background: var(--zp-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 0; }
.zp-mtour__d span { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.zp-mtour__d strong { font-family: var(--zp-display); font-weight: 800; font-size: 54px; line-height: .85; }
.zp-mtour__d em { font-style: normal; font-family: var(--zp-display); font-weight: 800; font-size: 18px; }
.zp-mtour__b { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.zp-mtour__t { font-weight: 800; font-size: 15px; }
.zp-mtour__bar { height: 6px; background: var(--zp-line-soft); display: block; }
.zp-mtour__bar span { display: block; height: 100%; background: var(--zp-primary); }
.zp-mtour__f { display: flex; justify-content: space-between; align-items: center; }
.zp-mtour__left { font-family: var(--zp-display); font-weight: 800; font-size: 19px; color: var(--zp-brand); }
.zp-mtour__go { font-size: 13px; font-weight: 800; color: var(--zp-secondary); }

.zp-mtop5 { display: flex; flex-direction: column; gap: 12px; }
.zp-mtop5__row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--zp-line-soft); color: var(--zp-primary) !important; text-decoration: none !important; }
.zp-mtop5__row:last-child { border-bottom: 0; }
.zp-mtop5__row.is-me { background: var(--zp-me); }
.zp-mtop5__row .zp-rank { font-size: 19px; }
.zp-mtop5__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.zp-mtop5__n { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.zp-mtop5__r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.zp-mtop5__elo { font-family: var(--zp-display); font-weight: 800; font-size: 24px; line-height: 1; }
.zp-mtop5__r .zp-evol { font-size: 14px; }

.zp-mpotm { margin: 0; background: var(--zp-primary); color: #fff; position: relative; overflow: hidden; padding: 18px; }
.zp-mpotm__stripe { position: absolute; top: -30px; right: 24px; width: 18px; height: 260px; background: var(--zp-brand); transform: rotate(24deg); }
.zp-mpotm__in { position: relative; display: flex; flex-direction: column; gap: 12px; }
.zp-mpotm .zp-potm__lab { font-size: 11px; }
.zp-mpotm__who { display: flex; align-items: center; gap: 12px; }
.zp-mpotm__id { flex: 1; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.zp-app .zp-mpotm__n { font-family: var(--zp-display); font-weight: 800; font-size: 23px; line-height: 1; text-transform: uppercase; color: #fff; }
.zp-mpotm__g { display: flex; flex-direction: column; align-items: flex-end; }
.zp-mpotm__g span:first-child { font-family: var(--zp-display); font-weight: 800; font-size: 40px; line-height: .9; color: var(--zp-accent); }
.zp-mpotm__g span:last-child { font-size: 11px; color: rgba(255, 255, 255, .8); }

@media (max-width: 1100px) {
	.zp-home-hero__h1 { font-size: 92px; }
	.zp-home-body { grid-template-columns: minmax(0, 1fr) 320px; }
	.zp-two { left: -16px; width: 320px; }
}
@media (max-width: 760px) {
	.zp-home-hero { --cut-h: 34px; --hero-pb: 84px; }
	.zp-home-hero__mcourt { left: -40px; top: 120px; width: 440px; height: 240px; }
	.zp-home-hero__grid { display: block; padding: 22px 20px 0; }
	.zp-home-hero__l { gap: 18px; }
	.zp-home-hero .zp-eyebrow { font-size: 11px; letter-spacing: .12em; gap: 8px; }
	.zp-home-hero .zp-eyebrow--sq::before { width: 8px; height: 8px; }
	.zp-home-hero__h1 { font-size: 64px; }
	.zp-home-hero__p { font-size: 15px; line-height: 1.5; }
	.zp-home-hero__cta { flex-direction: column; gap: 10px; margin-top: 0; }
	.zp-home-hero__cta .zp-btn--primary { padding: 16px; --cut: 12px; }
	.zp-home-hero__cta .zp-btn--ghost-dark { padding: 14px; }
	.zp-home-body { display: block; margin-top: 0; padding: 28px 16px 24px; }
	.zp-home-main { gap: 28px; }
	.zp-h2 { font-size: 26px; }
	.zp-results__grid { grid-template-columns: 1fr; gap: 12px; }
	.zp-results { gap: 12px; }
}

/* Matchs joués comme invité (v1.21) */
.zp-gm { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.zp-gm__c { background: #fff; border: 1px solid var(--zp-line); box-shadow: inset 4px 0 0 var(--zp-accent); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.zp-gm__c.is-ask { box-shadow: inset 4px 0 0 var(--zp-secondary, var(--zp-primary)); }
.zp-gm__k { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--zp-gray, #777); }
.zp-gm__t, .zp-gm__w, .zp-gm__n { margin: 0; font-size: 14px; color: var(--zp-primary); line-height: 1.45; }
.zp-gm__w, .zp-gm__n { font-size: 13px; color: var(--zp-gray, #777); }
.zp-gm__a { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.zp-gm__no { font-size: 13px; color: var(--zp-gray, #777) !important; }
.zp-gm__no::after { content: none; }