/* ════════════════════════════════════════════════════════════
   PAGE CONNEXION / INSCRIPTION — Style Boturea
   ════════════════════════════════════════════════════════════ */

/* Masquer le titre Astra sur la page de connexion */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) .ast-breadcrumbs-wrapper {
  display: none !important;
}

/* Fond plein écran */
.woocommerce-account:not(.logged-in) .site-content,
.woocommerce-account:not(.logged-in) #primary,
.woocommerce-account:not(.logged-in) #main {
  padding: 0 !important;
  margin: 0 !important;
  background: var(--white) !important;
}

/* ─── Layout 2 colonnes ──────────────────────────────────────── */
.blf-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ─── Gauche — blanc ─────────────────────────────────────────── */
.blf-left {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  border-right: 1px solid var(--border);
}

.blf-left__inner {
  width: 100%;
  max-width: 400px;
}

/* Logo */
.blf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  text-decoration: none;
}

.blf-logo img { height: 32px; width: auto; }

.blf-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

/* Titre */
.blf-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--weight-bold);
  color: var(--black);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.blf-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 28px;
}

/* Boutons sociaux */
.blf-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.blf-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.blf-social:hover { opacity: 0.88; transform: translateY(-1px); }

.blf-social--fb {
  background: #1877F2;
  color: var(--white);
}

.blf-social--google {
  background: var(--white);
  color: #333;
  border: 1.5px solid var(--border);
}

/* Séparateur */
.blf-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
}

.blf-divider::before,
.blf-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Formulaire */
.blf-form { display: flex; flex-direction: column; gap: 16px; }

.blf-field { display: flex; flex-direction: column; gap: 6px; }

.blf-field__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blf-field label,
.blf-form label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: var(--weight-semibold);
  color: var(--black);
}

.blf-field input,
.blf-form input[type="text"],
.blf-form input[type="email"],
.blf-form input[type="password"] {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--gray);
  outline: none;
  transition: border-color 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}

.blf-field input:focus,
.blf-form input:focus {
  border-color: var(--g);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,74,53,0.08);
}

.blf-forgot {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--g);
  text-decoration: none;
  font-weight: var(--weight-medium);
}

.blf-forgot:hover { color: var(--gold); }

.blf-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  margin-top: -4px;
}

.blf-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--g);
}

/* Bouton connexion */
.blf-submit {
  width: 100%;
  height: 50px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 4px;
}

.blf-submit:hover { background: var(--g); }

/* ─── Droite — vert Boturea ──────────────────────────────────── */
.blf-right {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(232,160,32,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
    var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.blf-right__inner {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.blf-right__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.blf-right__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.blf-right__intro {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Liste avantages */
.blf-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blf-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

.blf-benefits li svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.blf-benefits li strong { color: var(--white); font-weight: var(--weight-semibold); }

/* Champs inscription (si WooCommerce registration activée) */
.blf-register-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.blf-register-fields input {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  outline: none;
  transition: border-color 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}

.blf-register-fields input::placeholder { color: rgba(255,255,255,0.45); }
.blf-register-fields input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}

/* Bouton créer un compte */
.blf-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: var(--white);
  color: var(--g);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.blf-register-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .blf-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .blf-left,
  .blf-right {
    padding: 48px 24px;
    justify-content: flex-start;
  }

  .blf-left { border-right: none; border-bottom: 1px solid var(--border); }

  .blf-right__title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .blf-left,
  .blf-right { padding: 36px 20px; }

  .blf-title { font-size: 1.6rem; }
}
