


/* ============================================
   TOURNOIS R5 — Résultats (page statique)
   Design cohérent avec style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:          #f4f5f8;
  --bg-card:     #ffffff;
  --bg-card2:    #f0f2f7;
  --border:      #dde1ed;
  --orange:      #ff6b1a;
  --orange-dark: #cc4f0d;
  --orange-glow: rgba(255, 107, 26, 0.1);
  --text:        #1a1d27;
  --text-muted:  #6b7292;
  --green:       #27ae60;
  --gold:        #e67e22;
  --shadow:      0 2px 16px rgba(0,0,0,0.08);
  --radius:      10px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0 0 3rem;
}



.header-band{
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: #1a1d27;
  border-bottom: 3px solid var(--orange);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  width:100vw;
  
}

body > p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

body > p a {
  color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

body > p a:hover { color: var(--orange-dark); }

/* ── Content Wrapper ── */
body > h2,
body > h3,
body > h4,
body > table,
body > .match,
body > p.match,
body > hr,
body > div {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


img{
    height: 40px;
    pointer-events: none; 
}

/* ── Typography ── */
h1,h2,h3{
  text-align: center;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin: 2rem auto 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
  max-width: 900px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin: 1.5rem auto 0.6rem;
  max-width: 900px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 1rem auto 0.4rem;
  max-width: 900px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

hr {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 2.5rem auto;
  max-width: 900px;
}

/* ── Tables ── */
table {
  width: calc(100% - 3rem);
  max-width: 900px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 auto 1rem;
  display: table;
}

thead {
  background: var(--orange);
  color: #fff;
}

thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 0.75rem;
  white-space: nowrap;
  text-align: left;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

tbody tr:last-child { 
  border-bottom: none; 
}

tbody tr:hover { 
  background: var(--bg-card2); 
}

td {
  padding: 0.55rem 0.75rem;
  color: var(--text);
  text-align: left;
}

td:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Points column */
td:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
}

/* ── Match Lines ── */
p.match {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin: 0 auto 0.4rem;
  font-size: 0.95rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  max-width: 900px;
  width: 60%;
  text-align: center;
}

p.match .vainqueur {
  font-weight: 700;
  color: var(--green);
}

/* ── Classement Final ── */
.classement-final {
  background: var(--bg-card);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem auto 1.5rem;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(255, 107, 26, 0.12);
  width: 60%;
}

.classement-final p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text);
  justify-content: center;
}

.classement-final p:last-child { border-bottom: none; }

.classement-final .vainqueur {
  color: var(--gold);
  font-size: 1.15rem;
}

/* ── Index page (liste des tournois) ── */
ul {
  max-width: 900px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  list-style: none;
}

ul li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

ul li:hover { border-color: var(--orange); }

ul li a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
  text-align: center;
}

.ap {
    font-size: 0.8em;
    font-weight: 400;
    color: var(--text-muted, #8890aa);
    letter-spacing: 0;
}

ul li a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-band{ font-size: 0.85rem; padding: 0.75rem 1rem; }

  table { font-size: 0.75rem; }
  thead th { padding: 0.45rem 0.4rem; letter-spacing: 0; }
  td { padding: 0.45rem 0.4rem; }

  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }

  p.match { font-size: 0.85rem; }

  .hide-mobile { display: none; }
}

@media (max-width: 400px) {
  .header-band{ font-size: 0.75rem; padding: 0.75rem 1rem; }
  table { font-size: 0.68rem; }
  thead th { padding: 0.35rem 0.3rem; }
  td { padding: 0.35rem 0.3rem; }
  .classement-final { width: 70%; }
  p.match{width: 70%;}
  ul li a { font-size: 1rem;}

}

/* ── Print ── */
@media print {
  body { background: #fff; color: #000; }
  body > h1 { background: #000; }
  .classement-final { border: 2px solid #000; box-shadow: none; }
  table { box-shadow: none; border: 1px solid #ccc; }
  thead { background: #333 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}