:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #60665e;
  --gold: #765724;
  --line: #868a80;
  font-family: Montserrat, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #f4f3ee;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #73521d;
  outline-offset: 4px;
}
.brand:focus-visible { outline-color: #f2cf86; }
.login-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: radial-gradient(ellipse at 12% 0, #e7dfca, transparent 58%),
    radial-gradient(ellipse at 100% 100%, #dfe3d9, transparent 60%), #f4f3ee;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 960px;
  min-height: 600px;
  border: 1px solid #d7d4c9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 4px #2a2d2410, 0 18px 32px -18px #24291a45, 0 40px 85px -35px #32362545;
  overflow: hidden;
}
.story {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 600px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111710;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, #080d0bf5 0%, #080d0bce 14%, #080d0b33 45%, transparent 70%), linear-gradient(180deg, #080d0b88, transparent 22%);
}
.brand { display: block; width: 140px; min-height: 44px; flex: none; position: relative; z-index: 1; align-self: flex-start; }
.brand img { display: block; width: 100%; height: auto; }


main { min-width: 0; display: flex; align-items: center; padding: 44px 40px; background: #fff; }
.access { width: 100%; max-width: 370px; margin: auto; }
h1 { margin: 0 0 12px; font-family: Montserrat, Arial, sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.intro { font-size: .9375rem; line-height: 1.7; color: var(--muted); margin: 0 0 32px; }
.form-field { margin-bottom: 20px; }
label { display: block; font-size: .875rem; line-height: 1.5; font-weight: 500; margin-bottom: 8px; }
input {
  display: block; width: 100%; min-width: 0; min-height: 52px; padding: 14px 15px;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fcfcfa; box-shadow: inset 0 1px 2px #20251f08;
  color: var(--ink); font-size: 1rem; line-height: 1.5;
}
input::placeholder { color: #6b7067; opacity: 1; }
input:hover { border-color: #545e50; }
input:focus { background: #fff; }
input[aria-invalid='true'] { border-color: #9b3027; border-width: 2px; }
.password { position: relative; display: block; }
.password input { padding-right: 56px; }
.password button {
  position: absolute; right: 3px; top: 4px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 4px;
  background: transparent; color: #555e50; cursor: pointer;
}
.password button:hover { background: #eeeee8; }
.password svg { width: 20px; height: 20px; }
.field-hint { font-size: .8125rem; color: var(--muted); line-height: 1.65; margin: 8px 0 0; }
.field-error { display: block; font-size: .875rem; font-weight: 500; color: #962d25; line-height: 1.6; margin-top: 8px; }
.submit {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  width: 100%; min-height: 54px; margin-top: 28px; padding: 14px 20px;
  border: 1px solid #a28043; border-radius: 7px;
  background: linear-gradient(110deg, #eddb9e, #c5a059);
  box-shadow: inset 0 1px 0 #fff9, 0 4px 10px #8f70352b;
  color: #25291f; font-size: .9375rem; line-height: 1.5; font-weight: 600;
  cursor: pointer; transition: box-shadow .15s, background .15s;
}
.submit:hover { background: linear-gradient(110deg, #f3e5b9, #d4b36f); box-shadow: inset 0 1px 0 #fff9, 0 6px 16px #8f703542; }
.submit svg { width: 18px; height: 18px; flex: none; }
.submit[aria-disabled='true'], .submit:disabled { opacity: .7; cursor: wait; }
.forgot, .return { display: flex; justify-content: center; align-items: center; min-height: 44px; margin: 18px 0 0; font-size: .875rem; line-height: 1.6; color: var(--gold); }
.forgot:hover, .return:hover { text-decoration: underline; text-underline-offset: 4px; }
#message { margin: 0; font-size: .875rem; line-height: 1.65; }
#message:not(:empty) { padding: 12px 14px; margin: 12px 0 20px; border: 1px solid #75876a; border-radius: 6px; background: #f0f5eb; color: #304629; }
#message[data-error='true'] { border-color: #ac5146; color: #86271f; background: #fff4f0; }
.skip { position: fixed; top: 12px; left: 20px; z-index: 10; min-height: 44px; padding: 12px 18px; border-radius: 4px; background: #fff; color: #20251f; box-shadow: 0 2px 12px #0003; font-size: 1rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
#acesso { scroll-margin-top: 18px; }
@media (max-width: 960px) {
  .login-page { padding: 24px; }
  main { padding-inline: 28px; }
}
@media (max-width: 760px) {
  .login-page { display: block; padding: 18px 16px; }
  .login-layout { display: block; max-width: 480px; min-height: 0; margin: auto; border-radius: 16px; }
  .story { flex-direction: column; min-height: 0; height: 310px; padding: 24px 28px; }
  .brand { width: 120px; }
  
  
  main { padding: 34px 28px 24px; }
  h1 { font-size: 1.875rem; }
  .intro { margin-bottom: 28px; }
}
@media (max-width: 380px) {
  .login-page { padding: 12px; }
  .story { padding-inline: 22px; }
  main { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  
}
@media (prefers-contrast: more) {
  input { border: 2px solid #3c4438; }
  .login-layout { border-color: #6b705f; }
  .intro, .field-hint { color: #333d2e; }
}
@media (forced-colors: active) {
  .story::before, 
  .login-layout, .story { border: 1px solid CanvasText; }
  .submit { background: ButtonFace; color: ButtonText; border: 2px solid ButtonText; }
  input { background: Field; color: FieldText; border: 1px solid FieldText; }
  a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid Highlight; }
  .brand img { background: #111; }
  .password button { color: ButtonText; }
}

.story-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.story-quote { position: relative; z-index: 1; margin: auto 0 0; color: #fffaf0; font-size: 1.375rem; font-weight: 500; line-height: 1.55; letter-spacing: -.02em; text-wrap: balance; width: 100%; }
@media(max-width:760px) { .story-quote { font-size: 1rem; line-height: 1.6; max-width: 310px; align-self: flex-start; } .story-photo { object-position: 63% 40%; } .story .brand { width: 105px; } }

@media(forced-colors:active){.story-quote{color:CanvasText}}

/* Marca e provocação seguem a abertura da página institucional do Prumo. */
.story .prumo-brand { display: flex; align-items: center; gap: 14px; width: 100%; }
.prumo-brand > svg { width: 32px; height: 48px; flex: none; }
.prumo-brand-copy { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.prumo-brand strong { color: #e5c285; font: 600 .8125rem/1.4 Montserrat, Arial, sans-serif; text-transform: uppercase; letter-spacing: .17em; }
.prumo-brand small { color: #e2e2d9; font: 600 .625rem/1.6 Montserrat, Arial, sans-serif; text-transform: uppercase; letter-spacing: .07em; }
.story-quote { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.story-quote em { color: #edd18d; font-style: normal; }
@media(max-width:760px) { .story-quote { font-size: 1.625rem; line-height: 1.15; } .story .prumo-brand { width: 100%; gap: 10px; } .prumo-brand > svg { width: 27px; height: 44px; } .prumo-brand-copy { gap: 5px; } .prumo-brand strong { font-size: .75rem; } }
@media(forced-colors:active) { .story-quote, .story-quote em, .prumo-brand strong, .prumo-brand small { color: CanvasText; } }

@media(max-width:760px){.story{height:360px}.story-photo{top:70px;height:calc(100% - 70px)}}
