:root{--yellow:#ffdb16;--ink:#171b1a;--muted:#626962;--paper:#f5f5ef;--line:#e0e3da}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}a:hover{text-decoration-thickness:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.1;letter-spacing:-.04em}h1{font-size:clamp(2.5rem,5.4vw,5.5rem);margin-bottom:30px}h2{font-size:clamp(1.6rem,3vw,2.5rem)}h3{font-size:1.3rem}em{font-style:normal;background:var(--yellow);padding:0 .08em;box-decoration-break:clone}button,.button,.outline,.dark-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 21px;border:0;border-radius:6px;font:700 14px/1.4 system-ui;cursor:pointer;text-decoration:none;background:var(--yellow);color:var(--ink)}button:hover,.button:hover{background:#f0c800}.outline{border:1px solid #8c9186;background:transparent;color:white}.dark-button{background:var(--ink);color:white}.secondary{background:white;border:1px solid var(--line)}.top{background:var(--ink);color:white;padding:20px max(5%,calc((100vw - 1260px)/2));display:flex;gap:30px;align-items:center;justify-content:space-between}.brand{font-size:35px;line-height:1;font-weight:950;letter-spacing:-2px;color:var(--yellow);text-decoration:none}.brand span{display:block;font-size:9px;letter-spacing:1px;margin-top:8px;color:#ddd}.top nav{display:flex;flex-wrap:wrap;gap:23px}.top nav a{font-size:14px;text-decoration:none}.top nav a:hover{color:var(--yellow)}main{min-height:70vh}.hero{background:#1c2420;color:white;display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center;padding:70px max(5%,calc((100vw - 1260px)/2))}.hero h1{letter-spacing:-.065em}.hero em{color:var(--yellow);background:none;padding:0}.hero p:not(.eyebrow){max-width:500px;color:#d1d6ce}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--muted);margin-bottom:20px}.hero .eyebrow{color:var(--yellow)}.actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px}.court{min-height:340px;border:1px solid #66705a;border-radius:180px 180px 12px 12px;position:relative;display:grid;place-items:center;background:linear-gradient(140deg,#333e29,#161c17);overflow:hidden}.court:before{content:"";width:280px;height:280px;border:1px solid #89966b;border-radius:50%;position:absolute;right:-120px;bottom:-70px}.ball{width:190px;height:190px;border-radius:50%;background:var(--yellow);color:var(--ink);display:grid;place-items:center;font-size:55px;font-weight:950;transform:rotate(-13deg);border:8px double var(--ink);box-shadow:20px 20px 0 #121a15}.court span{font-size:11px;letter-spacing:3px;text-align:center;margin-bottom:20px}.section{max-width:1260px;margin:auto;padding:55px 24px}.narrow{max-width:960px}.heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.heading h2{margin-bottom:0}.heading .eyebrow{margin-bottom:10px}.heading>a{font-size:14px;font-weight:650}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.pad{padding:25px}.card-art{height:130px;background:repeating-linear-gradient(135deg,#222b23 0,#222b23 35px,#2e382b 35px,#2e382b 36px);color:var(--yellow);display:flex;align-items:end;padding:22px;font-weight:900;font-size:25px;letter-spacing:-1px}.card small{color:var(--muted)}.card h3{margin:12px 0}.prose{line-height:1.85;overflow-wrap:anywhere;white-space:normal}.empty{padding:28px;background:white;border:1px dashed #c4c9be;border-radius:10px;color:var(--muted)}.match{display:flex;align-items:center;gap:25px;padding:20px;margin:15px 0;background:white;border:1px solid var(--line);border-radius:12px}.match h3{margin:9px 0}.match p{margin:0;color:var(--muted)}.date{background:var(--yellow);border-radius:7px;min-width:86px;text-align:center;padding:8px;line-height:1.2}.date strong{font-size:40px;display:block}.date span{font-size:12px;font-weight:bold}.away{background:#dcecff}.badge{font-size:10px;background:var(--yellow);padding:3px 8px;border-radius:4px;font-weight:850}.blue{background:#dcecff;color:#14466e}.score{margin-left:auto;white-space:nowrap;font-size:22px}.banner{max-width:1212px;margin:15px auto 55px;background:var(--yellow);padding:35px;border-radius:12px;display:flex;align-items:center;gap:25px;flex-wrap:wrap}.banner h2,.banner p{margin:0}.banner a{margin-left:auto}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:35px 0}.values strong{background:white;border:1px solid var(--line);padding:25px;border-radius:10px}.muted{color:var(--muted);font-size:14px}footer{display:flex;align-items:center;gap:28px;background:var(--ink);color:white;padding:35px max(5%,calc((100vw - 1260px)/2));flex-wrap:wrap}footer p{margin:0;margin-right:auto;font-size:13px}footer>a:not(.brand){font-size:12px}label{display:block;font-size:14px;font-weight:650;margin-bottom:18px}input,textarea,select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #bac2b5;border-radius:6px;background:white;color:var(--ink);font:16px/1.5 system-ui}textarea{resize:vertical}.editor button{margin-right:15px}.filters{display:flex;gap:15px;align-items:end}.filters label{min-width:230px;margin:0}.login{max-width:650px}.login h1{font-size:48px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}.tabs a{padding:12px 20px;background:white;border-radius:6px;border:1px solid var(--line);text-decoration:none;font-weight:700}.tabs .selected{background:var(--yellow);border-color:var(--yellow)}.tabs span{font-size:12px;margin-left:8px}.notice{padding:15px 20px;background:#deedd7;border-left:4px solid #327338;border-radius:4px}.error{background:#ffe8e8;border-color:#ad2626}.item{margin-bottom:18px}.check{display:flex;align-items:center;gap:10px;margin-top:15px}.check input{width:auto;margin:0}.danger{background:#fce6e6;color:#8c1717}details{margin-top:18px}summary{cursor:pointer;color:#656c60;font-size:13px}.skip{position:absolute;top:-100px;left:10px;background:var(--yellow);padding:12px;z-index:10}.skip:focus{top:10px}:focus-visible{outline:3px solid #2878bb;outline-offset:4px}@media(max-width:950px){.top{gap:20px;flex-wrap:wrap}.top nav{order:3;width:100%;justify-content:space-between}.hero{grid-template-columns:1fr;padding:45px 6%}.court{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.banner{margin:15px 24px 35px}.admin-grid{grid-template-columns:1fr}.values strong{padding:16px}}@media(max-width:600px){.top{padding:18px 20px}.top nav{gap:10px}.top nav a{font-size:12px}.top .button{padding:10px 12px;font-size:12px}.section{padding:35px 20px}.heading{align-items:start;flex-direction:column;gap:10px}.grid{grid-template-columns:1fr}.match{gap:14px;flex-wrap:wrap;padding:16px}.match h3{font-size:18px}.match p{font-size:13px}.date{min-width:65px}.score{margin-left:79px;font-size:20px}.values{grid-template-columns:1fr;gap:8px}.banner{margin:10px 20px 35px;padding:24px}.banner a{margin-left:0}.tabs{gap:8px}.tabs a{padding:10px;font-size:13px}.filters{align-items:stretch;flex-direction:column}.filters label{min-width:0}footer{gap:20px;padding:30px 20px}footer p{width:65%}}

/* PBC : logo et banniere officiels */
.brand-image {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.brand-image img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}
footer .brand-image img {
    width: 60px;
    height: 60px;
}
.club-banner {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.club-banner img {
    display: block;
    width: auto;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
}
@media (max-width: 600px) {
    .top .brand-image img {
        width: 58px;
        height: 58px;
    }
    .club-banner img {
        max-width: 360px;
    }
}

/* PBC accueil proche prototype v2 */
:root {
    --paper: #f6f6f3;
    --ink: #171717;
}
.top {
    background: #111;
    padding: 12px 5%;
    gap: 24px;
    border-bottom: 3px solid var(--yellow);
}
.top .brand-image img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
}
.top nav {
    gap: 26px;
}
.top nav a {
    font-weight: 650;
}
.hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: white;
    color: #171717;
}
.hero .club-banner {
    order: -1;
    width: 100%;
    background: #080808;
    padding: 0;
}
.hero .club-banner img {
    display: block;
    width: 100%;
    max-width: 1260px;
    height: auto;
    border-radius: 0;
}
.hero > div:first-child {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 28px 24px 32px;
}
.hero .eyebrow {
    color: #666;
    font-size: 10px;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -.04em;
    margin-bottom: 12px;
}
.hero h1 br {
    display: none;
}
.hero h1 br::after {
    content: " ";
}
.hero h1 em {
    color: #171717;
    background: var(--yellow);
    padding: 0 5px;
}
.hero p:not(.eyebrow) {
    color: #626262;
    max-width: none;
    margin-bottom: 0;
    font-size: 15px;
}
.hero .actions {
    margin-top: 20px;
    gap: 12px;
}
.hero .outline {
    color: #171717;
    border-color: #ccc;
}
.hero .outline:hover {
    background: #f2f2ed;
}
.section {
    padding-top: 36px;
    padding-bottom: 36px;
}
.section .heading h2 {
    font-size: clamp(25px, 3vw, 34px);
}
.card, .match {
    border-color: #e5e5df;
    box-shadow: 0 4px 16px rgba(0,0,0,.035);
}
.card-art {
    height: 150px;
    background: #191919;
    color: var(--yellow);
}
.empty {
    background: white;
}
footer {
    background: #111;
}
@media (max-width: 950px) {
    .top nav {
        order: 3;
        gap: 14px;
    }
}
@media (max-width: 600px) {
    .top {
        padding: 10px 18px;
        gap: 12px;
    }
    .top .brand-image img {
        width: 48px;
        height: 48px;
    }
    .top nav {
        gap: 8px;
    }
    .hero > div:first-child {
        padding: 22px 20px 26px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero .actions {
        flex-wrap: wrap;
    }
    .section {
        padding: 28px 20px;
    }
}
.news-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}
@media (max-widht: 700px) {
    .news-image {
        height: auto;
    }
}
.card {
    overflow: hidden;
    border-radius: 12px;
}
.news-details {
    margin-top: 10px;
}
.news-details summary {
    cursor: pointer;
    font-weight: 600;
}
.news-details summary:hover {
    text-decoration: underline;
}
.news-text {
    margin-top: 12px;
}
.contact-page {
    max-width: 1100px;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 34px 0 42px;
}

.join-step {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    background: #fff;
}

.join-step span {
    display: inline-block;
    color: var(--yellow);
    background: #111;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.join-step strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.join-step p {
    margin: 0;
    color: var(--muted);
}

.contact-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 18px;
    background: #111;
    color: #fff;
}

.contact-highlight h2 {
    margin-top: 4px;
}

.contact-highlight p {
    max-width: 650px;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.contact-card h2 {
    margin-top: 4px;
}

.contact-card a {
    color: inherit;
}

.first-session {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 26px;
    border-radius: 16px;
    background: var(--yellow);
    color: #111;
}

.first-session h2 {
    margin: 4px 0 0;
}

.session-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.session-items span {
    background: rgba(255,255,255,.72);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.contact-note {
    margin-top: 18px;
}


/* Mobile */

@media (max-width: 750px) {

    .join-steps {
        grid-template-columns: 1fr;
    }

    .contact-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .first-session {
        flex-direction: column;
        align-items: flex-start;
    }

}
.contact-highlight {
    background: #111 !important;
    color: #fff !important;
    padding: 30px !important;
    border-radius: 18px !important;
}

.contact-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 26px !important;
    border-radius: 16px !important;
}

.first-session {
    background: #ffdb16 !important;
    padding: 26px !important;
    border-radius: 16px !important;
}
/* =========================================================
   PHOTOS DES ÉQUIPES
   ========================================================= */

.team-photo,
.team-photo-placeholder {
    width: 100%;
    height: 220px;
    background: #171717;
    overflow: hidden;
}

.team-photo {
    display: grid;
    place-items: center;
}

.team-photo > img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* =========================================================
   CHOIX DOMICILE / EXTÉRIEUR
   ========================================================= */

.match-place-choice {
    margin-bottom: 22px;
}

.place-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.place-button {
    display: inline-block;
    cursor: pointer;
    padding: 12px 18px;
    margin: 0 8px 14px 0;
    border: 2px solid #111;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-weight: 700;
}

#place_home:checked + .place-button,
#place_away:checked + .place-button {
    background: #111;
    color: var(--yellow);
}

.match-place-panel {
    display: none;
    margin-top: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f7f7f5;
}

#place_home:checked ~ .match-place-home {
    display: block;
}

#place_away:checked ~ .match-place-away {
    display: block;
}

.match-place-panel label {
    display: block;
    margin-bottom: 14px;
}

.match-place-panel input[readonly] {
    background: #e9e9e6;
}

.match-status {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-played {
    background: #dff5e4;
    color: #176b2c;
}

.status-postponed {
    background: #fff3bf;
    color: #8a6800;
}

.status-cancelled {
    background: #ffd9d9;
    color: #9b1c1c;
}

.status-scheduled {
    background: #e8e8e8;
    color: #333;
}

/* Couleurs des statuts des matchs */

.match-status {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

.match-status.status-played {
    background: #d9f7df;
    color: #146c2e;
}

.match-status.status-postponed {
    background: #fff3bf;
    color: #8a6500;
}

.match-status.status-cancelled {
    background: #ffdada;
    color: #a61b1b;
}

.match-status.status-scheduled {
    background: #e8eef7;
    color: #274c77;
}

/* Correction affichage administration PBC */

.admin-grid {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 4%;
}

.admin-grid > div,
.admin-grid > form {
    min-width: 0;
}

.admin-grid .card {
    max-width: 100%;
    overflow-wrap: break-word;
}

@media screen and (max-width: 950px) {
    .admin-grid {
        grid-template-columns: 100%;
        gap: 20px;
    }
}
/* ==========================================
   TABLEAU DE BORD STATISTIQUES PBC
   ========================================== */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.stats-grid .card {
    border-top: 4px solid #ffdb16;
    min-width: 0;
}

.stats-grid h2 {
    font-size: 42px;
    margin: 8px 0;
    color: #111;
}

.stats-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.stats-details .card {
    min-width: 0;
}

@media screen and (max-width: 700px) {
    .stats-grid,
    .stats-details {
        grid-template-columns: 1fr;
    }
}

/* Filtres des matchs dans l'administration */

.admin-match-filters {
    margin: 18px 0;
    display: grid;
    gap: 10px;
}
/* Page Partenaires PBC */
.partners-intro{max-width:700px;font-size:1.15rem;color:var(--muted);margin-bottom:35px}
.partners-page h2{margin-top:40px}
.partners-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:24px 0 44px}
.partner-card{padding:25px;text-align:center;background:white;border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}
.partner-card img{height:125px;width:100%;object-fit:contain;margin:5px auto 18px}
.partner-card h3{margin-bottom:10px}.partner-card p{color:var(--muted);font-size:14px}
.partner-card a{font-weight:700;font-size:14px}.partner-placeholder{height:125px;display:grid;place-items:center;font-size:55px}
.partners-cta{padding:38px;background:var(--ink);color:white;border-radius:14px;margin:35px 0}
.partners-cta p{color:#ddd}.partners-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}
.partners-strip-item{min-height:130px;background:white;border:1px solid var(--line);border-radius:12px;padding:18px;text-align:center;display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:center}
.partners-strip-item img{max-width:100%;width:auto;height:70px;object-fit:contain}.partners-strip-item strong{font-size:13px}
.partner-admin-logo{width:150px;height:95px;object-fit:contain;display:block;margin:10px 0}
@media(max-width:600px){.partners-grid{grid-template-columns:1fr}.partners-cta{padding:25px}}
