/*
 * Hub Verdus — estilos de aplicacao
 * Depende de verdus.css (design tokens).
 */

html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
body > footer { flex-shrink: 0; }

/* Header */
.site-header {
  background: var(--verdus-white);
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--sp-4) 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.site-logo img { height: 52px; width: auto; }
.site-nav {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  font-size: var(--fs-sm);
}
.site-nav .user-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--verdus-gris);
}

/* Hero */
.hero {
  position: relative;
  color: var(--verdus-white);
  padding: var(--sp-16) 0 calc(var(--sp-16) + var(--sp-8));
  min-height: 360px;
  display: flex;
  align-items: center;
  background-color: var(--verdus-dark);
  background-image:
    linear-gradient(135deg, rgba(28, 48, 82, 0.85) 0%, rgba(0, 73, 118, 0.70) 100%),
    url('/img/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--verdus-citron);
  font-size: var(--fs-4xl);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin-bottom: var(--sp-3);
}
.hero p {
  font-size: var(--fs-lg);
  max-width: 560px;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--sp-6);
}

/* Footer */
.site-footer {
  background: var(--verdus-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--sp-4) 0;
  font-size: var(--fs-sm);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.site-footer img { height: 36px; }

/* Responsivo */
@media (max-width: 900px) {
  .hero { padding: var(--sp-12) 0; min-height: 300px; }
  .hero h1 { font-size: var(--fs-3xl); }
}
@media (max-width: 640px) {
  .site-header { padding: var(--sp-3) 0; }
  .site-logo img { height: 40px; }
  .hero { padding: var(--sp-10) 0; min-height: 260px; }
  .hero h1 { font-size: var(--fs-2xl); }
  .hero p  { font-size: var(--fs-base); }
  .site-footer { text-align: center; }
  .site-footer .container { justify-content: center; }
}
