/* ============================================================
   VSF TIR CIBLE — Feuille de style partagée (thème sombre, vif)
   ------------------------------------------------------------
   Toutes les couleurs sont regroupées dans ":root" ci-dessous.
   Le site est sombre du haut en bas, volontairement — plus de
   grandes zones claires/blanches.
   ============================================================ */

:root {
  --fond: #102328;        /* teinte 16/30 validée par le président */
  --fond-carte: #1b353c;
  --fond-carte-alt: #24444c;
  --rouge: #e2402f;
  --or: #f0b23e;
  --or-clair: #f8cd7c;
  --menthe: #a8d9e6;
  --texte: #eef6f2;       /* texte principal, clair sur fond sombre */
  --texte-att: #b9d6ce;   /* texte secondaire, plus discret */

  --police-titre: "Baloo 2", sans-serif;
  --police-texte: "Nunito", sans-serif;
  --police-donnee: "JetBrains Mono", monospace;

  --rayon: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  line-height: 1.6;
  position: relative;
}
/* ============================================================
   TEXTURE DE FOND DISCRÈTE — reprend ImageSite/balles.png (les
   ogives détourées) en très grand format et très faible opacité,
   fixe (ne bouge pas au défilement), pour donner du relief sans
   surcharger. Ajuste "opacity" ou "background-size" ci-dessous
   si tu veux plus ou moins de présence.
   ============================================================ */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image: url("ImageSite/balles.png");
  background-repeat: repeat;
  background-size: 850px auto;
  opacity: 0.06;
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); margin: 0 0 0.5em; }

.eyebrow {
  font-family: var(--police-donnee);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or);
}
.section-tete .eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; }
.section-tete .eyebrow::before { content: "🎯"; font-size: 0.9em; display: inline-block; animation: respirer-cible 2.6s ease-in-out infinite; }
@keyframes respirer-cible { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* ===== En-tête / navigation ===== */
.entete {
  background: var(--fond);
  border-bottom: 1px solid rgba(143,227,208,0.12);
  position: sticky; top: 0; z-index: 50;
}
.nav-conteneur {
  max-width: 1180px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--police-titre); font-size: 1.3rem;
  text-decoration: none; color: #fff;
  display: flex; align-items: center; gap: 0.8rem;
}
.logo span { color: var(--or); }
.logo-img { height: 92px; width: auto; display: block; }
@media (max-width: 780px) { .logo-img { height: 64px; } }
.nav-liens { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-liens a {
  text-decoration: none; color: var(--menthe); font-weight: 800;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav-liens a:hover, .nav-liens a[aria-current="page"] { color: var(--or); border-color: var(--or); }
.nav-liens a[aria-current="page"] { position: relative; }
.nav-liens a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 46px; height: 46px; transform: translate(-50%, -50%);
  background: url("ImageSite/cible.png") no-repeat center/contain;
  pointer-events: none; mix-blend-mode: screen; opacity: 0.85;
  animation: respirer-viseur 2.4s ease-in-out infinite;
}
@keyframes respirer-viseur {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--or); color: #fff;
  padding: 0.4rem 0.7rem; border-radius: 8px; font-weight: 800; cursor: pointer;
}
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav-liens {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--fond); flex-direction: column; padding: 1rem 1.5rem 1.5rem; gap: 1.1rem;
    border-bottom: 1px solid rgba(143,227,208,0.12);
  }
  .nav-liens.ouvert { display: flex; }
}

/* ===== Bandeau d'alerte ===== */
.alerte-bande { padding: 1.5rem 1.5rem 0; }
.alerte {
  max-width: 900px; margin: 0 auto;
  background: rgba(226,64,47,0.14);
  border: 1.5px solid var(--rouge);
  border-radius: var(--rayon);
  padding: 1rem 1.3rem;
  text-align: center;
  color: var(--texte);
  font-size: 0.95rem;
}
.alerte strong { color: var(--or-clair); }

/* ===== Hero ===== */
.hero { padding: 3rem 1.5rem 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--rouge) 0 8px, transparent 8px 16px, var(--or) 16px 24px, transparent 24px 32px);
  opacity: 0.18;
}
.hero-contenu {
  position: relative; z-index: 2; max-width: 720px; margin: 0 auto;
  animation: apparition-hero 0.8s ease both;
}
@keyframes apparition-hero {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--menthe); line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--or); }
.hero p.intro { color: var(--texte-att); font-size: 1.1rem; max-width: 46ch; margin: 1rem auto 0; }
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.bouton {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--police-titre); font-weight: 600;
  font-size: 0.95rem; text-decoration: none; padding: 0.85rem 1.7rem; border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bouton::after { content: "→"; display: inline-block; transform: translateX(-4px); opacity: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.bouton:hover::after { transform: translateX(0); opacity: 1; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.bouton-plein { background: var(--rouge); color: #fff; position: relative; overflow: hidden; }
.bouton-plein:active { animation: recul-tir 0.25s ease; }
.bouton-plein::before {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0;
  border-radius: inherit; pointer-events: none;
}
.bouton-plein:active::before { animation: flash-tir 0.25s ease; }
@keyframes recul-tir {
  0% { transform: translateX(0); } 30% { transform: translateX(-4px); } 100% { transform: translateX(0); }
}
@keyframes flash-tir {
  0% { opacity: 0.55; } 100% { opacity: 0; }
}
.bouton-vide { border: 2px solid var(--or); color: var(--or-clair); }

/* ===== Sections générales ===== */
.section { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.section-alt { background: var(--fond-carte-alt); }
.section-tete { max-width: 60ch; margin-bottom: 2rem; }
.section h2 { color: var(--menthe); font-size: 1.8rem; }
.section p { color: var(--texte-att); }
.section a { color: var(--or-clair); }

/* ===== Cartes info ===== */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.4rem; margin-top: 2rem; }
.carte {
  background: var(--fond-carte); border-radius: var(--rayon); padding: 1.5rem;
  border-top: 4px solid var(--rouge); box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
.carte:nth-child(2n) { border-top-color: var(--or); }
.carte:nth-child(3n) { border-top-color: var(--menthe); }
.carte h3 { font-size: 1.05rem; color: #fff; }
.carte p { margin: 0; color: var(--texte-att); }

/* ===== Stands ===== */
.stands { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.stand {
  flex: 1; min-width: 150px; background: var(--fond-carte); border-radius: var(--rayon);
  padding: 1.4rem 1.6rem; transform: rotate(-1.2deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.stand:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,0.35); }
.stand:nth-child(even) { transform: rotate(1.2deg); }
.stand:nth-child(even):hover { transform: rotate(0deg) translateY(-3px); }
.stand .chiffre { font-family: var(--police-titre); font-size: 2rem; color: var(--or); }
.stand p { margin: 0.3rem 0 0; color: var(--texte-att); font-size: 0.92rem; }

/* ===== Tableaux (horaires / tarifs) ===== */
table.donnees { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-family: var(--police-donnee); font-size: 0.95rem; }
table.donnees th, table.donnees td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid rgba(143,227,208,0.14); }
table.donnees th { color: var(--menthe); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; }
table.donnees tr:last-child td { border-bottom: none; }
.note-a-completer {
  display: inline-block; margin-top: 1rem; font-size: 0.85rem; color: var(--or-clair);
  background: rgba(240,178,62,0.12); padding: 0.5rem 0.9rem; border-radius: 8px; border-left: 3px solid var(--or);
}

/* ===== Galerie photos ===== */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; margin-top: 2rem; }
.galerie figure { margin: 0; background: var(--fond-carte); border-radius: var(--rayon); aspect-ratio: 4/3; overflow: hidden; position: relative; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-family: var(--police-donnee); font-size: 0.78rem;
}

/* ===== Équipe — cartes façon "avis de recherche", fun et assumé ===== */
.equipe-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); justify-content: center; gap: 1.6rem; margin-top: 2rem; }
.membre {
  background: var(--fond-carte); border-radius: var(--rayon); padding: 1.2rem; text-align: center;
  border-top: 3px solid var(--or); box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.membre:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
.membre .photo { aspect-ratio: 1; border-radius: 10px; overflow: hidden; margin-bottom: 0.8rem; filter: sepia(0.3); }
.membre .photo img { width: 100%; height: 100%; object-fit: cover; }
.membre h3 { font-size: 1rem; color: #fff; margin-bottom: 0.1rem; }
.membre .role { font-family: var(--police-donnee); font-size: 0.78rem; color: var(--menthe); text-transform: uppercase; }

/* ===== Produits ===== */
.produits-grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 260px));
  justify-content: center; gap: 1.6rem; margin-top: 1.2rem;
}
.produit {
  background: var(--fond-carte); border-radius: var(--rayon); overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25); border-top: 4px solid var(--menthe);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.produit:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.35); }
.produit .produit-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: contain; display: block; padding: 1.2rem;
  background: radial-gradient(ellipse at center, var(--fond-carte-alt) 0%, var(--fond) 100%);
  transition: transform 0.4s ease;
}
.produit:hover .produit-photo { transform: scale(1.05); }
.produit { overflow: hidden; }
.produit .produit-corps { padding: 1.2rem 1.4rem 1.4rem; }
.produit h3 { font-size: 1.05rem; color: #fff; margin: 0; }
.produit .prix { font-family: var(--police-donnee); color: var(--or-clair); font-size: 1.1rem; margin-top: 0.7rem; }

/* ===== Formulaire de contact ===== */
.formulaire { max-width: 560px; margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.champ { display: grid; gap: 0.4rem; }
.champ label { font-family: var(--police-donnee); font-size: 0.78rem; text-transform: uppercase; color: var(--menthe); }
.champ input, .champ textarea {
  font-family: var(--police-texte); font-size: 1rem; padding: 0.7rem 0.8rem; border-radius: 10px;
  border: 1px solid rgba(143,227,208,0.25); background: var(--fond-carte); color: var(--texte);
}
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--or); }

.infos-pratiques { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.6rem; }
.infos-pratiques h3 { font-size: 0.85rem; color: var(--or); font-family: var(--police-donnee); text-transform: uppercase; }
.infos-pratiques p { margin: 0.2rem 0; color: var(--texte-att); }
iframe.carte-google { width: 100%; height: 320px; border: 0; border-radius: var(--rayon); margin-top: 1.5rem; filter: grayscale(0.3) invert(0.9) hue-rotate(140deg); }

/* ===== Pied de page ===== */
.pied {
  background: #000; color: var(--texte-att); padding: 3rem 1.5rem 2rem; font-size: 0.88rem;
  position: relative; overflow: hidden;
}
.pied::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("ImageSite/balles.jpeg");
  background-repeat: repeat; background-size: 850px auto;
  opacity: 0.08; pointer-events: none;
}
.pied-conteneur { position: relative; z-index: 1; }
.pied-conteneur { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.pied a { color: var(--or); text-decoration: none; }
.pied .mentions { width: 100%; border-top: 1px solid rgba(143,227,208,0.1); margin-top: 1.5rem; padding-top: 1.2rem; font-size: 0.76rem; }
.pied-marque { display: flex; align-items: center; gap: 1rem; }
.pied-marque img { height: 88px; width: auto; }
