/* ===== Page : connexion ===== */
.cz {
  padding-bottom: 90px;
}
main,
.page-section {
  background: #f7f8fa !important;
}
.cz {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #f7f8fa;
  color: #063b5c;
  font-family: Inter, system-ui, sans-serif;
}
.cz * {
  box-sizing: border-box;
}
.cz h1,
.cz h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  font-weight: 800;
}
.cz p {
  margin: 0;
}
.cz .mn {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.cz .lf {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cz .pill {
  align-self: flex-start;
  background: #daf3f0;
  color: #063b5c;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.cz h1 {
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.cz .lead {
  font-size: 18px;
  line-height: 1.55;
  color: #3e5a6c;
  max-width: 460px;
}
.cz ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cz li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: #3e5a6c;
}
.cz .k {
  flex: none;
  color: #0a7ea3;
  margin-top: 1px;
}
.cz .card {
  flex: 1 1 380px;
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 60px -36px rgba(6, 59, 92, 0.38);
}
.cz h2 {
  font-size: 28px;
}
.cz form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.cz .fd {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}
.cz label {
  font-size: 14px;
  font-weight: 600;
}
.cz input[type="email"],
.cz input[type="password"] {
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  border: 1px solid #6e8ba0;
  border-radius: 12px;
  background: #fff;
  color: #063b5c;
  font-family: inherit;
  width: 100%;
}
.cz .hint {
  font-size: 14px;
  line-height: 1.5;
  color: #3e5a6c;
}
.cz .go {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #063b5c 0%, #087ea4 100%);
  border: 0;
  border-radius: 12px;
  padding: 15px;
  min-height: 50px;
  font-family: inherit;
}
.cz .go:disabled {
  opacity: 0.7;
  cursor: wait;
}
.cz .go:hover {
  background: #063b5c;
}
.cz .err {
  font-size: 14px;
  color: #8a1f11;
  display: none;
}
.cz .err.ok {
  color: #0a6b4f;
}
.cz .resend {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #084d71;
  text-decoration: underline;
}
.cz .resend[hidden] {
  display: none;
}
.cz .bt {
  font-size: 14px;
  color: #3e5a6c;
  text-align: center;
  border-top: 1px solid #dae4ec;
  padding-top: 18px;
}
.cz .bt a {
  color: #084d71;
  font-weight: 600;
}
@media (max-width: 640px) {
  .cz .mn {
    padding: 40px 20px 56px;
    gap: 32px;
  }
  .cz h1 {
    font-size: 36px;
  }
  .cz .lead {
    font-size: 16px;
  }
  .cz .card {
    padding: 24px;
  }
}

/* =====================================================================
   Finitions (refonte visuelle) : mêmes éléments, rendu plus soigné
   ===================================================================== */
.cz .card {
  border-color: rgba(6, 59, 92, 0.08);
  box-shadow: var(--shadow-shot);
}
.cz .pill {
  box-shadow: inset 0 0 0 1px rgba(10, 126, 163, 0.12);
}
.cz input[type="email"],
.cz input[type="password"] {
  border-color: #b9cad6;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cz input[type="email"]:focus,
.cz input[type="password"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 126, 164, 0.15);
}
.cz .go {
  box-shadow: 0 10px 24px -12px rgba(8, 126, 164, 0.7);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.cz .go:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(8, 126, 164, 0.8);
}
