html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.right-bg {
  background: url('../images/bg.jpg') center center / cover no-repeat;
  position: relative;
  min-height: 100vh;
}

/* Overlay Blocks.png */
.right-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/Blocks.png') center center / cover no-repeat;
  opacity: 0.15;
}

/* Overlay pour assurer la lisibilité */
.right-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.right-bg > * {
  position: relative;
  z-index: 2;
}

/* Couleur primaire */
:root {
  --primary-color: rgba(127, 86, 217, 1);
}

/* Bouton principal */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #9a67ea;
  border-color: #9a67ea;
}

/* Espacement réduit autour du formulaire */
.col-6.d-flex.flex-column {
  padding: 3rem 1rem;
}

/* Ajustement du contenu */
.form-control {
  border-radius: 0.5rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h1.h3.fw-bold {
  margin-bottom: 1.5rem;
}

.text-muted.mb-4 {
  margin-bottom: 2rem !important;
}

.form-check {
  margin-top: 1rem;
}

.btn-primary.w-100.py-2 {
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.1rem;
}

.p-4.d-flex.justify-content-between.align-items-center.small.w-100 {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(83, 88, 98, 1);
}

.p-4.d-flex.justify-content-between.align-items-center.small.w-100 span {
  color: rgba(83, 88, 98, 1);
}

.p-4.d-flex.justify-content-between.align-items-center.small.w-100 a {
  color: rgba(83, 88, 98, 1);
  text-decoration: none;
}

.p-4.d-flex.justify-content-between.align-items-center.small.w-100 a:hover {
  text-decoration: underline;
}

/* Contenu colonne droite */
.mt-auto.p-5.text-white h2.fw-bold {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2.5rem; /* display-xl equivalent */
  font-weight: 600;
}

.mt-auto.p-5.text-white p.mb-0.fs-5 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
}