/* Eurosuez SIG — launcher and login. Off-white, charcoal, generous space. */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500&display=swap');

:root {
  --es-charcoal: #1d1d1b;
  --es-white: #ffffff;
  --es-offwhite: #f5f5f3;
  --es-warmgray: #9b9b9b;
  --es-stone: #d4cfc6;
  --es-text-2: #5c5b57;
  --es-font: "europa", "Jost", Calibri, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--es-offwhite);
  color: var(--es-charcoal);
  font-family: var(--es-font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.es-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px) 64px;
}

.es-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--es-stone);
}

.es-logo { display: block; height: 18px; width: auto; }

.es-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--es-text-2);
  text-transform: lowercase;
}

.es-topbar-right a { text-decoration: none; }
.es-topbar-right a:hover { color: var(--es-charcoal); }

.es-hero { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }

.es-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--es-warmgray);
  margin: 0 0 18px;
}

.es-title {
  font-weight: 300;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
  text-transform: lowercase;
}

.es-lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 17px;
  font-weight: 300;
  color: var(--es-text-2);
}

.es-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--es-stone);
  border: 1px solid var(--es-stone);
}

.es-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 28px 26px 26px;
  background: var(--es-white);
  text-decoration: none;
  transition: background 0.2s ease;
}

.es-card:hover { background: var(--es-offwhite); }
.es-card:focus-visible { outline: 2px solid var(--es-charcoal); outline-offset: -2px; }

.es-card-num {
  font-size: 13px;
  font-weight: 300;
  color: var(--es-warmgray);
  letter-spacing: 0.1em;
}

.es-card-title {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: lowercase;
}

.es-card-copy {
  margin: 0;
  font-size: 14px;
  color: var(--es-text-2);
  flex: 1;
}

.es-card-cta {
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--es-stone);
  padding-top: 14px;
}

.es-card-cta::after { content: " →"; }

.es-footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--es-warmgray);
  text-transform: lowercase;
}

/* Login */
.es-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
}

.es-login-aside {
  background: var(--es-charcoal);
  color: var(--es-offwhite);
  padding: clamp(32px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.es-login-aside .es-title { color: var(--es-offwhite); }
.es-login-aside .es-lead { color: var(--es-stone); }

.es-login-main {
  background: var(--es-white);
  padding: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.es-login-heading {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-transform: lowercase;
}

.es-login-copy { margin: 0 0 32px; color: var(--es-text-2); font-size: 14px; }

.es-field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--es-text-2);
  margin-bottom: 8px;
}

.es-input {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--es-charcoal);
  background: var(--es-offwhite);
  border: 1px solid var(--es-stone);
  border-radius: 2px;
}

.es-input:focus { outline: none; border-color: var(--es-charcoal); background: var(--es-white); }

.es-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--es-white);
  background: var(--es-charcoal);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.es-btn:hover { background: #33332f; }
.es-btn:disabled { opacity: 0.6; cursor: progress; }

.es-btn-ms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  text-decoration: none;
}

.es-btn-ms[hidden] { display: none; }

.es-error { min-height: 20px; margin-top: 12px; font-size: 13px; color: #8a3b2f; }

@media (max-width: 1080px) {
  .es-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .es-grid { grid-template-columns: 1fr; }
  .es-login { grid-template-columns: 1fr; }
  .es-login-aside { min-height: auto; }
}
