:root{font-family:Inter,Arial,Helvetica,sans-serif;color:#20232a;background:#f5f6f8;--red:#c91f2c;--dark:#191a1f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1280px;margin:auto;padding:0 22px}.top{background:var(--dark);color:#fff;font-size:12px}.top-inner{display:flex;justify-content:space-between;padding-top:10px;padding-bottom:10px}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;min-height:96px}.nav .brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:900}.brand img{width:78px;height:78px;object-fit:contain}.brand b,.brand small{color:var(--red)}.brand small{display:block;font-size:10px;letter-spacing:1.3px}.nav #navlinks{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;font-weight:800;text-transform:uppercase}.nav #navlinks a:hover{color:var(--red)}.admin-link{background:var(--red);color:white!important;padding:10px;border-radius:6px}#menu{display:none;border:0;background:white;font-size:24px}.hero{background:linear-gradient(110deg,rgba(19,19,22,.95),rgba(110,12,23,.86)),radial-gradient(circle at 85% 35%,#e74a4b,#1b1c21);color:white;min-height:350px;display:flex;align-items:center;position:relative;overflow:hidden}.hero:after{content:'🏀';position:absolute;right:5%;top:0;font-size:230px;opacity:.13;transform:rotate(-25deg)}.hero .wrap{width:100%;position:relative;z-index:1}.hero h1{font-size:clamp(38px,6vw,75px);line-height:.99;margin:14px 0;font-weight:1000;font-style:italic}.hero h1 em{color:#ff4b58}.eyebrow{color:#ffb8bd;font-weight:900;letter-spacing:2px}.btn{display:inline-block;border:0;background:var(--red);color:#fff;padding:12px 19px;border-radius:5px;font-weight:800}.btn.secondary{background:#25272e}.section{padding:43px 0}.section.white{background:white}.section h2{font-size:clamp(25px,3vw,35px);margin:0 0 8px;text-transform:uppercase}.section h2:before{content:'▌';color:var(--red)}.muted{color:#667085}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:22px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid #d9dce1;background:white;border-radius:5px;padding:9px 14px}.filter.active{background:var(--red);color:white;border-color:var(--red)}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:15px}.card{background:white;border:1px solid #e6e7eb;border-radius:10px;box-shadow:0 6px 24px #1c1e2c0a;overflow:hidden}.card-body{padding:19px}.match{border-bottom:4px solid var(--red)}.pill{display:inline-block;background:#ffe6e9;color:#ae1825;padding:6px 9px;border-radius:4px;font-size:11px;font-weight:900}.pill.away{background:#eef0f4;color:#495263}.match .time{font-size:30px;font-weight:900;margin:14px 0 5px}.match h3{margin:0 0 12px}.match p{margin:6px 0}.tile{background:linear-gradient(130deg,#282a32,#8b1723);color:white;min-height:155px;padding:25px;border-radius:9px;display:flex;flex-direction:column;justify-content:end}.tile h3{margin:0;font-size:23px}.tile p{margin:8px 0 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:25px}.info{background:#f7f7f9;padding:22px;border-left:4px solid var(--red);border-radius:6px}.table-wrap{overflow:auto}.schedule{width:100%;border-collapse:collapse;background:white}.schedule th{text-align:left;background:#282a30;color:white}.schedule th,.schedule td{padding:13px;border-bottom:1px solid #eceef0;white-space:nowrap}.schedule tr:nth-child(even){background:#f9f9fa}.formrow{display:flex;gap:10px;flex-wrap:wrap}.formrow>*{padding:10px;border:1px solid #d5d8dd;border-radius:5px}.partner{display:flex;align-items:center;justify-content:center;min-height:105px;font-weight:900;font-size:21px;text-align:center}.partner img{max-width:90%;max-height:80px;object-fit:contain}.empty{background:#fff7f7;border:1px dashed #e9b4b8;padding:24px;border-radius:8px}.small{font-size:12px}.contact-card{background:white;padding:24px;border-radius:10px}footer{background:#17191f;color:#fff;padding:35px 0}footer .wrap{text-align:center}footer a{color:#ff8891}.admin-shell{max-width:1150px;margin:35px auto;padding:0 20px}.admin-panel{background:white;border-radius:10px;padding:24px;margin:18px 0}.admin-panel input,.admin-panel select,.admin-panel textarea{padding:10px;border:1px solid #cfd3da;border-radius:5px;width:100%}.admin-panel label{display:block;margin:10px 0;font-weight:700}.admin-panel .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.admin-panel button{margin:6px}.danger{background:#9d1520}.notice{background:#fff4dc;padding:13px;border-radius:5px;border-left:4px solid #e1a32c}.success{background:#e9f7ec;padding:13px;border-radius:5px}.hidden{display:none!important}@media(max-width:950px){#menu{display:block}.nav{position:relative}.nav #navlinks{display:none;position:absolute;top:95px;left:0;right:0;background:white;z-index:5;padding:20px;box-shadow:0 10px 25px #0002}.nav #navlinks.open{display:flex;flex-direction:column;align-items:start}.two{grid-template-columns:1fr}.hero{min-height:300px}}@media(max-width:500px){.brand img{width:58px;height:58px}.nav .brand{font-size:15px}.cards{grid-template-columns:1fr}.top-inner{font-size:10px}}

.training-original{display:block;width:100%;max-width:658px;height:auto;margin:20px auto 0}

/* V7 : accès à la galerie de chaque équipe */
.team-media-btn{display:block;text-align:center;margin:15px 0 18px}.team-media-btn:hover{background:#a61925}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:22px 0}.gallery-grid img,.gallery-grid video{width:100%;display:block;max-height:360px;object-fit:contain;background:#14151b;border-radius:8px}.gallery-item{background:white;border:1px solid #e6e7eb;border-radius:10px;padding:12px}.gallery-item figcaption{padding:8px 2px;color:#495263}.gallery-empty{padding:25px;background:white;border:1px dashed #d9a0a5;border-radius:9px}.gallery-page{min-height:55vh}

/* V10 : accès Facebook dans le bandeau supérieur */
.top-actions{display:flex;align-items:center;gap:18px}.facebook-link{display:inline-flex;align-items:center;gap:7px;color:#fff;text-decoration:none;font-weight:700}.facebook-link svg{flex:none}.facebook-link:hover,.facebook-link:focus-visible{text-decoration:underline}@media(max-width:480px){.top-actions{gap:10px}.facebook-link span{display:none}}

/* Logos partenaires fournis par le club */
.partner{padding:18px;min-height:170px}.partner img{max-width:100%;max-height:140px;width:auto;height:auto;object-fit:contain}

.social-links{display:flex;gap:12px;align-items:center;margin-top:18px}.social-icon{width:42px;height:42px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:#fff;transition:transform .15s ease,opacity .15s ease}.social-icon:hover{transform:translateY(-2px);opacity:.9}.social-icon svg{width:27px;height:27px}.social-icon.facebook{background:#1877f2}.social-icon.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}

/* V16 : réseaux sociaux sous CONTACT dans la navigation principale */
.nav-contact-social{display:inline-flex;flex-direction:column;align-items:center;gap:6px}.nav-contact-link{line-height:1}.nav-social-icons{display:flex;gap:7px}.nav-social{width:25px;height:25px;border-radius:4px;display:inline-flex!important;align-items:center;justify-content:center;color:#fff!important}.nav-social svg{width:18px;height:18px}.nav-social.facebook{background:#1877f2}.nav-social.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}.nav-social:hover{opacity:.88;color:#fff!important}
@media(max-width:950px){.nav-contact-social{align-items:flex-start}.nav-social-icons{margin-top:3px}}

/* V17 : CONTACT aligné avec les autres liens, icônes placées en dessous */
@media(min-width:951px){
  .nav-contact-social{position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:0;padding-bottom:0}
  .nav-contact-link{line-height:normal}
  .nav-social-icons{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:2}
}

/* V19 : CONTACT reste sur la même ligne que les autres titres */
@media(min-width:951px){
  .nav #navlinks{
    flex-wrap:nowrap;
    gap:11px;
    white-space:nowrap;
  }
  .nav-contact-social{
    flex:0 0 auto;
    position:relative;
    display:inline-flex;
    flex-direction:row;
    align-items:center;
  }
  .nav-social-icons{
    position:absolute;
    top:calc(100% + 8px);
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:7px;
    z-index:2;
  }
}


/* V22 : cartes Nos équipes plus compactes, sans ballon */
.team-cards .team-card .card-body{padding:10px 19px 12px}
.team-cards .team-card h3{margin:4px 0 8px}
.team-cards .team-media-btn{margin:8px 0 10px}


/* V26 : trois gymnases sur une ligne dans Infos pratiques */
.gymnasiums-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.gymnasiums-grid .info{height:100%}
@media(max-width:950px){.gymnasiums-grid{grid-template-columns:1fr}}

/* V28 — Prochains matchs en tableaux samedi / dimanche */
.weekend-tables{display:grid;gap:14px;margin-top:16px}.match-day{border:1px solid #e6e7eb;border-radius:8px;overflow:hidden;background:#fff}.match-day-title{margin:0;padding:14px 18px;background:#fff3f4;color:var(--red);font-size:20px;text-transform:uppercase}.match-table-wrap{overflow-x:auto}.match-table{table-layout:fixed;min-width:980px}.match-table th,.match-table td{padding:12px 13px;white-space:normal;vertical-align:middle;line-height:1.25}.match-table th:nth-child(1){width:15%}.match-table th:nth-child(2){width:11%}.match-table th:nth-child(3){width:11%}.match-table th:nth-child(4){width:8%}.match-table th:nth-child(5){width:23%}.match-table th:nth-child(6){width:32%}.match-team,.match-time{font-weight:900}.match-address{color:#667085}.match-day-empty{text-align:center;color:#667085;padding:20px!important}.match-table .pill{white-space:nowrap}
@media(max-width:700px){.section-head{align-items:flex-start}.section-head>.filters{width:100%;justify-content:flex-end}.match-day-title{font-size:17px;padding:12px 14px}.match-table{min-width:0;width:100%;table-layout:fixed}.match-table th,.match-table td{padding:9px 7px;font-size:11px;overflow-wrap:anywhere;word-break:normal}.match-table th{font-size:10px}.match-table th:nth-child(1){width:19%}.match-table th:nth-child(2){width:12%}.match-table th:nth-child(3){width:11%}.match-table th:nth-child(4){width:9%}.match-table th:nth-child(5){width:21%}.match-table th:nth-child(6){width:28%}.match-table .pill{padding:5px 4px;font-size:9px}.match-address{font-size:10px}.match-time{font-size:12px}}
@media(max-width:430px){.wrap{padding-left:12px;padding-right:12px}.filter{padding:8px 10px;font-size:12px}.filters{gap:6px}.match-day-title{font-size:15px}.match-table th,.match-table td{padding:8px 5px;font-size:10px}.match-table th{font-size:9px}.match-table th:nth-child(1){width:19%}.match-table th:nth-child(2){width:12%}.match-table th:nth-child(3){width:11%}.match-table th:nth-child(4){width:9%}.match-table th:nth-child(5){width:21%}.match-table th:nth-child(6){width:28%}.match-table .pill{font-size:8px;padding:4px 3px}.match-address{font-size:9px}.match-time{font-size:11px}}


/* V29 — Nos équipes : liste complète en tableau, adaptée aux mobiles */
.teams-intro{margin:6px 0 17px;color:#667085;font-size:14px}
.teams-list-wrap{background:#fff;border:1px solid #e6e7eb;border-radius:8px;overflow:hidden}
.teams-table{width:100%;table-layout:fixed}
.teams-table th,.teams-table td{padding:12px 18px;vertical-align:middle;white-space:normal}
.teams-table th:first-child{width:46%}
.teams-table th:nth-child(2),.teams-table th:nth-child(3){width:27%}
.teams-table .team-name{font-weight:850;color:#20232a}
.teams-table .team-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border-radius:5px;border:1px solid transparent;font-size:13px;font-weight:800;line-height:1.2;text-align:center;transition:background-color .15s ease,border-color .15s ease}
.teams-table .team-action-media{background:#fff;color:#2b313a;border-color:#d7dbe2}
.teams-table .team-action-media:hover,.teams-table .team-action-media:focus-visible{background:#f3f4f7;border-color:#b5bac5}
.teams-table .team-action-calendar{background:var(--red);color:#fff;border-color:var(--red)}
.teams-table .team-action-calendar:hover,.teams-table .team-action-calendar:focus-visible{background:#a61925;border-color:#a61925}
.teams-table .team-action:focus-visible{outline:3px solid #20232a;outline-offset:2px}
@media(max-width:620px){
  .teams-list-wrap{overflow:hidden}
  .teams-table,.teams-table tbody{display:block;width:100%}
  .teams-table thead{display:none}
  .teams-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;row-gap:10px;padding:13px 14px;border-bottom:1px solid #eceef0}
  .teams-table tr:last-child{border-bottom:0}
  .teams-table td{display:block;padding:0;border:0;min-width:0}
  .teams-table .team-name{grid-column:1/-1;font-size:15px}
  .teams-table .team-action{display:flex;width:100%;min-height:40px;padding:9px 5px;font-size:12px;overflow-wrap:anywhere}
}
