/* Dans layout.css */
.dc-page-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); /* ← GRADIENT DANS LE CONTENEUR */
}

/* Et dans base.css - body simple */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff; /* ← BACKGROUND SIMPLE */
  min-height: 100vh;
  color: var(--text-dark);
  line-height: 1.6;
}
/* S'assurer que le conteneur principal gère le footer */
.dc-page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dc-container, .main-container {
  flex: 1 0 auto; /* Prend l'espace disponible */
}
/* Container formulaire */
.dc-container {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Conteneur principal de toute la page */
.dc-page-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
}
.dc-page-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  border-radius: 22px; /* ← Légèrement plus grand que le conteneur */
  z-index: -1;
}
@media (min-width: 769px) {
  .dc-page-container {
    border-radius: 16px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* Mobile - coins moins arrondis ou pas du tout */
@media (max-width: 768px) {
  .dc-page-container {
    border-radius: 12px; /* ← Moins arrondi sur mobile */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08); /* ← Ombre plus légère */
  }
}