/* ============================================================
   Junin Cell Eletrônicos — Dark/Tech
   DESIGN.md: tokens #050609 / #0D0F14 / #0047FF / #0066FF /
              #FFFFFF / #E8EAF0
   ============================================================ */

:root {
  --bg-primary: #050609;
  --bg-secondary: #0D0F14;
  --bg-footer: #030407;
  --primary: #0047FF;
  --primary-hover: #0066FF;
  --text-primary: #FFFFFF;
  --text-secondary: #E8EAF0;
  --border-card: rgba(0, 102, 255, 0.25);
  --border-input: rgba(255, 255, 255, 0.12);
  --shadow-blue: 0 8px 24px rgba(0, 47, 255, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 68px;
  --max-w: 1200px;
  --danger: #ff4d4d;
  --success: #2fbf71;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-hover); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}
h1.section, h2.section { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 24px; }
.text-secondary { color: var(--text-secondary); }
.muted { color: rgba(232, 234, 240, 0.6); }
.glow-blue { text-shadow: 0 0 18px rgba(0, 102, 255, 0.65); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-primary);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 0 22px rgba(0, 102, 255, 0.5); color: #fff; }
.btn-secondary {
  background: transparent;
  border-color: var(--primary-hover);
  color: var(--text-primary);
}
.btn-secondary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1ebe5b; color: #fff; box-shadow: 0 0 22px rgba(37, 211, 102, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { border-color: var(--primary-hover); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: .88; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(0, 102, 255, 0.5);
}
.card .card-img { aspect-ratio: 4/3; overflow: hidden; background: #0a0c11; }
.card .card-img img,
.card .card-img video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img,
.card:hover .card-img video { transform: scale(1.04); }
.card-body { padding: 18px; }
.card-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.card-cat { font-size: 0.82rem; color: var(--primary-hover); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 8px; }
.card-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-price { font-family: var(--font-display); font-weight: 700; color: var(--primary-hover); }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  background: rgba(0, 102, 255, 0.16);
  border: 1px solid rgba(0, 102, 255, 0.4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.badge-success { background: rgba(47, 191, 113, 0.16); border-color: rgba(47, 191, 113, 0.5); color: #7fe0ae; }
.badge-warn { background: rgba(255, 77, 77, 0.14); border-color: rgba(255, 77, 77, 0.5); color: #ff8a8a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 9, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: #fff; }
.logo img { width: 42px; height: 42px; object-fit: contain; border-radius: var(--radius-sm); }
.logo span b { color: var(--primary-hover); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-primary); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.nav a:hover { color: var(--primary-hover); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--primary-hover);
  border-radius: 2px;
}
.nav .btn { margin-left: 6px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-footer);
    border-bottom: 1px solid var(--border-card);
    padding: 8px 20px 20px;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 1rem; }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 16px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(0, 71, 255, 0.22), transparent 70%),
    radial-gradient(700px 340px at 90% 100%, rgba(0, 102, 255, 0.14), transparent 70%),
    var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 40px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero p { color: var(--text-secondary); font-size: 1.08rem; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual .logo-big {
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(0, 102, 255, 0.45));
  animation: float 6s ease-in-out infinite;
}
.hero-ring { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0, 102, 255, 0.25); animation: pulse 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Seções genéricas ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-secondary); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .link-more { font-weight: 600; font-size: 0.92rem; }

/* ---------- Categorias ---------- */
.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all .2s;
}
.cat-card:hover { border-color: var(--primary-hover); box-shadow: var(--shadow-blue); transform: translateY(-3px); color: #fff; }
.cat-icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  background: rgba(0, 102, 255, 0.14);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
}
.cat-card span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about-grid img { width: min(300px, 60vw); border-radius: var(--radius-lg); box-shadow: var(--shadow-blue); }
.about-grid h2 { margin-bottom: 14px; }
.about-grid p { color: var(--text-secondary); margin-bottom: 14px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; text-align: center; } .about-grid img { margin-inline: auto; } }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 56px 0;
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(0, 71, 255, 0.3), transparent 70%),
    var(--bg-secondary);
  border-block: 1px solid rgba(0, 102, 255, 0.15);
}
.cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta p { color: var(--text-secondary); margin-bottom: 24px; }

/* ---------- Filtros de categoria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-pill {
  padding: 9px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.filter-pill:hover { border-color: var(--primary-hover); color: #fff; }
.filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Página de produto ---------- */
.produto-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.produto-media {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.produto-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.produto-info h1 { margin-bottom: 10px; }
.produto-info .produto-linha { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.produto-preco { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--primary-hover); }
.produto-desc { color: var(--text-secondary); margin-bottom: 24px; white-space: pre-line; }
.characteristics { margin-bottom: 26px; }
.characteristics h3 { font-size: 1.05rem; margin-bottom: 12px; }
.characteristics ul { list-style: none; }
.characteristics li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.characteristics li::before {
  content: '▸';
  position: absolute; left: 4px; top: 10px;
  color: var(--primary-hover);
}
.produto-wa { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .produto-grid { grid-template-columns: 1fr; } }

/* ---------- Funcionários ---------- */
.func-card { text-align: center; }
.func-card .card-img { aspect-ratio: 1/1.05; }
.func-card .card-body { padding: 20px 16px; }
.func-card .card-title { margin-bottom: 4px; }
.func-cargo { color: var(--primary-hover); font-size: 0.85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.func-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 14px; }
.func-social { display: flex; gap: 10px; justify-content: center; }
.func-social a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all .2s;
}
.func-social a:hover { border-color: var(--primary-hover); color: var(--primary-hover); }

/* ---------- Galeria ---------- */
.galeria-item { position: relative; cursor: pointer; }
.galeria-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(5, 6, 9, 0.85);
  border: 1px solid rgba(0, 102, 255, 0.5);
  color: var(--primary-hover);
  font-size: 0.7rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(3, 4, 7, 0.96);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-blue); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.lightbox-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--text-secondary); font-size: 0.92rem; }

/* ---------- Contato ---------- */
.contato-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contato-info h2 { margin-bottom: 16px; }
.contato-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.contato-item .ic { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; background: rgba(0,102,255,0.14); border-radius: var(--radius-md); font-size: 1.15rem; }
.contato-item .lb { color: var(--text-secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; }
.contato-item .vl { font-weight: 500; }
.galeria-mapa { margin-top: 48px; }
.galeria-mapa iframe { width: 100%; height: 360px; border: 1px solid var(--border-card); border-radius: var(--radius-lg); }

/* ---------- Formulários ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: rgba(232, 234, 240, 0.35); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.25); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.checkbox-inline { display: flex; align-items: center; gap: 10px; }
.checkbox-inline input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ---------- Flash ---------- */
.flash { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; font-weight: 500; }
.flash-success { background: rgba(47, 191, 113, 0.14); border: 1px solid rgba(47, 191, 113, 0.5); color: #7fe0ae; }
.flash-error { background: rgba(255, 77, 77, 0.14); border: 1px solid rgba(255, 77, 77, 0.5); color: #ff8a8a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-footer); border-top: 1px solid rgba(0, 102, 255, 0.15); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { color: var(--text-secondary); font-size: 0.9rem; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--primary-hover); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.footer-logo span { font-family: var(--font-display); font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; text-align: center; color: rgba(232,234,240,0.55); font-size: 0.82rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 120;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Página simples (login / 404) ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(600px 340px at 20% 0%, rgba(0,71,255,0.2), transparent 70%), var(--bg-primary); }
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-blue);
}
.auth-card .logo { justify-content: center; margin-bottom: 22px; }
.auth-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }

/* ---------- Painel / Admin ---------- */
.admin-body { display: flex; min-height: 100vh; background: var(--bg-primary); }
.admin-side {
  width: 250px; flex: 0 0 250px;
  background: var(--bg-footer);
  border-right: 1px solid rgba(0, 102, 255, 0.14);
  padding: 22px 16px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.admin-side .logo { padding: 4px 8px 18px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.92rem; font-weight: 500;
  transition: all .2s;
}
.admin-nav a:hover { background: rgba(0, 102, 255, 0.1); color: #fff; }
.admin-nav a.active { background: rgba(0, 71, 255, 0.25); color: #fff; }
.admin-nav .sep { border-top: 1px solid rgba(255,255,255,0.07); margin: 10px 0; }
.admin-main { flex: 1; min-width: 0; padding: 28px; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.admin-topbar h1 { font-size: 1.4rem; }
.admin-user { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; }
.admin-user .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-weight: 700; color: #fff; text-transform: uppercase; }
@media (max-width: 860px) {
  .admin-body { flex-direction: column; }
  .admin-side { width: 100%; flex: none; flex-direction: row; align-items: center; overflow-x: auto; }
  .admin-side .logo { display: none; }
  .admin-nav { display: flex; gap: 6px; }
  .admin-nav a { white-space: nowrap; }
  .admin-nav .sep { display: none; }
}

/* ---------- Stats / Dashboard ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
}
.stat-card .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--primary-hover); line-height: 1; }
.stat-card .lb { color: var(--text-secondary); font-size: 0.85rem; }
.stat-icon { font-size: 1.5rem; opacity: .85; }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; background: var(--bg-secondary); border: 1px solid var(--border-card); border-radius: var(--radius-md); }
table.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; padding: 13px 16px; color: var(--text-secondary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,0.1); }
.table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(0, 102, 255, 0.05); }
.table .thumb { width: 54px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border-input); }
.table .actions { display: flex; gap: 8px; }
.table .actions a, .table .actions button { font-size: 0.82rem; }
.table .empty { padding: 28px; text-align: center; color: var(--text-secondary); }

/* ---------- Toolbar admin ---------- */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-toolbar .search { max-width: 320px; }

/* ---------- Utilitários ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.dir-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.inline-form { display: inline; }
.btn-icon { background: none; border: 0; color: var(--text-secondary); font-size: 1.1rem; cursor: pointer; padding: 4px; border-radius: var(--radius-sm); }
.btn-icon:hover { color: var(--primary-hover); }
.badge-ativo { background: rgba(47,191,113,0.16); border: 1px solid rgba(47,191,113,0.5); color: #7fe0ae; }
.badge-inativo { background: rgba(255,77,77,0.14); border: 1px solid rgba(255,77,77,0.5); color: #ff8a8a; }

/* ---------- Animações ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .5s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-visual .logo-big, .hero-ring { animation: none !important; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}