*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  padding: 46px 56px;
  min-height: 100vh;
  background: #1f1f1f;
  color: #e3e3e3;
  font-family: 'Google Sans', 'Product Sans', 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page { width: 100%; max-width: 1019px; }

.carte {
  display: grid;
  margin: 0;
  padding: 42px 32px 32px;
  background: #0d0d0d;
  border-radius: 28px;
  min-height: 437px;
}

.etape {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.colonne { display: flex; flex-direction: column; min-width: 0; padding-right: 24px; }
.colonne-droite { padding-right: 0; padding-top: 67px; }

.logo { display: block; width: 40px; height: 40px; flex: 0 0 auto; }

.titre-bloc { padding-top: 73px; }

.titre {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #fff;
}

.sous-titre { margin: 0; font-size: 16px; line-height: 1.5; color: #e3e3e3; }

.champ { position: relative; }

.champ input,
.champ-simple {
  width: 100%;
  height: 56px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: 1px solid #8e918f;
  border-radius: 4px;
  outline: none;
}

.champ input:focus,
.champ-simple:focus { border-color: #a8c7fa; }

.champ.invalide input { border-color: #f28b82; }

.champ label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 4px;
  font-size: 16px;
  color: #9aa0a6;
  background: #0d0d0d;
  pointer-events: none;
  transition: top .12s, font-size .12s, color .12s;
}

.champ input:focus + label,
.champ input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 12px;
  color: #a8c7fa;
}

.champ.invalide input:focus + label,
.champ.invalide label { color: #f28b82; }

.erreur {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #f28b82;
}

.erreur svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; }

.lien { color: #a8c7fa; font-size: 15px; font-weight: 500; text-decoration: none; }
.lien:hover { text-decoration: underline; }

.lien-oubli { align-self: flex-start; margin-top: 12px; }

.note { margin: 44px 0 0; font-size: 15px; line-height: 1.55; color: #e3e3e3; }

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-top: auto;
  padding-top: 32px;
}

.actions-bas { padding-top: 0; }

.bouton {
  height: 40px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #041e49;
  background: #c2d7f7;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}

.bouton:hover { background: #d7e4fa; }

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 10px 3px 3px;
  border: 1px solid #8e918f;
  border-radius: 20px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2b2b2b;
}

.avatar svg { width: 17px; height: 17px; }

.pastille-mail {
  font-size: 15px;
  color: #e3e3e3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron { display: flex; }
.chevron svg { width: 16px; height: 16px; }

.case { display: flex; align-items: center; gap: 14px; margin-top: 16px; }

.case input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  border: 2px solid #e3e3e3;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.case input:checked {
  border-color: #a8c7fa;
  background: #a8c7fa url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23041e49' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4-9.6 9.6Z'/%3E%3C/svg%3E") center/14px no-repeat;
}

.case label { font-size: 15px; font-weight: 500; color: #e3e3e3; cursor: pointer; }

.resultat {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #a8c7fa;
}

.resultat:empty { display: none; }

.pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px 0;
  font-size: 13px;
  color: #c4c7c5;
}

.langue { display: inline-flex; align-items: center; gap: 10px; }
.langue svg { width: 16px; height: 16px; }

.pied-liens { display: flex; gap: 30px; }

.pied-liens a { color: #c4c7c5; text-decoration: none; }
.pied-liens a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  body { padding: 0; align-items: stretch; }
  .carte { grid-template-columns: 1fr; padding: 32px 24px 40px; border-radius: 0; min-height: 0; }
  .etape { grid-template-columns: 1fr; }
  .colonne { padding-right: 0; }
  .colonne-droite { padding-top: 28px; }
  .titre-bloc { padding-top: 32px; }
  .titre { font-size: 32px; }
  .note { margin-top: 28px; }
  .actions { padding-top: 32px; }
  .pied { padding: 16px 24px; flex-wrap: wrap; gap: 14px; }
}