/* =========================================================
   LE ROUE LIBRE BRASS — feuille de style
   Couleurs reprises du logo : vert bouteille, vert menthe, cuivre.
   Toutes les couleurs sont définies une seule fois ci-dessous :
   changez une valeur ici, elle change partout sur le site.
   ========================================================= */

:root {
  --vert:       #0f5c3e;   /* le vert du logo */
  --vert-fonce: #083a26;
  --vert-nuit:  #05271a;   /* fond des sections sombres */
  --menthe:     #4fbf95;   /* le vert clair du bandeau du logo */
  --cuivre:     #d7a441;   /* l'or des embouchures */
  --cuivre-vif: #edc46b;
  --creme:      #f6f3ea;
  --gris:       #7d8a83;
  --largeur:    1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: #10231b;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------------- Barre de navigation ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  background: rgba(5, 39, 26, 0.94);
  backdrop-filter: blur(8px);
  color: var(--creme);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--creme);
}
.nav__logo img { height: 42px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  font-size: 0.9rem;
  font-weight: 600;
}
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--menthe); }

/* ---------------- Boutons ---------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  background: var(--cuivre);
  color: var(--vert-nuit);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--cuivre-vif); transform: translateY(-2px); color: var(--vert-nuit); }

.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn--ghost {
  background: transparent;
  color: var(--creme);
  border: 2px solid rgba(246, 243, 234, 0.45);
}
.btn--ghost:hover { background: rgba(246, 243, 234, 0.14); color: var(--creme); }

/* ---------------- Accueil ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem clamp(1rem, 4vw, 3rem);
  color: var(--creme);
  /* Le dégradé assombrit la gauche pour que le texte reste lisible,
     et laisse la photo visible à droite. */
  background:
    linear-gradient(100deg,
      rgba(5, 39, 26, 0.94) 0%,
      rgba(5, 39, 26, 0.86) 38%,
      rgba(5, 39, 26, 0.55) 68%,
      rgba(5, 39, 26, 0.42) 100%),
    url("images/hero.jpg") center / cover no-repeat,
    var(--vert-nuit);
}

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

.hero__logo {
  width: clamp(120px, 18vw, 190px);
  height: auto;
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
}

.hero__kicker {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--menthe);
}

.hero__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.hero__baseline {
  max-width: 40ch;
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------------- Bandeau de chiffres ---------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--vert);
  color: var(--creme);
  text-align: center;
}

.strip__item { padding: 1.6rem 1rem; }
.strip__item strong {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--cuivre-vif);
}
.strip__item span { font-size: 0.85rem; opacity: 0.92; }

/* Bloc dont le texte est long : on réduit la taille pour qu'il tienne sur une ligne */
.strip__item--texte strong { font-size: 1.3rem; }

/* ---------------- Sections ---------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }

.section > *,
.section__grid,
.gallery,
.dates,
.videos,
.booking { max-width: var(--largeur); margin-left: auto; margin-right: auto; }

.section--dark   { background: var(--vert-nuit); color: var(--creme); }
.section--accent { background: var(--vert-fonce); color: var(--creme); }
.section--dark a, .section--accent a { color: var(--menthe); }

.section__title {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  margin: 0 0 2.4rem;
  text-transform: uppercase;
  text-align: center;
}

/* Petit trait cuivre sous chaque titre de section */
.section__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: var(--cuivre);
}
.section--dark .section__title,
.section--accent .section__title { color: var(--creme); }

.section__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.mini-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vert);
  margin: 2.4rem 0 0.8rem;
}
.mini-title:first-child { margin-top: 0; }

/* Photo du groupe, sous le texte de présentation */
.groupe-photo { margin: 2rem 0 0; }
.groupe-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(5, 39, 26, 0.18);
}

/* Effectif et dessins d'instruments */
.formation-count {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}
.formation-count strong {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.9rem;
  color: var(--vert);
  margin-right: 0.35rem;
  vertical-align: -0.12em;
}

.instruments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1.4rem 0.5rem;
}
.instruments li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.instruments svg {
  width: 100%;
  max-width: 96px;
  height: auto;
  fill: none;
  stroke: var(--cuivre);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Parties remplies (pavillons, pistons, cymbale) */
.instruments svg .plein { fill: var(--cuivre); stroke: var(--cuivre); stroke-width: 3.5; }
/* Parties évidées, de la couleur du fond */
.instruments svg .creux { fill: var(--creme); stroke: none; }
.instruments svg .epais { stroke-width: 11; }

.instruments span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--vert);
}

.lead { font-size: 1.15rem; max-width: 62ch; }
.muted { color: var(--gris); }
.section--dark .muted, .section--accent .muted { color: #9db3a8; }
.center { text-align: center; }
.small { font-size: 0.9rem; }

.list { list-style: none; padding: 0; margin: 0; }
.list li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid rgba(15, 92, 62, 0.16);
  position: relative;
}
.list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cuivre);
}

/* ---------------- Galerie photo ---------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--vert-fonce);
  transition: transform 0.25s ease;
}
.gallery img:hover { transform: scale(1.02); }

/* ---------------- Vidéos ---------------- */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.4rem;
  margin: 1.8rem auto 2rem;
}

.video { margin: 0; }

.video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border-radius: 8px;
}


/* ---------------- Dates ---------------- */
.dates { list-style: none; padding: 0; margin: 0 auto; }

.date {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(246, 243, 234, 0.14);
}

.date__when { flex: 0 0 auto; width: 78px; text-align: center; color: var(--cuivre-vif); }
.date__day {
  display: block;
  font-family: "Anton", Impact, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}
.date__day--range { font-size: 1.45rem; letter-spacing: -0.02em; }
.date__month { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; }

.date__what h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(246, 243, 234, 0.35);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9db3a8;
  vertical-align: middle;
}
.date__what p { margin: 0; color: #9db3a8; font-size: 0.95rem; }

/* ---------------- Booking ---------------- */
.booking { text-align: center; }
.booking .lead { margin-left: auto; margin-right: auto; }

.contact-name { margin: 1.9rem 0 0; font-size: 1.05rem; }
.contact-name strong { color: var(--menthe); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem auto 1.6rem;
  max-width: 700px;
}

.card {
  display: block;
  padding: 1.5rem 1rem;
  background: rgba(246, 243, 234, 0.06);
  border: 1px solid rgba(246, 243, 234, 0.18);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--cuivre); background: rgba(215, 164, 65, 0.14); }

.card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cuivre-vif);
  margin-bottom: 0.4rem;
}
.card__value { display: block; font-size: 1.15rem; font-weight: 600; color: var(--creme); }

/* ---------------- Pied de page ---------------- */
.footer {
  background: var(--vert-nuit);
  color: var(--creme);
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(246, 243, 234, 0.12);
}
.footer__logo { width: 96px; height: auto; margin: 0 auto 1.2rem; }
.footer__brand {
  font-family: "Anton", Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}
.footer__social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin: 1.2rem 0;
  font-weight: 600;
}
.footer__social a { color: var(--menthe); text-decoration: none; }
.footer__social a:hover { text-decoration: underline; }
.footer__legal { margin: 0; font-size: 0.85rem; color: #7d8a83; }

/* ---------------- Téléphones et tablettes ---------------- */
@media (max-width: 820px) {
  /* Sur téléphone, le texte occupe toute la largeur : on assombrit partout. */
  .hero {
    background:
      linear-gradient(rgba(5, 39, 26, 0.82), rgba(5, 39, 26, 0.92)),
      url("images/hero.jpg") center / cover no-repeat,
      var(--vert-nuit);
  }
  .section__grid { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
  .nav__logo span { display: none; }
  .hero { min-height: 80vh; }
}
