* {
  box-sizing: border-box;
}

:root {
  --brand-color: #0f172a;
  --accent-color: #1e3a8a;
  --card-border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f9f9f9 0%, #eaeaea 100%);
  color: var(--brand-color);
  font-family: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.center {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-sm), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92vw, 520px);
  gap: 8px;
}

.logo {
  width: 400px;         /* taille fixe confortable */
  max-width: 40vw;      /* responsive */
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.brand {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--accent-color);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


