/* Connexion Fluent Community — charte Cercle de Présence */

.fcom_headless_scope_user_registration {
  --gold: #C89B3C;
  --gold-soft: #E0BE7A;
  --blue: #0F1556;
  --ivory: #F6F1E8;
  --cacao: #4B372A;
  --cacao-soft: #6B5443;
  --sans: "Manrope", -apple-system, "Helvetica Neue", sans-serif;
  --italic: "Cormorant Garamond", "Manrope", serif;
}

.fcom_headless_scope_user_registration,
.fcom_headless_scope_user_registration .fcom_full_layout.fluent_com_auth {
  font-family: var(--sans);
  color: var(--cacao);
  background: var(--ivory);
}

/* —— Bannière latérale —— */
.fcom_full_layout.fluent_com_auth .fcom_layout_side {
  position: relative;
  background-color: transparent !important;
  background-blend-mode: normal !important;
  background-size: cover !important;
  background-position: center !important;
}

.fcom_full_layout.fluent_com_auth .fcom_layout_side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 21, 86, 0.48),
    rgba(15, 21, 86, 0.22),
    rgba(15, 21, 86, 0.06)
  );
  pointer-events: none;
}

.fcom_full_layout.fluent_com_auth .fcom_layout_side .fcom_welcome {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 5vw, 64px) clamp(44px, 5vw, 56px);
  text-align: left;
  max-width: 520px;
  margin: 0;
}

.fcom_full_layout.fluent_com_auth .fcom_layout_side .fcom_welcome h2.fcom_title {
  font-family: var(--italic);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory) !important;
  margin: 0 0 18px;
}

.fcom_full_layout.fluent_com_auth .fcom_layout_side .fcom_welcome .fcom_sub_title,
.fcom_full_layout.fluent_com_auth .fcom_layout_side .fcom_welcome .fcom_sub_title p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(246, 241, 232, 0.82) !important;
  margin: 0;
}

/* —— Zone formulaire —— */
.fcom_full_layout.fluent_com_auth .fcom_layout_main {
  background: var(--ivory) !important;
  padding: clamp(40px, 5vw, 64px) clamp(44px, 5vw, 56px);
}

.fcom_full_layout.fluent_com_auth .fcom_user_onboard {
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_header {
  text-align: left;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_header_title h2 {
  font-family: var(--italic) !important;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--blue) !important;
  margin: 0 0 12px;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_sub,
.fcom_full_layout.fluent_com_auth .fcom_onboard_sub p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.65;
  color: var(--cacao-soft) !important;
  margin: 0;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form {
  padding: 0;
  color: var(--cacao);
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form .fcom_form-group {
  margin-bottom: 18px;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="text"],
.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="email"],
.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--cacao);
  background: var(--ivory);
  border: 1px solid rgba(75, 55, 42, 0.18);
  border-radius: 0;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="text"]:focus,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="email"]:focus,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form input[type="password"]:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: none;
}

.fcom_full_layout.fluent_com_auth .login-remember label {
  font-size: 14px;
  color: var(--cacao-soft);
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form #wp-submit,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form .fcom_btn_submit,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form .fcom_btn_primary {
  width: 100%;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory) !important;
  background: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.fcom_full_layout.fluent_com_auth .fcom_onboard_form #wp-submit:hover,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form .fcom_btn_submit:hover,
.fcom_full_layout.fluent_com_auth .fcom_onboard_form .fcom_btn_primary:hover {
  opacity: 1;
  background: #0a0e3a !important;
  border-color: #0a0e3a !important;
}

.fcom_full_layout.fluent_com_auth .fcom_alt_auth_text,
.fcom_full_layout.fluent_com_auth .fcom_reset_pass_text {
  font-size: 14px;
  color: var(--cacao-soft);
  text-align: center;
}

.fcom_full_layout.fluent_com_auth .fcom_alt_auth_text a,
.fcom_full_layout.fluent_com_auth .fcom_reset_pass_text a,
.fcom_full_layout.fluent_com_auth .fcom_layout_main a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fcom_full_layout.fluent_com_auth .fcom_spaced_divider {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(75, 55, 42, 0.12);
}

.fcom_full_layout.fluent_com_auth .fcom_completed .fcom_btn_success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  text-decoration: none;
}

/* —— Mobile —— */
@media (max-width: 900px) {
  .fcom_full_layout.fluent_com_auth {
    flex-direction: column;
  }

  .fcom_full_layout.fluent_com_auth .fcom_layout_side {
    min-height: clamp(220px, 42vw, 320px);
  }

  .fcom_full_layout.fluent_com_auth .fcom_layout_side .fcom_welcome {
    padding: clamp(32px, 8vw, 44px) clamp(24px, 6vw, 32px);
  }

  .fcom_full_layout.fluent_com_auth .fcom_layout_main {
    padding: clamp(32px, 8vw, 44px) clamp(24px, 6vw, 32px);
  }
}
