/* Site vitrine Bravo Sports Club — codes couleurs officiels (design/Logos/Codes couleurs.docx) :
   beige #f6e9cf, anthracite #222220, verts #195436 et #123e28 ; vert clair #49a064 des flyers
   pour les accents sur fond sombre. Titres League Spartan, texte Inter.
   Polices hébergées sur le site : aucune requête vers Google, aucun cookie. */

@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --beige: #f6e9cf;
  --beige-clair: #fbf5e8;
  --anthracite: #222220;
  --vert: #195436;
  --vert-nuit: #123e28;
  --vert-clair: #49a064;
  --blanc: #fffdf8;
  --texte: #222220;
  --texte-doux: #55544f;
  --bordure: rgba(34, 34, 32, 0.14);
  --ombre: 0 18px 40px -18px rgba(34, 34, 32, 0.35);
  --rayon: 22px;
  --titre: "League Spartan", "Arial Black", system-ui, sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largeur: 1120px;
  --gouttiere: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--beige);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--vert-clair);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.lien-evitement {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--anthracite);
  color: var(--beige);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 10;
}
.lien-evitement:focus { left: 8px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(246, 233, 207, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.entete__logo img { width: 128px; }
.entete__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 15px;
}
.entete__nav a { text-decoration: none; }
.entete__nav a:not(.bouton):hover { text-decoration: underline; text-underline-offset: 4px; }
.entete__nav .lien-secondaire { display: none; }
@media (min-width: 900px) {
  .entete__nav .lien-secondaire { display: inline; }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--anthracite);
  color: var(--beige);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--anthracite);
  transition: transform 0.15s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton--clair { background: transparent; color: var(--anthracite); }
.bouton--grand { min-height: 54px; padding: 12px 24px; font-size: 17px; }
.bouton--vert { background: var(--vert); border-color: var(--vert); color: var(--beige); }
.sombre .bouton { background: var(--beige); color: var(--anthracite); border-color: var(--beige); }
.sombre .bouton--clair { background: transparent; color: var(--beige); }
.sombre .bouton--vert { background: var(--vert-clair); border-color: var(--vert-clair); color: var(--anthracite); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Boutons des stores : « Bientôt » tant que liens.js ne fournit pas l'adresse. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  background: var(--anthracite);
  color: var(--beige);
  text-decoration: none;
  border: 2px solid var(--anthracite);
  transition: transform 0.15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store__texte { display: flex; flex-direction: column; line-height: 1.1; }
.store__petit { font-size: 12px; opacity: 0.8; }
.store__grand { font-family: var(--titre); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.store__badge {
  display: none;
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--vert);
  color: var(--beige);
}
.store.est-bientot {
  background: transparent;
  color: var(--anthracite);
  border-style: dashed;
  cursor: default;
}
.store.est-bientot:hover { transform: none; }
.store.est-bientot .store__badge { display: inline-block; }
.sombre .store { background: var(--beige); color: var(--anthracite); border-color: var(--beige); }
.sombre .store.est-bientot { background: transparent; color: var(--beige); }
.sombre .store__badge { background: var(--vert-clair); color: var(--anthracite); }

.note-stores {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--texte-doux);
}

/* ---------- Accroche ---------- */
.accroche { padding: 36px 0 72px; }
.accroche .conteneur { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .accroche { padding: 60px 0 96px; }
  .accroche .conteneur { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.surtitre {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vert);
}
.sombre .surtitre, .section--vert .surtitre { color: var(--vert-clair); }
.section--vert .surtitre { color: var(--beige); opacity: 0.8; }
.accroche h1 { font-size: clamp(48px, 10vw, 86px); line-height: 0.98; }
.accroche h1 span { display: block; }
.accroche h1 em { font-style: normal; color: var(--vert); }
.accroche__texte {
  margin: 22px 0 0;
  max-width: 32em;
  font-size: 19px;
  color: var(--texte-doux);
}

.vitrine {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: center;
  max-width: 480px;
  width: 100%;
  min-height: 420px;
  margin: 0 auto;
  padding: 32px 26px 40px;
  border-radius: 28px;
  overflow: hidden;
  /* halo vert des flyers sur anthracite */
  /* halo vert des flyers, sous les cartes : Pady reste sur l'anthracite (ses traits sont transparents) */
  background:
    radial-gradient(circle at 30% 78%, rgba(25, 84, 54, 0.95) 0%, rgba(25, 84, 54, 0.45) 32%, rgba(34, 34, 32, 0) 66%),
    var(--anthracite);
  box-shadow: var(--ombre);
}
.vitrine__carte { position: relative; z-index: 1; }
.vitrine__pady { justify-self: end; width: 46%; max-width: 210px; margin: -14px -4px -56px 0; position: relative; z-index: 0; transform: rotate(6deg); }
.vitrine__carte--1 { transform: rotate(-2deg); margin-right: 8%; }
.vitrine__carte--2 { transform: rotate(1.5deg); margin-left: 12%; }
.sortie__bilan { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; color: var(--texte-doux); }
.sortie__points {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--vert);
  color: var(--beige);
  font-family: var(--titre);
  font-weight: 700;
}

/* ---------- Cartes « app » (illustrations en HTML, fidèles aux écrans de Bravo) ---------- */
.carte-app {
  background: var(--blanc);
  border-radius: 20px;
  box-shadow: var(--ombre);
  padding: 18px 18px 16px;
  color: var(--anthracite);
  font-size: 14px;
  line-height: 1.4;
}
.carte-match { border: 2px solid var(--vert); }
.carte-app__titre { font-family: var(--titre); font-size: 19px; font-weight: 700; }
.carte-app__sous-titre { margin-top: 2px; color: var(--texte-doux); }
.carte-match__meta { margin-top: 6px; color: var(--texte-doux); }
.insecable { white-space: nowrap; }
.carte-match__equipes { margin-top: 4px; font-weight: 600; }
.carte-match__equipes span { color: var(--texte-doux); font-weight: 500; padding: 0 4px; }
.carte-match__progression { margin-top: 4px; color: var(--texte-doux); }
.carte-match__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.carte-match__actions span {
  display: block;
  text-align: center;
  padding: 9px 6px;
  border-radius: 12px;
  font-weight: 700;
  font-family: var(--titre);
  font-size: 16px;
}
.action-valider { background: var(--vert); color: var(--beige); }
.action-contester { background: var(--beige); color: var(--anthracite); }

.classement { list-style: none; margin: 10px 0 0; padding: 0; }
.classement li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--bordure);
}
.classement li:first-child { border-top: 0; }
.rang { width: 26px; font-family: var(--titre); font-weight: 800; color: var(--vert); }
.pastille {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--beige);
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.pastille--a { background: #c47a3f; }
.pastille--b { background: var(--vert); }
.pastille--c { background: #57668f; }
.nom { flex: 1; font-weight: 600; }
.serie { color: var(--texte-doux); font-size: 13px; white-space: nowrap; }
.points { font-family: var(--titre); font-weight: 800; font-size: 17px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section__titre { font-size: clamp(34px, 6vw, 54px); max-width: 16em; }
.section__intro { margin: 16px 0 0; max-width: 38em; font-size: 18px; color: var(--texte-doux); }

.etapes {
  display: grid;
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
@media (min-width: 700px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etape {
  background: var(--beige-clair);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 24px 22px 26px;
  counter-increment: etape;
}
.etape::before {
  content: counter(etape);
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--anthracite);
  color: var(--beige);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 18px;
}
.etape h3 { font-size: 24px; }
.etape p { margin: 10px 0 0; color: var(--texte-doux); font-size: 16px; }

/* Bandeaux sombre et vert */
.sombre { background: var(--anthracite); color: var(--beige); }
.section--vert { background: var(--vert); color: var(--beige); }
.sombre .section__intro, .sombre p,
.section--vert .section__intro, .section--vert p { color: rgba(246, 233, 207, 0.86); }

.deux-colonnes { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; gap: 64px; } }

.points-forts { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.points-forts li { display: flex; gap: 14px; align-items: flex-start; }
.points-forts p { margin: 0; }
.points-forts strong { color: var(--beige); }
.puce {
  flex: none;
  margin-top: 2px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--vert-clair);
  color: var(--anthracite);
  font-size: 15px;
  font-weight: 800;
}
.section--vert .puce { background: var(--beige); }

.parcours { display: grid; gap: 14px; }
.parcours .carte-app { border: 2px solid #d98b3a; }
.statuts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.statut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(246, 233, 207, 0.1);
  border: 1px solid rgba(246, 233, 207, 0.25);
}
.statut--valide { background: var(--vert-clair); border-color: var(--vert-clair); color: var(--anthracite); }
.fleche { opacity: 0.6; }

/* Running */
.running__visuel { max-width: 460px; margin: 0 auto; width: 100%; }
.running__visuel img { width: 100%; max-width: 380px; margin: 0 auto -40px; }
.running__visuel .carte-app { position: relative; }

/* Sports */
.sports {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.sports li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  font-weight: 600;
}
.sports li span[aria-hidden] { font-size: 20px; line-height: 1; }
.sports .sports__une { background: var(--vert); border-color: var(--vert); color: var(--beige); }
.sports__une a { color: var(--beige); font-weight: 500; font-size: 14px; opacity: 0.85; text-underline-offset: 3px; }

/* Communauté */
.communaute__flyer { display: block; width: 100%; max-width: 280px; margin: 0 auto; border-radius: 22px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); border: 1px solid rgba(246, 233, 207, 0.12); }
@media (min-width: 900px) { .communaute__flyer { max-width: 330px; } }
.titre-stores { margin: 36px 0 0; font-family: var(--titre); font-size: 20px; font-weight: 700; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.reseau {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(246, 233, 207, 0.35);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.reseau:hover { border-color: var(--beige); }
.reseau svg { width: 22px; height: 22px; flex: none; }

/* FAQ */
.faq { margin: 36px 0 0; display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--beige-clair);
  border: 1px solid var(--bordure);
  border-radius: 18px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-family: var(--titre);
  font-size: 21px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 26px;
  color: var(--vert);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--texte-doux); }
.faq a { color: var(--vert); font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: var(--beige); padding: 56px 0 40px; font-size: 15px; }
.pied .conteneur { display: grid; gap: 32px; }
@media (min-width: 800px) { .pied .conteneur { grid-template-columns: 1fr auto auto; align-items: start; gap: 56px; } }
.pied__logo { width: 230px; }
.pied p { margin: 18px 0 0; color: rgba(246, 233, 207, 0.72); max-width: 30em; }
.pied nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied__titre { margin: 0 0 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vert-clair); }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied__bas {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 233, 207, 0.15);
  color: rgba(246, 233, 207, 0.6);
  font-size: 13px;
}

/* ---------- Pages de texte (confidentialité, mentions, suppression) ---------- */
.document { padding: 48px 0 88px; }
.document .conteneur { max-width: 780px; }
.document h1 { font-size: clamp(36px, 7vw, 56px); }
.document h2 { font-size: 28px; margin: 48px 0 0; scroll-margin-top: 90px; }
.document h3 { font-size: 21px; margin: 28px 0 0; }
.document p, .document li { color: #33332f; }
.document p { margin: 14px 0 0; }
.document ul, .document ol { margin: 14px 0 0; padding-left: 22px; }
.document li { margin: 6px 0; }
.document a { color: var(--vert); font-weight: 600; }
.document a.bouton { color: var(--beige); }
.document a.bouton--clair { color: var(--anthracite); }
.maj { margin: 14px 0 0; color: var(--texte-doux); font-size: 15px; }
.encadre {
  margin: 28px 0 0;
  padding: 20px 22px;
  background: var(--beige-clair);
  border: 1px solid var(--bordure);
  border-left: 5px solid var(--vert);
  border-radius: 14px;
}
.encadre p:first-child { margin-top: 0; }
.encadre .bouton { margin-top: 16px; }
.sommaire { margin: 28px 0 0; padding: 18px 22px; border-radius: 14px; background: var(--beige-clair); border: 1px solid var(--bordure); }
.sommaire ol { margin: 8px 0 0; padding-left: 22px; }
.sommaire a { font-weight: 500; }

.tableau { width: 100%; overflow-x: auto; margin: 18px 0 0; }
.document table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.document th, .document td { text-align: left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--bordure); }
.document th { font-family: var(--titre); font-size: 16px; background: var(--beige-clair); }
/* Sur téléphone, chaque ligne de tableau devient une fiche. */
@media (max-width: 640px) {
  .document table { min-width: 0; }
  .document thead { display: none; }
  .document tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--bordure); }
  .document td { display: block; border: 0; padding: 2px 0; }
  .document td:first-child { font-family: var(--titre); font-size: 18px; font-weight: 700; color: var(--anthracite); }
  .document td[data-label]::before { content: attr(data-label) " : "; font-weight: 600; }
}

/* 404 */
.page-404 { padding: 64px 0 96px; text-align: center; }
.page-404__code { margin: 0 0 8px; font-family: var(--titre); font-weight: 800; font-size: clamp(96px, 22vw, 180px); line-height: 1; color: var(--vert); }
.page-404 h1 { font-size: clamp(38px, 7vw, 60px); }
.page-404 p { color: var(--texte-doux); margin: 16px auto 28px; max-width: 30em; }

/* Repère visible d'une information à renseigner avant la mise en ligne. */
.a-completer { background: #ffd84d; color: #222220; font-weight: 700; padding: 0 6px; border-radius: 4px; }
