/* Module « Nos randonnées » : mise en avant sur le site (lot 9) et bilan (lot 10) */

/* Bouton du menu */
.cyclo-promo-li { display: flex; align-items: center; }
.cyclo-promo-btn { display: inline-flex; align-items: center; gap: .45rem; margin: 0 .5rem; padding: .5rem .95rem; border-radius: 2rem;
  background: linear-gradient(135deg, #e30613, #ff5a1f); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(227, 6, 19, .6); animation: cyclo-pulse 2.4s ease-out 3; line-height: 1.1; }
.cyclo-promo-btn:hover { filter: brightness(1.08); color: #fff; }
.cyclo-promo-btn .cyclo-promo-court { background: #fcf333; color: #112058; border-radius: 1rem; padding: .1rem .5rem; font-size: .8em; }
.cyclo-promo-btn.apres { background: linear-gradient(135deg, #112058, #2a4bb0); }
@keyframes cyclo-pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, .55); } 70% { box-shadow: 0 0 0 .8rem rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }
@media (max-width: 575px) { .cyclo-promo-btn { padding: .45rem .7rem; margin: 0 .25rem; font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .cyclo-promo-btn { animation: none; } }

/* Bandeau d'accueil */
.cyclo-hero { background: linear-gradient(135deg, #112058 0%, #24408f 100%); color: #fff; border-radius: .5rem; overflow: hidden; position: relative; }
.cyclo-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover; opacity: .22; }
.cyclo-hero > .row { position: relative; }
.cyclo-hero h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.cyclo-hero .cyclo-hero-kicker { color: #fcf333; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.cyclo-hero .cyclo-count { display: flex; gap: .6rem; }
.cyclo-hero .cyclo-count div { background: rgba(255,255,255,.12); border-radius: .4rem; padding: .5rem .7rem; text-align: center; min-width: 4.2rem; }
.cyclo-hero .cyclo-count b { display: block; font-size: 1.9rem; line-height: 1; color: #fcf333; }
.cyclo-hero .cyclo-count small { font-size: .75rem; text-transform: uppercase; opacity: .85; }
.cyclo-hero .cyclo-km { display: inline-block; border-left: .35rem solid var(--c); padding: .1rem .6rem; margin: 0 .6rem .4rem 0; font-weight: 700; }
.cyclo-hero .btn-cyclo { background: #fcf333; color: #112058; font-weight: 800; border: 0; }
.cyclo-hero .btn-cyclo:hover { background: #fff; }
.cyclo-hero img.cyclo-hero-affiche { max-height: 330px; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.4); transform: rotate(2deg); }
.cyclo-hero .cyclo-stat b { display: block; font-size: 2.2rem; line-height: 1; color: #fcf333; font-weight: 800; }

/* Bilan public */
.cyclo-bilan-kpi { background: #112058; color: #fff; border-radius: .5rem; padding: 1rem; text-align: center; height: 100%; }
.cyclo-bilan-kpi b { display: block; font-size: 2.3rem; font-weight: 800; color: #fcf333; line-height: 1.1; }
.cyclo-bilan-kpi span { font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.cyclo-recompense { border: 1px solid #e5e7ef; border-radius: .5rem; padding: 1rem; height: 100%; background: #fff; }
.cyclo-recompense .fa-trophy { color: #d4a017; }
.cyclo-recompense img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; margin-bottom: .6rem; }
.cyclo-honneur { background: #fffbe0; border-left: .4rem solid #fcf333; border-radius: .5rem; }
.cyclo-palmares .bar { height: .5rem; background: #e9ecef; border-radius: .25rem; overflow: hidden; }
.cyclo-palmares .bar div { height: 100%; background: #112058; }
.cyclo-podium-1 { color: #d4a017; } .cyclo-podium-2 { color: #9aa0a6; } .cyclo-podium-3 { color: #b0703c; }

/* Corrections : titres du site forcés en bleu ; pastille flottante sur téléphone */
.cyclo-hero h2, .cyclo-hero .h2 { color: #fff; }
.cyclo-promo-float { position: fixed; left: 12px; bottom: 14px; z-index: 1040; margin: 0; padding: .65rem 1rem; font-size: .95rem;
  box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.35); max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; }
.cyclo-promo-float span:not(.cyclo-promo-court) { overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------
   Pages du module (bénévolat, nos randonnées, randonnée) : titres modernisés,
   sans les carrés jaunes du thème général
   ------------------------------------------------------------------ */
.cyclo-page h1, .cyclo-page h3 { background: none !important; padding-left: 0 !important; }
.cyclo-page h1 { letter-spacing: -.02em; margin-bottom: .9rem; }
.cyclo-page h3, .cyclo-page .h5 { font-size: 1.15rem; line-height: 1.4; letter-spacing: .03em; color: var(--primary-color, #112058); }
.cyclo-page h3:not(.card-title):not(.h4) { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.cyclo-page h3:not(.card-title):not(.h4)::after { content: ""; flex: 1; height: 1px; background: #e3e6ef; }
.cyclo-page h2.h4 { font-size: 1.35rem; }

/* sélecteur de randonnées (onglets « pilules ») : lisible, discret, moderne */
.cyclo-page .nav-pills { gap: .4rem; }
.cyclo-page .nav-pills .nav-link { color: var(--primary-color, #112058); background: #f1f3f9; border-radius: 2rem; padding: .45rem 1rem; font-weight: 600; }
.cyclo-page .nav-pills .nav-link:hover { background: #e3e7f3; }
.cyclo-page .nav-pills .nav-link.active { color: #fff; background: var(--primary-color, #112058); }

/* onglets « Je me propose / Mes tâches / Avancement » */
.cyclo-page .nav-tabs { border-bottom: 2px solid #e3e6ef; gap: .25rem; }
.cyclo-page .nav-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; color: #4a5272; font-weight: 600; background: none; }
.cyclo-page .nav-tabs .nav-link:hover { color: var(--primary-color, #112058); }
.cyclo-page .nav-tabs .nav-link.active { color: var(--primary-color, #112058); background: none; border-bottom-color: var(--secondary-color, #fcf333); }

/* Mode « recrutement de bénévoles » (randonnée pas encore publiée, membres connectés) */
.cyclo-promo-btn.recrutement { background: linear-gradient(135deg, #1d7a46, #2fa35f); box-shadow: none; animation: none; }
.cyclo-hero-recrutement { background: linear-gradient(135deg, #154b2e 0%, #1d7a46 100%); }
.cyclo-recrute-liste li { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.cyclo-preparation { border: 2px dashed #2fa35f; border-radius: .5rem; background: #f3fbf6; }
.cyclo-teaser { border: 2px dashed #c5cbe0; border-radius: .5rem; background: #f7f8fc; }
