/* Cores da marca */
:root{
  --brand-cyan:#0ea5e9;
  --brand-cyan-dark:#0284c7;
  --text:#0f172a;
  --muted:#475569;
  --bg:#f8fafc;
  --card:#ffffff;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(14,165,233,.25), transparent 60%),
              radial-gradient(1000px 700px at -10% 110%, rgba(2,132,199,.18), transparent 60%),
              var(--bg);
}

.wrap{
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:2rem 1rem;
  gap:1.5rem;
}

.brand img{
  max-width: clamp(180px, 28vw, 360px);
  height:auto;
  display:block;
  filter: drop-shadow(0 8px 24px rgba(2,6,23,.12));
}

.card{
  width:100%;
  max-width:720px;
  background:var(--card);
  border:1px solid #e2e8f0;
  border-radius:1rem;
  padding:2rem;
  box-shadow: 0 12px 40px rgba(2,6,23,.08);
  text-align:center;
}

.badge{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  font-size:.75rem;
  background:rgba(14,165,233,.12);
  color:#075985;
  padding:.35rem .6rem;
  border:1px solid rgba(14,165,233,.35);
  border-radius:.5rem;
  margin-bottom:.5rem;
}

h1{
  margin:.25rem 0 .5rem;
  font-size:clamp(1.25rem, 2vw + 1rem, 2rem);
}

p{
  margin:0 0 1.25rem 0;
  color:var(--muted);
}

.progress{
  position:relative;
  height:10px;
  background:#e2e8f0;
  border-radius:999px;
  overflow:hidden;
  margin: 0 auto 1.25rem;
  max-width:520px;
  border:1px solid #e5e7eb;
}
.bar{
  position:absolute;
  inset:0 auto 0 0;
  width:0%;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cyan-dark));
  animation: loading 3s infinite;
}
@keyframes loading{
  0%{width:0%}
  50%{width:70%}
  100%{width:100%}
}

.notify{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  margin-bottom:1rem;
}
.notify input{
  flex:1;
  min-width:0;
  max-width:380px;
  padding:.75rem .9rem;
  border-radius:.6rem;
  border:1px solid #e2e8f0;
  outline:none;
}
.notify input:focus{border-color:var(--brand-cyan); box-shadow:0 0 0 3px rgba(14,165,233,.25)}
.notify button{
  padding:.75rem 1rem;
  border-radius:.6rem;
  border:0;
  background:var(--brand-cyan);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.notify button:hover{background:var(--brand-cyan-dark)}

/* Acessibilidade: apenas visualmente escondido */
.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;
}

.links{
  list-style:none;
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:center;
  padding:0;margin:0;
}
.links a{
  color:var(--brand-cyan-dark);
  text-decoration:none;
  font-weight:600;
}
.links a[aria-disabled="true"]{opacity:.6; pointer-events:none}

.footer{
  margin-top:1rem;
  color:#64748b;
  font-size:.9rem;
}
@media (max-width:520px){
  .card{padding:1.25rem}
  .notify{flex-direction:column}
  .notify input, .notify button{width:100%}
}
