:root{--ynova-blue: rgba(43,123,228,0.95);--text:#042133}
*{box-sizing:border-box;font-family:Inter,Arial,Helvetica,sans-serif}
body{margin:0}
body.ynova-login{background:linear-gradient(135deg,#eaf2ff,#f7fbff);min-height:100vh;display:flex;align-items:center;justify-content:center}
.login-wrap{width:420px;padding:20px}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));border-radius:14px;padding:28px;box-shadow:0 12px 30px rgba(10,20,40,0.06);backdrop-filter:blur(6px)}
.card h1{margin:0 0 12px;font-size:20px;color:var(--text);text-align:center}
label{display:block;margin:10px 0;font-size:14px;color:#263a4a}
input{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(10,20,40,0.06);margin-top:6px}
button{background:var(--ynova-blue);color:#fff;padding:10px 18px;border-radius:10px;border:0;margin-top:12px;cursor:pointer}
.alert{background:#ffecec;color:#7a1b1b;padding:8px;border-radius:8px;margin-bottom:8px}

/* ==== HEADER YNOVA ==== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  padding: 12px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0 0 14px 14px;
}

header .logo {
  height: 40px;
  opacity: 0.95;
  transition: 0.3s;
}

header .logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

header nav a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s ease, transform 0.2s ease;
}

header nav a:hover {
  color: var(--ynova-blue);
  transform: translateY(-2px);
}

header nav a:last-child {
  color: #c00;
  font-weight: 600;
}
/* === CABEÇALHO VIDRO YNOVA === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Logo */
header .logo {
    height: 46px;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Menu */
header nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    margin-left: 24px;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

/* Efeito hover com brilho azul translúcido */
header nav a:hover {
    color: var(--ynova-blue);
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--ynova-blue);
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(43, 132, 228, 0.6);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

/* Margem do conteúdo para não ficar sob o header */
main {
    margin-top: 100px;
}

/* Quando rolar, o fundo do header fica mais sólido */
header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
/* Quando o usuário rola a página, o header ganha fundo mais sólido e sombra */
header.scrolled {
  background: rgba(255, 255, 255, 0.85); /* fundo mais sólido */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body {
  padding-top: 80px; /* evita que o conteúdo fique escondido atrás do header */
}
/* ==== EFEITO DO HEADER AO ROLAR ==== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Quando rolar a página, o header ganha fundo sólido e sombra */
header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Evita que o conteúdo fique escondido atrás do header fixo */
body {
  padding-top: 80px;
}




