:root {
  --navy: #071b3a;
  --navy-deep: #031128;
  --blue: #1268e8;
  --blue-dark: #0856d7;
  --cyan: #18bfd3;
  --ink: #102344;
  --muted: #66738b;
  --line: #d9e1ec;
  --surface: #fff;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #f4f7fb;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.16fr) minmax(440px, .84fr);
}

.presentation {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  padding: clamp(42px, 6vw, 84px) clamp(44px, 6vw, 96px) 38px;
  background: var(--navy);
}

.presentation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/promotora-supermercado.png") 60% center / cover no-repeat;
}

.presentation::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 75% 44%, rgba(7, 66, 135, .18), rgba(3, 17, 40, .72) 46%),
    linear-gradient(100deg, rgba(3, 17, 40, .98) 0%, rgba(5, 35, 76, .92) 43%, rgba(8, 74, 150, .58) 100%),
    linear-gradient(0deg, rgba(0, 100, 210, .52), transparent 52%);
}

.presentation__content { width: min(520px, 100%); }

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: #8ceafa;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.presentation h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 5.25rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 800;
}

.accent-line {
  display: block;
  width: 88px;
  height: 4px;
  margin: 26px 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--cyan), rgba(24, 191, 211, 0));
}

.presentation h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.presentation p {
  margin: 0;
  color: #d8e8f8;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.route { position: relative; width: 320px; height: 82px; margin: 32px 0 4px; opacity: .9; }
.route__line { position: absolute; left: 25px; top: 34px; width: 260px; border-top: 3px dotted #6ae4f6; transform: rotate(7deg); }
.route__pin { position: absolute; width: 21px; height: 21px; border: 6px solid #7eeafa; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); box-shadow: 0 9px 25px rgba(0, 179, 255, .45); }
.route__pin--one { left: 12px; top: 18px; }
.route__pin--two { right: 12px; top: 48px; }

.benefits {
  list-style: none;
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  margin: 30px 0 0;
  padding: 0;
}

.benefits li { display: grid; gap: 11px; font-size: .92rem; font-weight: 650; line-height: 1.3; }
.benefits__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(38, 204, 242, .5); border-radius: 13px; background: rgba(0, 115, 228, .27); backdrop-filter: blur(8px); }
.benefits svg { width: 27px; fill: none; stroke: #93f1ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.presentation__footer { display: flex; align-items: center; gap: 18px; color: #92d9ee; font-size: .7rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.presentation__footer span { width: 72px; height: 2px; background: var(--cyan); }

.access {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 38px;
  background:
    radial-gradient(circle at 90% 10%, rgba(24, 191, 211, .08), transparent 28%),
    linear-gradient(135deg, #fff, #f3f7fc);
}

.login-card {
  width: min(500px, 100%);
  padding: clamp(35px, 4vw, 54px);
  text-align: center;
  border: 1px solid rgba(216, 225, 236, .72);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(26, 53, 91, .12);
}

.logo { display: block; width: 205px; max-height: 118px; object-fit: contain; margin: 0 auto 27px; }
.login-card__heading h2 { margin: 0 0 8px; font-size: clamp(1.65rem, 2.2vw, 2rem); letter-spacing: -.035em; }
.login-card__heading p { margin: 0 0 30px; color: var(--muted); font-size: .98rem; }
.form { display: grid; gap: 15px; }

.field { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18, 104, 232, .11); transform: translateY(-1px); }
.field > svg, .password-toggle svg { width: 22px; flex: 0 0 auto; fill: none; stroke: #657b9d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.field input::placeholder { color: #75849d; opacity: 1; }
.password-toggle { display: grid; place-items: center; width: 38px; height: 38px; margin-right: -8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.password-toggle:hover { background: #eef5ff; }
.password-toggle:focus-visible, a:focus-visible, .submit:focus-visible { outline: 3px solid rgba(24, 191, 211, .45); outline-offset: 3px; }

.form__options { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 2px 0 8px; font-size: .9rem; font-weight: 600; }
.remember { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.form__options a { color: var(--blue-dark); text-decoration: none; }
.form__options a:hover { text-decoration: underline; }

.submit { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 17px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(100deg, #075de8, #087bfa); box-shadow: 0 10px 24px rgba(8, 95, 226, .24); font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s; }
.submit:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(8, 95, 226, .3); filter: brightness(1.04); }
.submit:active { transform: translateY(0); }

.security { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #e7ecf3; color: #637390; font-size: .82rem; }
.security svg { width: 20px; fill: none; stroke: #657b9d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-card small { display: block; margin-top: 21px; color: #7f8ba1; font-size: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .login-page { grid-template-columns: 1fr; }
  .presentation { min-height: 350px; padding: 42px; }
  .presentation h1 { font-size: 3.1rem; }
  .presentation h1 br { display: none; }
  .route, .benefits, .presentation__footer { display: none; }
  .presentation::before { background-position: 65% 34%; }
  .access { min-height: auto; padding: 0 24px 42px; }
  .login-card { margin-top: -48px; position: relative; z-index: 3; }
}

@media (max-width: 560px) {
  .presentation { min-height: 245px; padding: 30px 24px 65px; justify-content: flex-start; }
  .presentation::after { background: linear-gradient(100deg, rgba(3, 17, 40, .98), rgba(4, 39, 84, .73)); }
  .eyebrow { margin-bottom: 15px; font-size: .66rem; }
  .presentation h1 { font-size: 2.4rem; }
  .accent-line { width: 64px; height: 3px; margin: 17px 0; }
  .presentation h2 { font-size: 1.12rem; }
  .presentation p { display: none; }
  .access { align-items: start; padding: 0 15px 25px; }
  .login-card { margin-top: -46px; padding: 31px 21px; border-radius: 18px; }
  .logo { width: 160px; margin-bottom: 20px; }
  .login-card__heading p { margin-bottom: 24px; font-size: .88rem; }
  .form__options { align-items: flex-start; font-size: .79rem; }
  .field, .submit { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
