/* Club Boissy — /adhesion landing + payment result + /connexion (scoped) */
body.itemid-180,
body.itemid-181,
body.itemid-182,
body.itemid-183,
body.itemid-233,
body.itemid-235,
body.itemid-236,
body.itemid-219,
body.itemid-223,
body.itemid-242,
.bclub-adhesion-result,
.bclub-connexion,
.bclub-moncompte,
.bclub-profile,
.bclub-payment,
.bclub-history,
.bclub-fiche {
  --bclub-terra: #c5381c;
  --bclub-terra-dark: #9e3116;
  --bclub-lime: #b8cf4b;
  --bclub-cta: #04b404;
  --bclub-cta-dark: #038a03;
  --bclub-ink: #252525;
  --bclub-muted: #5a5a5a;
  --bclub-paper: #ffffff;
  --bclub-sand: #f7f3ef;
  --bclub-font: "Poppins", system-ui, sans-serif;
}

body.itemid-180 #sp-header .logo-image,
body.itemid-180 #sp-header .logo img,
body.itemid-219 #sp-header .logo-image,
body.itemid-219 #sp-header .logo img,
body.itemid-223 #sp-header .logo-image,
body.itemid-223 #sp-header .logo img,
body.itemid-242 #sp-header .logo-image,
body.itemid-242 #sp-header .logo img {
  max-height: 48px;
}

/* Hide legacy title modules on this page (landing replaces them) */
body.itemid-180 #sp-titreadhesion,
body.itemid-180 .sp-module.TitreAdhesion,
body.itemid-180 [id*="TitreAdhesion"],
body.itemid-180 #sp-subheaderpages,
body.itemid-180 .moduletable.SubHeaderAdhesion {
  display: none !important;
}

/* Hide SPPB title / redundant headings on /connexion */
body.itemid-219 .sppb-addon-header,
body.itemid-219 .sppb-addon-header .sppb-addon-title,
body.itemid-219 .page-header,
body.itemid-219 .sp-page-title,
body.itemid-219 h1.sppb-addon-title,
body.itemid-219 .sppb-section:has(.sppb-addon-header):not(:has(.bclub-connexion)) {
  display: none !important;
}

/* Full-bleed component area */
body.itemid-180 #sp-main-body > .container,
body.itemid-180 #sp-component > .container,
body.itemid-180 #sp-main-body .container,
body.itemid-236 #sp-main-body > .container,
body.itemid-236 #sp-component > .container,
body.itemid-236 #sp-main-body .container,
body.itemid-219 #sp-main-body > .container,
body.itemid-219 #sp-component > .container,
body.itemid-219 #sp-main-body .container,
body.itemid-219 .sppb-row-container,
body.itemid-219 .sppb-container-inner,
body.itemid-223 #sp-main-body > .container,
body.itemid-223 #sp-component > .container,
body.itemid-223 #sp-main-body .container,
body.itemid-242 #sp-main-body > .container,
body.itemid-242 #sp-component > .container,
body.itemid-242 #sp-main-body .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.itemid-180 #sp-component,
body.itemid-236 #sp-component,
body.itemid-219 #sp-component,
body.itemid-223 #sp-component,
body.itemid-242 #sp-component {
  padding: 0;
}

body.itemid-223 #sp-main-body,
body.itemid-242 #sp-main-body {
  padding-top: 0;
  padding-bottom: 0;
}

body.itemid-223 .page-header,
body.itemid-223 .sp-page-title,
body.itemid-242 .page-header,
body.itemid-242 .sp-page-title {
  display: none !important;
}

body.itemid-223 .bclub-reset,
body.itemid-242 .bclub-connexion {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* Hide Helix title strip on /formulaire-de-connexion */
body.itemid-242 #sp-section-1,
body.itemid-242 #sp-titreadhesion,
body.itemid-242 [id*="TitreConnexion"] {
  display: none !important;
}

body.itemid-219 #sp-main-body {
  padding-top: 0;
  padding-bottom: 0;
}

/* Kill SPPB inline paddings on connexion page sections */
body.itemid-219 .sp-page-builder .page-content #section-id-1667896849172,
body.itemid-219 .sp-page-builder .page-content #section-id-1667897215881,
body.itemid-219 #section-id-1667896849172,
body.itemid-219 #section-id-1667897215881 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Hide legacy SPPB title/icon row (replaced by WOW hero) */
body.itemid-219 #section-id-1667896849172 {
  display: none !important;
}

/* Neutralize the narrow white column wrapping the login module */
body.itemid-219 #column-wrap-id-1667897215882 {
  display: none !important;
}

body.itemid-219 #column-wrap-id-1667897215883,
body.itemid-219 #column-wrap-id-1667897215883.sppb-col-md-4 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.itemid-219 #column-id-1667897215883 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.itemid-219 #sppb-addon-wrapper-1667897215884 {
  margin: 0 !important;
}

body.itemid-219 .sppb-row,
body.itemid-219 .sppb-column,
body.itemid-219 .sppb-column-addons,
body.itemid-219 .sppb-addon-module,
body.itemid-219 .sppb-addon-content {
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.itemid-219 [class*="sppb-col-"],
body.itemid-219 .sppb-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Break out of any nested SPPB/container constraint */
body.itemid-219 .bclub-connexion {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.bclub-connexion .bclub-adhesion__wrap {
  width: min(1280px, calc(100% - 3.5rem));
}

.bclub-connexion .bclub-adhesion-result__hero-inner {
  width: min(1280px, calc(100% - 3.5rem));
}

.bclub-adhesion {
  font-family: var(--bclub-font);
  color: var(--bclub-ink);
  background: var(--bclub-paper);
}

.bclub-adhesion__wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Hero —— */
.bclub-adhesion__hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.bclub-adhesion__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bclub-adhesion__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bclub-adhesion.is-ready .bclub-adhesion__hero-media img {
  transform: scale(1);
}

.bclub-adhesion__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.25) 0%, rgba(20, 12, 8, 0.55) 45%, rgba(20, 12, 8, 0.78) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(197, 56, 28, 0.28), transparent 55%);
}

.bclub-adhesion__hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 8vh;
  padding-top: 6rem;
}

.bclub-adhesion__brand {
  margin: 0 0 1.5rem;
}

.bclub-adhesion__brand a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.bclub-adhesion__brand img {
  height: clamp(40px, 6vw, 64px);
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.bclub-adhesion__brand a:hover img,
.bclub-adhesion__brand a:focus img {
  transform: translateY(-1px);
  opacity: 0.92;
}

.bclub-adhesion__headline {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.bclub-adhesion__lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}

.bclub-adhesion__cta-group {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease 0.22s, transform 0.7s ease 0.22s;
}

.bclub-adhesion.is-ready .bclub-adhesion__headline,
.bclub-adhesion.is-ready .bclub-adhesion__lede,
.bclub-adhesion.is-ready .bclub-adhesion__cta-group {
  opacity: 1;
  transform: none;
}

.bclub-adhesion__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  background: var(--bclub-cta);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(4, 180, 4, 0.28);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bclub-adhesion__cta:hover,
.bclub-adhesion__cta:focus {
  background: var(--bclub-cta-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(4, 180, 4, 0.35);
}

.bclub-adhesion__cta--secondary {
  box-shadow: none;
}

/* —— Sections —— */
.bclub-adhesion__section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.bclub-adhesion__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bclub-ink);
}

.bclub-adhesion__title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--bclub-terra);
}

.bclub-adhesion__intro {
  margin: 0 0 2.5rem;
  max-width: 48ch;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--bclub-muted);
}

.bclub-adhesion__why {
  background:
    linear-gradient(180deg, var(--bclub-sand) 0%, #fff 100%);
}

.bclub-adhesion__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem 2.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bclub-adhesion__benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.35rem;
}

.bclub-adhesion__benefit-mark {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--bclub-lime);
  box-shadow: 0 0 0 6px rgba(184, 207, 75, 0.22);
}

.bclub-adhesion__benefits strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bclub-ink);
}

.bclub-adhesion__benefits span:last-child {
  grid-column: 2;
  color: var(--bclub-muted);
  line-height: 1.5;
}

/* —— Proof —— */
.bclub-adhesion__proof {
  padding: 0;
  background: var(--bclub-ink);
  color: #fff;
}

.bclub-adhesion__proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 520px;
}

.bclub-adhesion__proof-media {
  margin: 0;
  min-height: 420px;
}

.bclub-adhesion__proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bclub-adhesion__proof-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(135deg, #2a221e 0%, #1a1512 55%, #241810 100%);
}

.bclub-adhesion__proof .bclub-adhesion__title {
  color: #fff;
}

.bclub-adhesion__proof .bclub-adhesion__title::after {
  background: var(--bclub-lime);
}

.bclub-adhesion__quote {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.bclub-adhesion__partners-label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.bclub-adhesion__partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.bclub-adhesion__partners img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.35);
  opacity: 0.85;
}

/* —— Offer —— */
.bclub-adhesion__offer {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(184, 207, 75, 0.18), transparent 50%),
    var(--bclub-sand);
  text-align: left;
}

.bclub-adhesion__offer-inner {
  max-width: 720px;
}

.bclub-adhesion__price {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  color: var(--bclub-muted);
}

.bclub-adhesion__price span {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--bclub-terra);
  letter-spacing: -0.03em;
  line-height: 1;
}

.bclub-adhesion__offer-points {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.bclub-adhesion__offer-points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--bclub-ink);
  font-size: 1.05rem;
}

.bclub-adhesion__offer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--bclub-lime);
}

/* —— Form shell (WOW) —— */
.bclub-adhesion-form {
  scroll-margin-top: 90px;
  padding: clamp(3rem, 7vw, 5.5rem) 0 5rem;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(184, 207, 75, 0.14), transparent 55%),
    radial-gradient(70% 50% at 100% 10%, rgba(197, 56, 28, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bclub-sand) 0%, #fff 28%, #fff 100%);
}

/* Compact renew/upgrade checkout (no full adhesion form) */
.bclub-adhesion-form--renew {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 3.5rem;
}

body.itemid-182 .bclub-adhesion-form--renew {
  background: var(--bclub-sand);
}

.bclub-renew-summary {
  margin: 0 0 1.15rem;
  padding: clamp(1.15rem, 2vw, 1.45rem);
  background: var(--bclub-paper, #fff);
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(37, 37, 37, 0.05);
}

.bclub-renew-summary__mark {
  width: 2.5rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--bclub-lime);
  margin-bottom: 0.85rem;
}

.bclub-renew-summary__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bclub-terra);
}

.bclub-renew-summary__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.bclub-renew-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #f0ebe6;
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-renew-summary__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bclub-renew-summary__list strong {
  color: var(--bclub-ink);
  font-weight: 600;
  text-align: right;
}

.bclub-renew-fields {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bclub-adhesion-form--renew .bclub-form-submit {
  margin-top: 1.15rem;
}

.bclub-renew-pay,
.bclub-renew-legal {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
}

.bclub-renew-pay .form-row,
.bclub-renew-pay .form-group,
.bclub-renew-legal .form-row,
.bclub-renew-legal .form-group {
  display: grid !important;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 0.55rem 1rem;
  align-items: center;
  margin: 0 0 0.75rem !important;
}

.bclub-renew-pay .form-row:last-child,
.bclub-renew-pay .form-group:last-child,
.bclub-renew-legal .form-row:last-child,
.bclub-renew-legal .form-group:last-child {
  margin-bottom: 0 !important;
}

.bclub-renew-pay [class*="col-"],
.bclub-renew-legal [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.bclub-renew-pay .form-control-label,
.bclub-renew-legal .form-control-label,
.bclub-renew-pay .control-label,
.bclub-renew-legal .control-label {
  font-weight: 600;
  color: var(--bclub-ink);
}

.bclub-renew-pay .eb-form-control,
.bclub-renew-legal .eb-form-control,
.bclub-renew-pay .controls,
.bclub-renew-legal .controls {
  color: var(--bclub-ink);
}

.bclub-renew-pay #amount {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bclub-terra);
  background: #fff;
}

.bclub-renew-pay .bclub-stripe-redirect {
  margin-top: 0.35rem;
}

.bclub-renew-legal .checkbox,
.bclub-renew-legal .form-check,
.bclub-renew-legal .osm-privacy-policy,
.bclub-renew-legal .osm-subscribe-to-newsletter-container {
  display: flex !important;
  align-items: flex-start;
  gap: 0.45rem;
  grid-column: 1 / -1;
  padding: 0.75rem 0.85rem;
  background: #f7f3ef;
  border: 1px solid #ebe3db;
  border-radius: 3px;
}

.bclub-renew-legal .osm-privacy-policy-message {
  margin: 0.35rem 0 0;
  grid-column: 1 / -1;
}

.bclub-adhesion-form--renew .bclub-form-group--payment,
.bclub-adhesion-form--renew .bclub-form-group--legal,
.bclub-adhesion-form--renew .bclub-payment-panel:empty {
  display: none !important;
}

.bclub-renew-back {
  width: 100%;
  margin: 0.85rem 0 0;
  text-align: center;
}

.bclub-renew-back a {
  color: var(--bclub-terra);
  font-weight: 600;
  text-decoration: none;
}

.bclub-renew-back a:hover {
  color: var(--bclub-terra-dark);
  text-decoration: underline;
}

/* Reuse adhesion form field styles on renew checkout too */
body.itemid-182 .bclub-osm--renew .bclub-form-group__fields > .form-row,
body.itemid-182 .bclub-osm--renew .control-group,
body.itemid-182 .bclub-osm--renew .form-group {
  margin-bottom: 0.85rem;
}

body.itemid-182 .bclub-osm--renew input[type="submit"].bclub-form-submit__btn,
body.itemid-182 .bclub-osm--renew .bclub-form-submit__btn {
  background: var(--bclub-cta) !important;
  border-color: var(--bclub-cta) !important;
  color: #fff !important;
}

.bclub-adhesion-form__wrap {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.bclub-form-hero {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background: #1a1512;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bclub-form-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 207, 75, 0.35), transparent 70%);
  pointer-events: none;
}

.bclub-form-hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bclub-lime);
  font-weight: 600;
}

.bclub-adhesion-form__heading {
  margin: 0 0 0.55rem;
  font-family: var(--bclub-font);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.bclub-adhesion-form__heading::after {
  display: none;
}

.bclub-adhesion-form__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 38ch;
}

.bclub-form-hero__price {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  text-align: right;
  min-width: 8.5rem;
}

.bclub-form-hero__amount {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.bclub-form-hero__period {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.bclub-form-hero__note {
  margin-top: 0.55rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1512;
  background: var(--bclub-lime);
  font-weight: 700;
}

/* OSM panel */
body.itemid-180 .bclub-osm.osm-container {
  background: transparent;
  padding: 0;
}

.bclub-osm-form {
  display: grid;
  gap: 1.15rem;
}

.bclub-form-group {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(37, 37, 37, 0.04);
}

.bclub-form-group__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  align-items: start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0ebe6;
}

.bclub-form-group__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(197, 56, 28, 0.1);
  color: var(--bclub-terra);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.bclub-form-group__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bclub-ink);
  font-family: var(--bclub-font);
}

.bclub-form-group__hint {
  margin: 0;
  color: var(--bclub-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.bclub-form-group__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.25rem;
}

.bclub-form-group--commitments .bclub-form-group__fields,
.bclub-form-group--legal .bclub-form-group__fields,
.bclub-form-group--payment .bclub-payment-panel {
  grid-template-columns: 1fr;
}

/* Make long text fields / checkboxes full width */
.bclub-form-group__fields > #field_address,
.bclub-form-group__fields > #field_Droit__limage,
.bclub-form-group__fields > #field_Charte,
.bclub-form-group__fields > #field_Site_internet,
.bclub-form-group__fields > #field_Mtier_ou_activit,
.bclub-form-group__fields > #field_password,
.bclub-form-group__fields > #field_password2,
.bclub-form-group__fields > #field_username,
.bclub-form-group__fields > .osm-captcha-container,
.bclub-form-group__fields > [id*="privacy"],
.bclub-form-group__fields > [id*="newsletter"],
.bclub-form-group__fields > [id*="terms"] {
  grid-column: 1 / -1;
}

/* Never force-show hidden payment/card rows */
body.itemid-180 .bclub-osm .mp-credit-card-input,
body.itemid-180 .bclub-osm #tr_card_number,
body.itemid-180 .bclub-osm #tr_exp_date,
body.itemid-180 .bclub-osm #tr_cvv_code,
body.itemid-180 .bclub-osm #tr_card_holder_name,
body.itemid-180 .bclub-osm #stripe-card-form,
body.itemid-180 .bclub-osm #square-card-form,
body.itemid-180 .bclub-osm [style*="display:none"],
body.itemid-180 .bclub-osm [style*="display: none"] {
  display: none !important;
}

/* Stacked field layout without breaking input-groups */
body.itemid-180 .bclub-osm .form-row.form-group,
body.itemid-180 .bclub-osm .control-group.form-group,
body.itemid-180 .bclub-osm .row.form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 1.15rem !important;
  --bs-gutter-x: 0;
}

body.itemid-180 .bclub-osm .control-label,
body.itemid-180 .bclub-osm .form-control-label,
body.itemid-180 .bclub-osm .col-md-3,
body.itemid-180 .bclub-osm .col-form-label {
  display: block;
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  float: none;
  text-align: left;
  padding: 0;
  margin: 0;
}

body.itemid-180 .bclub-osm .controls,
body.itemid-180 .bclub-osm .eb-form-control,
body.itemid-180 .bclub-osm .col-md-9,
body.itemid-180 .bclub-osm .col-md-8 {
  display: block;
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  float: none;
  margin: 0;
  padding: 0;
}

body.itemid-180 .bclub-osm label {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #3a3a3a;
}

body.itemid-180 .bclub-osm .star,
body.itemid-180 .bclub-osm .required {
  color: var(--bclub-terra) !important;
}

/* Uniform fields — exclude addons / checkboxes */
body.itemid-180 .bclub-osm input[type="text"],
body.itemid-180 .bclub-osm input[type="email"],
body.itemid-180 .bclub-osm input[type="tel"],
body.itemid-180 .bclub-osm input[type="number"],
body.itemid-180 .bclub-osm input[type="password"],
body.itemid-180 .bclub-osm select,
body.itemid-180 .bclub-osm textarea,
body.itemid-180 .bclub-osm .form-control,
body.itemid-180 .bclub-osm .form-select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 3rem;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  background: #fbfaf8;
  border: 1px solid #ddd4cb;
  border-radius: 3px;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--bclub-ink);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.itemid-180 .bclub-osm textarea {
  height: auto;
  min-height: 6rem;
}

body.itemid-180 .bclub-osm input:hover,
body.itemid-180 .bclub-osm select:hover,
body.itemid-180 .bclub-osm textarea:hover {
  border-color: #cbbfb3;
}

body.itemid-180 .bclub-osm input:focus,
body.itemid-180 .bclub-osm select:focus,
body.itemid-180 .bclub-osm textarea:focus,
body.itemid-180 .bclub-osm .form-control:focus {
  background: #fff;
  border-color: var(--bclub-terra);
  box-shadow: 0 0 0 3px rgba(197, 56, 28, 0.14);
  outline: 0;
}

/* Input groups (password icon, € addon) — keep icon + field on one line */
body.itemid-180 .bclub-osm .input-group,
body.itemid-180 .bclub-osm .password-group .input-group,
body.itemid-180 .bclub-osm .osm-addon-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100%;
  min-height: 3rem;
}

body.itemid-180 .bclub-osm .input-group > .form-control,
body.itemid-180 .bclub-osm .input-group > input,
body.itemid-180 .bclub-osm .osm-addon-container > .form-control,
body.itemid-180 .bclub-osm .osm-addon-container > input {
  width: 1% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 3rem !important;
  min-height: 3rem !important;
  border-radius: 0 !important;
}

body.itemid-180 .bclub-osm .input-group-text,
body.itemid-180 .bclub-osm .input-group-prepend,
body.itemid-180 .bclub-osm .input-group-append,
body.itemid-180 .bclub-osm .add-on {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 3rem;
  height: 3rem !important;
  min-height: 3rem !important;
  padding: 0 0.85rem !important;
  background: #f0ebe6 !important;
  border: 1px solid #ddd4cb !important;
  border-radius: 0 !important;
  color: #5a5a5a;
  white-space: nowrap;
  line-height: 1;
}

body.itemid-180 .bclub-osm .input-group > .input-group-text:first-child,
body.itemid-180 .bclub-osm .input-group > .input-group-prepend:first-child .input-group-text {
  border-right: 0 !important;
  border-radius: 3px 0 0 3px !important;
}

body.itemid-180 .bclub-osm .input-group > .form-control:not(:first-child),
body.itemid-180 .bclub-osm .input-group > input:not(:first-child) {
  border-left: 0 !important;
  border-radius: 0 3px 3px 0 !important;
}

body.itemid-180 .bclub-osm .input-group > .form-control:first-child,
body.itemid-180 .bclub-osm .input-group > input:first-child {
  border-right: 0 !important;
  border-radius: 3px 0 0 3px !important;
}

body.itemid-180 .bclub-osm .input-group > .input-group-text:last-child {
  border-left: 0 !important;
  border-radius: 0 3px 3px 0 !important;
}

body.itemid-180 .bclub-osm .input-group-text .fas,
body.itemid-180 .bclub-osm .input-group-text .fa {
  display: inline-block;
  line-height: 1;
  font-size: 0.95rem;
}

/* Checkboxes */
body.itemid-180 .bclub-osm input[type="checkbox"] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  min-height: 0 !important;
  accent-color: var(--bclub-terra);
  margin-right: 0.45rem;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.itemid-180 .bclub-osm .checkbox,
body.itemid-180 .bclub-osm .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: #f7f3ef;
  border-radius: 3px;
  border: 1px solid #ebe3db;
}

/* Payment panel */
.bclub-payment-panel {
  padding: 1.1rem 1.15rem 1rem;
  background:
    linear-gradient(135deg, rgba(197, 56, 28, 0.06), rgba(184, 207, 75, 0.1));
  border: 1px solid #e7dcd2;
  border-radius: 3px;
}

body.itemid-180 .bclub-osm .osm-heading {
  display: none;
}

body.itemid-180 .bclub-osm #amount,
body.itemid-180 .bclub-osm #osm-amount-container input[readonly] {
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: var(--bclub-terra) !important;
  background: #fff !important;
}

.bclub-stripe-redirect {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border-left: 3px solid var(--bclub-lime);
  color: #5a5a5a;
  font-size: 0.98rem;
  line-height: 1.45;
}

.bclub-stripe-redirect p {
  margin: 0;
}

body.itemid-180 .bclub-osm #payment_method_container {
  margin-top: 0.35rem;
}

body.itemid-180 .bclub-osm #osm-payment-method-list label,
body.itemid-180 .bclub-osm .osm-payment-method-item label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  background: #fff;
  border: 1px solid #ddd4cb;
  border-radius: 3px;
  cursor: pointer;
}

/* Submit */
.bclub-form-submit {
  margin-top: 0.5rem;
  padding: 1.35rem 1.4rem;
  background: #1a1512;
  border-radius: 4px;
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
}

.bclub-form-submit__trust {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  text-align: center;
}

body.itemid-180 .bclub-osm .bclub-form-submit__btn,
body.itemid-180 .bclub-osm #btn-submit {
  width: 100%;
  min-height: 3.4rem !important;
  background: var(--bclub-cta) !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.12rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(4, 180, 4, 0.3) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.itemid-180 .bclub-osm .bclub-form-submit__btn:hover,
body.itemid-180 .bclub-osm #btn-submit:hover {
  background: var(--bclub-cta-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(4, 180, 4, 0.38) !important;
}

body.itemid-180 .bclub-osm .osm-message {
  display: none;
}

@media (max-width: 760px) {
  .bclub-form-hero {
    grid-template-columns: 1fr;
  }

  .bclub-form-hero__price {
    justify-items: start;
    text-align: left;
  }

  .bclub-form-group__fields {
    grid-template-columns: 1fr;
  }

  .bclub-form-group {
    padding: 1.15rem 1rem 1.2rem;
  }
}

/* Reveal motion */
[data-reveal],
[data-form-group] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible,
[data-form-group].is-visible {
  opacity: 1;
  transform: none;
}

.bclub-form-hero {
  opacity: 0;
  transform: translateY(16px);
  animation: bclubFormHeroIn 0.7s ease 0.05s forwards;
}

@keyframes bclubFormHeroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .bclub-adhesion__benefits {
    grid-template-columns: 1fr;
  }

  .bclub-adhesion__proof-grid {
    grid-template-columns: 1fr;
  }

  .bclub-adhesion__proof-media {
    min-height: 280px;
    max-height: 360px;
  }

  .bclub-adhesion__hero-inner {
    margin-bottom: 8vh;
  }
}

@media (max-width: 600px) {
  .bclub-adhesion__hero {
    min-height: 100svh;
    align-items: end;
  }

  .bclub-adhesion__hero-inner {
    margin-bottom: 5vh;
    padding-top: 5.5rem;
  }

  .bclub-adhesion__headline {
    max-width: none;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .bclub-adhesion__lede {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .bclub-adhesion__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bclub-adhesion__hero-media img,
  .bclub-adhesion__headline,
  .bclub-adhesion__lede,
  .bclub-adhesion__cta-group,
  [data-reveal],
  [data-form-group],
  .bclub-form-hero,
  .bclub-adhesion__cta {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Hard fix password / addon groups (cache-bust pass) */
body.itemid-180 .bclub-osm .password-group,
body.itemid-180 .bclub-osm .password-group .input-group,
body.itemid-180 .bclub-osm .osm-addon-container.input-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
}
body.itemid-180 .bclub-osm .password-group .input-group-text {
  flex: 0 0 3rem !important;
  width: 3rem !important;
  max-width: 3rem !important;
  height: 3rem !important;
}
body.itemid-180 .bclub-osm .password-group .form-control,
body.itemid-180 .bclub-osm .password-group input[type="password"] {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 3rem !important;
}

/* Kill double borders between addon + field */
body.itemid-180 .bclub-osm .input-group > .input-group-text + .form-control,
body.itemid-180 .bclub-osm .input-group > .input-group-text + input,
body.itemid-180 .bclub-osm .password-group .input-group-text + .form-control,
body.itemid-180 .bclub-osm .password-group .input-group-text + input {
  border-left: 0 !important;
  margin-left: 0 !important;
}
body.itemid-180 .bclub-osm .input-group > .form-control + .input-group-text,
body.itemid-180 .bclub-osm .input-group > input + .input-group-text,
body.itemid-180 .bclub-osm .osm-addon-container > input + .input-group-text {
  border-left: 0 !important;
}
body.itemid-180 .bclub-osm .input-group > .input-group-text:first-child {
  border-right: 0 !important;
}
body.itemid-180 .bclub-osm .form-row.form-group + .form-row.form-group,
body.itemid-180 .bclub-osm .bclub-form-group__fields > .form-row {
  margin-bottom: 1.25rem !important;
}

body.itemid-180 .bclub-osm .osm-addon-container,
body.itemid-180 .bclub-osm #osm-amount-container .input-group {
  align-items: stretch !important;
}
body.itemid-180 .bclub-osm .osm-addon-container .input-group-text,
body.itemid-180 .bclub-osm #osm-amount-container .input-group-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  height: 3rem !important;
  padding: 0 0.9rem !important;
}

/* —— Payment result pages (complete / cancel / failure) —— */
.bclub-adhesion-result {
  background: var(--bclub-sand);
  min-height: 70vh;
}

.bclub-adhesion-result__hero {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.bclub-adhesion-result__hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 2.75rem;
  padding-top: 5.5rem;
}

.bclub-adhesion-result__title {
  margin: 0;
  font-family: var(--bclub-font);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.bclub-adhesion-result__body {
  padding: 0 0 4.5rem;
  margin-top: -2.25rem;
  position: relative;
  z-index: 3;
}

.bclub-adhesion-result__card {
  background: var(--bclub-paper);
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 18px 48px rgba(37, 37, 37, 0.08);
}

.bclub-adhesion-result__mark {
  width: 3rem;
  height: 0.35rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  background: var(--bclub-lime);
}

.bclub-adhesion-result--cancel .bclub-adhesion-result__mark {
  background: var(--bclub-terra);
}

.bclub-adhesion-result--failure .bclub-adhesion-result__mark {
  background: var(--bclub-terra-dark);
}

.bclub-adhesion-result__message {
  font-family: var(--bclub-font);
  color: var(--bclub-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.bclub-adhesion-result__message p {
  margin: 0 0 1rem;
}

.bclub-adhesion-result__message p:last-child {
  margin-bottom: 0;
}

.bclub-adhesion-result__message strong {
  color: var(--bclub-ink);
}

.bclub-adhesion-result__message ol,
.bclub-adhesion-result__message ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
}

.bclub-adhesion-result__message li {
  margin-bottom: 0.45rem;
}

.bclub-adhesion-result__reason {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  background: #fbf6f3;
  border-left: 3px solid var(--bclub-terra);
}

.bclub-adhesion-result__reason-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bclub-terra);
}

.bclub-adhesion-result__reason-text {
  margin: 0;
  color: var(--bclub-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.bclub-adhesion-result__actions {
  margin: 1.75rem 0 0;
}

.bclub-adhesion-result__actions .bclub-adhesion__cta {
  display: inline-flex;
}

@media (max-width: 600px) {
  .bclub-adhesion-result__hero-inner {
    margin-bottom: 2rem;
    padding-top: 4.75rem;
  }

  .bclub-adhesion-result__body {
    margin-top: -1.5rem;
    padding-bottom: 3rem;
  }

  .bclub-adhesion-result__actions .bclub-adhesion__cta {
    width: 100%;
    justify-content: center;
  }
}

/* —— /connexion (mod_login WOW) —— */
.bclub-connexion {
  background: var(--bclub-sand);
  min-height: 70vh;
}

.bclub-connexion__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.75rem;
  align-items: start;
}

.bclub-connexion__benefits-title {
  margin: 0 0 1rem;
  font-family: var(--bclub-font);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bclub-ink);
}

.bclub-connexion__benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.bclub-connexion__benefits-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--bclub-muted);
  font-size: 1.02rem;
  line-height: 1.45;
}

.bclub-connexion__benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--bclub-lime);
  box-shadow: 0 0 0 3px rgba(184, 207, 75, 0.22);
}

.bclub-connexion__hint {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #fbf6f3;
  border-left: 3px solid var(--bclub-terra);
  color: var(--bclub-ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.bclub-connexion__form {
  display: grid;
  gap: 1rem;
}

.bclub-connexion__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bclub-ink);
  font-family: var(--bclub-font);
}

.bclub-connexion__field .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.bclub-connexion__field .input-group-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid #e0d6ce;
  border-right: 0;
  background: #faf7f4;
  color: var(--bclub-terra);
  border-radius: 4px 0 0 4px;
}

.bclub-connexion__field .form-control {
  height: 3rem;
  border: 1px solid #e0d6ce;
  border-radius: 0 4px 4px 0;
  font-size: 1rem;
  box-shadow: none;
}

.bclub-connexion__field .input-group .input-password-toggle {
  height: 3rem;
  border: 1px solid #e0d6ce;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #faf7f4;
  color: var(--bclub-muted);
}

.bclub-connexion__field .input-group .form-control:focus {
  border-color: var(--bclub-terra);
  box-shadow: 0 0 0 0.15rem rgba(197, 56, 28, 0.12);
  z-index: 2;
}

.bclub-connexion__field .input-group:has(.input-password-toggle) .form-control {
  border-radius: 0;
}

.bclub-connexion__remember {
  margin: 0.15rem 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bclub-connexion__remember .form-check-label {
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-connexion__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 0.35rem;
}

.bclub-connexion__links {
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  text-align: center;
}

.bclub-connexion__links a {
  color: var(--bclub-terra);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.bclub-connexion__links a:hover,
.bclub-connexion__links a:focus {
  color: var(--bclub-terra-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .bclub-connexion__grid {
    grid-template-columns: 1fr;
  }
}

/* —— /mot-de-passe-oublie (reset request) —— */
.bclub-reset .bclub-reset__field label,
.bclub-reset .bclub-reset__field .form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bclub-ink);
  font-family: var(--bclub-font);
}

.bclub-reset .bclub-reset__field .form-control,
.bclub-reset .bclub-reset__field input[type="email"],
.bclub-reset .bclub-reset__field input[type="text"] {
  width: 100%;
  height: 3rem;
  border: 1px solid #e0d6ce;
  border-radius: 4px;
  font-size: 1rem;
  padding: 0.55rem 0.9rem;
  box-shadow: none;
  background: #fff;
}

.bclub-reset .bclub-reset__field .form-control:focus,
.bclub-reset .bclub-reset__field input:focus {
  border-color: var(--bclub-terra);
  box-shadow: 0 0 0 0.15rem rgba(197, 56, 28, 0.12);
  outline: none;
}

.bclub-reset .bclub-reset__field .form-text,
.bclub-reset .bclub-reset__field small {
  display: block;
  margin-top: 0.4rem;
  color: var(--bclub-muted);
  font-size: 0.88rem;
}

.bclub-reset__side-link {
  margin-top: 1.25rem;
  text-align: left;
}

/* Hide Helix title strip on /mot-de-passe-oublie (replaced by WOW hero) */
body.itemid-223 #sp-section-1,
body.itemid-223 #sp-titreadhesion,
body.itemid-223 .sp-module.TitreAdhesion,
body.itemid-223 [id*="TitreMotdepasse"],
body.itemid-223 [id*="TitreMotDePasse"] {
  display: none !important;
}

/* —— /mon-compte (Itemid 181) —— */
body.itemid-181 {
  background: var(--bclub-sand);
}

body.itemid-181 #sp-header .logo-image,
body.itemid-181 #sp-header .logo img {
  max-height: 50px;
}

body.itemid-181 #sp-main-body > .container,
body.itemid-181 #sp-component > .container,
body.itemid-181 #sp-main-body .container,
body.itemid-181 #sp-titreadhesion > .container,
body.itemid-181 .sppb-row-container,
body.itemid-181 .sppb-container-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.itemid-181 #sp-titreadhesion,
body.itemid-181 #sp-titreadhesion .sp-module,
body.itemid-181 #sp-titreadhesion .sp-module-content {
  margin: 0 !important;
  padding: 0 !important;
}

body.itemid-181 #sp-main-body {
  padding: 0 !important;
  background: var(--bclub-sand);
}

body.itemid-181 #sp-left,
body.itemid-181 #sp-right,
body.itemid-181 #sp-titreadhesion,
body.itemid-181 #sp-subheaderpages,
body.itemid-181 .moduletable.SubHeaderMonCompte {
  display: none !important;
}

body.itemid-181 #sp-main-body > .row,
body.itemid-181 #sp-main-body .row {
  display: block !important;
  margin: 0 !important;
}

body.itemid-181 #sp-component,
body.itemid-181 #sp-main-body [class*="col"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.itemid-181 .bclub-moncompte {
  font-family: var(--bclub-font);
  color: var(--bclub-ink);
  background: var(--bclub-sand);
  line-height: 1.45;
}

.bclub-moncompte__hero {
  position: relative;
  min-height: clamp(260px, 38vh, 380px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.bclub-moncompte__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bclub-moncompte__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.bclub-moncompte__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.28) 0%, rgba(20, 12, 8, 0.62) 50%, rgba(20, 12, 8, 0.82) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(197, 56, 28, 0.28), transparent 55%);
}

.bclub-moncompte__hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2.4rem;
  padding-top: 5rem;
}

.bclub-moncompte__brand {
  margin: 0 0 1.1rem;
}

.bclub-moncompte__brand a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.bclub-moncompte__brand img {
  height: clamp(40px, 6vw, 58px);
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.bclub-moncompte__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 18ch;
  color: #fff;
}

.bclub-moncompte__lede {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 36ch;
}

.bclub-moncompte__meta {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.bclub-moncompte__meta strong {
  font-weight: 600;
  color: #fff;
}

.bclub-moncompte__body {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
  padding-bottom: 4rem;
}

.bclub-moncompte__wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bclub-moncompte__card {
  background: var(--bclub-paper);
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  box-shadow: 0 14px 40px rgba(37, 37, 37, 0.06);
}

.bclub-moncompte__mark {
  width: 2.75rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--bclub-lime);
  margin-bottom: 1rem;
}

.bclub-moncompte__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bclub-terra);
}

.bclub-moncompte__card-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bclub-moncompte__membership {
  margin-bottom: 1.35rem;
}

.bclub-moncompte__membership-grid {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.25rem;
  align-items: end;
}

.bclub-moncompte__plan {
  margin: 0.15rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bclub-moncompte__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-moncompte__facts strong {
  color: var(--bclub-ink);
  font-weight: 600;
}

.bclub-moncompte__status {
  margin: 0 0 0.85rem;
}

.bclub-moncompte__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.bclub-moncompte__badge--ok {
  background: rgba(4, 180, 4, 0.12);
  color: var(--bclub-cta-dark);
}

.bclub-moncompte__badge--warn {
  background: rgba(197, 56, 28, 0.1);
  color: var(--bclub-terra-dark);
}

.bclub-moncompte__badge--muted {
  background: #f0ebe6;
  color: var(--bclub-muted);
}

.bclub-moncompte__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.bclub-moncompte__aside {
  text-align: right;
  min-width: 9rem;
}

.bclub-moncompte__id-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bclub-muted);
  font-weight: 600;
}

.bclub-moncompte__id {
  margin: 0.2rem 0 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bclub-ink);
}

.bclub-moncompte__detail {
  margin: 0 0 1.1rem;
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-moncompte__detail strong {
  display: block;
  color: var(--bclub-ink);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.bclub-moncompte__list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--bclub-muted);
}

.bclub-moncompte__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #f0ebe6;
}

.bclub-moncompte__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bclub-moncompte__list em {
  font-style: normal;
  color: var(--bclub-ink);
  font-weight: 600;
}

.bclub-moncompte__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bclub-moncompte__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bclub-moncompte__btn:hover {
  transform: translateY(-1px);
}

.bclub-moncompte__btn--cta {
  background: var(--bclub-cta);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(4, 180, 4, 0.22);
}

.bclub-moncompte__btn--cta:hover {
  background: var(--bclub-cta-dark);
}

.bclub-moncompte__btn--ghost {
  background: transparent;
  color: var(--bclub-terra) !important;
  border: 1px solid #e0d6ce;
}

.bclub-moncompte__btn--ghost:hover {
  border-color: var(--bclub-terra);
  background: #fbf6f3;
}

.bclub-moncompte__btn--text {
  background: transparent;
  color: var(--bclub-muted) !important;
  min-height: auto;
  padding: 0.4rem 0.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.bclub-moncompte__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.bclub-moncompte__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: #1a1512;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
}

.bclub-moncompte__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.bclub-moncompte__footer a {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
}

.bclub-moncompte__footer a:hover {
  color: var(--bclub-lime) !important;
}

.bclub-moncompte__logout {
  color: var(--bclub-lime) !important;
}

@media (max-width: 900px) {
  .bclub-moncompte__membership-grid {
    grid-template-columns: 1fr;
  }

  .bclub-moncompte__aside {
    text-align: left;
  }

  .bclub-moncompte__panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bclub-moncompte__actions .bclub-moncompte__btn {
    width: 100%;
  }

  .bclub-moncompte__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— /gestion-de-labonnement (Itemid 182) —— */
body.itemid-182 {
  background: var(--bclub-sand);
}

body.itemid-182 #sp-left,
body.itemid-182 #sp-right,
body.itemid-182 #sp-titreadhesion,
body.itemid-182 .sp-module.TitreAdhesion,
body.itemid-182 [id*="MonProfilMesAdhesions"],
body.itemid-182 .page-header,
body.itemid-182 .osm-page-title {
  display: none !important;
}

body.itemid-182 #sp-main-body {
  padding: 0 !important;
  background: var(--bclub-sand);
}

body.itemid-182 #sp-main-body > .container,
body.itemid-182 #sp-component > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-bleed layout only — do NOT touch Bootstrap rows inside OSM forms */
body.itemid-182 #sp-main-body > .row {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0 !important;
}

body.itemid-182 #sp-left,
body.itemid-182 #sp-right {
  display: none !important;
}

body.itemid-182 #sp-component {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bclub-profile {
  font-family: var(--bclub-font);
  color: var(--bclub-ink);
  background: var(--bclub-sand);
  line-height: 1.45;
}

.bclub-profile__hero {
  position: relative;
  min-height: clamp(220px, 32vh, 320px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.bclub-profile__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bclub-profile__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.bclub-profile__hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.28) 0%, rgba(20, 12, 8, 0.62) 50%, rgba(20, 12, 8, 0.82) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(197, 56, 28, 0.28), transparent 55%);
}

.bclub-profile__hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 2rem;
  padding-top: 4.5rem;
}

.bclub-profile__brand {
  margin: 0 0 1rem;
}

.bclub-profile__brand a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.bclub-profile__brand img {
  height: clamp(40px, 6vw, 58px);
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.bclub-profile__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.bclub-profile__lede {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  max-width: 42ch;
}

.bclub-profile__body {
  position: relative;
  z-index: 3;
  margin-top: -1.75rem;
  padding-bottom: 3.5rem;
}

.bclub-profile__wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bclub-profile__card {
  background: var(--bclub-paper);
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  box-shadow: 0 14px 40px rgba(37, 37, 37, 0.06);
}

.bclub-profile__mark {
  width: 2.75rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--bclub-lime);
  margin-bottom: 1rem;
}

.bclub-profile__intro {
  margin: 0 0 1.1rem;
  color: var(--bclub-muted);
}

.bclub-profile__empty {
  margin: 0 0 1.25rem;
  color: var(--bclub-muted);
  font-size: 1.02rem;
}

.bclub-profile__section-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bclub-ink);
}

.bclub-profile__help {
  margin: 0 0 1rem;
  color: var(--bclub-muted);
  font-size: 0.92rem;
}

.bclub-profile__back {
  margin: 1.25rem 0 0;
}

.bclub-profile__back a {
  color: var(--bclub-terra);
  font-weight: 600;
  text-decoration: none;
}

.bclub-profile__back a:hover {
  color: var(--bclub-terra-dark);
  text-decoration: underline;
}

/* Tabs */
#osm-profile-page joomla-tab[view="tabs"] > div[role="tablist"],
#osm-profile-page .nav-tabs,
.bclub-profile #osm-profile .nav-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.15rem !important;
  padding: 0.4rem !important;
  border: 1px solid #e8e0d8 !important;
  border-radius: 4px !important;
  background: #fbf6f3 !important;
}

#osm-profile-page joomla-tab button[role="tab"],
#osm-profile-page .nav-tabs > li > a,
#osm-profile-page .nav-tabs .nav-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem !important;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  background: transparent !important;
  color: var(--bclub-muted) !important;
  font-family: var(--bclub-font);
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

#osm-profile-page joomla-tab button[role="tab"]:hover,
#osm-profile-page .nav-tabs > li > a:hover,
#osm-profile-page .nav-tabs .nav-link:hover {
  color: var(--bclub-terra) !important;
  border-color: #e0d6ce !important;
  background: #fff !important;
}

#osm-profile-page joomla-tab button[role="tab"][aria-expanded="true"],
#osm-profile-page joomla-tab button[role="tab"][aria-selected="true"],
#osm-profile-page .nav-tabs > li.active > a,
#osm-profile-page .nav-tabs .nav-link.active,
#osm-profile-page .nav-tabs .nav-link[aria-selected="true"] {
  background: #fff !important;
  color: var(--bclub-terra) !important;
  border-color: var(--bclub-terra) !important;
}

#osm-profile-page joomla-tab > section,
#osm-profile-page .tab-content {
  border: 0 !important;
  padding: 0.25rem 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* History table */
.bclub-profile__history {
  margin: 0 0 0.5rem;
}

.bclub-profile__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.bclub-profile__table thead th {
  padding: 0.75rem 0.65rem;
  border-bottom: 2px solid #e8e0d8;
  color: var(--bclub-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  background: transparent;
}

.bclub-profile__table tbody td {
  padding: 0.95rem 0.65rem;
  border-bottom: 1px solid #f0ebe6;
  vertical-align: middle;
  color: var(--bclub-ink);
}

.bclub-profile__table tbody tr:last-child td {
  border-bottom: 0;
}

.bclub-profile__table a {
  color: var(--bclub-terra);
  font-weight: 600;
  text-decoration: none;
}

.bclub-profile__table a:hover {
  color: var(--bclub-terra-dark);
  text-decoration: underline;
}

.bclub-profile__status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.bclub-profile__status--ok {
  background: rgba(4, 180, 4, 0.12);
  color: var(--bclub-cta-dark);
}

.bclub-profile__status--warn {
  background: rgba(197, 56, 28, 0.1);
  color: var(--bclub-terra-dark);
}

.bclub-profile__status--muted {
  background: #f0ebe6;
  color: var(--bclub-muted);
}

.bclub-profile__invoice {
  font-weight: 700 !important;
}

/* Forms / fields */
.bclub-profile__field,
.bclub-profile .control-group {
  margin-bottom: 0.95rem;
}

.bclub-profile .control-label,
.bclub-profile label {
  font-weight: 600;
  color: var(--bclub-ink);
}

.bclub-profile .form-control,
.bclub-profile input[type="text"],
.bclub-profile input[type="email"],
.bclub-profile input[type="password"],
.bclub-profile input[type="file"],
.bclub-profile select,
.bclub-profile textarea {
  border: 1px solid #e0d6ce;
  border-radius: 2px;
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  font-family: inherit;
  box-shadow: none;
}

.bclub-profile .form-control:focus,
.bclub-profile input:focus,
.bclub-profile select:focus,
.bclub-profile textarea:focus {
  border-color: var(--bclub-terra);
  box-shadow: 0 0 0 0.15rem rgba(197, 56, 28, 0.12);
  outline: none;
}

.bclub-profile__password,
.bclub-profile #osm_form_renew,
.bclub-profile #osm_form_update_membership {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
  background: #fbf6f3;
}

.bclub-profile__password--tab {
  margin-top: 0;
}

.bclub-profile #osm_form_renew .osm-renew-option,
.bclub-profile #osm_form_update_membership .osm-upgrade-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e0d6ce;
  border-radius: 2px;
  background: #fff;
}

.bclub-profile #osm_form_renew .osm-renew-option:hover,
.bclub-profile #osm_form_update_membership .osm-upgrade-option:hover {
  border-color: var(--bclub-terra);
}

.bclub-profile #osm_form_renew input[type="radio"],
.bclub-profile #osm_form_update_membership input[type="radio"] {
  accent-color: var(--bclub-cta);
  margin-top: 0.2rem;
}

.bclub-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.bclub-profile__btn,
.bclub-profile input[type="submit"],
.bclub-profile #osm_form_renew .form-actions input[type="submit"],
.bclub-profile #osm_form_update_membership .form-actions input[type="submit"],
.bclub-profile .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bclub-profile__btn:hover,
.bclub-profile input[type="submit"]:hover,
.bclub-profile .btn-primary:hover {
  transform: translateY(-1px);
}

.bclub-profile__btn--cta,
.bclub-profile input[type="submit"],
.bclub-profile #osm_form_renew .form-actions input[type="submit"],
.bclub-profile #osm_form_update_membership .form-actions input[type="submit"],
.bclub-profile .btn-primary {
  background: var(--bclub-cta) !important;
  color: #fff !important;
  border-color: var(--bclub-cta) !important;
  box-shadow: 0 8px 22px rgba(4, 180, 4, 0.22);
}

.bclub-profile__btn--cta:hover,
.bclub-profile input[type="submit"]:hover,
.bclub-profile .btn-primary:hover {
  background: var(--bclub-cta-dark) !important;
}

.bclub-profile__btn--ghost,
.bclub-profile #osm-btn-logout {
  background: transparent !important;
  color: var(--bclub-terra) !important;
  border: 1px solid #e0d6ce !important;
  box-shadow: none !important;
}

.bclub-profile__btn--ghost:hover,
.bclub-profile #osm-btn-logout:hover {
  border-color: var(--bclub-terra) !important;
  background: #fff !important;
}

.bclub-profile__btn--sm {
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.bclub-profile__member-id {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .bclub-profile__table thead {
    display: none;
  }

  .bclub-profile__table,
  .bclub-profile__table tbody,
  .bclub-profile__table tr,
  .bclub-profile__table td {
    display: block;
    width: 100%;
  }

  .bclub-profile__table tbody tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f0ebe6;
  }

  .bclub-profile__table tbody td {
    padding: 0.25rem 0;
    border: 0;
    text-align: left !important;
  }

  .bclub-profile__actions .bclub-profile__btn,
  .bclub-profile__actions input[type="submit"],
  .bclub-profile__actions input[type="button"] {
    width: 100%;
  }
}

/* —— /confirmer-le-paiement-de-ladhesion (Itemid 235) —— */
body.itemid-235 {
  background: var(--bclub-sand);
}

body.itemid-235 #sp-left,
body.itemid-235 #sp-right,
body.itemid-235 #sp-titreadhesion,
body.itemid-235 .sp-module.TitreAdhesion,
body.itemid-235 .page-header,
body.itemid-235 .osm-page-title {
  display: none !important;
}

body.itemid-235 #sp-main-body {
  padding: 0 !important;
  background: var(--bclub-sand);
}

body.itemid-235 #sp-main-body > .container,
body.itemid-235 #sp-component > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.itemid-235 #sp-main-body > .row {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0 !important;
}

body.itemid-235 #sp-component {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bclub-payment .bclub-profile__card {
  max-width: 640px;
  margin-inline: auto;
}

.bclub-payment__message {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f7f3ef;
  border: 1px solid #ebe3db;
  border-radius: 3px;
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-payment__message p:last-child {
  margin-bottom: 0;
}

.bclub-payment .bclub-renew-summary {
  margin-bottom: 1rem;
}

.bclub-payment .bclub-renew-pay {
  margin-bottom: 1rem;
}

.bclub-payment #payment_method_container {
  display: none !important;
}

.bclub-payment .bclub-stripe-redirect {
  margin: 0 0 1rem;
}

.bclub-payment .bclub-form-submit {
  margin-top: 0.25rem;
}

.bclub-payment .bclub-form-submit__btn,
.bclub-payment #btn-submit {
  width: 100%;
  min-height: 3.4rem !important;
  background: var(--bclub-cta) !important;
  border: 0 !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.12rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(4, 180, 4, 0.3) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bclub-payment .bclub-form-submit__btn:hover,
.bclub-payment #btn-submit:hover {
  background: var(--bclub-cta-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(4, 180, 4, 0.38) !important;
}

.bclub-payment .bclub-renew-back a {
  color: rgba(255, 255, 255, 0.78);
}

.bclub-payment .bclub-renew-back a:hover {
  color: #fff;
}

.bclub-payment #gross_amount {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bclub-terra);
  background: #fff;
}

@media (max-width: 760px) {
  .bclub-payment .bclub-renew-pay .form-row,
  .bclub-payment .bclub-renew-pay .form-group {
    grid-template-columns: 1fr;
  }
}

/* —— /historique-de-mes-participations (Itemid 233) —— */
body.itemid-233 {
  background: var(--bclub-sand);
}

body.itemid-233 #sp-left,
body.itemid-233 #sp-right,
body.itemid-233 #sp-titreadhesion,
body.itemid-233 .sp-module.TitreAdhesion,
body.itemid-233 .page-header,
body.itemid-233 .eb-page-heading {
  display: none !important;
}

body.itemid-233 #sp-main-body {
  padding: 0 !important;
  background: var(--bclub-sand);
}

body.itemid-233 #sp-main-body > .container,
body.itemid-233 #sp-component > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.itemid-233 #sp-main-body > .row {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0 !important;
}

body.itemid-233 #sp-component {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bclub-history .bclub-profile__btn--sm {
  margin-top: 0.45rem;
}

.bclub-history__due {
  color: var(--bclub-muted);
  font-size: 0.82rem;
}

.bclub-history__sep {
  margin: 0 0.45rem;
  color: var(--bclub-muted);
}

.bclub-history .bclub-profile__back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.bclub-history__pagination {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.bclub-history__pagination .pagination {
  justify-content: center;
}

@media (max-width: 760px) {
  .bclub-history .bclub-profile__table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bclub-muted);
  }

  .bclub-history .bclub-profile__back {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .bclub-history .bclub-history__sep {
    display: none;
  }
}

/* —— /mon-compte/gestion-de-profil (Itemid 183) —— */
body.itemid-183 {
  background: var(--bclub-sand);
}

body.itemid-183 #sp-left,
body.itemid-183 #sp-right,
body.itemid-183 #sp-titreadhesion,
body.itemid-183 .sp-module.TitreAdhesion,
body.itemid-183 [id*="MonProfilMesAdhesions"],
body.itemid-183 #sp-recherchemembres,
body.itemid-183 .moduletable.recherchemembres,
body.itemid-183 .page-header,
body.itemid-183 .rsdir > .page-header {
  display: none !important;
}

body.itemid-183 #sp-main-body {
  padding: 0 !important;
  background: var(--bclub-sand);
}

body.itemid-183 #sp-main-body > .container,
body.itemid-183 #sp-component > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.itemid-183 #sp-main-body > .row {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0 !important;
}

body.itemid-183 #sp-component {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bclub-profile__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bclub-terra);
}

.bclub-fiche__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.bclub-fiche__item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.15rem 1.35rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  background: #fbf6f3;
  border: 1px solid #e8e0d8;
  border-radius: 4px;
}

.bclub-fiche__thumb {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 3px;
  overflow: hidden;
  background: #efe8e1;
  flex-shrink: 0;
}

.bclub-fiche__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bclub-fiche__thumb--empty {
  background:
    linear-gradient(135deg, rgba(184, 207, 75, 0.35), transparent 55%),
    #efe8e1;
}

.bclub-fiche__status {
  margin: 0 0 0.45rem;
}

.bclub-fiche__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--bclub-ink);
}

.bclub-fiche__title a {
  color: inherit;
  text-decoration: none;
}

.bclub-fiche__title a:hover {
  color: var(--bclub-terra);
}

.bclub-fiche__subtitle {
  margin: 0 0 0.45rem;
  color: var(--bclub-ink);
  font-size: 0.98rem;
  font-weight: 500;
}

.bclub-fiche__detail {
  margin: 0 0 0.85rem;
  color: var(--bclub-muted);
  font-size: 0.95rem;
}

.bclub-fiche__actions {
  margin-top: 0;
}

@media (max-width: 760px) {
  .bclub-fiche__item {
    grid-template-columns: 1fr;
  }

  .bclub-fiche__thumb,
  .bclub-fiche__thumb--empty {
    width: 100%;
    height: 10rem;
  }

  .bclub-fiche__actions .bclub-profile__btn {
    width: 100%;
    justify-content: center;
  }
}

