/* Rick Cell — tema escuro tecnológico */
:root {
  --bg: #07090f;
  --bg-2: #0c1019;
  --surface: #111725;
  --surface-2: #161e2f;
  --border: #222c41;
  --text: #e8edf7;
  --muted: #94a0b8;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --wa: #25d366;
  --wa-dark: #128c4b;
  --danger: #f87171;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, .6);
  --container: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 246, .14), transparent 60%),
                    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, .10), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3, .h3 { font-size: 1.2rem; }
.h4 { font-size: 1rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
code { background: var(--surface-2); padding: .1em .35em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 211, 238, .3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.grid { display: grid; gap: 20px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Faixa de demonstração */
.demo-bar { background: repeating-linear-gradient(45deg, #3b2a05, #3b2a05 12px, #4a3507 12px, #4a3507 24px); color: #fde68a; text-align: center; font-size: .85rem; padding: 6px 16px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 15, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; color: var(--text); }
.logo-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 4px; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--muted); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--text); text-decoration: none; background: rgba(255, 255, 255, .05); }
.main-nav a[aria-current="page"] { color: var(--text); background: rgba(34, 211, 238, .1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 24px; background: rgba(7, 9, 15, .97); border-bottom: 1px solid var(--border); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.btn) { display: block; padding: 12px 14px; font-size: 1.05rem; }
  .main-nav .btn { justify-content: center; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; color: var(--text); background: var(--surface-2); transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--grad); color: #050710; box-shadow: 0 8px 30px -8px rgba(34, 211, 238, .55); }
.btn-primary:hover { box-shadow: 0 10px 36px -6px rgba(139, 92, 246, .6); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.btn-wa { background: var(--wa); color: #04170b; }
.btn-wa:hover { background: #2ee673; }
.btn-danger { background: transparent; border-color: rgba(248, 113, 113, .5); color: var(--danger); }
.btn-danger:hover { background: rgba(248, 113, 113, .1); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { min-height: 44px; width: 44px; padding: 0; border-radius: 12px; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--cyan); margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.hero-actions, .cta-actions, .center-actions, .product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center-actions { justify-content: center; margin-top: 28px; }

.hero-visual { position: relative; height: 460px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; }
.orb-a { width: 260px; height: 260px; background: var(--cyan); top: 30px; right: 40px; opacity: .3; }
.orb-b { width: 300px; height: 300px; background: var(--violet); bottom: 10px; left: 30px; opacity: .35; }
.device { position: relative; width: 230px; height: 440px; border-radius: 40px; padding: 12px; background: linear-gradient(160deg, #283149, #0d121d); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .04); transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-6deg) translateY(-12px); } }
.device-notch { position: absolute; top: 20px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #05070c; z-index: 2; }
.device-screen { height: 100%; border-radius: 30px; background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, .25), transparent 55%), radial-gradient(circle at 80% 90%, rgba(139, 92, 246, .35), transparent 55%), #070a12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; }
.device-screen .logo-text { font-size: 1.1rem; }
.device-lines { width: 100%; display: grid; gap: 8px; }
.device-lines span { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.device-lines span:nth-child(2) { width: 75%; }
.device-lines span:nth-child(3) { width: 55%; }
.device-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.device-chips i { height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.device-chips i:first-child { background: linear-gradient(140deg, rgba(34, 211, 238, .35), rgba(139, 92, 246, .35)); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(17, 23, 37, .85); border: 1px solid var(--border); backdrop-filter: blur(8px); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); }
.float-chip .icon { color: var(--cyan); }
.chip-1 { top: 70px; left: 0; }
.chip-2 { bottom: 70px; right: 0; }
.chip-2 .icon { color: var(--wa); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; margin-bottom: -10px; }
  .device { width: 180px; height: 340px; border-radius: 32px; }
  .device-screen { border-radius: 24px; }
  .chip-1 { left: 2%; top: 14px; font-size: .8rem; }
  .chip-2 { right: 2%; bottom: 24px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Seções */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding-top: 28px; }
.section-alt { background: linear-gradient(180deg, rgba(17, 23, 37, .55), rgba(17, 23, 37, .2)); border-block: 1px solid rgba(255, 255, 255, .04); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-title { margin: 0 0 .3em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.page-head { padding: clamp(36px, 6vw, 64px) 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

.features { padding-top: 0; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature h2 { font-size: 1.1rem; margin-bottom: .2em; }
.feature p { margin: 0; font-size: .95rem; }
.feature-icon, .service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; background: linear-gradient(140deg, rgba(34, 211, 238, .15), rgba(139, 92, 246, .2)); border: 1px solid rgba(34, 211, 238, .25); color: var(--cyan); }
.feature-icon .icon, .service-icon .icon { width: 24px; height: 24px; }
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-name { font-size: .95rem; }
  .product-meta { font-size: .7rem; }
  .price { font-size: 1rem; }
}
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .45); box-shadow: 0 18px 40px -18px rgba(34, 211, 238, .35); }
.product-media { position: relative; display: block; aspect-ratio: 1; background: var(--bg-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-meta { font-size: .8rem; color: var(--muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .06em; }
.product-name { font-size: 1.05rem; margin: 0 0 12px; }
.product-name a { color: var(--text); }
.product-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 1.1rem; }
.price-lg { font-size: 1.8rem; margin: 10px 0 14px; }
.price-ask { font-weight: 600; font-size: .92rem; color: var(--cyan); }
.price-lg .price-ask { font-size: 1.1rem; }
.stock { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.stock-ok { color: var(--ok); background: rgba(52, 211, 153, .12); }
.stock-out { color: var(--warn); background: rgba(251, 191, 36, .12); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(34, 211, 238, .14); color: var(--cyan); vertical-align: middle; letter-spacing: .02em; }
.badge-demo { background: #fbbf24; color: #1a1203; }
.product-media .badge-demo, .product-gallery .badge-demo { position: absolute; top: 12px; left: 12px; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(34, 211, 238, .18), transparent 60%), radial-gradient(circle at 50% 100%, rgba(139, 92, 246, .22), transparent 60%), var(--bg-2); color: rgba(232, 237, 247, .5); }
.placeholder .icon { width: 34%; height: 34%; stroke-width: 1.1; }

.services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.service-card h3 { margin: 16px 0 6px; font-size: 1.1rem; }
.service-card p { margin: 0; font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps h3 { margin: 12px 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .95rem; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #050710; font-weight: 800; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: linear-gradient(120deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .22)), var(--surface); border: 1px solid rgba(139, 92, 246, .35); }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--muted); }

.prose { color: #c9d1e1; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; color: var(--text); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); display: grid; justify-items: center; gap: 12px; }
.empty p { margin: 0; }
.big-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0; }

/* Catálogo */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs-wrap { margin-bottom: 20px; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: .92rem; }
.tab:hover { text-decoration: none; color: var(--text); border-color: var(--cyan); }
.tab[aria-current="page"] { background: var(--grad); color: #050710; border-color: transparent; }
.search { display: flex; gap: 8px; flex: 1; max-width: 360px; min-width: 220px; }
.result-info { margin: -8px 0 20px; }

/* Produto */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.product-gallery { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.product-actions { margin: 6px 0 28px; }
.specs { margin: 0 0 16px; display: grid; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.specs > div:last-child { border-bottom: 0; }
.specs > div:nth-child(odd) { background: rgba(255, 255, 255, .02); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; overflow-wrap: anywhere; }
.product-desc { margin-top: 40px; max-width: 820px; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }

/* Formulários */
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #66718a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; accent-color: var(--cyan); flex: none; margin: 2px 0 0; }
input[type="file"] { padding: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.field.check { display: flex; }
.field.check label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.field-error { color: var(--danger); font-size: .86rem; margin: 0; }
.form-actions { margin-top: 8px; }
.form-narrow { max-width: 560px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid; }
.alert-error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.alert-success { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #bbf7d0; }
.alert-info { background: rgba(34, 211, 238, .08); border-color: rgba(34, 211, 238, .35); color: #cffafe; }
.success-card { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 40px 24px; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(52, 211, 153, .15); color: var(--ok); margin-bottom: 8px; }
.success-icon .icon { width: 32px; height: 32px; }
.protocol { font-size: 1.15rem; color: var(--cyan); letter-spacing: .04em; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--cyan); margin-top: 3px; }
.contact-list a { color: var(--text); }
.stack-actions { display: grid; gap: 10px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; background: var(--surface); }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.7); }
.map-fallback { height: 100%; min-height: 320px; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.map-fallback > .icon { width: 40px; height: 40px; color: var(--violet); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text); opacity: .85; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Admin ---------- */
.admin { background: var(--bg); background-image: none; }
.admin-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 0 20px; min-height: 64px; background: rgba(12, 16, 25, .95); border-bottom: 1px solid var(--border); }
.admin-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.admin-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.admin-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.admin-nav ul a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: .93rem; }
.admin-nav ul a:hover { text-decoration: none; color: var(--text); background: var(--surface); }
.admin-nav ul a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.admin-nav-foot { display: flex; gap: 8px; }
.admin-nav-foot form { margin: 0; }
.pill { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--cyan); color: #000; font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; }
.admin-main { max-width: 1180px; margin: 0 auto; padding: 32px 20px 64px; }
.admin-main h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.admin-guest .admin-main { min-height: 100vh; display: grid; place-items: center; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box .logo { margin-bottom: 18px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head h1 { margin: 0; }
.stats-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.stat { display: grid; gap: 2px; color: var(--muted); }
.stat:hover { text-decoration: none; border-color: var(--cyan); }
.stat-n { font-size: 2rem; font-weight: 800; color: var(--text); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .check-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .8rem; font-weight: 800; flex: none; }
.checklist .ok .check-mark { background: rgba(52, 211, 153, .18); color: var(--ok); }
.checklist .todo .check-mark { background: rgba(251, 191, 36, .18); color: var(--warn); }
.checklist .ok { color: var(--muted); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.status { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.status-nova { background: rgba(34, 211, 238, .15); color: var(--cyan); }
.status-em_analise, .status-orcamento_enviado, .status-aprovada, .status-em_reparo { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
.status-pronta { background: rgba(251, 191, 36, .15); color: var(--warn); }
.status-concluida { background: rgba(52, 211, 153, .15); color: var(--ok); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg-2); }
.table tr:last-child td { border-bottom: 0; }
.table td a { color: var(--text); }
.table .actions { white-space: nowrap; text-align: right; }
.thumb-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.danger-zone { margin-top: 20px; }
.toolbar select, .toolbar input[type="search"] { width: auto; flex: 1; min-width: 180px; }

@media (max-width: 960px) {
  .admin-top { flex-wrap: wrap; }
  .admin-top .nav-toggle { display: flex; margin-left: auto; }
  .admin-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  .admin-nav.open { display: flex; }
  .admin-nav ul { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  .table td { border: 0; padding: 6px 14px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .table .actions { text-align: left; }
}
