/* ============================================
   YOLO GROUP — Feuille de style commune
   Monochrome, centré, typo affirmée
   ============================================ */
:root {
  --noir: #111418;
  --charbon: #23272b;
  --sand: #f7f3ea;
  --sand-deep: #e9e2d2;
  --ink: #25313d;
  --muted: #5c6b7a;
  --white: #ffffff;
  --accent: #111418;
  /* accents par enseigne (pages structures) */
  --mp: #d4593b;
  --lb: #9a4a8f;
  --nor: #2a9d8f;
  --vag: #b07d3a;
  --kn: #3a7ca5;
  --agh: #6a8f3f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.08; color: var(--noir); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: .8rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .4rem; }

p { margin-bottom: 1rem; }
a { color: var(--noir); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .9rem;
}

/* ---------- Animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .container > * { animation: rise .7s ease both; }
.hero .container > *:nth-child(2) { animation-delay: .12s; }
.hero .container > *:nth-child(3) { animation-delay: .24s; }
.hero .container > *:nth-child(4) { animation-delay: .32s; }

/* ---------- Navigation ---------- */
.topbar {
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar nav a {
  color: var(--noir);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  position: relative;
}
.topbar nav a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--noir);
  transition: width .2s ease;
}
.topbar nav a:not(.btn-nav):hover::after { width: 100%; }
.btn-nav {
  background: var(--noir);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 999px;
}
.btn-nav:hover { opacity: .85; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(170deg, var(--noir) 0%, var(--charbon) 70%, #3a3f45 100%);
  color: var(--white);
  padding: 104px 0 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #d7d7d2;
  max-width: 580px;
  margin: 0 auto 1rem;
  font-weight: 300;
}
.hero .kicker { color: #b9b9b2; }
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

.hero--page { padding: 84px 0 104px; }

/* Hero avec photo de fond */
.hero--photo { position: relative; }
.hero--photo::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero--photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(17,20,24,.78), rgba(17,20,24,.5) 60%, rgba(17,20,24,.72));
  z-index: 1;
}
.hero--photo .container { position: relative; z-index: 2; }
.hero--photo .hero-wave { z-index: 2; }
.hero--cabane::before { background-image: url('assets/cabane-hero.jpg'); }
.hero--barres::before { background-image: url('assets/barres-hero.jpg'); }
.hero--millepates::before { background-image: url('assets/mp-hero.jpg'); }
.hero--vagabond::before { background-image: url('assets/vag-hero.jpg'); }

/* Figure (image dans une colonne) */
.figure {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17,20,24,.14);
  margin: 0;
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.two-col .figure { align-self: stretch; min-height: 280px; }

/* Galerie photos */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(17,20,24,.1); }
.gallery img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.hero--mp  { background: linear-gradient(160deg, #7c2d16, var(--mp)); }
.hero--lb  { background: linear-gradient(160deg, #4e2148, var(--lb)); }
.hero--nor { background: linear-gradient(160deg, #134e48, var(--nor)); }
.hero--vag { background: linear-gradient(160deg, #5e3c14, var(--vag)); }
.hero--kn  { background: linear-gradient(160deg, #1d4258, var(--kn)); }
.hero--agh { background: linear-gradient(160deg, #36511c, var(--agh)); }

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--noir);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 15px 32px;
  border-radius: 999px;
  margin-top: .9rem;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { opacity: .88; transform: translateY(-2px); }
section .btn { background: var(--noir); color: var(--white); }
.cta-panel .btn { background: var(--white); color: var(--noir); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.65);
  color: var(--white);
  margin-left: 10px;
}

/* ---------- Manifeste ---------- */
.manifesto-band { background: var(--white); text-align: center; padding: 96px 0; }
.manifesto {
  font-family: 'Satisfy', 'Fraunces', cursive;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--noir);
  line-height: 1.25;
  margin-bottom: .8rem;
  transform: rotate(-1.5deg);
}
.hashtag {
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--white); }
.section-head { max-width: 620px; margin: 0 auto 2.6rem; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Bande chiffres ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  text-align: center;
}
.stat { padding: 10px; }
.stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: var(--noir);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat .label {
  font-size: .82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}

/* ---------- Cartes enseignes ---------- */
.cards--single { max-width: 480px; margin: 0 auto; grid-template-columns: 1fr; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.card {
  background: var(--sand);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(17, 20, 24, .14); }
.card-band { height: 7px; }
.card-band--mp { background: var(--mp); }
.card-band--lb { background: var(--lb); }
.card-band--nor { background: var(--nor); }
.card-band--vag { background: var(--vag); }
.card-band--kn { background: var(--kn); }
.card-band--agh { background: var(--agh); }
.card-body { padding: 26px 26px 28px; }
.card-body .tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 600;
}
.card-body h3 { margin-top: .35rem; font-size: 1.45rem; }
.card-body p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }
.card-body .lieu {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--noir);
  margin-top: .8rem;
}
.card-body .lieu::before { content: "→ "; }

/* ---------- Grille avantages / valeurs ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.tile {
  background: var(--white);
  border-radius: 18px;
  padding: 30px 28px;
  text-align: center;
  transition: transform .2s ease;
}
.tile:hover { transform: translateY(-4px); }
section.alt .tile { background: var(--sand); }
.tile .emoji { font-size: 2rem; display: block; margin-bottom: .7rem; }
.tile p { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Fiche infos (pages structures) ---------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 1.5rem auto 0;
  text-align: center;
}
.fact {
  flex: 0 1 215px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 20px 22px;
  border-top: 4px solid var(--sand-deep);
  box-shadow: 0 3px 12px rgba(17, 20, 24, .07);
}
.fact .emoji-k { font-size: 1.4rem; display: block; margin-bottom: .5rem; }
/* accent couleur par enseigne */
.facts--mp  .fact { border-top-color: var(--mp); }
.facts--lb  .fact { border-top-color: var(--lb); }
.facts--nor .fact { border-top-color: var(--nor); }
.facts--vag .fact { border-top-color: var(--vag); }
.facts--kn  .fact { border-top-color: var(--kn); }
.facts--agh .fact { border-top-color: var(--agh); }
.facts--mp  .fact .k { color: var(--mp); }
.facts--lb  .fact .k { color: var(--lb); }
.facts--nor .fact .k { color: var(--nor); }
.facts--vag .fact .k { color: var(--vag); }
.facts--kn  .fact .k { color: var(--kn); }
.facts--agh .fact .k { color: var(--agh); }
.fact .k {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: .25rem;
}
.fact .v { font-weight: 600; color: var(--noir); }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; align-items: start; }
}

/* les ancres internes ne passent pas sous l'en-tête fixe */
[id] { scroll-margin-top: 90px; }

ul.checks { list-style: none; margin: .5rem 0 1rem; }
ul.checks li {
  padding-left: 2em;
  position: relative;
  margin-bottom: .6rem;
}
ul.checks li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
}

/* ---------- Bloc CTA candidature ---------- */
.cta-panel {
  background: var(--noir);
  border-radius: 22px;
  color: var(--white);
  padding: 56px 44px;
  text-align: center;
}
.cta-panel h2 { color: var(--white); }
.cta-panel p { color: #d7d7d2; max-width: 540px; margin: 0 auto 1rem; }

.cta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 1.8rem;
  text-align: center;
}
.cta-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: var(--white);
  transition: background .15s ease, transform .15s ease;
}
.cta-item:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.cta-item .name { font-weight: 600; display: block; font-size: 1.02rem; }
.cta-item .mail { font-size: .82rem; color: #cfc6ae; }

/* ---------- Offres d'emploi (accordéon) ---------- */
.offers { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.offer {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sand-deep);
}
.offer summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  flex-wrap: wrap;
}
.offer summary::-webkit-details-marker { display: none; }
.offer summary:hover { background: var(--sand); }
.offer .offer-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.offer .offer-title h3 { margin: 0; font-size: 1.25rem; }
.offer .badge {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
}
.badge--mp { background: var(--mp); }
.badge--lb { background: var(--lb); }
.badge--nor { background: var(--nor); }
.badge--vag { background: var(--vag); }
.badge--kn { background: var(--kn); }
.badge--agh { background: var(--agh); }
.offer .chevron {
  font-size: 1.2rem;
  transition: transform .2s ease;
  color: var(--muted);
}
.offer[open] .chevron { transform: rotate(180deg); }
.offer-body { padding: 0 26px 26px; border-top: 1px solid var(--sand-deep); }
.offer-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin: 1.4rem 0 .5rem;
}
.offer-body ul { list-style: none; }
.offer-body ul li { padding-left: 1.4em; position: relative; margin-bottom: .4rem; font-size: .96rem; }
.offer-body ul li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.offer-body .btn { margin-top: 1.2rem; }

/* ---------- Page groupes / événements ---------- */
.venue-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 7px solid var(--noir);
}
@media (max-width: 700px) { .venue-row { grid-template-columns: 1fr; text-align: left; } }
.venue-row.v--mp { border-color: var(--mp); }
.venue-row.v--lb { border-color: var(--lb); }
.venue-row.v--nor { border-color: var(--nor); }
.venue-row.v--vag { border-color: var(--vag); }
.venue-row.v--kn { border-color: var(--kn); }
.venue-row.v--agh { border-color: var(--agh); }
.venue-row .v-name { min-width: 210px; }
.venue-row .v-name h3 { margin: 0; }
.venue-row .v-name .v-loc {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}
.venue-row .v-desc { color: var(--muted); font-size: .96rem; }
.venue-row .v-desc p { margin: 0; }
.venue-row .v-cap {
  text-align: center;
  min-width: 130px;
}
.venue-row .v-cap .cap-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--noir);
  display: block;
  line-height: 1.1;
}
.venue-row .v-cap .cap-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 1rem 0; border-left: 3px solid var(--sand-deep); }
.timeline li { padding: 0 0 1.3rem 1.4rem; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8.5px; top: .45em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--noir);
  border: 3px solid var(--sand);
}
.timeline .year {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--noir);
  margin-right: .5rem;
}

/* ---------- Liens externes enseigne ---------- */
.links-line { margin-top: 1rem; }
.links-line a {
  display: inline-block;
  margin-right: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--sand-deep);
}
.links-line a:hover { border-color: var(--noir); }

/* ---------- Footer ---------- */
footer {
  background: var(--noir);
  color: #b9bdc2;
  padding: 56px 0 32px;
  font-size: .92rem;
}
footer h4 {
  color: var(--white);
  font-family: 'Fraunces', Georgia, serif;
  margin-bottom: .7rem;
  font-size: 1.05rem;
}
.footer-logo { height: 84px; width: auto; margin-bottom: 14px; opacity: .92; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
footer a { color: #b9bdc2; text-decoration: none; display: block; margin-bottom: .35rem; }
footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  font-size: .82rem;
  color: #84898f;
  text-align: center;
}
