/* ByeCelibat — Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --bc-rose:        #C85A6E;
  --bc-soft-pink:   #F0C8D0;
  --bc-cream:       #FFF9F5;
  --bc-charcoal:    #2A2A2A;
  --bc-premium:     #D4AF37;
  --bc-brand-deep:  #35106f;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Icônes (Lucide inline) ───────────────────────────────────────────────── */
.bc-icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.bc-icon-lg { width: 1.5rem; height: 1.5rem; }

body {
  font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--bc-cream);
  color: var(--bc-charcoal);
  min-height: 100vh;
  background-image:
    radial-gradient(circle at top left,  rgba(200,90,110,.14), transparent 35%),
    radial-gradient(circle at top right, rgba(240,200,208,.60), transparent 30%),
    linear-gradient(180deg, #fff9f5 0%, #fff6f1 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ── Boutons ──────────────────────────────────────────────────────────────── */
.bc-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 9999px;
  padding: .65rem 1.25rem;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.bc-button:hover { transform: translateY(-1px); }

.bc-button-primary {
  background: var(--bc-rose); color: #fff;
  box-shadow: 0 12px 30px rgba(200,90,110,.28);
}
.bc-button-primary:hover {
  background: #b34d60;
  box-shadow: 0 16px 36px rgba(200,90,110,.36);
}

.bc-button-secondary {
  background: #fff; color: var(--bc-charcoal);
  border: 1px solid rgba(200,90,110,.22);
  box-shadow: 0 10px 24px rgba(42,42,42,.06);
}
.bc-button-secondary:hover { background: #fdf2f4; }

.bc-button-ghost {
  background: rgba(240,200,208,.50); color: var(--bc-charcoal);
}
.bc-button-ghost:hover { background: rgba(240,200,208,.75); }

.bc-button-danger {
  background: #ef4444; color: #fff;
  box-shadow: 0 10px 24px rgba(239,68,68,.20);
}
.bc-button-sm { padding: .45rem .9rem; font-size: .8rem; }
.bc-button-full { width: 100%; }

/* ── Formulaires ──────────────────────────────────────────────────────────── */
.bc-label {
  display: block; margin-bottom: .4rem;
  font-size: .875rem; font-weight: 500; color: var(--bc-charcoal);
}

/* ── Pill checkboxes (langues, intérêts) ──────────────────────────────────── */
.bc-pill-group {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem;
}
.bc-pill-check { cursor: pointer; }
.bc-pill-check input[type=checkbox] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.bc-pill-check span {
  display: inline-flex; align-items: center;
  padding: .35rem .875rem; border-radius: 9999px;
  border: 1.5px solid rgba(200,90,110,.22);
  background: rgba(255,255,255,.85);
  font-size: .78rem; font-weight: 500; color: #64748b;
  transition: background .18s, border-color .18s, color .18s;
  user-select: none;
}
.bc-pill-check:has(input:checked) span {
  background: var(--bc-rose); color: #fff;
  border-color: var(--bc-rose);
  box-shadow: 0 3px 10px rgba(200,90,110,.22);
}

.bc-input {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(42,42,42,.12);
  background: #fff;
  padding: .7rem 1rem;
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  color: var(--bc-charcoal);
}
.bc-input:focus {
  border-color: var(--bc-rose);
  box-shadow: 0 0 0 4px rgba(200,90,110,.12);
}
.bc-input::placeholder { color: #a8a8a8; }

textarea.bc-input { resize: vertical; min-height: 100px; }

select.bc-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.bc-error { margin-top: .35rem; font-size: .8rem; color: #b42318; }

/* ── Toggle afficher/masquer mot de passe ────────────────────────────────── */
.bc-password-wrap { position: relative; }
.bc-password-wrap input.bc-input { padding-right: 2.75rem; }
.bc-password-toggle {
  position: absolute; top: 50%; right: .6rem; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem;
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: #94a3b8; transition: color .15s;
}
.bc-password-toggle:hover { color: var(--bc-rose); }
.bc-password-toggle .bc-eye-hide { display: none; }
.bc-password-toggle.is-visible .bc-eye-show { display: none; }
.bc-password-toggle.is-visible .bc-eye-hide { display: inline-flex; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.bc-page-card {
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(255,255,255,.82);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(42,42,42,.08);
}

.bc-panel {
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.78);
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(42,42,42,.08);
}

.bc-user-card {
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 22px 60px rgba(42,42,42,.08);
}
.bc-user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(42,42,42,.13);
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.bc-side-link {
  display: flex; align-items: center; gap: .75rem;
  border-radius: 1.25rem;
  padding: .65rem 1rem;
  font-size: .875rem; font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.bc-side-link:hover, .bc-side-link.is-active {
  background: rgba(240,200,208,.46);
  color: var(--bc-charcoal);
}

.bc-side-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: .625rem;
  background: #f1f5f9; color: #64748b;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.bc-side-link.is-active .bc-side-icon {
  background: var(--bc-rose); color: #fff;
}

/* ── Badges ───────────────────────────────────────────────────────────────── */
.bc-badge {
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  padding: .2rem .75rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  background: rgba(200,90,110,.12); color: var(--bc-rose);
}
.bc-badge-premium {
  background: rgba(212,175,55,.18); color: #8b6a13;
}
.bc-badge-success {
  background: #dcfce7; color: #15803d;
}
.bc-badge-danger {
  background: #fee2e2; color: #b91c1c;
}

/* ── Stat cards ───────────────────────────────────────────────────────────── */
.bc-stat-card {
  border-radius: 1.5rem; background: #fff;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(42,42,42,.06);
}
.bc-stat-card.premium {
  background: linear-gradient(160deg, rgba(212,175,55,.18) 0%, var(--bc-cream) 100%);
}
.bc-stat-value {
  font-size: 1.75rem; font-weight: 700; color: var(--bc-charcoal);
}
.bc-stat-label {
  font-size: .8rem; color: #64748b; margin-top: .2rem;
}

/* ── Icon button ──────────────────────────────────────────────────────────── */
.bc-icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.80);
  transition: color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 10px 24px rgba(42,42,42,.05);
  cursor: pointer; text-decoration: none; color: #475569;
}
.bc-icon-button:hover {
  color: var(--bc-rose); transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(42,42,42,.10);
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.bc-navbar {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.60);
  background: rgba(255,249,245,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.bc-navbar-inner {
  max-width: 1400px; margin: auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}
.bc-brand {
  font-size: 1.375rem; font-weight: 700;
  color: var(--bc-brand-deep);
  text-decoration: none; flex-shrink: 0;
}
.bc-brand span { color: var(--bc-rose); }

/* ── Rail ─────────────────────────────────────────────────────────────────── */
.bc-rail-item {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 1.25rem; background: #f8fafc;
  padding: .65rem 1rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.bc-hero-visual {
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,247,208,.95), transparent 12%),
    radial-gradient(circle at 78% 44%, rgba(255,224,122,.95), transparent 7%),
    linear-gradient(180deg, #ffcf95 0%, #ff8e88 34%, #a24fd6 68%, #5b2fb2 100%);
  box-shadow: 0 28px 80px rgba(80,31,130,.22);
}

/* ── Perk / Timeline ──────────────────────────────────────────────────────── */
.bc-perk-item {
  border-radius: 1.3rem; background: rgba(255,255,255,.75);
  padding: 1rem;
  font-size: .875rem; font-weight: 500; color: #334155;
}
.bc-timeline-item {
  display: flex; align-items: flex-start; gap: 1rem;
  border-radius: 1.5rem; background: rgba(255,255,255,.75); padding: 1rem;
}
.bc-timeline-step {
  flex-shrink: 0; border-radius: 9999px;
  padding: .2rem .7rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  background: rgba(200,90,110,.12); color: var(--bc-rose);
}

/* ── Cartes membres récents (homepage) ───────────────────────────────────── */
.bc-member-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,.60);
  background: rgba(255,255,255,.90);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(42,42,42,.07);
  transition: transform .3s, box-shadow .3s;
}
.bc-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(200,90,110,.14);
}
.bc-member-card:hover img { transform: scale(1.06); }
.bc-member-card:hover .bc-member-card-overlay { opacity: 1; }

.bc-member-card-photo {
  position: relative; height: 230px; overflow: hidden;
  background: rgba(240,200,208,.30);
}

.bc-member-card-gender-badge {
  position: absolute; top: .625rem; left: .625rem;
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .2rem .65rem;
  border-radius: 9999px;
  background: rgba(200,90,110,.90); color: #fff;
  backdrop-filter: blur(4px);
}
.bc-member-card-gender-badge--f {
  background: rgba(168,85,247,.85);
}

.bc-member-card-overlay {
  position: absolute; inset: 0;
  background: rgba(42,42,42,.40);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}

/* ── City link ────────────────────────────────────────────────────────────── */
.bc-city-link {
  border-radius: 1.4rem;
  border: 1px solid rgba(255,255,255,.70);
  background: rgba(255,255,255,.80);
  padding: .75rem 1.25rem;
  text-decoration: none; color: var(--bc-charcoal);
  font-size: .875rem; font-weight: 500;
  transition: transform .2s, border-color .2s, background .2s;
  display: block; text-align: center;
}
.bc-city-link:hover {
  transform: translateY(-2px);
  border-color: rgba(200,90,110,.28);
  background: rgba(255,255,255,.96);
}

/* ── Messages ─────────────────────────────────────────────────────────────── */
#messages-scroll { scroll-behavior: smooth; }
#messages-scroll::-webkit-scrollbar { width: 4px; }
#messages-scroll::-webkit-scrollbar-thumb { background: var(--bc-soft-pink); border-radius: 2px; }

.bc-bubble-mine {
  background: var(--bc-rose); color: #fff;
  border-radius: 1.25rem 1.25rem 0 1.25rem;
  padding: .65rem 1rem; font-size: .875rem; max-width: 20rem;
  box-shadow: 0 6px 18px rgba(200,90,110,.22);
}
.bc-bubble-other {
  background: #fff; color: var(--bc-charcoal);
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem 1.25rem 1.25rem 0;
  padding: .65rem 1rem; font-size: .875rem; max-width: 20rem;
  box-shadow: 0 4px 12px rgba(42,42,42,.06);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.bc-footer {
  border-top: 1px solid rgba(200,90,110,.12);
  background: linear-gradient(180deg, rgba(255,249,245,0) 0%, rgba(240,200,208,.18) 100%);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

/* ── Online badge ────────────────────────────────────────────────────────── */
.bc-online-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: #15803d;
  background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.20);
  border-radius: 9999px;
  padding: .3rem .875rem;
  white-space: nowrap;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  .bc-online-badge { position: static; transform: none; }
}
.bc-online-dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,.25);
  animation: bc-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes bc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(1.25); }
}

/* ── Recherche rapide homepage ────────────────────────────────────────────── */
.bc-quicksearch-card {
  border: 1px solid rgba(200,90,110,.15);
  box-shadow: 0 24px 64px rgba(200,90,110,.12);
}
.bc-quicksearch-title {
  font-size: .8rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .1em;
  text-align: center; margin-bottom: 1.5rem;
}

/* ── Gender selector ─────────────────────────────────────────────────────── */
.bc-gender-selector {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.bc-gender-card {
  flex: 1; min-width: 140px; cursor: pointer; position: relative;
}
.bc-gender-card input[type=radio] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.bc-gender-card-inner {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.25rem 1rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(42,42,42,.10);
  background: rgba(255,255,255,.70);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
  font-size: .875rem; font-weight: 600; color: #64748b; text-align: center;
}
.bc-gender-card-inner:hover {
  border-color: rgba(200,90,110,.30);
  background: rgba(255,255,255,.92);
}
.bc-gender-card:has(input:checked) .bc-gender-card-inner {
  border-color: var(--bc-rose);
  background: rgba(200,90,110,.06);
  box-shadow: 0 8px 28px rgba(200,90,110,.18);
  color: var(--bc-charcoal);
  transform: translateY(-2px);
}
.bc-gender-card-icon { font-size: 2.25rem; line-height: 1; }

/* ── Range slider ─────────────────────────────────────────────────────────── */
.bc-range-wrap {
  position: relative; height: 2rem; padding: .5rem 0;
}
.bc-range-track {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 4px; background: rgba(200,90,110,.15);
  border-radius: 2px; transform: translateY(-50%);
}
.bc-range-fill {
  position: absolute; top: 0; height: 100%;
  background: var(--bc-rose); border-radius: 2px; pointer-events: none;
}
.bc-range-wrap input[type=range] {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; -webkit-appearance: none; appearance: none;
  background: transparent; outline: none; margin: 0; padding: 0;
}
.bc-range-wrap input[type=range]::-webkit-slider-thumb {
  pointer-events: all; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bc-rose); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(200,90,110,.40);
  cursor: grab; -webkit-appearance: none; appearance: none;
}
.bc-range-wrap input[type=range]::-moz-range-thumb {
  pointer-events: all; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bc-rose); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(200,90,110,.40); cursor: grab;
}
.bc-range-wrap input[type=range]::-webkit-slider-runnable-track { background: transparent; }
.bc-range-wrap input[type=range]::-moz-range-track { background: transparent; }

/* ── Toggle switch ────────────────────────────────────────────────────────── */
.bc-toggle-label-wrap {
  display: flex; align-items: center; gap: .75rem; cursor: pointer;
}
.bc-toggle-switch {
  position: relative; width: 44px; height: 24px; flex-shrink: 0;
}
.bc-toggle-input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.bc-toggle-track {
  position: absolute; inset: 0; border-radius: 9999px;
  background: rgba(42,42,42,.15); transition: background .2s;
}
.bc-toggle-track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(42,42,42,.20); transition: transform .2s;
}
.bc-toggle-input:checked + .bc-toggle-track { background: var(--bc-rose); }
.bc-toggle-input:checked + .bc-toggle-track::after { transform: translateX(20px); }

/* ── Utilitaires ──────────────────────────────────────────────────────────── */
.bc-divider { border: none; border-top: 1px solid rgba(42,42,42,.08); margin: 1rem 0; }
.bc-link { color: var(--bc-rose); text-decoration: none; font-weight: 500; transition: opacity .15s; }
.bc-link:hover { opacity: .75; }
.bc-avatar {
  border-radius: 9999px; object-fit: cover;
  border: 2px solid rgba(200,90,110,.20);
  background: var(--bc-soft-pink);
  display: flex; align-items: center; justify-content: center;
  color: var(--bc-rose); font-weight: 700;
}

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .22s; }
[data-reveal-delay="3"] { transition-delay: .32s; }

/* ── Float animations (hero badges) ──────────────────────────────────────── */
@keyframes bc-float-1 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
@keyframes bc-float-2 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}

/* ── Trust bar ────────────────────────────────────────────────────────────── */
.bc-trust-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2rem;
  padding: 1.25rem 2rem;
  border-radius: 2rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(42,42,42,.06);
}
.bc-trust-item {
  display: flex; align-items: center; gap: .625rem;
  font-size: .82rem; font-weight: 600; color: #475569;
  white-space: nowrap;
}
.bc-trust-icon {
  width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .625rem; font-size: 1rem; flex-shrink: 0;
}

/* ── Section labels & titles ──────────────────────────────────────────────── */
.bc-section-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--bc-rose);
  background: rgba(200,90,110,.09);
  border-radius: 9999px; padding: .3rem .875rem;
  margin-bottom: .875rem;
}
.bc-section-title {
  font-size: clamp(1.5rem,3vw,2.25rem);
  font-weight: 800; color: var(--bc-charcoal); line-height: 1.2; margin-bottom: .625rem;
}
.bc-section-sub {
  color: #64748b; font-size: .95rem; line-height: 1.65;
  max-width: 520px; margin: 0 auto;
}

/* ── Member cards v2 ──────────────────────────────────────────────────────── */
.bc-member-card-v2 {
  border-radius: 1.75rem; overflow: hidden;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 8px 32px rgba(42,42,42,.08);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  text-decoration: none; display: block; color: inherit;
}
.bc-member-card-v2:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(200,90,110,.18);
}
.bc-member-card-v2-photo {
  position: relative; height: 260px; overflow: hidden;
  background: linear-gradient(135deg,rgba(200,90,110,.12),rgba(240,200,208,.35));
}
.bc-member-card-v2-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.bc-member-card-v2:hover .bc-member-card-v2-photo img { transform: scale(1.07); }
.bc-member-card-v2-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 5.5rem;
}
.bc-member-card-v2-badges {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.bc-verified-badge {
  display: inline-flex; align-items: center; gap: .28rem;
  background: rgba(255,255,255,.94); color: #0369a1;
  border-radius: 9999px; padding: .18rem .55rem;
  font-size: .6rem; font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(42,42,42,.10);
}
.bc-online-dot-card {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 4px rgba(34,197,94,.3);
  flex-shrink: 0;
}
.bc-member-card-v2-status {
  position: absolute; top: .75rem; right: .75rem;
  display: flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.94); border-radius: 9999px; padding: .28rem .65rem;
  font-size: .62rem; font-weight: 600; color: #15803d;
  backdrop-filter: blur(8px);
}
.bc-member-card-v2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,42,42,.68) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.25rem;
}
.bc-member-card-v2:hover .bc-member-card-v2-overlay { opacity: 1; }
.bc-member-card-v2-body { padding: 1rem 1.125rem 1.25rem; }
.bc-member-card-v2-name {
  font-size: .975rem; font-weight: 700; color: var(--bc-charcoal);
  display: flex; align-items: center; gap: .4rem; margin-bottom: .2rem;
}
.bc-member-card-v2-city {
  font-size: .74rem; color: #64748b; margin-bottom: .5rem;
  display: flex; align-items: center; gap: .25rem;
}
.bc-member-card-v2-bio {
  font-size: .78rem; color: #475569; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Skeleton loading ─────────────────────────────────────────────────────── */
.bc-skeleton {
  border-radius: 1.75rem; overflow: hidden;
  background: rgba(255,255,255,.80); border: 1px solid rgba(255,255,255,.70);
  box-shadow: 0 8px 32px rgba(42,42,42,.06);
}
.bc-skeleton-photo {
  height: 260px;
  background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);
  background-size: 200% 100%; animation: bc-shimmer 1.8s infinite;
}
.bc-skeleton-body { padding: 1rem 1.125rem 1.25rem; }
.bc-skeleton-line {
  border-radius: 9999px;
  background: linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);
  background-size: 200% 100%; animation: bc-shimmer 1.8s infinite;
  margin-bottom: .625rem;
}
@keyframes bc-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.bc-testimonial-card {
  border-radius: 2rem;
  background: rgba(255,255,255,.90); border: 1px solid rgba(255,255,255,.72);
  padding: 1.875rem;
  box-shadow: 0 10px 40px rgba(42,42,42,.07);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.bc-testimonial-card::before {
  content: '"'; position: absolute; top: .5rem; right: 1.25rem;
  font-size: 7rem; line-height: 1; color: rgba(200,90,110,.07);
  font-family: Georgia,serif; font-weight: 700; pointer-events: none;
}
.bc-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(200,90,110,.13);
}
.bc-testimonial-avatar {
  width: 3.25rem; height: 3.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.125rem; font-weight: 700; flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.6);
  box-shadow: 0 4px 14px rgba(42,42,42,.18);
}
.bc-testimonial-stars { color: #f59e0b; letter-spacing: .08em; font-size: .9rem; }
.bc-testimonial-quote {
  font-size: .885rem; color: #334155; line-height: 1.75;
  font-style: italic; margin: .875rem 0 1.125rem; position: relative;
}
.bc-testimonial-name   { font-size: .875rem; font-weight: 700; color: var(--bc-charcoal); }
.bc-testimonial-loc    { font-size: .75rem; color: #94a3b8; margin-top: .1rem; }

/* ── Security cards ───────────────────────────────────────────────────────── */
.bc-security-card {
  border-radius: 1.75rem;
  background: rgba(255,255,255,.90); border: 1px solid rgba(255,255,255,.72);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(42,42,42,.06);
  transition: transform .25s, box-shadow .25s;
}
.bc-security-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(42,42,42,.11);
}
.bc-security-icon {
  width: 3.25rem; height: 3.25rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem; flex-shrink: 0;
}

/* ── Perk cards v2 ────────────────────────────────────────────────────────── */
.bc-perk-v2 {
  border-radius: 1.5rem;
  background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.72);
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(42,42,42,.06);
  transition: transform .25s, box-shadow .25s;
}
.bc-perk-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(200,90,110,.10);
}
.bc-perk-v2-icon {
  width: 3rem; height: 3rem; border-radius: .875rem;
  background: rgba(200,90,110,.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem;
  transition: background .2s, transform .2s;
}
.bc-perk-v2:hover .bc-perk-v2-icon { background: rgba(200,90,110,.18); transform: scale(1.08); }

/* ── Traduction (Google Translate — moteur invisible) ─────────────────────── */
/* Le widget natif est masqué (voir footer.php) ; seul le sélecteur maison FR/EN
   (bc_lang_switcher()) est visible. On masque quand même la bannière du haut
   ("Traduit en : ...") que Google peut injecter en enfant direct de <body>,
   par sécurité si elle apparaissait malgré tout. */
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ── Steps v2 ─────────────────────────────────────────────────────────────── */
.bc-steps-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  position: relative;
}
.bc-step-v2 {
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(200,90,110,.12);
  border-top: 3px solid var(--bc-rose);
  padding: 2.25rem 1.75rem 2rem;
  text-align: left;
  box-shadow: 0 8px 32px rgba(42,42,42,.09);
  transition: transform .25s, box-shadow .25s;
}
.bc-step-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(200,90,110,.15);
}
.bc-step-v2-number {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: linear-gradient(135deg,var(--bc-rose),var(--bc-brand-deep));
  color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .05em;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.5rem;
  box-shadow: 0 8px 20px rgba(200,90,110,.28);
}

/* ── CTA gradient section ─────────────────────────────────────────────────── */
.bc-cta-section {
  border-radius: 2.5rem;
  background: linear-gradient(135deg, var(--bc-cream) 0%, rgba(240,200,208,.55) 100%);
  border: 1px solid rgba(200,90,110,.14);
  padding: 4.5rem 2rem; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 16px 60px rgba(200,90,110,.12);
}
.bc-cta-section::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle,rgba(200,90,110,.07) 0%,transparent 70%);
  pointer-events: none;
}
.bc-cta-section::after {
  content: ''; position: absolute; bottom: -35%; left: -8%;
  width: 320px; height: 320px;
  background: radial-gradient(circle,rgba(53,16,111,.04) 0%,transparent 70%);
  pointer-events: none;
}

/* ── Mobile sticky CTA ────────────────────────────────────────────────────── */
.bc-sticky-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  padding: .875rem 1.25rem;
  background: rgba(255,249,245,.96);
  border-top: 1px solid rgba(200,90,110,.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 -6px 24px rgba(42,42,42,.08);
  gap: .75rem;
}

/* ── Hero inner grid ──────────────────────────────────────────────────────── */
.bc-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── Footer v2 ────────────────────────────────────────────────────────────── */
.bc-footer-v2 {
  background: linear-gradient(180deg,transparent 0%,rgba(53,16,111,.03) 100%);
  border-top: 1px solid rgba(200,90,110,.10);
  margin-top: 5rem; padding: 4rem 1.5rem 0;
}
.bc-footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem;
}
.bc-footer-heading {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: #94a3b8; margin-bottom: .875rem;
}
.bc-footer-link {
  display: block; font-size: .875rem; color: #475569;
  text-decoration: none; padding: .28rem 0; transition: color .18s;
}
.bc-footer-link:hover { color: var(--bc-rose); }
.bc-footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: .625rem;
  background: rgba(42,42,42,.06); color: #475569;
  text-decoration: none; font-size: .85rem;
  transition: background .18s, color .18s, transform .18s;
}
.bc-footer-social:hover {
  background: rgba(200,90,110,.12); color: var(--bc-rose); transform: translateY(-2px);
}
.bc-footer-bottom {
  border-top: 1px solid rgba(42,42,42,.07);
  padding: 1.5rem 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.bc-footer-tagline { font-size: .8rem; color: #94a3b8; margin-top: .35rem; max-width: 200px; }

/* ── Responsive overrides ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bc-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .bc-hero-inner        { grid-template-columns: 1fr !important; }
  .bc-steps-grid        { grid-template-columns: 1fr !important; }
  .bc-testimonials-grid { grid-template-columns: 1fr !important; }
  .bc-security-grid     { grid-template-columns: 1fr 1fr !important; }
  .bc-security-2col     { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .bc-features-grid     { grid-template-columns: 1fr 1fr !important; }
  .bc-footer-grid       { grid-template-columns: 1fr 1fr !important; }
  .bc-trust-bar         { gap: 1rem; padding: 1rem 1.25rem; }
  .bc-sticky-mobile-cta { display: flex !important; }
}
@media (max-width: 640px) {
  .bc-members-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .bc-members-grid    { grid-template-columns: 1fr !important; }
  .bc-security-grid   { grid-template-columns: 1fr !important; }
  .bc-features-grid   { grid-template-columns: 1fr !important; }
  .bc-footer-grid     { grid-template-columns: 1fr !important; }
}

/* ── Rendu contenu article blog ──────────────────────────────────────────── */
.bc-blog-content { font-size:1rem; color:#334155; line-height:1.85; }
.bc-blog-content h2 { font-size:1.625rem; font-weight:800; color:var(--bc-charcoal); margin:2rem 0 .75rem; letter-spacing:-.02em; line-height:1.25; }
.bc-blog-content h3 { font-size:1.25rem;  font-weight:700; color:var(--bc-charcoal); margin:1.625rem 0 .625rem; }
.bc-blog-content h4 { font-size:1.0625rem;font-weight:700; color:var(--bc-charcoal); margin:1.375rem 0 .5rem; }
.bc-blog-content p  { margin:.75rem 0; }
.bc-blog-content a  { color:var(--bc-rose); text-decoration:underline; text-underline-offset:3px; }
.bc-blog-content strong { font-weight:700; color:var(--bc-charcoal); }
.bc-blog-content em { font-style:italic; }
.bc-blog-content ul,
.bc-blog-content ol { padding-left:1.5rem; margin:.75rem 0; display:flex; flex-direction:column; gap:.375rem; }
.bc-blog-content li { line-height:1.7; }
.bc-blog-content ul li { list-style:disc; }
.bc-blog-content ol li { list-style:decimal; }
.bc-blog-content blockquote {
  border-left:4px solid var(--bc-rose);
  padding:.875rem 1.25rem;
  background:rgba(200,90,110,.05);
  border-radius:0 1rem 1rem 0;
  margin:1.25rem 0;
  color:#475569;
  font-style:italic;
  font-size:.9375rem;
}
.bc-blog-content pre { background:#f1f5f9; border-radius:.75rem; padding:1rem 1.25rem; overflow-x:auto; margin:.875rem 0; font-family:ui-monospace,monospace; font-size:.875rem; }
.bc-blog-content code { background:#f1f5f9; border-radius:.375rem; padding:.15rem .375rem; font-family:ui-monospace,monospace; font-size:.875rem; }
.bc-blog-content img { max-width:100%; border-radius:1.25rem; margin:1.25rem auto; display:block; box-shadow:0 8px 32px rgba(42,42,42,.10); }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE  UX  —  Navigation basse, layouts responsifs, espacements
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Navigation basse mobile ─────────────────────────────────────────────── */
.bc-mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255,249,245,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(200,90,110,.12);
  box-shadow: 0 -4px 24px rgba(42,42,42,.09);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bc-mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; padding: .55rem .2rem .45rem;
  text-decoration: none; color: #94a3b8; flex: 1;
  transition: color .15s; position: relative; min-width: 0;
}
.bc-mobile-nav-item:active { opacity: .7; }
.bc-mobile-nav-item.is-active { color: var(--bc-rose); }
.bc-mobile-nav-icon {
  font-size: 1.25rem; line-height: 1; position: relative; display: inline-block;
}
.bc-mobile-nav-label { font-size: .58rem; font-weight: 600; white-space: nowrap; }
.bc-mobile-nav-badge {
  position: absolute; top: -.3rem; right: -.4rem;
  background: var(--bc-rose); color: #fff;
  font-size: .52rem; font-weight: 800; border-radius: 9999px;
  min-width: .9rem; height: .9rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 .18rem;
  border: 1.5px solid rgba(255,249,245,.97);
}

/* ── Helpers layouts responsifs ──────────────────────────────────────────── */
.bc-profile-edit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start;
}
.bc-form-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.bc-chat-height { height: calc(100vh - 220px); }

/* ── Media queries mobiles ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .bc-profile-edit-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .bc-form-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  /* Navigation basse */
  .bc-mobile-nav { display: flex; }
  body.bc-has-mobile-nav {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  /* Chat */
  .bc-chat-height { height: calc(100dvh - 8.5rem); }
  body.bc-has-mobile-nav .bc-chat-height { height: calc(100dvh - 12.5rem); }

  /* Sections publiques */
  .bc-section-pad  { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
  .bc-security-section { padding: 2.5rem 1.25rem !important; border-radius: 1.5rem !important; }
  .bc-cta-section  { padding: 3rem 1.5rem !important; border-radius: 1.75rem !important; }

  /* Stat cards compactes */
  .bc-stat-card  { padding: .875rem .625rem; }
  .bc-stat-value { font-size: 1.35rem; }

  /* Navbar */
  .bc-navbar-inner { gap: .5rem; }

  /* Bubbles de message max-width */
  .bc-bubble-mine, .bc-bubble-other { max-width: calc(100vw - 4rem); }
}
@media (max-width: 768px) {
  /* Blog : article à la une en colonne */
  .bc-blog-featured { grid-template-columns: 1fr !important; }
  .bc-blog-cover    { height: 220px !important; }
}
@media (max-width: 480px) {
  .bc-navbar-inner { padding: 0 .875rem; }
  .bc-brand { font-size: 1.1rem; }
  .bc-brand img { height: 2.25rem !important; }
  .bc-online-badge { font-size: .7rem; padding: .25rem .65rem; }

  /* Plans tarifaires : 1 col sur petit écran */
  .bc-billing-plans { grid-template-columns: 1fr !important; }

  /* Photos dans la vue profil : 2 cols suffisent */
  .bc-photos-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* Bouton full-width sur xs */
  .bc-button-full-xs { width: 100% !important; }
}
