@media (orientation: landscape) {
  form{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body{
      display: flex;
      justify-content: center;
  }

  input {
      width: 100%;
      border: none;
      border-bottom: 2px solid var(--black);
      background: transparent;
      padding: 16px 0;
      font-size: 26px;
      font-family: inherit;
      outline: none;
    }

    .login-card {
      width: 100%;
      max-width: 620px;
      background: var(--white);
      border: 2px solid var(--black);
      border-radius: 40px;
      padding: 48px;
      top: 50vh;
      transform: translateY(-60%);
      position: relative;
    }

  button {
      margin-top: 24px;
      border: none;
      background: var(--black);
      color: white;
      padding: 18px 28px;
      border-radius: 999px;
      font-size: 18px;
      cursor: pointer;
      transition: opacity .2s;
      width: 100%;
    }
    button:hover { 
      opacity: .8;
  }

  .intro {
    font-size: 20px;
    max-width: 420px;
    line-height: 1.4;
    margin-bottom: 50px;
  }

  .top-meta{
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 5%;
    flex-direction: row;
  }

  .erreur{
    margin: 1vw;
    margin-bottom: 0;
    color: red;
    opacity: .7;
  }
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (orientation: portrait) {
  form{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body{
      display: flex;
      justify-content: center;
  }

  input {
      width: 100%;
      border: none;
      border-bottom: 2px solid var(--black);
      background: transparent;
      padding: 16px 0;
      font-size: 16px;
      font-family: inherit;
      outline: none;
    }

    .login-card {
      max-width: 90%;
      background: var(--white);
      border: 2px solid var(--black);
      border-radius: 40px;
      padding: 25px;
      position: relative;
      top: 50vh;
      transform: translateY(-60%);
    }

  button {
      margin-top: 24px;
      border: none;
      background: var(--black);
      color: white;
      padding: 18px 28px;
      border-radius: 999px;
      font-size: 12px;
      cursor: pointer;
      transition: opacity .2s;
      width: 100%;
    }
    button:hover { 
      opacity: .8;
  }

  .intro {
    font-size: 16px;
    max-width: 420px;
    line-height: 1.4;
    margin-bottom: 50px;
  }

  .top-meta{
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 5%;
    flex-direction: row;
  }

  .erreur{
    margin: 1vw;
    margin-bottom: 0;
    color: red;
    opacity: .7;
  }
}