/* =============================================
   PAGE CONNEXION — hero plein écran + footer en dessous
   ============================================= */

.page-connexion {
  --connexion-header-h: 10.5rem;
}

@media (max-width: 1023px) {
  .page-connexion {
    --connexion-header-h: 8.25rem;
  }
}

.page-connexion .site-main {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-inscription .connexion-panel {
  max-width: 400px;
}

/* ---- Hero : mobile = carte sur diaporama, hauteur flexible ---- */
.connexion-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100dvh - var(--connexion-header-h));
  overflow: visible;
  padding: 24px 16px;
  box-sizing: border-box;
}

/* ---- Slideshow background ---- */
.connexion-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1b1b1b;
}

.slide-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: filter 1s ease, opacity 1s ease, transform 8s ease;
}

.slide-layer.is-sharp .slide-bg {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.08);
}

.slide-layer.is-revealing:not(.is-sharp) .slide-bg {
  filter: blur(14px);
  opacity: 1;
}

.slide-layer.is-revealing.is-sharp .slide-bg {
  filter: blur(0);
  opacity: 1;
}

.slide-layer.is-blurring .slide-bg {
  filter: blur(14px);
  opacity: 0;
}

/* Dark overlay removed — images shown without scrim */

/* ---- Login card ---- */
.connexion-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.form-connexion-wrapper {
  width: 100%;
  animation: fadeInUp 0.55s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-entete {
  margin-bottom: 18px;
  text-align: center;
}
.form-entete h1 {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b1b1b;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.form-entete p {
  color: #4b5563;
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}

.alerte-erreur {
  background: #fff0f2;
  border: 1px solid #fca5b4;
  border-left: 4px solid #d90429;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: secouer 0.5s ease;
}
.alerte-erreur i { color: #d90429; font-size: 1.05rem; margin-top: 1px; flex-shrink: 0; }
.alerte-erreur span { color: #991b1b; font-size: 0.88rem; font-weight: 500; line-height: 1.5; }

.alerte-succes {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alerte-succes i { color: #16a34a; font-size: 1.05rem; flex-shrink: 0; }
.alerte-succes span { color: #166534; font-size: 0.88rem; font-weight: 500; line-height: 1.5; }

.auth-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.auth-step {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
}
.auth-step.is-active { color: #d90429; }
.auth-step.is-active .auth-step-num {
  border-color: #d90429;
  background: #fff0f2;
  color: #d90429;
}
.auth-step.is-done { color: #16a34a; }
.auth-step.is-done .auth-step-num {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #16a34a;
}
.auth-step-label { display: none; }
@media (min-width: 400px) {
  .auth-step-label { display: inline; }
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.champ-aide {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.auth-form-actions { margin-top: 8px; }
.auth-form-actions--split {
  display: flex;
  gap: 10px;
  align-items: center;
}
.auth-form-actions--split .btn-connexion { flex: 1; }

.btn-auth-secondaire {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}
.btn-auth-secondaire:hover { border-color: #d90429; color: #d90429; }

.totp-compact { text-align: center; }
.totp-compact-intro {
  font-size: 0.85rem;
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.5;
}
.qr-block {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
}
.qr-image { display: block; width: 200px; height: 200px; }
.secret-key-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.secret-key-row code {
  font-size: 0.78rem;
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 6px;
  word-break: break-all;
  max-width: 100%;
}
.btn-copy-secret {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.btn-copy-secret:hover { border-color: #d90429; color: #d90429; }
.totp-input { text-align: center; letter-spacing: 0.25em; font-weight: 600; }

.backup-details {
  text-align: left;
  margin: 16px 0;
  font-size: 0.82rem;
  color: #4b5563;
}
.backup-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #d90429;
  margin-bottom: 8px;
}
.backup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-family: monospace;
  font-size: 0.75rem;
  background: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  margin-bottom: 8px;
}
.auth-checkbox input { margin-top: 3px; flex-shrink: 0; }

a.btn-connexion { display: flex; text-decoration: none; color: #fff; }

@keyframes secouer {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.groupe-champ { margin-bottom: 14px; position: relative; }
.groupe-champ label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.groupe-champ label .requis { color: #d90429; margin-left: 2px; }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icone-gauche {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.25s;
  z-index: 1;
}
.champ-input {
  width: 100%;
  padding: 10px 40px 10px 38px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* évite zoom iOS */
  color: #1b1b1b;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.champ-input:focus {
  border-color: #d90429;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.08);
}
.input-wrapper:focus-within .input-icone-gauche { color: #d90429; }
.champ-input.has-error { border-color: #ef4444; background: #fff7f7; }
.champ-input.valid { border-color: #10b981; }

.input-icone-droite {
  position: absolute;
  right: 14px;
  font-size: 0.95rem;
  pointer-events: none;
}

.btn-toggle-mdp {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  z-index: 2;
}
.btn-toggle-mdp:hover { color: #d90429; }

.ligne-mdp-oublie {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.lien-mdp-oublie {
  font-size: 0.85rem;
  color: #d90429;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.lien-mdp-oublie:hover { color: #a80320; text-decoration: underline; }

/* ---- Cloudflare Turnstile ---- */
.turnstile-wrapper {
  width: 100%;
  min-height: 65px;
  margin: 4px 0 18px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.turnstile-scale {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.turnstile-wrapper .turnstile-mount,
.turnstile-wrapper .cf-turnstile {
  width: 300px;
  max-width: none;
}

.turnstile-wrapper--error {
  outline: 2px solid #ef4444;
  outline-offset: 3px;
  border-radius: 8px;
}

.turnstile-wrapper--pending {
  opacity: 0.95;
}

.btn-connexion.turnstile-gated:disabled,
.btn-connexion.turnstile-gated[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.btn-connexion {
  width: 100%;
  padding: 11px 20px;
  background: linear-gradient(135deg, #d90429 0%, #a80320 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(217, 4, 41, 0.3);
}
.btn-connexion:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(217, 4, 41, 0.38);
}
.btn-connexion:active { transform: translateY(0); }

.btn-connexion--blanc {
  background: #fff;
  color: #1b1b1b;
  border: 1px solid #c4c4c4;
  box-shadow: none;
}
.btn-connexion--blanc:hover {
  background: #f5f5f5;
  color: #1b1b1b;
  box-shadow: none;
}
.btn-connexion--blanc:disabled,
.btn-connexion--blanc[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn-connexion--blanc .spinner-btn {
  border-color: rgba(27, 27, 27, 0.25);
  border-top-color: #1b1b1b;
}
.btn-connexion.chargement { pointer-events: none; opacity: 0.85; }

.spinner-btn {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tourner 0.7s linear infinite;
  display: none;
}
.btn-connexion.chargement .spinner-btn { display: block; }
.btn-connexion.chargement .btn-texte { opacity: 0.7; }
.btn-connexion.chargement .btn-icone { display: none; }

@keyframes tourner { to { transform: rotate(360deg); } }

.lien-inscription {
  text-align: center;
  margin-top: 10px;
  font-size: 0.88rem;
  color: #6b7280;
}
.lien-inscription a {
  color: #d90429;
  font-weight: 700;
  text-decoration: none;
}
.lien-inscription a:hover { color: #a80320; text-decoration: underline; }
.lien-inscription-lead { display: inline; }

.inscription-terms-notice {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7280;
  text-align: center;
}
.inscription-terms-notice a {
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inscription-terms-notice a:hover { color: #d90429; }

/* ---- Mobile (legacy tweaks) ---- */
@media (max-width: 480px) {
  .form-entete h1 { font-size: 1.4rem; }
  .form-entete p { font-size: 0.88rem; }

  .turnstile-wrapper {
    margin: 2px 0 14px;
    min-height: 56px;
  }

  .lien-inscription--stack-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .connexion-panel { padding: 22px 16px; }
  .form-entete h1 { font-size: 1.3rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .slide-bg { transition: opacity 0.5s ease; transform: none !important; }
  .slide-layer.is-blurring .slide-bg,
  .slide-layer.is-revealing:not(.is-sharp) .slide-bg { filter: none; opacity: 0; }
}

/* ---- Méthode 2FA toggle (inscription) ---- */
.methode-2fa-toggle {
  margin: 10px 0 6px;
  padding: 8px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.methode-2fa-toggle--compact {
  margin: 8px 0 4px;
  padding: 6px 8px 8px;
}
.methode-2fa-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #374151;
}
.methode-2fa-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.methode-2fa-options--inline {
  display: flex;
  flex-direction: row;
  gap: 6px;
}
.methode-2fa-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.methode-2fa-option--inline {
  flex: 1;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  font-size: 0.7rem;
}
.methode-2fa-option input { display: none; }
.methode-2fa-option i { font-size: 1rem; }
.methode-2fa-option--inline i { font-size: 0.95rem; }
.methode-2fa-option.is-selected {
  border-color: #d90429;
  color: #d90429;
  background: #fff0f2;
}
.methode-2fa-hint {
  margin: 4px 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
}
.lien-auth-app {
  color: #d90429;
  font-weight: 600;
  text-decoration: none;
}
.lien-auth-app:hover,
.lien-auth-app:active,
.lien-auth-app:focus-visible {
  color: #a80320;
  text-decoration: underline;
}

/* Modal Google Authenticator */
.auth-app-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-app-modal[hidden] { display: none; }
.auth-app-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.auth-app-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.auth-app-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}
.auth-app-logo { display: block; margin: 0 auto 12px; }
.auth-app-content h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b1b1b;
}
.auth-app-desc {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.45;
}
.auth-app-stores {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-app-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #1b1b1b;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.auth-app-store-btn:hover {
  background: #d90429;
  color: #fff;
}
.auth-app-store-btn i { font-size: 1.1rem; }
body.auth-app-modal-open { overflow: hidden; }

/* ---- TOTP help & open app ---- */
.btn-info-secret {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0;
  transition: color 0.2s, border-color 0.2s;
}
.btn-info-secret:hover { color: #d90429; border-color: #d90429; }
.totp-actions-row { margin-bottom: 14px; }
.btn-open-auth-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d90429;
  text-decoration: none;
  padding: 8px 14px;
  border: 1.5px solid #fca5b4;
  border-radius: 8px;
  background: #fff0f2;
  transition: background 0.2s;
}
.btn-open-auth-app:hover { background: #ffe4e8; }
.qr-image { display: block; width: 160px; height: 160px; }

.totp-help-modal[hidden] { display: none; }
.totp-help-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.totp-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.totp-help-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.totp-help-content h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #1b1b1b;
}
.totp-help-content p { font-size: 0.82rem; color: #4b5563; line-height: 1.55; margin: 0 0 12px; }
.totp-help-steps {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.6;
}
.totp-help-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
}

/* ---- Email verify (inscription step 4) ---- */
.email-verify-card {
  text-align: center;
}
.email-verify-intro {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 10px;
}
.email-verify-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
.email-verify-polling {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.email-verify-polling.is-done { color: #16a34a; font-weight: 600; }
.spin-slow { animation: tourner 2s linear infinite; }
.btn-link-resend {
  background: none;
  border: none;
  color: #d90429;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  font-family: inherit;
  text-decoration: underline;
}
.resend-email-form { margin-top: 8px; }

/* ---- Remember device ---- */
.remember-device-check {
  margin: 10px 0 14px;
  font-size: 0.78rem;
}
.remember-hint {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.72rem;
}

/* ---- Email 2FA signup card ---- */
.email-2fa-signup-card .alerte-succes { text-align: left; margin-bottom: 14px; }
.email-2fa-signup-card .alerte-succes span { font-size: 0.8rem; }

/* ---- Mobile compact ---- */
@media (max-width: 480px) {
  .connexion-hero { padding: 16px 12px; }
  .connexion-panel { padding: 20px 16px; }
  .connexion-hero-form { padding: 16px 12px 28px; }
  .form-entete h1 { font-size: 1.2rem; }
  .methode-2fa-options--inline { flex-direction: row; }
}

/* ---- Mobile / tablette : carte flottante sur le diaporama ---- */
.connexion-hero-split {
  position: relative;
  width: 100%;
}

.connexion-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.connexion-hero-form {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 16px 32px;
  box-sizing: border-box;
}

.connexion-hero-visual .connexion-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .connexion-hero-split {
    min-height: calc(100dvh - var(--connexion-header-h) - 48px);
  }

  .connexion-hero-form {
    min-height: calc(100dvh - var(--connexion-header-h) - 48px);
  }

  /* Carte conservée sur mobile — pas le layout split blanc */
  .connexion-panel {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 26px 24px;
  }

  .page-inscription .connexion-panel {
    max-width: 400px;
  }
}

/* ---- Desktop uniquement : 63 % visuel | 37 % formulaire blanc ---- */
@media (min-width: 992px) {
  .connexion-hero {
    align-items: stretch;
    min-height: calc(100dvh - var(--connexion-header-h));
    height: calc(100dvh - var(--connexion-header-h));
    overflow: hidden;
    padding: 0;
  }

  .connexion-hero-split {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 100%;
  }

  .connexion-hero-visual {
    position: relative;
    flex: 0 0 63%;
    width: 63%;
    max-width: 63%;
    min-height: 100%;
    height: 100%;
    inset: auto;
    align-self: stretch;
  }

  .connexion-hero-form {
    flex: 0 0 37%;
    width: 37%;
    max-width: 37%;
    min-height: 100%;
    height: 100%;
    background: #fff;
    padding: 28px 36px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .connexion-panel {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .page-inscription .connexion-panel {
    max-width: 380px;
  }

  .form-connexion-wrapper {
    width: 100%;
  }
}

.inscription-resume-notice {
  margin-bottom: 10px;
}
.inscription-abandon-form {
  margin-top: 8px;
  margin-bottom: 0;
  text-align: center;
}
.page-inscription .lien-inscription {
  margin-top: 6px;
}
.btn-link-abandon {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.btn-link-abandon:hover { color: #d90429; }
