/* styles.css — Estilos globais e componentes da interface */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background-color: var(--bg-primary); color: var(--text-primary); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; transition: background-color 0.25s ease, color 0.25s ease; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* HEADER GLASS */
.header-glass { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); transition: background-color 0.25s ease; }
.nav-grid { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand-logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--text-primary); letter-spacing: -0.03em; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s ease; }
.nav-link:hover { color: var(--text-primary); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem; border-radius: var(--radius-btn); font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s ease; }
.btn-primary { background: var(--accent-indigo); color: #ffffff; }
.btn-primary:hover { background: var(--accent-indigo-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.btn-secondary:hover { background: var(--border-subtle); }

/* HERO BADGE & CARDS ALIGNED WITH USER DESIGN */
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border-radius: 9999px; background: var(--hero-badge-bg); color: var(--hero-badge-text); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.25rem; }
.hero-title span { color: var(--accent-indigo); }
.hero-subtitle { font-size: clamp(0.95rem, 2vw, 1.15rem); color: var(--text-secondary); line-height: 1.6; max-width: 540px; margin-bottom: 2rem; }

.card-linear { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 1.5rem; box-shadow: var(--card-shadow); transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.25s ease; }
.card-linear:hover { transform: translateY(-4px); border-color: var(--border-strong); }

/* MOBILE NAVIGATION & RESPONSIVE MEDIA QUERIES */
.mobile-menu-toggle { display: none; background: none; border: 1px solid var(--rule-2); color: var(--ink); padding: 6px 10px; border-radius: var(--radius-btn); cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.mobile-menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 860px) {
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  
  nav.links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 64px);
    background: var(--sheet);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid var(--rule-2);
    box-shadow: var(--shadow-elevation);
    z-index: 99;
    overflow-y: auto;
  }
  nav.links.mobile-open {
    display: flex !important;
  }
  nav.links a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
    width: 100%;
  }

  .nav-grid { height: auto; padding: 1rem 0; flex-wrap: wrap; }
  .header-actions { width: 100%; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 2rem !important; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center !important; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px !important; }
  .container { padding: 0 16px !important; }
  .card-linear { padding: 1.25rem; }
  .btn { width: 100%; justify-content: center; }
  .auth-btn-label-desktop { display: none; }
  .auth-btn-label-mobile { display: inline; }
}


