* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #0a0a0a;
  background: #ffffff;
}

img {
  display: block;
  max-width: 100%;
}

/* HERO */

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  background: #fffc00;
}

.hero-inner,
.login-inner,
.security-inner,
.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero p {
  max-width: 590px;
  margin: 0;
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 32px;
}

/* ÉTAPES */

.steps {
  padding: 110px 24px;
  background: #ffffff;
}

.steps-inner {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.step {
  padding-top: 24px;
  border-top: 2px solid #111111;
}

.number {
  margin-bottom: 52px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.step h2 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.25;
}

.step p {
  margin: 0;
  color: #2d2d2d;
  font-size: 16px;
  line-height: 1.65;
}

/* FORMULAIRE */

.login-section {
  padding: 105px 0;
  background: #f6f6f6;
}

.login-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: center;
}

.login-box {
  padding: 48px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
}

.login-box h2 {
  margin: 0 0 38px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0 15px;
  font: inherit;
  background: #ffffff;
  border: 1px solid #bdbdbd;
  outline: none;
}

input {
  height: 56px;
}

textarea {
  min-height: 56px;
  height: 56px;
  padding: 15px;
  resize: none;
}

input:focus,
textarea:focus {
  border-color: #111111;
}

button {
  height: 56px;
  margin-top: 18px;
  padding: 0 28px;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  background: #111111;
  border: 0;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 20px;
  margin: 4px 0 0;
  color: #d60000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.login-image img {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

/* SÉCURITÉ */

.security {
  padding: 120px 0;
  color: #ffffff;
  background: #101010;
}

.security-inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 95px;
  align-items: center;
}

.security-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
}

.security-copy h2 {
  margin: 0 0 30px;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.security-copy p {
  margin: 0 0 18px;
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.75;
}

/* BANNIÈRE */

.banner {
  background: #fffc00;
}

.banner img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
}

/* FOOTER */

footer {
  padding: 55px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.copyright,
.footer-right {
  color: #555555;
  font-size: 13px;
  line-height: 1.7;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: inherit;
  text-decoration: none;
}

/* VERSION MOBILE */

@media (max-width: 800px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-inner,
  .login-inner,
  .security-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 44px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero p {
    font-size: 22px;
  }

  .hero-visual img {
    margin: auto;
  }

  .steps {
    padding: 76px 24px;
  }

  .steps-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .number {
    margin-bottom: 24px;
  }

  .login-section {
    padding: 72px 0;
  }

  .login-inner {
    gap: 48px;
  }

  .login-box {
    padding: 30px 24px;
  }

  .login-box h2 {
    font-size: 28px;
  }

  .security {
    padding: 78px 0;
  }

  .security-inner {
    gap: 44px;
  }

  .security-copy h2 {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}
