:root{
  --bg:#0b0b0b;
  --text:#f2f2f2;
  --muted:rgba(242,242,242,.78);
  --gold:#d4af37;
  --card:#141414;
  --border:rgba(212,175,55,.22);
  --border2:rgba(212,175,55,.38);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

.container{ max-width: 980px; margin: 0 auto; padding: 20px; }

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,11,.95);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
    
.header-inner{
  max-width: 980px;      /* même largeur que ton contenu => logos plus proches */
  margin: 0 auto;
  padding: 12px 12px;    /* moins de marge sur les côtés */
  display: flex;
  align-items: center;
  justify-content: center; /* tout le bloc est centré */
  gap: 14px;              /* distance logo <-> menu */
}

/* LOGOS */
.header-logo img{
  width: 78px;
  height: auto;
  display: block;
}

/* Page résultats : texte plus compact */
.page-resultats,
.page-resultats p,
.page-resultats li{
  font-size: 14px;
  line-height: 1.55;
}

/* Fiches résultats : effet tableau */
.result-card{
  padding: 14px 16px;
  margin: 16px 0;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid rgba(212,175,55,0.6);
  border-radius: 8px;
}

/* Titre de compétition (date + lieu) */
.result-card strong,
.result-card h3{
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--gold);
}

/* Ligne de séparation fine entre fiches */
.result-card + .result-card{
  border-top: 1px dashed rgba(212,175,55,0.25);
  padding-top: 18px;
}


.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 12px 0 10px 0;
}
.brand a{
  color:var(--gold);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.6px;
  text-transform: uppercase;
  font-size: 15px;
}

/* MENU */
.nav{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a{
  color: #f2f2f2;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.25);
  font-size: 14px;
}

.nav a:hover,
.nav a.is-active{
  color: #d4af37;
  border-color: rgba(212,175,55,.6);
  background: rgba(212,175,55,.08);
}

/* Bouton hamburger (caché sur desktop) */
.menu-toggle{
  display: none;
  background: none;
  border: 1px solid rgba(212,175,55,.4);
  color: var(--gold);
  font-size: 26px;
  padding: 6px 12px;
  border-radius: 12px;
  line-height: 1;
  cursor: pointer;
}



.hero{
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background:var(--card);
}
.hero img{
  width:100%;
  height: 320px;
  object-fit:cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}
        
.hero .hero-inner{ padding: 18px 18px 8px 18px; }
.hero h1{ margin:0; color: var(--gold); }
.hero p{ margin: 10px 0 0 0; color: var(--muted); }

.card{
  margin-top:16px;
  padding:16px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
}

/* Content typography */
main h1, main h2, main h3{ color: var(--gold); }
main p, main li{ line-height: 1.55; }
main hr{
  border:0;
  border-top:1px solid var(--border);
  margin: 18px 0;
}
a{ color: var(--gold); }
a:hover{ opacity: .88; }

/* nice anchor offset so sticky header doesn't hide titles */
.anchor-offset{
  scroll-margin-top: 110px;
}

.footer{
  margin-top:28px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.side-logo{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* Logos latéraux — plus visibles, mais toujours discrets */
.side-logo{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.55; /* beaucoup plus visible */
  filter: brightness(1.6) contrast(1.35) saturate(1.05)
          drop-shadow(0 0 10px rgba(212,175,55,.22));
}

.side-logo img{
  width: 220px;   /* plus grand */
  height: auto;
  display: block;
}

.side-logo-left{ left: 28px; }
.side-logo-right{ right: 28px; }

/* Afficher seulement sur écrans larges */
@media (max-width: 1200px){
  .side-logo{ display: none; }
}

/* sur mobile */
@media (max-width: 700px){
  .hero img{
    height: auto;
    max-height: 60vh;
    object-fit: contain;   /* montre toute l'image */
    background: #0b0b0b;   /* fond noir autour si nécessaire */
  }
}
@media (max-width: 900px){

  /* On compacte le header et on affiche le bouton hamburger */
  .header-inner{
    justify-content: space-between;
    gap: 10px;
  }

  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Sur mobile : on cache les logos (ils prennent trop de place) */
  .header-logo{
    display: none;
  }

  /* Menu caché par défaut */
  .nav{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 14px 12px;
    background: rgba(11,11,11,.97);
    border-bottom: 1px solid rgba(212,175,55,.25);
    justify-content: center;
  }

  /* Quand on clique sur ? => la classe .open est ajoutée */
  .nav.open{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Boutons du menu un peu plus larges et lisibles au doigt */
  .nav a{
    width: min(320px, 92vw);
    text-align: center;
    padding: 12px 14px;
    font-size: 15px;
  }
}

.slideshow{
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
}

.slideshow img{
  width: 100%;
  height: 520px;      /* taille desktop */
  object-fit: contain; /* on voit la photo en entier */
  background: #0b0b0b;
  display: block;
}

.slideshow-meta{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(212,175,55,.18);
  color: rgba(242,242,242,.8);
  font-size: 14px;
}

.slideshow-open{
  font-weight: 600;
}

/* Mobile */
@media (max-width: 700px){
  .slideshow img{
    height: 52vh;
  }
}

.results-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.results-table th,
.results-table td{
  border: 1px solid rgba(212,175,55,.25);
  padding: 10px;
  text-align: left;
}

.results-table th{
  color: var(--gold);
  background: rgba(212,175,55,.08);
}

.results-table tr:nth-child(even){
  background: rgba(255,255,255,.02);
}

.results-table a{
  font-weight: 600;
}

/* Mobile */
@media (max-width: 700px){
  .results-table{
    font-size: 13px;
  }
}

@media (max-width: 700px){
  .page-resultats{
    font-size: 13px;
  }

  .result-card{
    padding: 12px;
  }
}

/* Résultats : fiche 2 colonnes (texte + photos) */
.result-grid{
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 14px;
  align-items: start;
}

.result-side{
  display: flex;
  justify-content: flex-end;
}

.result-photos{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.45);
  background: rgba(212,175,55,.10);
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.result-photos:hover{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.70);
}

/* Champions de France - grille photos */
.champions-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.champion-card img.portrait{
  object-fit: contain;
  background: #000;
}

.champion-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.champion-card img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.champion-name{
  margin-top: 10px;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 900px){
  .champions-grid{
    grid-template-columns: 1fr;
  }

  .champion-card img{
    height: 220px;
  }
}

.footer-inner{
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-link{
  color: var(--gold);
  text-decoration: none;
}

.footer-link:hover{
  text-decoration: underline;
}

.footer-sep{
  opacity: 0.6;
}




/* Mobile : on empile, bouton Photos en dessous */
@media (max-width: 700px){
  .result-grid{
    grid-template-columns: 1fr;
  }
  .result-side{
    justify-content: flex-start;
    margin-top: 8px;
  }
}

.press-slider{
  margin-top: 16px;
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
}

.press-img{
  width: 100%;
  height: 520px;
  object-fit: contain;  /* montre l'article en entier */
  background: #0b0b0b;
  display:block;
}

@media (max-width: 700px){
  .press-img{ height: 52vh; }
}

/* Encadrement technique – centré */
.encadrement{
  margin: 28px auto 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ? clé du centrage */
}

.encadrement img{
  display: block;        /* ? évite les décalages inline */
  max-width: 100%;
  width: 520px;
  padding: 16px;
  background: radial-gradient(
    circle at center,
    rgba(212,175,55,0.18),
    rgba(0,0,0,0) 70%
  );
  border-radius: 18px;
}

.encadrement-legende{
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}

/* Mobile */
@media (max-width: 700px){
  .encadrement img{
    width: 100%;
    padding: 12px;
  }
}

/* Par défaut (desktop) : bouton caché */
.menu-toggle{
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* Texte du bouton */
.menu-text{
  display: inline;
}

/* MOBILE uniquement */
@media (max-width: 900px){

  /* On affiche le bouton sur mobile */
  .menu-toggle{
    display: inline-flex;
  }

  /* On garde le texte sur mobile */
  .menu-text{
    display: inline;
  }
}

/* Optionnel : très petits écrans */
@media (max-width: 360px){
  .menu-text{
    font-size: 14px;
  }
}
        




:root { scroll-padding-top: 120px; }