/* Login refinado na tarefa 01.36a.
   A fotografia e um arquivo independente. Marca, textos, icones e grafismos
   permanecem em HTML e CSS para permitir a troca direta da imagem de fundo. */

.login-page{
  min-height:100svh;background:#071a35;display:block;padding:0;color-scheme:light
}

.login-shell{
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,58%) minmax(440px,42%);
  width:100%;min-height:100svh;overflow:hidden;background:#071a35
}
.login-shell::before{
  content:"";position:absolute;inset:0;z-index:-3;
  background:url('../images/login-background-v2.webp') center/cover no-repeat
}
.login-shell::after{
  content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(90deg,rgb(5 21 46 / .91) 0%,rgb(6 23 49 / .76) 38%,rgb(6 24 50 / .26) 70%,rgb(4 17 37 / .33) 100%),
    linear-gradient(180deg,rgb(3 15 34 / .18) 0%,rgb(3 15 34 / .02) 46%,rgb(3 15 34 / .72) 100%)
}
.login-brand-watermark{
  position:absolute;z-index:-1;top:4%;left:50%;width:clamp(330px,34vw,610px);height:auto;
  opacity:.14;filter:grayscale(1) brightness(4);transform:rotate(-8deg);pointer-events:none;user-select:none
}

/* Hero */
.login-hero{
  position:relative;display:flex;min-width:0;flex-direction:column;
  padding:clamp(32px,4.2vw,76px) clamp(34px,4.6vw,82px) clamp(28px,3.4vw,54px);color:#fff
}
.hero-logo{width:clamp(180px,14vw,220px);height:auto;margin:0}
.hero-copy{margin-top:clamp(36px,5.5vh,54px)}
.hero-claim{
  max-width:13ch;font-size:clamp(37px,3.2vw,52px);font-weight:800;line-height:1.03;
  letter-spacing:-.04em;color:#fff;text-wrap:balance;text-shadow:0 2px 24px rgb(2 13 30 / .38)
}
.hero-claim strong{display:block;color:var(--accent);font-weight:800}
.hero-lede{
  max-width:37ch;margin-top:18px;font-size:clamp(15px,1.25vw,21px);line-height:1.42;
  color:#f4f7fb;text-shadow:0 2px 16px rgb(2 13 30 / .7)
}
.hero-rule{display:block;width:72px;height:4px;border-radius:3px;background:var(--accent);margin-top:20px}
.hero-features{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,24px);
  width:min(100%,620px);margin:clamp(22px,3.8vh,38px) 0 0;padding:0;list-style:none
}
.hero-features li{display:flex;min-width:0;flex-direction:column;gap:9px}
.feature-icon{
  width:56px;height:56px;border-radius:12px;display:grid;place-items:center;
  background:rgb(255 255 255 / .13);border:1px solid rgb(255 255 255 / .13);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .08),0 10px 24px rgb(1 11 28 / .16);
  color:var(--accent);font-size:22px;backdrop-filter:blur(8px)
}
.feature-label{
  max-width:13ch;font-size:12px;line-height:1.35;font-weight:600;color:#f5f8fc;
  text-shadow:0 2px 10px rgb(2 13 30 / .72)
}
.hero-signature{
  margin-top:auto;padding-top:clamp(28px,4vh,48px);font-family:'Segoe Script','Brush Script MT',cursive;
  font-size:clamp(23px,2.3vw,38px);line-height:1.16;color:#fff;font-weight:600;
  text-shadow:0 2px 14px rgb(2 13 30 / .65)
}
.hero-swash{display:block;width:94px;height:4px;border-radius:3px;background:var(--accent);margin-top:10px}
.hero-kicker{
  margin:clamp(20px,3vh,32px) 0 0;font-size:10px;font-weight:600;letter-spacing:.32em;
  color:rgb(255 255 255 / .72)
}

/* Cartao de acesso */
.login-panel{
  position:relative;display:grid;grid-template-rows:auto auto;place-items:center;align-content:center;row-gap:26px;
  min-width:0;min-height:100svh;padding:clamp(34px,5vh,70px) clamp(28px,3.6vw,64px) clamp(26px,3.5vh,48px)
}
.login-card{
  align-self:center;width:100%;max-width:480px;padding:clamp(30px,3vw,44px) clamp(26px,3.2vw,48px) 30px;
  border:1px solid rgb(255 255 255 / .72);border-radius:26px;
  background:rgb(255 255 255 / .94);box-shadow:0 30px 74px rgb(1 13 31 / .38);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)
}
.login-logo{display:block;width:auto;height:auto;max-width:230px;margin:0 auto 16px;object-fit:contain}
.login-heading{text-align:center}
.login-heading h1{
  font-size:clamp(23px,2vw,29px);font-weight:800;line-height:1.25;letter-spacing:-.025em;
  color:var(--navy);white-space:normal
}
.login-heading p{font-size:15px;color:#61708a;margin-top:5px;line-height:1.5}
.login-form{display:grid;gap:17px;margin-top:27px}
.field{display:grid;gap:7px}
.field label{font-weight:600;font-size:13.5px;color:#172b4d}
.field input{
  height:51px;font-size:14px;border:1px solid #cbd5e1;border-radius:11px;background:rgb(255 255 255 / .78)
}
.field input::placeholder{color:#75849d;opacity:1}
.input-with-icon,.password-control{position:relative}
.field-icon{
  position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:15px;
  color:#7a899f;pointer-events:none;line-height:1
}
.input-with-icon input,.password-control input{padding-left:45px}
.password-control input{padding-right:50px}
.password-control .icon-button{position:absolute;right:6px;top:7px;height:37px;width:37px;font-size:16px;border-radius:8px}
.login-options{display:flex;align-items:center;justify-content:flex-start;gap:12px;font-size:13px}
.remember-control{display:inline-flex;align-items:center;gap:9px;color:#243b5f;cursor:pointer;min-height:34px;font-weight:500}
.remember-control input{width:18px;height:18px;accent-color:var(--action)}
.login-submit{
  height:55px;width:100%;margin-top:2px;border-radius:12px;font-size:16px;font-weight:700;
  letter-spacing:-.01em;background:linear-gradient(110deg,#1673f9 0%,#0755d1 58%,#073d9c 100%);
  box-shadow:0 10px 24px rgb(12 91 213 / .3)
}
.login-submit:hover:not(:disabled){background:linear-gradient(110deg,#0f67e6 0%,#064abd 58%,#063484 100%)}
.submit-arrow{font-size:15px;margin-left:3px}
.login-submit[aria-busy] .submit-arrow,.login-form[aria-busy='true'] .submit-arrow{display:none}
.login-footer{
  margin-top:26px;padding-top:20px;border-top:1px solid #d7dee8;text-align:center;
  color:#64748b;font-size:11.5px;line-height:1.65
}
.login-footer p+p{margin-top:2px}
.login-card .alert{margin-bottom:2px}
.login-assurances{
  align-self:center;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:590px;
  margin:0;padding:0;list-style:none;color:#fff
}
.login-assurances li{
  display:flex;min-width:0;align-items:center;justify-content:center;gap:9px;padding:2px 15px;
  font-size:10.5px;line-height:1.3;text-align:center;text-shadow:0 2px 10px rgb(1 12 29 / .78)
}
.login-assurances li+li{border-left:1px solid rgb(255 255 255 / .28)}
.login-assurances i{font-size:20px;color:#d8e3f2}

/* Telas menores */
@media(max-width:1180px){
  .login-shell{grid-template-columns:minmax(0,52%) minmax(430px,48%)}
  .login-hero{padding-inline:36px}
  .hero-claim{font-size:clamp(34px,4vw,45px)}
  .hero-features{grid-template-columns:repeat(2,minmax(0,1fr));max-width:350px}
}
@media(max-width:860px){
  .login-shell{display:block;min-height:100svh}
  .login-shell::before{background-position:58% center}
  .login-shell::after{
    background:linear-gradient(160deg,rgb(4 17 39 / .48) 0%,rgb(4 18 40 / .64) 54%,rgb(3 14 32 / .84) 100%)
  }
  .login-brand-watermark{top:4%;left:-8%;width:360px;opacity:.1}
  .login-hero{display:none}
  .login-panel{min-height:100svh;padding:28px 20px;grid-template-rows:auto;place-items:center}
  .login-card{max-width:430px;border-radius:22px;box-shadow:0 24px 58px rgb(0 0 0 / .44)}
  .login-assurances{display:none}
}
@media(max-width:480px){
  .login-panel{padding:20px 14px}
  .login-card{padding:27px 22px 23px;border-radius:19px}
  .login-logo{max-width:174px;margin-bottom:14px}
  .login-heading h1{font-size:21px}
  .login-heading p{font-size:13px}
  .login-form{gap:14px;margin-top:22px}
  .field input{height:49px}
  .login-submit{height:52px}
  .login-footer{margin-top:21px;padding-top:17px}
}
@media(max-height:710px) and (max-width:860px){
  .login-panel{align-content:start;padding-top:18px;padding-bottom:18px}
  .login-logo{max-width:150px;margin-bottom:10px}
  .login-form{gap:12px;margin-top:18px}
  .login-footer{margin-top:16px;padding-top:14px}
}
@media(max-height:920px) and (min-width:861px){
  .login-hero{padding-block:40px 30px}
  .hero-logo{width:200px}
  .hero-copy{margin-top:89px}
  .hero-claim{font-size:48px}
  .hero-lede{margin-top:14px}
  .hero-rule{margin-top:16px}
  .hero-features{margin-top:24px}
  .feature-icon{width:52px;height:52px}
  .hero-signature{margin-top:64px;padding-top:0;font-size:30px}
  .hero-kicker{margin-top:auto}
  .login-panel{padding-block:30px}
}
@media(max-height:760px) and (min-width:861px){
  .login-hero{padding-block:28px}
  .hero-logo{width:190px}
  .hero-copy{margin-top:28px}
  .hero-claim{font-size:38px}
  .hero-features{margin-top:20px}
  .feature-icon{width:48px;height:48px}
  .hero-signature{padding-top:20px;font-size:25px}
  .hero-kicker{margin-top:16px}
  .login-panel{padding-block:24px}
  .login-card{padding-block:25px 22px}
  .login-logo{max-width:185px;margin-bottom:10px}
  .login-form{margin-top:19px;gap:13px}
  .field input{height:46px}
  .login-submit{height:49px}
  .login-footer{margin-top:18px;padding-top:14px}
}
