/* ============================================================
   HP Telecomunicações — folha de estilo principal
   Cores, tipografia e componentes do site
   ============================================================ */

:root {
  --bg: #05070e;
  --bg-2: #080d18;
  --surface: #0e1524;
  --surface-2: #141d30;
  --surface-3: #1a2438;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #e8eef7;
  --muted: #8fa0b8;
  --dim: #64748b;

  --brand: #22d3ee;
  --brand-dark: #0891b2;
  --brand-2: #6366f1;
  --ok: #34d399;
  --warn: #fbbf24;

  --grad: linear-gradient(120deg, #22d3ee 0%, #6366f1 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.14), rgba(99, 102, 241, 0.14));

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7);
  --glow: 0 0 40px -8px rgba(34, 211, 238, 0.45);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--brand); color: #04121a; }

/* Scrollbar ------------------------------------------------ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* Layout --------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { position: relative; }

.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 70px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

.h-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h-lg { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 62ch; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Botões --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px -6px rgba(34, 211, 238, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #05240f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 0 40px -8px rgba(37, 211, 102, 0.7); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header --------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5, 7, 14, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  color: #04121a;
  letter-spacing: -0.04em;
  box-shadow: var(--glow);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-text span { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
#fiber-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.85;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(99, 102, 241, 0.20), transparent 65%),
    radial-gradient(700px 420px at 12% 78%, rgba(34, 211, 238, 0.14), transparent 65%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.pill b {
  background: var(--grad);
  color: #04121a;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; font-size: clamp(1.02rem, 1.7vw, 1.22rem); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat span { font-size: 0.83rem; color: var(--muted); }

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--brand), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* Cards ---------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }

.card-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-list li {
  font-size: 0.87rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Timeline DIO -> cliente ---------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  position: relative;
  margin-top: 54px;
}
.flow-step {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 27px; left: 50%; right: -50%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(99, 102, 241, 0.3));
  z-index: 0;
}
.flow-step:last-child::before { display: none; }
.flow-dot {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08), var(--glow);
}
.flow-step h4 { font-size: 1rem; margin-bottom: 8px; }
.flow-step p { font-size: 0.85rem; color: var(--muted); }

/* Faixa de destaque ---------------------------------------- */
.strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
}
.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee span::before { content: "◆"; color: var(--brand); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Split (texto + visual) ----------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.panel {
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.panel-row:last-child { border-bottom: none; }
.panel-row span { color: var(--muted); }
.panel-row b { color: var(--brand); font-weight: 700; white-space: nowrap; }

/* CTA ------------------------------------------------------ */
.cta-box {
  position: relative;
  border-radius: 28px;
  padding: 66px 44px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-strong);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(600px 300px at 80% 100%, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .btn-row { justify-content: center; margin-top: 30px; }

/* ============================================================
   PÁGINA DE SERVIÇOS
   ============================================================ */
.page-head {
  padding: 150px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 25% 0%, rgba(34, 211, 238, 0.13), transparent 70%),
    radial-gradient(700px 400px at 85% 40%, rgba(99, 102, 241, 0.13), transparent 70%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }

.crumb { font-size: 0.8rem; color: var(--dim); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }

/* Barra de ferramentas */
.svc-toolbar {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(5, 7, 14, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.toolbar-inner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input::placeholder { color: var(--dim); }
.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.search-box .ico {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  font-size: 0.95rem;
  pointer-events: none;
}

.badge-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: var(--ok);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Abas */
.tabs-wrap { overflow-x: auto; padding-bottom: 4px; margin-top: 14px; }
.tabs-wrap::-webkit-scrollbar { height: 4px; }
.tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s;
  font-family: inherit;
}
.tab:hover { border-color: var(--border-strong); color: var(--text); }
.tab.active {
  background: var(--grad);
  border-color: transparent;
  color: #04121a;
  box-shadow: var(--glow);
}
.tab .n {
  font-size: 0.72rem;
  padding: 1px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.tab.active .n { background: rgba(0, 0, 0, 0.2); }

/* Painel de categoria */
.svc-panel { display: none; animation: fade 0.35s ease; }
.svc-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}
.panel-num {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
}
.panel-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 6px; }
.panel-head p { color: var(--muted); font-size: 0.93rem; max-width: 70ch; }

/* Tabela de preços */
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table.price {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
table.price thead th {
  text-align: left;
  padding: 15px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.price td {
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 0.93rem;
  vertical-align: middle;
}
table.price tbody tr { transition: background 0.18s; }
table.price tbody tr:hover { background: rgba(34, 211, 238, 0.045); }
table.price tbody tr:last-child td { border-bottom: none; }

.svc-name { font-weight: 600; }
.svc-note { display: block; font-size: 0.79rem; color: var(--dim); margin-top: 3px; }

.unit {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.price-val {
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-val.quote { color: var(--warn); font-size: 0.88rem; font-weight: 700; }

td.col-add { width: 56px; text-align: right; }
.add-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.add-btn:hover { background: var(--brand); color: #04121a; transform: scale(1.1); }
.add-btn.done { background: var(--ok); border-color: var(--ok); color: #04240f; }

.no-results {
  padding: 60px 24px;
  text-align: center;
  color: var(--dim);
}

/* Nota de rodapé das tabelas */
.table-foot {
  padding: 16px 22px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.table-foot b { color: var(--muted); }

/* Orçamento flutuante -------------------------------------- */
.quote-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 100px;
  background: var(--grad);
  color: #04121a;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 40px -8px rgba(34, 211, 238, 0.6);
  font-family: inherit;
  font-size: 0.92rem;
  transition: transform 0.2s;
}
.quote-fab.show { display: flex; }
.quote-fab:hover { transform: translateY(-3px); }
.quote-fab .count {
  background: rgba(0, 0, 0, 0.22);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
}

.drawer-back {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.drawer-back.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(430px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 { font-size: 1.1rem; }
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
}
.drawer-close:hover { background: rgba(255, 255, 255, 0.12); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border); background: var(--surface); }

.q-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.q-item:last-child { border-bottom: none; }
.q-item h5 { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.q-item .q-cat { font-size: 0.74rem; color: var(--dim); margin-top: 2px; }
.q-ctrl { display: flex; align-items: center; gap: 8px; }
.q-ctrl button {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  font-family: inherit;
}
.q-ctrl button:hover { background: rgba(34, 211, 238, 0.18); border-color: var(--brand); }
.q-ctrl input {
  width: 62px;
  padding: 5px 8px;
  text-align: center;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}
.q-ctrl input:focus { border-color: var(--brand); }
.q-sub { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.q-sub b { color: var(--brand); font-variant-numeric: tabular-nums; }
.q-del { background: none; border: none; color: var(--dim); cursor: pointer; font-size: 0.78rem; padding: 0; font-family: inherit; }
.q-del:hover { color: #f87171; }

.q-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.q-total span { color: var(--muted); font-size: 0.9rem; }
.q-total strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.q-disclaimer { font-size: 0.76rem; color: var(--dim); margin-top: 12px; line-height: 1.5; }
.q-empty { text-align: center; padding: 60px 20px; color: var(--dim); font-size: 0.9rem; }

/* WhatsApp flutuante --------------------------------------- */
.wa-float {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #05240f; }

/* Contato / formulário ------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.field select option { background: var(--bg-2); }

.info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-item .ii-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
.info-item h4 { font-size: 0.95rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 0.9rem; color: var(--muted); }
.info-item a:hover { color: var(--brand); }

/* FAQ ------------------------------------------------------ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .chev { color: var(--brand); transition: transform 0.3s; flex-shrink: 0; font-size: 1.1rem; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 0.92rem; }

/* Footer --------------------------------------------------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 66px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 46px;
}
.footer h5 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--brand); }
.footer p.desc { color: var(--muted); font-size: 0.9rem; margin-top: 18px; max-width: 40ch; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--dim);
}

/* Reveal on scroll ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsivo ----------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(5, 7, 14, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-cta .btn { display: none; }
  .nav-cta .btn.always { display: inline-flex; }
  .section-pad { padding: 76px 0; }
  .flow-step::before { display: none; }
  .flow { gap: 34px; }
  .cta-box { padding: 46px 24px; }
  .svc-toolbar { top: 76px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .wa-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .quote-fab { right: 16px; bottom: 16px; padding: 12px 18px; }
  table.price td, table.price thead th { padding: 13px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Impressão ------------------------------------------------ */
@media print {
  .header, .svc-toolbar, .quote-fab, .wa-float, .footer, .col-add, .drawer, .drawer-back { display: none !important; }
  body { background: #fff; color: #000; }
  .svc-panel { display: block !important; page-break-inside: avoid; }
  table.price td, table.price thead th { color: #000; }
  .price-val { color: #000; }
}
