/* Paleta tirada da logo: azul-noite, ciano elétrico e dourado */
:root {
  --bg: #070d18;
  --bg2: #0f1b2d;
  --panel: #12233a;
  --line: #1f3a5c;
  --cyan: #29c4f0;
  --cyan-hi: #7fe6ff;
  --gold: #f2b632;
  --gold-hi: #ffd66b;
  --text: #e8f4ff;
  --muted: #8ea8c3;
  --wa: #25d366;
  --danger: #e5484d;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.5 Inter, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #12345a 0%, transparent 60%), var(--bg);
  min-height: 100vh;
}
a { color: var(--cyan-hi); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: 'Russo One', Inter, sans-serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5rem; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.25rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .95rem Inter, sans-serif; text-decoration: none; color: #0b1320; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 4px 18px #f2b63240; }
.btn-wa { background: var(--wa); color: #04210f; box-shadow: 0 4px 18px #25d36640; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--cyan); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }

/* Header */
.nav { position: sticky; top: 0; z-index: 10; background: #070d18cc; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font-family: 'Russo One', sans-serif; font-size: 1.15rem; margin-right: auto; }
.brand img { border-radius: 10px; }
.brand b { color: var(--gold); font-weight: 400; }
.links { display: flex; align-items: center; gap: 1.25rem; }
.links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.links a:hover, .link:hover { color: var(--cyan-hi); }

/* Hero */
.hero { padding: 3rem 0 2rem; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; }
.hero-logo { width: 320px; border-radius: 28px; box-shadow: 0 0 60px #29c4f055, 0 0 0 1px #f2b63266; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.hero h1 span { background: linear-gradient(90deg, var(--cyan-hi), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: .8rem; margin: 0 0 .5rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Vitrine */
.shop { padding: 1rem 0 4rem; scroll-margin-top: 72px; }
.search { display: flex; gap: .5rem; margin-bottom: 1rem; }
.search input, .search select { flex: 1; min-width: 0; }
input, select, textarea {
  width: 100%; padding: .7rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--text); font: inherit;
}
.search select { flex: 0 0 auto; width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: .5rem; scrollbar-width: none; align-items: center; }
.pill {
  flex: 0 0 auto; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--bg2);
}
.pill.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #0b1320; border-color: transparent; }
.pills-sm .pill { padding: .3rem .8rem; font-size: .8rem; }
.count { margin: .5rem 0; font-size: .85rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 30px #29c4f033; }
.card-img { position: relative; aspect-ratio: 63 / 88; padding: .75rem; background: radial-gradient(circle at 50% 35%, #1d4a75, transparent 70%); }
.card-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px #0009); }
.card-body { padding: .75rem .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card-body h3 { font-size: 1rem; }
.card-body p { margin: 0; }
.card-foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { color: var(--gold-hi); font-weight: 800; }
.price.big { font-size: 2rem; font-family: 'Russo One', sans-serif; margin: .25rem 0 1rem; }
.chip { font-size: .75rem; padding: .1rem .5rem; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.badge { position: absolute; top: .5rem; font-size: .7rem; font-weight: 800; padding: .2rem .5rem; border-radius: 6px; }
.badge-lang { left: .5rem; background: var(--cyan); color: #04202c; }
.badge-low { right: .5rem; background: var(--gold); color: #0b1320; }
.badge.inline { position: static; }

/* Detalhe */
.detail { padding: 1.5rem 0 4rem; }
.back { display: inline-block; margin-bottom: 1rem; color: var(--muted); text-decoration: none; }
.detail-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.detail-img { padding: 1.5rem; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #1d4a75, var(--bg2) 75%); }
.detail-img img { margin-inline: auto; max-height: 70vh; object-fit: contain; filter: drop-shadow(0 10px 30px #000a); }
.detail h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 0 0 1.25rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.desc { white-space: pre-line; color: var(--muted); }

/* Footer + WhatsApp flutuante */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 5rem; text-align: center; }
.foot img { margin: 0 auto .5rem; border-radius: 12px; }
.foot p { margin: .25rem 0; }
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 20; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 6px 20px #0008;
}

/* Admin */
.admin { padding: 1.5rem 0 4rem; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.admin-head .actions { margin: 0; }
.panel { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); margin-top: 1rem; }
.panel label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.panel .check { display: flex; align-items: center; gap: .5rem; }
.panel .check input { width: auto; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.preview { max-height: 220px; margin-inline: auto; object-fit: contain; }
.alert { padding: .75rem 1rem; border-radius: 10px; background: #e5484d22; border: 1px solid var(--danger); margin: 0; }
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.row { display: flex; align-items: center; gap: 1rem; padding: .75rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.row.dim { opacity: .55; }
.row img { width: 56px; height: 78px; object-fit: contain; flex: 0 0 auto; }
.row-info { display: grid; flex: 1; min-width: 0; }
.row-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; gap: .5rem; }

/* Celular */
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .hero { padding: 1.5rem 0 1rem; }
  .hero-in { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .hero-logo { width: 200px; margin-inline: auto; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .card-body { padding: .6rem .7rem .8rem; }
  .card-body h3 { font-size: .9rem; }
  .card-foot { flex-wrap: wrap; }
  .detail-in { grid-template-columns: 1fr; gap: 1.25rem; }
  .cols { grid-template-columns: 1fr; }
  .row { flex-wrap: wrap; }
  .row-actions { width: 100%; justify-content: flex-end; }
  .admin-head .actions .btn { flex: 1; }
  .admin-head .actions { width: 100%; }
}
