@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

/*
  Paleta: o vocabulário do ofício.
  Ardósia escura (oficina) + amarelo de ferramenta — trena, furadeira,
  sinalização. Os nomes dos tokens são os mesmos usados por todas as
  páginas; mudou só o valor.
*/
:root {
  --primary: #1B2A3F;
  --primary-dark: #101B29;
  --primary-light: #3A5673;
  --cta: #F5B301;
  --cta-dark: #DB9E00;
  --cta-text: #16202E;
  --bg: #F4F5F7;
  --bg-tint: #E9EDF2;
  --amarelo-claro: #FFF6DE;
  --surface: #FFFFFF;
  --text: #131B26;
  --text-muted: #5A6675;
  --border: #DCE2EA;
  --success: #15803D;
  --success-bg: #F0FDF4;
  --danger: #C2261F;
  --danger-bg: #FEF2F2;
  --warning: #9A6200;
  --warning-bg: #FFF8E6;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(19, 27, 38, .06);
  --shadow-md: 0 4px 16px rgba(19, 27, 38, .09);
  --shadow-lg: 0 16px 40px rgba(19, 27, 38, .16);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -.02em;
}

/* Mono só onde o conteúdo é realmente um código/registro, nunca como enfeite */
.mono, .codigo, .item-chamado .codigo { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

/* Rótulo de seção — encode do assunto, não decoração */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--cta); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo span em { color: var(--cta); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-links a.active { color: var(--primary); font-weight: 600; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, border-color .2s, color .2s;
  min-height: 44px;
}
.btn:hover { text-decoration: none; }
/* amarelo pede texto escuro: branco sobre #F5B301 reprova em contraste */
.btn-cta { background: var(--cta); color: var(--cta-text); box-shadow: 0 4px 14px rgba(245, 179, 1, .38); }
.btn-cta:hover { background: var(--cta-dark); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: var(--surface); color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary-light); background: var(--bg-tint); }
.btn-sm { padding: 8px 16px; font-size: .9rem; min-height: 40px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(245, 179, 1, .75); outline-offset: 2px;
}

/* ---------- hero ---------- */
.hero {
  background: var(--primary-dark);
  color: #fff;
  padding: 84px 0 88px;
  position: relative; overflow: hidden;
}
/* trama sutil de papel milimetrado — a mesa de trabalho, não um gradiente */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: rgba(255, 255, 255, .62); }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; color: #fff;
  margin-bottom: 20px; text-wrap: balance;
}
.hero h1 .accent {
  color: var(--cta);
  /* sublinhado de marcação, como traço de lápis de carpinteiro */
  background: linear-gradient(var(--cta), var(--cta)) bottom left / 100% 4px no-repeat;
  padding-bottom: 3px;
  -webkit-text-fill-color: var(--cta);
}
.hero p.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .78); margin-bottom: 30px; max-width: 33rem; }
.hero-acoes { display: flex; gap: 12px; flex-wrap: wrap; max-width: 480px; }
.hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .55); }
.hero-nota {
  display: flex; align-items: center; gap: 9px; margin-top: 22px;
  color: rgba(255, 255, 255, .7); font-size: .93rem;
}
.hero-nota svg { flex-shrink: 0; }

/* ---------- assinatura: a ordem de serviço ---------- */
.ordem {
  background: var(--surface); color: var(--text); border-radius: 6px;
  box-shadow: var(--shadow-lg); max-width: 380px; margin: 0 auto;
  transform: rotate(-1.4deg); position: relative;
  border-top: 6px solid var(--cta);
}
.ordem::after {
  /* picote da via destacável */
  content: ''; position: absolute; left: 0; right: 0; bottom: 62px;
  border-top: 2px dashed var(--border);
}
.ordem-topo {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--border);
}
.ordem-topo span {
  font-family: 'IBM Plex Mono', monospace; font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.ordem-topo strong { font-family: 'IBM Plex Mono', monospace; font-size: 1.02rem; font-weight: 600; }
.ordem-corpo { padding: 16px 20px 20px; display: grid; gap: 12px; }
.ordem-campo { display: grid; gap: 3px; }
.ordem-campo span {
  font-family: 'IBM Plex Mono', monospace; font-size: .64rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.ordem-campo strong { font-size: .96rem; font-weight: 600; }
.ordem-campo p { font-size: .9rem; color: var(--text-muted); line-height: 1.45; }
.ordem-fotos { display: flex; gap: 7px; }
.ordem-fotos i {
  width: 52px; height: 52px; border-radius: 5px; display: block;
  background: var(--bg-tint); border: 1px solid var(--border);
  background-image: linear-gradient(135deg, #C9D3DF 25%, transparent 25%, transparent 50%, #C9D3DF 50%, #C9D3DF 75%, transparent 75%);
  background-size: 11px 11px;
}
.ordem-rodape {
  height: 62px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; gap: 12px;
}
.ordem-carimbo {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--success); border: 2px solid var(--success); border-radius: 4px;
  padding: 5px 11px; transform: rotate(-3deg); opacity: .9;
}
.ordem-valor { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .ordem { animation: entrarOrdem .7s cubic-bezier(.2, .8, .3, 1) both .15s; }
  .ordem-carimbo { animation: carimbar .45s cubic-bezier(.3, 1.4, .5, 1) both .75s; }
  @keyframes entrarOrdem {
    from { opacity: 0; transform: translateY(18px) rotate(1deg); }
    to { opacity: 1; transform: translateY(0) rotate(-1.4deg); }
  }
  @keyframes carimbar {
    from { opacity: 0; transform: rotate(-14deg) scale(1.7); }
    to { opacity: .9; transform: rotate(-3deg) scale(1); }
  }
}

/* ---------- seções ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 40rem; margin: 0 auto 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
/* A numeração fica porque aqui existe sequência real: um passo depende do anterior */
.step-num {
  width: 42px; height: 42px; border-radius: 4px; background: var(--primary); color: var(--cta);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .95rem;
  font-family: 'IBM Plex Mono', monospace; margin-bottom: 18px;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* ---------- tabela de serviços ---------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table tr:last-child td { border-bottom: none; }
.price-table th {
  background: var(--primary); color: rgba(255, 255, 255, .82);
  font-family: 'IBM Plex Mono', monospace; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em;
}
.price-table tbody tr { transition: background-color .15s; }
.price-table tbody tr:hover { background: var(--amarelo-claro); }
.price-table td:first-child { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.price-table .desc { color: var(--text-muted); font-size: .93rem; }

/* ---------- razões (prova social verídica, sem número inventado) ---------- */
.razoes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.razao {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start;
}
.razao-icone {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  background: var(--amarelo-claro); color: var(--warning);
  display: flex; align-items: center; justify-content: center;
}
.razao h3 { font-size: 1.05rem; margin-bottom: 6px; }
.razao p { color: var(--text-muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; font-size: 1.3rem; color: var(--cta-dark); font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] { border-color: var(--cta); }
.faq details p { padding: 0 20px 18px; color: var(--text-muted); font-size: .95rem; }

/* ---------- banner profissional ---------- */
.pro-banner { background: var(--primary); border-radius: 18px; color: #fff; padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.pro-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.pro-banner p { color: rgba(255, 255, 255, .76); margin-bottom: 24px; }
.pro-banner ul { list-style: none; display: grid; gap: 10px; }
.pro-banner li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.pro-banner li svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- cards de profissional ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pro-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.pro-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.pro-card-head { display: flex; gap: 14px; align-items: center; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.1rem;
}
.pro-card-head h3 { font-size: 1.1rem; }
.pro-card-head .city { color: var(--text-muted); font-size: .88rem; display: flex; align-items: center; gap: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--bg-tint); color: var(--primary-dark); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pro-card .bio { color: var(--text-muted); font-size: .92rem; flex: 1; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface);
  width: 100%; min-height: 44px;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary-light); }

/* contador de caracteres: fala o mínimo antes, o restante depois */
.contador {
  font-family: 'IBM Plex Mono', monospace; font-size: .78rem; font-weight: 500;
  color: var(--text-muted); display: block; margin-top: -2px;
}
.contador.faltando { color: var(--warning); }
.contador.no-limite { color: var(--danger); }

.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot {
  padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface);
  font-weight: 600; font-size: .95rem; cursor: pointer; min-height: 44px;
  transition: border-color .15s, background-color .15s, color .15s;
}
.slot:hover { border-color: var(--primary-light); }
.slot.selected { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- painéis / cartões genéricos ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { margin-bottom: 16px; }

.summary-box { background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.summary-box .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; color: var(--text-muted); }
.summary-box .row strong { color: var(--text); }
.summary-box .total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-size: 1.1rem; }
.summary-box .total strong { color: var(--primary-dark); font-size: 1.3rem; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.badge.pendente { background: var(--warning-bg); color: var(--warning); }
.badge.confirmado { background: var(--bg-tint); color: var(--primary); }
.badge.concluido { background: var(--success-bg); color: var(--success); }
.badge.recusado { background: var(--danger-bg); color: var(--danger); }

.booking-item { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.booking-item:last-child { border-bottom: none; }
.booking-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.booking-item .meta { color: var(--text-muted); font-size: .9rem; }
.booking-item .money { font-weight: 700; color: var(--text); white-space: nowrap; }
.booking-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card span { color: var(--text-muted); font-size: .88rem; display: block; margin-bottom: 6px; }
.stat-card strong { font-family: 'Archivo', sans-serif; font-size: 1.5rem; color: var(--primary-dark); }

.notice { padding: 14px 18px; border-radius: 10px; font-size: .95rem; margin: 14px 0; }
.notice.error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECACA; }
.notice.success { background: var(--success-bg); color: var(--success); border: 1px solid #BBF7D0; }
.notice.info { background: var(--bg-tint); color: var(--primary-dark); border: 1px solid var(--border); }

.empty { text-align: center; color: var(--text-muted); padding: 40px 20px; }

/* ---------- grade de disponibilidade ---------- */
.avail-grid { display: grid; gap: 12px; }
.avail-row { display: grid; grid-template-columns: 44px 1fr 1fr 1fr; gap: 12px; align-items: center; }
.avail-row .day { font-weight: 700; font-size: .9rem; color: var(--text-muted); }
.avail-row.off select { opacity: .45; pointer-events: none; }
.switch { position: relative; width: 44px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; z-index: 2; margin: 0; min-height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: background-color .2s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--success); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* ---------- upload de fotos ---------- */
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px 20px; border: 2px dashed var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text-muted); cursor: pointer; text-align: center;
  transition: border-color .2s, background-color .2s;
}
.dropzone:hover { border-color: var(--primary-light); background: var(--bg-tint); }
.dropzone strong { color: var(--text); font-size: .98rem; }
.dropzone span { font-size: .85rem; }
.dropzone.has-files { padding: 16px; }
.dropzone:focus-within { outline: 3px solid rgba(245, 179, 1, .75); outline-offset: 2px; }

.previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.preview { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* HEIC (foto de iPhone) e afins: o navegador não renderiza, mostramos o nome */
.preview.sem-previa { background: var(--bg-tint); border-color: var(--cta); }
.previa-fallback {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; padding: 6px;
  color: var(--primary); text-align: center;
}
.previa-fallback em { font-style: normal; font-size: .68rem; color: var(--text-muted); word-break: break-all; line-height: 1.2; }

.preview-remove {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; min-height: 26px;
  border: none; border-radius: 50%; background: rgba(15, 23, 42, .78); color: #fff;
  font-size: 1.05rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color .2s;
}
.preview-remove:hover { background: var(--danger); }

/* ---------- destaque do código do chamado ---------- */
.codigo-destaque {
  background: var(--surface); border: 2px solid var(--cta); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px; text-align: center;
}
.codigo-destaque .rotulo {
  font-family: 'IBM Plex Mono', monospace; font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 12px;
}
.codigo-destaque .valor {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: .04em; color: var(--text);
  display: block; line-height: 1.1;
}
.codigo-destaque .acoes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 14px; }
.codigo-destaque p { color: var(--text-muted); font-size: .92rem; max-width: 30rem; margin: 0 auto; }
.codigo-destaque p strong { color: var(--text); }

/* ---------- linha do tempo do chamado ---------- */
.linha-tempo { list-style: none; padding: 0; margin: 0; }
.passo { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.passo:last-child { padding-bottom: 0; }
.passo::before {
  content: ''; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--border);
}
.passo:last-child::before { display: none; }
.passo .marca {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  background: var(--surface); border: 2px solid var(--border);
}
.passo.feito .marca { background: var(--success); border-color: var(--success); }
.passo.feito::before { background: var(--success); }
.passo.atual .marca { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(245, 179, 1, .35); }
.passo strong { display: block; font-size: .98rem; color: var(--text-muted); line-height: 1.3; }
.passo.feito strong, .passo.atual strong { color: var(--text); }
.passo.atual strong { font-weight: 700; }
.passo p { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }

/* ---------- status dos chamados ---------- */
.badge.novo { background: var(--warning-bg); color: var(--warning); }
.badge.em_analise { background: #F5F3FF; color: #6D28D9; }
.badge.orcado { background: var(--bg-tint); color: var(--primary); }
.badge.agendado { background: #ECFEFF; color: #0E7490; }
.badge.cancelado { background: var(--danger-bg); color: var(--danger); }

/* ---------- painel interno ---------- */
.admin-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.filtros-status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filtro-chip {
  padding: 7px 14px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: .87rem; font-weight: 600; color: var(--text-muted); cursor: pointer; min-height: 38px;
  transition: border-color .15s, background-color .15s, color .15s;
}
.filtro-chip:hover { border-color: var(--primary-light); }
.filtro-chip.ativo { background: var(--primary); border-color: var(--primary); color: #fff; }

.lista-chamados { display: grid; gap: 10px; max-height: 72vh; overflow-y: auto; padding-right: 4px; }
.item-chamado {
  text-align: left; width: 100%; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 14px 16px; cursor: pointer; display: grid; gap: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.item-chamado:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.item-chamado.ativo { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245, 179, 1, .35); }
.item-chamado .topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.item-chamado .codigo { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .92rem; }
.item-chamado .resumo { font-size: .9rem; color: var(--text); }
.item-chamado .meta { font-size: .82rem; color: var(--text-muted); }
.item-chamado .urgente { color: var(--danger); font-weight: 700; font-size: .78rem; }

.detalhe-bloco { padding: 18px 0; border-bottom: 1px solid var(--border); }
.detalhe-bloco:last-child { border-bottom: none; }
.detalhe-bloco h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px; }
.campo-linha { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: .93rem; }
.campo-linha span { color: var(--text-muted); }
.campo-linha strong { text-align: right; }

.galeria { display: flex; flex-wrap: wrap; gap: 10px; }
.galeria a { display: block; width: 110px; height: 110px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.galeria img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.galeria a:hover img { transform: scale(1.05); }

.acoes-linha { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.72); padding: 48px 0 32px; margin-top: 72px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.72); display: block; padding: 3px 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .fine { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.page-head p { color: var(--text-muted); max-width: 44rem; }

.filters { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 32px; }
.filters select { max-width: 240px; }

/* ---------- responsivo ---------- */
/* Abaixo disso os links de texto não cabem junto com o botão. Eles continuam
   acessíveis pelo rodapé e pelos botões do hero, então some com eles em vez
   de deixar a barra estourar a largura da tela. */
@media (max-width: 820px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 12px; }
}

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .lista-chamados { max-height: none; }
  .razoes { grid-template-columns: 1fr; }
  .hero-grid, .pro-banner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  /* o título vem primeiro no celular: é a tese da página */
  .hero-art { margin-top: 30px; }
  .ordem { transform: rotate(-1deg); max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 48px 0; }
  .hero-acoes { flex-direction: column; align-items: stretch; }
  .razao { padding: 22px; }
  .avail-row { grid-template-columns: 44px 1fr 1fr 1fr; gap: 8px; }
}
