/**
 * YuiaNF - Layout Principal e Estrutura Base
 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Efeito de iluminação atmosférica vermelha Yuia */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 520px;
  background: radial-gradient(ellipse 65% 55% at 50% -10%, rgba(229, 46, 64, 0.3) 0%, rgba(185, 28, 48, 0.12) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.yuia-topbar {
  width: 100%;
  background: rgba(4, 4, 7, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.yuia-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yuia-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yuia-brand-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.yuia-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.yuia-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e4e4e7;
  font-size: 0.85rem;
  cursor: default;
  user-select: none;
  transition: all 0.2s ease;
}

.yuia-lang-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.yuia-lang-pill .lang-code {
  font-weight: 700;
  color: #ffffff;
}

.yuia-lang-pill .lang-label {
  font-weight: 500;
  color: #d4d4d8;
}

.yuia-lang-pill .lang-arrow {
  color: #a1a1aa;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Cabeçalho */
header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(229, 46, 64, 0.12);
  border: 1px solid rgba(229, 46, 64, 0.3);
  color: #ff6b82;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(229, 46, 64, 0.15);
}

h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.highlight-red {
  color: var(--primary);
  background: linear-gradient(135deg, #ff4d6d 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0 auto;
}

.pattern-tag {
  font-family: var(--font-mono);
  background: rgba(229, 46, 64, 0.12);
  border: 1px solid rgba(229, 46, 64, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  color: #ff6578;
  font-weight: 600;
}

/* Banner de Privacidade e Conformidade LGPD */
.privacy-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.privacy-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

/* Responsividade Geral */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }
  h1 {
    font-size: 1.85rem;
  }
}
