/* ==========================================================================
   PRO SERVICE — Design System
   Base: identidade do site atual (navy + dourado, Inter)
   Prioridade: legibilidade e toque confortável para público de 18 a 70+ anos
   ========================================================================== */

/* ---------- TOKENS ------------------------------------------------------- */
:root{
  --bg:            #070f1d;
  --bg-soft:       #0a1424;
  --surface:       #0d1729;
  --surface-2:     #16223a;
  --surface-3:     #1d2c47;
  --border:        #27374f;
  --border-strong: #35496a;

  --text:          #ebf0f4;
  --text-2:        #c3cede;
  --muted:         #93a3b8;

  --gold:          #c9a227;
  --gold-hi:       #e0b93a;
  --gold-dim:      rgba(201,162,39,.14);
  --gold-line:     rgba(201,162,39,.34);

  --ok:            #22c55e;
  --warn:          #f59e0b;
  --danger:        #ef4444;
  --info:          #38bdf8;

  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px;
  --shadow:    0 2px 8px rgba(0,0,0,.28);
  --shadow-lg: 0 18px 44px rgba(0,0,0,.5);
  --ring: 0 0 0 3px rgba(201,162,39,.42);

  --wrap: 1200px;
  --header-h: 68px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  padding-bottom:env(safe-area-inset-bottom);
}
img,video{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4{margin:0;line-height:1.18;letter-spacing:-.02em;font-weight:700}
h1{font-size:clamp(2rem,5.4vw,3.4rem);letter-spacing:-.03em}
h2{font-size:clamp(1.5rem,3.4vw,2.25rem)}
h3{font-size:clamp(1.1rem,2vw,1.35rem)}
p{margin:0}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:var(--r-sm)}
::selection{background:var(--gold);color:#0a1424}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px}
.section{padding:72px 0}
.section-sm{padding:48px 0}
.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}
.stack{display:flex;flex-direction:column}
.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-24{gap:24px}
.muted{color:var(--muted)}
.text-2{color:var(--text-2)}
.center{text-align:center}
.nowrap{white-space:nowrap}

/* ---------- OLHO / EYEBROW ---------------------------------------------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.eyebrow::before{content:'';width:22px;height:2px;background:var(--gold);border-radius:2px}

.section-head{max-width:720px;margin-bottom:36px}
.section-head p{color:var(--muted);margin-top:12px;font-size:1.05rem}
.section-head.center{margin-inline:auto}

/* ---------- BOTÕES ------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:0 24px;border-radius:var(--r);
  font-weight:650;font-size:1rem;border:1px solid transparent;
  background:var(--surface-2);color:var(--text);
  transition:background .16s,border-color .16s,transform .1s,color .16s;
  text-align:center;
}
.btn:active{transform:translateY(1px)}
.btn svg{width:20px;height:20px;flex:none}
.btn-primary{background:var(--gold);color:#0a1424;font-weight:750}
.btn-primary:hover{background:var(--gold-hi)}
.btn-ghost{background:transparent;border-color:var(--border-strong);color:var(--text)}
.btn-ghost:hover{background:var(--surface-2);border-color:var(--gold-line)}
.btn-wa{background:#1f9d55;color:#fff;font-weight:700}
.btn-wa:hover{background:#25b262}
.btn-block{width:100%}
.btn-sm{min-height:42px;padding:0 16px;font-size:.92rem;border-radius:var(--r-sm)}
.btn-lg{min-height:60px;font-size:1.08rem;padding:0 32px}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn-danger{background:transparent;border-color:rgba(239,68,68,.5);color:#fca5a5}
.btn-danger:hover{background:rgba(239,68,68,.12)}

/* ---------- HEADER ------------------------------------------------------- */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(7,15,29,.9);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-in{display:flex;align-items:center;gap:20px;height:var(--header-h)}
.brand{display:flex;align-items:center;gap:11px;flex:none}
.brand img{height:38px;width:auto;border-radius:6px}
.brand-txt{display:flex;flex-direction:column;line-height:1.05}
.brand-txt b{font-size:1.02rem;letter-spacing:-.01em}
.brand-txt span{font-size:.62rem;color:var(--gold);letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{
  padding:9px 14px;border-radius:var(--r-sm);font-size:.95rem;font-weight:550;
  color:var(--text-2);transition:background .15s,color .15s;
}
.nav a:hover{background:var(--surface-2);color:var(--text)}
.nav a.on{color:var(--gold);background:var(--gold-dim)}
.header-actions{display:flex;align-items:center;gap:10px;flex:none}

/* botão do orçamento no header */
.cart-btn{
  display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 16px;
  border-radius:var(--r);border:1px solid var(--gold-line);background:var(--gold-dim);
  color:var(--gold);font-weight:650;font-size:.92rem;transition:background .15s;
}
.cart-btn:hover{background:rgba(201,162,39,.22)}
.cart-btn svg{width:19px;height:19px}
.cart-count{
  min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--gold);color:#0a1424;
  font-size:.76rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;
}
.cart-btn[data-empty="1"] .cart-count{display:none}

.burger{display:none;width:46px;height:46px;border-radius:var(--r-sm);border:1px solid var(--border-strong);background:transparent;align-items:center;justify-content:center}
.burger svg{width:24px;height:24px}

/* menu mobile */
.mobile-menu{
  position:fixed;inset:var(--header-h) 0 0;z-index:55;background:var(--bg);
  padding:18px 20px 40px;overflow-y:auto;display:none;
}
.mobile-menu.open{display:block}
.mobile-menu a{
  display:flex;align-items:center;justify-content:space-between;
  padding:17px 4px;border-bottom:1px solid var(--border);font-size:1.08rem;font-weight:550;
}
.mobile-menu a.on{color:var(--gold)}
.mobile-menu a svg{width:19px;height:19px;flex:none;color:var(--muted);opacity:.8}
.mobile-menu a.on svg{color:var(--gold);opacity:1}
.mobile-menu .btn{margin-top:22px;justify-content:center;gap:10px;border-bottom:0}
.mobile-menu .btn svg{width:20px;height:20px;color:currentColor;opacity:1}

/* ---------- BUSCA -------------------------------------------------------- */
.search{position:relative;width:100%}
.search-field{
  display:flex;align-items:center;gap:12px;
  background:var(--surface);border:1.5px solid var(--border-strong);
  border-radius:var(--r-lg);padding:0 18px;height:64px;
  transition:border-color .16s,box-shadow .16s;
}
.search-field:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px rgba(201,162,39,.14)}
.search-field svg{width:22px;height:22px;color:var(--muted);flex:none}
.search-field input{
  flex:1;min-width:0;background:none;border:0;outline:none;font-size:1.05rem;height:100%;
}
.search-field input::placeholder{color:var(--muted)}
.search-clear{
  width:34px;height:34px;border-radius:50%;border:0;background:var(--surface-2);
  display:none;align-items:center;justify-content:center;flex:none;
}
.search-clear svg{width:16px;height:16px}
.search-field[data-filled="1"] .search-clear{display:inline-flex}
.search-lg .search-field{height:72px;font-size:1.1rem}

/* sugestões */
.suggest{
  position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:40;
  background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);overflow:hidden;max-height:min(70vh,460px);overflow-y:auto;display:none;
}
.suggest.open{display:block}
.suggest-item{
  display:flex;align-items:center;gap:14px;padding:14px 18px;width:100%;
  background:none;border:0;border-bottom:1px solid var(--border);text-align:left;
}
.suggest-item:last-child{border-bottom:0}
.suggest-item:hover,.suggest-item.active{background:var(--surface-2)}
.suggest-item img{width:48px;height:48px;object-fit:cover;border-radius:var(--r-sm);flex:none}
.suggest-item .si-t{font-weight:600;font-size:.98rem;line-height:1.3}
.suggest-item .si-s{font-size:.8rem;color:var(--muted);margin-top:2px}
.suggest-item .si-p{margin-left:auto;font-weight:700;color:var(--gold);font-size:.9rem;white-space:nowrap}
.suggest-empty{padding:22px 18px;color:var(--muted);font-size:.95rem}
.suggest-foot{padding:12px 18px;background:var(--surface-2);font-size:.85rem;color:var(--muted)}

/* atalhos de busca */
.quick-terms{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;align-items:center}
.quick-terms span{font-size:.85rem;color:var(--muted);margin-right:2px}
.quick-terms button{
  padding:8px 15px;border-radius:999px;border:1px solid var(--border-strong);
  background:rgba(13,23,41,.6);color:var(--text-2);font-size:.88rem;font-weight:500;
  transition:border-color .15s,color .15s,background .15s;
}
.quick-terms button:hover{border-color:var(--gold-line);color:var(--gold);background:var(--gold-dim)}

/* ---------- HERO --------------------------------------------------------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--border)}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.34}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(7,15,29,.72) 0%,rgba(7,15,29,.88) 55%,var(--bg) 100%),
             radial-gradient(1000px 460px at 18% 12%,rgba(201,162,39,.16),transparent 62%);
}
.hero-in{position:relative;padding:70px 0 78px;max-width:860px}
.hero h1{margin-bottom:18px}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero-sub{font-size:1.14rem;color:var(--text-2);max-width:620px;margin-bottom:32px}
.hero-search{max-width:680px}
.hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}
.hero-tag{
  display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;
  background:rgba(13,23,41,.72);border:1px solid var(--border-strong);
  font-size:.85rem;color:var(--text-2);font-weight:500;
}
.hero-tag svg{width:15px;height:15px;color:var(--gold)}

/* ---------- CATEGORIAS (grade de atalhos) ------------------------------- */
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cat-card{
  position:relative;overflow:hidden;border-radius:var(--r-lg);
  border:1px solid var(--border);background:var(--surface);
  min-height:132px;display:flex;flex-direction:column;justify-content:flex-start;
  padding:16px;transition:border-color .18s,transform .18s;
}
.cat-card:hover{border-color:var(--gold-line);transform:translateY(-2px)}
/* Uma imagem so por assunto: a categoria fica com o icone, e a ilustracao
   gerada fica reservada para o card do servico. Foto + icone na mesma peca
   deixava a grade pesada. */
.cat-card img,.cat-card::after{display:none}
.cat-card>*{position:relative;z-index:1}
.cat-card .ic{width:34px;height:34px;color:var(--gold);margin-bottom:14px}
.cat-card b{margin-top:auto}
.cat-card b{font-size:1rem;font-weight:650;display:block;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
.cat-card small{color:var(--muted);font-size:.79rem;display:block;margin-top:3px}

/* ---------- CARDS DE SERVIÇO -------------------------------------------- */
.svc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:18px}
.svc{
  display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;
  transition:border-color .18s,box-shadow .18s;
}
.svc:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}
.svc.in-cart{border-color:var(--gold-line);box-shadow:0 0 0 1px var(--gold-line)}
.svc-img{position:relative;aspect-ratio:16/9;background:var(--surface-2);overflow:hidden}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.svc:hover .svc-img img{transform:scale(1.04)}
.svc-cat{
  position:absolute;top:10px;left:10px;padding:5px 11px;border-radius:999px;
  background:rgba(7,15,29,.86);backdrop-filter:blur(6px);border:1px solid var(--border-strong);
  font-size:.72rem;font-weight:600;letter-spacing:.02em;color:var(--text-2);
}
.svc-body{padding:16px 16px 0;flex:1;display:flex;flex-direction:column}
.svc-name{font-size:1.03rem;font-weight:650;line-height:1.3;margin-bottom:7px}
.svc-name a:hover{color:var(--gold)}
.svc-desc{font-size:.88rem;color:var(--muted);line-height:1.5;margin-bottom:14px;flex:1}
.svc-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-bottom:4px}
.svc-price .v{font-size:1.42rem;font-weight:750;color:var(--gold);letter-spacing:-.02em}
.svc-price .u{font-size:.85rem;color:var(--muted);font-weight:500}
.svc-price .tag-comb{
  font-size:1.02rem;font-weight:700;color:var(--info);
}
.svc-est{font-size:.74rem;color:var(--muted);margin-bottom:14px}
.svc-foot{padding:0 16px 16px}

/* stepper de quantidade */
.qty{display:flex;align-items:center;gap:0;border:1px solid var(--border-strong);border-radius:var(--r);overflow:hidden;background:var(--surface-2)}
.qty button{
  width:48px;height:48px;border:0;background:transparent;color:var(--text);
  font-size:1.35rem;font-weight:600;display:flex;align-items:center;justify-content:center;
  transition:background .14s;flex:none;
}
.qty button:hover:not(:disabled){background:var(--surface-3)}
.qty button:disabled{opacity:.3;cursor:not-allowed}
.qty input{
  width:100%;min-width:44px;height:48px;text-align:center;background:transparent;border:0;outline:none;
  font-weight:700;font-size:1.05rem;-moz-appearance:textfield;
}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.qty-row .lbl{font-size:.85rem;color:var(--muted);flex:1;line-height:1.3}
.subtotal-line{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:11px 13px;border-radius:var(--r-sm);background:var(--surface-2);margin-bottom:12px;
}
.subtotal-line span{font-size:.85rem;color:var(--muted)}
.subtotal-line b{font-size:1.12rem;color:var(--gold);font-weight:750}

.added-flag{
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;border-radius:var(--r);background:rgba(34,197,94,.13);
  border:1px solid rgba(34,197,94,.4);color:#7fe0a0;font-weight:650;font-size:.95rem;
}
.added-flag svg{width:19px;height:19px}

/* ---------- FILTROS ------------------------------------------------------ */
.filters{
  position:sticky;top:var(--header-h);z-index:30;
  background:rgba(7,15,29,.94);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);padding:14px 0;
}
.chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:none;padding:11px 18px;border-radius:999px;border:1px solid var(--border-strong);
  background:var(--surface);color:var(--text-2);font-size:.93rem;font-weight:550;white-space:nowrap;
  transition:background .15s,border-color .15s,color .15s;
}
.chip:hover{border-color:var(--gold-line);color:var(--text)}
.chip.on{background:var(--gold);border-color:var(--gold);color:#0a1424;font-weight:700}

.result-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.result-bar .count{font-size:.95rem;color:var(--muted)}
.result-bar .count b{color:var(--text)}

.empty-state{
  text-align:center;padding:64px 24px;border:1px dashed var(--border-strong);
  border-radius:var(--r-xl);background:var(--surface);
}
.empty-state svg{width:52px;height:52px;color:var(--muted);margin-bottom:18px}
.empty-state h3{margin-bottom:10px}
.empty-state p{color:var(--muted);max-width:440px;margin:0 auto 22px}

/* ---------- BARRA FLUTUANTE (MOBILE) ------------------------------------ */
.cart-bar{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:50;
  display:none;align-items:center;gap:14px;
  padding:12px 14px;border-radius:var(--r-lg);
  background:var(--gold);color:#0a1424;box-shadow:0 12px 32px rgba(0,0,0,.55);
  padding-bottom:max(12px,env(safe-area-inset-bottom));
}
.cart-bar.show{display:flex}
.cart-bar .cb-ic{width:26px;height:26px;flex:none}
.cart-bar .cb-txt{flex:1;min-width:0;line-height:1.2}
.cart-bar .cb-txt b{display:block;font-size:1.06rem;font-weight:800}
.cart-bar .cb-txt small{font-size:.79rem;opacity:.78;font-weight:600}
.cart-bar .cb-go{
  display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 18px;border-radius:var(--r);
  background:#0a1424;color:var(--gold);font-weight:700;font-size:.93rem;flex:none;
}

/* ---------- ILUSTRAÇÕES -------------------------------------------------
   As ilustrações já trazem o próprio fundo navy. Onde o recorte não é 16:9
   (página do serviço, item do orçamento, sugestão da busca) elas aparecem
   inteiras em vez de cortadas. */
.svc-page-img img[src*="ilus-"],
img.item-img[src*="ilus-"],
.suggest-item img[src*="ilus-"]{object-fit:contain;background:#0d1a2b}

/* ---------- AVISO DE ESTIMATIVA ----------------------------------------- */
.notice{
  display:flex;gap:13px;padding:16px 18px;border-radius:var(--r-lg);
  background:var(--gold-dim);border:1px solid var(--gold-line);
}
.notice svg{width:21px;height:21px;color:var(--gold);flex:none;margin-top:2px}
.notice p{font-size:.9rem;color:var(--text-2);line-height:1.55}
.notice b{color:var(--gold)}
.notice-plain{background:var(--surface);border-color:var(--border)}
.notice-plain svg{color:var(--muted)}

/* ---------- ORÇAMENTO (carrinho) ---------------------------------------- */
.quote-layout{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start}
.quote-side{position:sticky;top:calc(var(--header-h) + 20px)}

.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:22px}
.card+.card{margin-top:18px}
.card-title{display:flex;align-items:center;gap:11px;margin-bottom:18px;font-size:1.12rem;font-weight:700}
.card-title .step{
  width:30px;height:30px;border-radius:50%;background:var(--gold);color:#0a1424;
  display:inline-flex;align-items:center;justify-content:center;font-size:.88rem;font-weight:800;flex:none;
}

.item{display:flex;flex-wrap:wrap;gap:15px;padding:18px 0;border-bottom:1px solid var(--border)}
.item:first-child{padding-top:0}
.item:last-child{border-bottom:0;padding-bottom:0}
.item-img{width:78px;height:78px;border-radius:var(--r);object-fit:cover;flex:none;background:var(--surface-2)}
.item-main{flex:1;min-width:0}
.item-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:4px}
.item-name{font-weight:650;font-size:1rem;line-height:1.3;flex:1}
.item-rm{
  width:36px;height:36px;border-radius:var(--r-sm);border:1px solid var(--border-strong);
  background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;flex:none;
  transition:color .15s,border-color .15s,background .15s;
}
.item-rm:hover{color:#fca5a5;border-color:rgba(239,68,68,.5);background:rgba(239,68,68,.1)}
.item-rm svg{width:17px;height:17px}
.item-price{font-size:.85rem;color:var(--muted);margin-bottom:11px}
.item-ctrl{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.item-sub{margin-left:auto;font-weight:750;color:var(--gold);font-size:1.08rem;white-space:nowrap}
.item-sub.comb{color:var(--info);font-size:.95rem}
/* o campo de detalhe ocupa a linha inteira, para caber texto confortável no celular */
.item-note{flex:1 0 100%;margin-top:-4px}

.totals{border-top:1px solid var(--border);padding-top:16px;margin-top:4px}
.tot-line{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:.94rem;color:var(--text-2)}
.tot-line.big{
  border-top:1px solid var(--border);margin-top:10px;padding-top:16px;
  font-size:1.05rem;color:var(--text);font-weight:600;align-items:baseline;
}
.tot-line.big b{font-size:1.7rem;color:var(--gold);font-weight:800;letter-spacing:-.02em}
.tot-line .sm{font-size:.82rem;color:var(--muted)}
.comb-note{
  display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;
  border-radius:var(--r-sm);background:rgba(56,189,248,.1);border:1px solid rgba(56,189,248,.3);
  font-size:.85rem;color:#bae6fd;line-height:1.5;
}
.comb-note svg{width:17px;height:17px;flex:none;margin-top:2px;color:var(--info)}

/* ---------- FORMULÁRIOS -------------------------------------------------- */
.field{margin-bottom:18px}
.field:last-child{margin-bottom:0}
.field label{display:block;font-size:.92rem;font-weight:600;margin-bottom:8px}
.field label .req{color:var(--gold);margin-left:2px}
.field .hint{font-size:.82rem;color:var(--muted);margin-top:7px;line-height:1.45}
.input,textarea.input,select.input{
  width:100%;min-height:54px;padding:14px 16px;border-radius:var(--r);
  background:var(--bg-soft);border:1.5px solid var(--border-strong);color:var(--text);
  outline:none;transition:border-color .16s,box-shadow .16s;font-size:1rem;
}
.input::placeholder{color:#6b7c93}
.input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,162,39,.16)}
textarea.input{min-height:112px;resize:vertical;line-height:1.55}
select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a3b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:18px;padding-right:46px}
.field.err .input{border-color:var(--danger)}
.err-msg{display:none;font-size:.84rem;color:#fca5a5;margin-top:7px}
.field.err .err-msg{display:block}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}

/* rádios grandes */
.radio-list{display:flex;flex-direction:column;gap:10px}
.radio{
  display:flex;align-items:center;gap:13px;padding:15px 16px;border-radius:var(--r);
  border:1.5px solid var(--border-strong);background:var(--bg-soft);cursor:pointer;
  transition:border-color .15s,background .15s;
}
.radio:hover{border-color:var(--gold-line)}
.radio input{position:absolute;opacity:0;pointer-events:none}
.radio .dot{
  width:22px;height:22px;border-radius:50%;border:2px solid var(--border-strong);flex:none;
  display:grid;place-items:center;transition:border-color .15s;
}
.radio .dot::after{content:'';width:11px;height:11px;border-radius:50%;background:var(--gold);transform:scale(0);transition:transform .16s}
.radio:has(input:checked){border-color:var(--gold);background:var(--gold-dim)}
.radio:has(input:checked) .dot{border-color:var(--gold)}
.radio:has(input:checked) .dot::after{transform:scale(1)}
.radio .rt{flex:1;min-width:0}
.radio .rt b{display:block;font-size:.97rem;font-weight:600}
.radio .rt small{display:block;font-size:.81rem;color:var(--muted);margin-top:2px}
.radio .rv{font-weight:700;color:var(--gold);font-size:.95rem;white-space:nowrap}
.radio .rv.free{color:var(--muted);font-weight:500}

/* ---------- SEÇÕES DE CONTEÚDO ------------------------------------------ */
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.split img{border-radius:var(--r-xl);width:100%;height:100%;max-height:460px;object-fit:cover}
.feature-list{display:flex;flex-direction:column;gap:18px;margin-top:26px}
.feature{display:flex;gap:15px}
.feature .fi{
  width:44px;height:44px;border-radius:var(--r);background:var(--gold-dim);border:1px solid var(--gold-line);
  display:grid;place-items:center;flex:none;
}
.feature .fi svg{width:21px;height:21px;color:var(--gold)}
.feature b{display:block;font-size:1.02rem;margin-bottom:3px;font-weight:650}
.feature p{font-size:.92rem;color:var(--muted);line-height:1.55}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.step-card{
  padding:26px 22px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border);
  position:relative;
}
.step-card .num{
  font-size:2.2rem;font-weight:800;color:var(--gold);opacity:.32;line-height:1;margin-bottom:14px;
  letter-spacing:-.04em;
}
.step-card b{display:block;font-size:1.05rem;margin-bottom:7px;font-weight:650}
.step-card p{font-size:.9rem;color:var(--muted);line-height:1.55}

/* galeria */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gal-item{
  position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3;background:var(--surface-2);
  border:1px solid var(--border);
}
.gal-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gal-item:hover img{transform:scale(1.06)}
.gal-cap{
  position:absolute;inset:auto 0 0 0;padding:26px 14px 12px;
  background:linear-gradient(transparent,rgba(7,15,29,.94));
}
.gal-cap b{display:block;font-size:.88rem;font-weight:600;line-height:1.3}
.gal-cap small{font-size:.73rem;color:var(--gold);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.gal-item.wide{grid-column:span 2}

/* ---------- EMPRESAS ATENDIDAS (carrossel de logos) ---------------------
   Faixa discreta, rodando sozinha. As logos vêm com fundo transparente e
   ficam sobre uma placa clara, porque logo com letra escura desaparece no
   fundo azul-marinho do site. */
/* A faixa inteira é clara — é ela que dá o destaque e faz todas as marcas
   aparecerem. As logos ficam soltas sobre ela, com o fundo transparente
   que vieram, sem caixa branca atrás de cada uma. */
/* A placa clara continua sendo necessária (logo com letra escura some no
   fundo azul-marinho), mas agora ela é uma PLACA ARREDONDADA dentro da
   seção escura — não uma faixa branca cortando a página de ponta a ponta. */
.marcas{padding:30px 16px;background:transparent;border-block:0}
.marcas .wrap{
  background:#e9eef5;border:1px solid #d7e0ec;border-radius:var(--r-xl);
  padding:24px 24px 20px;box-shadow:inset 0 1px 0 #fff;
}
.marcas-rot{
  text-align:center;font-size:.7rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:#64748b;margin-bottom:20px;
}
.esteira{
  overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
/* Cópia usada só para medir a largura de um conjunto. Fica fora do fluxo e
   invisível, mas ocupa espaço de verdade — é o que permite medir certo. */
.esteira-medida{
  position:absolute;top:0;left:0;visibility:hidden;pointer-events:none;
  display:flex;align-items:center;width:max-content;
}

/* O espaçamento é margem em cada peça, não "gap" na fita: assim as cópias
   ficam idênticas e a volta fecha exatamente, sem salto.
   A distância de uma volta (--volta) é calculada no ui.js, porque depende
   da largura real das logos depois de carregadas. */
.esteira-fita{display:flex;align-items:center;width:max-content;animation:desliza 40s linear infinite}
.esteira:hover .esteira-fita,
.esteira:focus-within .esteira-fita{animation-play-state:paused}
@keyframes desliza{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(calc(var(--volta,50%) * -1),0,0)}
}

/* Sem caixa: só o espaço em volta. O que separa uma marca da outra é a margem. */
.marca{
  flex:none;height:56px;margin-right:56px;display:grid;place-items:center;
  transition:opacity .2s;
}
.marca img{height:40px;width:auto;max-width:180px;object-fit:contain;display:block}

/* O carrossel roda sozinho SEMPRE — em PC e celular, mesmo com "reduzir
   movimento" ligado no sistema. Antes essa preferencia trocava a animacao
   por uma barra de rolagem manual, e as logos ficavam paradas. Decisao do
   dono: a vitrine de referencias precisa girar sem depender do usuario. */
@media (prefers-reduced-motion:reduce){
  .esteira-fita{animation-name:desliza}
}
@media (max-width:720px){
  .marcas{padding:18px 14px 6px}
  .marcas .wrap{padding:20px 14px 16px;border-radius:var(--r-lg)}
  .marcas-rot{margin-bottom:16px;letter-spacing:.1em}
  .marca{height:42px;margin-right:34px}
  .marca img{height:30px;max-width:126px}
}

/* planos */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.plan{
  display:flex;flex-direction:column;border-radius:var(--r-xl);overflow:hidden;
  border:1px solid var(--border);background:var(--surface);
}
.plan-img{aspect-ratio:16/7;overflow:hidden;position:relative}
.plan-img img{width:100%;height:100%;object-fit:cover;opacity:.55}
.plan-img::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,var(--surface))}
.plan-body{padding:24px;flex:1;display:flex;flex-direction:column}
.plan h3{margin-bottom:5px}
.plan .foco{color:var(--gold);font-size:.88rem;font-weight:650;margin-bottom:4px}
.plan .pub{color:var(--muted);font-size:.85rem;margin-bottom:20px}
.plan ul{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-direction:column;gap:11px;flex:1}
.plan li{display:flex;gap:11px;font-size:.92rem;color:var(--text-2);line-height:1.45}
.plan li svg{width:18px;height:18px;color:var(--gold);flex:none;margin-top:2px}
.plan .price-slot{
  padding:14px;border-radius:var(--r);background:var(--surface-2);border:1px dashed var(--border-strong);
  text-align:center;margin-bottom:18px;
}
.plan .price-slot b{display:block;font-size:1.05rem;color:var(--text-2)}
.plan .price-slot small{font-size:.8rem;color:var(--muted)}

/* ---------- PÁGINA DE SERVIÇO ------------------------------------------- */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.86rem;color:var(--muted);margin-bottom:22px}
.crumbs a:hover{color:var(--gold)}
.crumbs svg{width:14px;height:14px;opacity:.6}
.svc-page{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.svc-page-img{border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--border);aspect-ratio:4/3}
.svc-page-img img{width:100%;height:100%;object-fit:cover}
.svc-page h1{font-size:clamp(1.6rem,3.6vw,2.5rem);margin-bottom:14px}
.svc-page .lead{font-size:1.06rem;color:var(--text-2);margin-bottom:26px;line-height:1.6}
.price-box{
  padding:22px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border);margin-bottom:20px;
}
.price-box .pb-v{font-size:2.3rem;font-weight:800;color:var(--gold);letter-spacing:-.03em;line-height:1}
.price-box .pb-v.comb{font-size:1.7rem;color:var(--info)}
.price-box .pb-u{font-size:.95rem;color:var(--muted);margin-top:6px}
.related{margin-top:64px}

/* ---------- PAINEL ADMIN ------------------------------------------------- */
.admin-gate{max-width:420px;margin:90px auto;padding:0 20px}
.stat-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:26px}
.stat{padding:18px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border)}
.stat b{display:block;font-size:1.85rem;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.stat small{font-size:.8rem;color:var(--muted);display:block;margin-top:4px}
.stat.gold b{color:var(--gold)}

.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
.toolbar .search-field{height:50px;flex:1;min-width:220px;border-radius:var(--r)}
.toolbar select.input{min-height:50px;width:auto;min-width:180px}

.table-wrap{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;background:var(--surface)}
table.tbl{width:100%;border-collapse:collapse;font-size:.92rem}
table.tbl th{
  text-align:left;padding:14px 16px;background:var(--surface-2);font-size:.78rem;
  text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:700;white-space:nowrap;
}
table.tbl td{padding:15px 16px;border-top:1px solid var(--border);vertical-align:middle}
table.tbl tr:hover td{background:rgba(22,34,58,.45)}
table.tbl .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.pill{
  display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;
  font-size:.78rem;font-weight:650;white-space:nowrap;
}
.pill .d{width:7px;height:7px;border-radius:50%;background:currentColor}
.link-btn{background:none;border:0;color:var(--gold);font-weight:600;font-size:.9rem;padding:0}
.link-btn:hover{text-decoration:underline}

/* cards do admin no mobile */
.adm-cards{display:none;flex-direction:column;gap:12px}
.adm-card{padding:16px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--border)}
.adm-card .ac-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.adm-card .ac-name{font-weight:700;font-size:1.02rem}
.adm-card .ac-meta{font-size:.82rem;color:var(--muted)}
.adm-card .ac-vals{display:flex;gap:18px;margin:12px 0;flex-wrap:wrap}
.adm-card .ac-vals div small{display:block;font-size:.74rem;color:var(--muted)}
.adm-card .ac-vals div b{font-size:1.05rem}

/* modal */
.modal{
  position:fixed;inset:0;z-index:90;background:rgba(4,9,18,.82);backdrop-filter:blur(4px);
  display:none;align-items:flex-start;justify-content:center;padding:20px;overflow-y:auto;
}
.modal.open{display:flex}
.modal-box{
  background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-xl);
  width:100%;max-width:620px;margin:auto;box-shadow:var(--shadow-lg);
}
.modal-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:22px 24px;border-bottom:1px solid var(--border);
}
.modal-head h3{font-size:1.2rem}
.modal-close{width:40px;height:40px;border-radius:var(--r-sm);border:1px solid var(--border-strong);background:transparent;color:var(--muted);display:grid;place-items:center;flex:none}
.modal-close:hover{color:var(--text);background:var(--surface-2)}
.modal-close svg{width:19px;height:19px}
.modal-body{padding:24px}
.modal-foot{padding:18px 24px;border-top:1px solid var(--border);display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}

.kv{display:grid;grid-template-columns:130px 1fr;gap:8px 16px;font-size:.93rem;margin-bottom:20px}
.kv dt{color:var(--muted)}
.kv dd{margin:0;font-weight:550}
.svc-mini{padding:12px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:12px;font-size:.92rem}
.svc-mini:last-child{border-bottom:0}

/* toast */
.toast-host{position:fixed;left:50%;transform:translateX(-50%);bottom:96px;z-index:95;display:flex;flex-direction:column;gap:10px;align-items:center;pointer-events:none;width:calc(100% - 32px);max-width:420px}
.toast{
  display:flex;align-items:center;gap:11px;padding:14px 18px;border-radius:var(--r);
  background:var(--surface-3);border:1px solid var(--border-strong);box-shadow:var(--shadow-lg);
  font-size:.94rem;font-weight:550;animation:tin .26s ease;max-width:100%;
}
.toast svg{width:19px;height:19px;flex:none;color:var(--ok)}
.toast.warn svg{color:var(--warn)}
@keyframes tin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- FOTOS ENVIADAS PELO CLIENTE ---------------------------------- */
.fotos-grade{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.fotos-grade:empty{display:none}
.foto-item{
  position:relative;width:96px;height:96px;border-radius:var(--r);overflow:hidden;
  border:1px solid var(--border-strong);background:var(--surface-2);
}
.foto-item img{width:100%;height:100%;object-fit:cover;display:block}
.foto-item button{
  position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;
  background:rgba(7,15,29,.82);border:1px solid var(--border-strong);color:var(--text);
  display:grid;place-items:center;padding:0;
}
.foto-item button svg{width:15px;height:15px}
.foto-item .peso{
  position:absolute;left:0;right:0;bottom:0;padding:3px 6px;font-size:.68rem;
  background:rgba(7,15,29,.78);color:var(--muted);text-align:center;
}

/* ---------- WHATSAPP FLUTUANTE ------------------------------------------ */
.wa-float{
  position:fixed;right:16px;bottom:16px;z-index:45;
  width:58px;height:58px;border-radius:50%;background:#1f9d55;color:#fff;
  display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.45);
  transition:transform .18s;bottom:max(16px,env(safe-area-inset-bottom));
}
.wa-float:hover{transform:scale(1.06)}
.wa-float svg{width:29px;height:29px}
body.has-cart-bar .wa-float{bottom:92px}

/* ---------- RODAPÉ ------------------------------------------------------- */
.footer{border-top:1px solid var(--border);background:var(--bg-soft);padding:56px 0 30px;margin-top:24px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:40px}
.foot-grid h4{font-size:.79rem;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin-bottom:16px;font-weight:700}
.foot-grid ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:11px}
.foot-grid a{color:var(--muted);font-size:.93rem}
.foot-grid a:hover{color:var(--text)}
.foot-brand p{color:var(--muted);font-size:.93rem;margin-top:16px;max-width:320px;line-height:1.6}
.foot-info{font-size:.93rem;color:var(--muted);display:flex;flex-direction:column;gap:11px}
.foot-info div{display:flex;gap:10px;align-items:flex-start}
.foot-info svg{width:17px;height:17px;color:var(--gold);flex:none;margin-top:3px}
.foot-bottom{
  border-top:1px solid var(--border);padding-top:22px;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.85rem;color:var(--muted);
}

/* ---------- RESPONSIVO --------------------------------------------------- */
@media (max-width:1080px){
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .stat-row{grid-template-columns:repeat(3,1fr)}
  .quote-layout{grid-template-columns:1fr}
  .quote-side{position:static}
  .gallery{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:900px){
  .nav{display:none}
  .burger{display:flex}
  .header-actions{margin-left:auto}
  .header-in{gap:12px}
  .brand{min-width:0}
  .brand-txt b{font-size:.98rem}
  .split{grid-template-columns:1fr;gap:32px}
  .split img{max-height:320px}
  .plans{grid-template-columns:1fr}
  .svc-page{grid-template-columns:1fr;gap:28px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .header-actions .cart-btn span.lbl{display:none}
}
@media (max-width:720px){
  body{font-size:16.5px}
  .section{padding:52px 0}
  .section-sm{padding:36px 0}
  .wrap{padding-inline:16px}
  .hero-in{padding:44px 0 54px}
  /* Uma imagem só por assunto: no celular a categoria fica com o ícone,
     e a foto gerada fica reservada para o card do serviço. Duas imagens
     para a mesma coisa deixavam a grade pesada. */
  .cat-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  /* ícone sempre no topo e nome sempre embaixo: com 1 ou 2 linhas de
     título os cards vizinhos continuam alinhados entre si */
  .cat-card{min-height:112px;padding:14px;background:var(--surface);justify-content:flex-start}
  .cat-card .ic{width:28px;height:28px;margin-bottom:12px}
  .cat-card b{margin-top:auto}
  .cat-card b{font-size:.92rem}
  .cat-card small{font-size:.76rem}

  .section-head{margin-bottom:26px}
  .section-head p{font-size:.97rem;margin-top:9px}
  .hero-in{padding:38px 0 46px}
  .hero-sub{font-size:1.04rem;margin-bottom:26px}
  .hero-tags{gap:8px;margin-top:24px}
  /* 4 selos viravam parede de pastilhas; o aviso de estimativa já aparece
     no card, no carrinho, no envio, no WhatsApp e no painel. */
  .hero-tags .hero-tag:nth-child(2){display:none}
  .quick-terms{gap:7px;margin-top:14px}
  .quick-terms button{padding:7px 13px;font-size:.85rem}
  .quick-terms button:nth-of-type(n+7){display:none}
  .svc-grid{grid-template-columns:1fr;gap:12px}
  /* card compacto: miniatura à esquerda, texto à direita, ações embaixo.
     Em pé, o card cheio passava de 650px e engolia o resto da página. */
  .svc{display:grid;grid-template-columns:112px 1fr;grid-template-areas:"img corpo" "pe pe"}
  .svc-img{grid-area:img;aspect-ratio:auto;height:100%;min-height:112px}
  .svc-cat{display:none}
  .svc-body{grid-area:corpo;padding:13px 14px 12px;justify-content:center}
  .svc-name{font-size:1rem;margin-bottom:5px}
  .svc-desc{
    font-size:.85rem;margin-bottom:9px;flex:none;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .svc-price .v{font-size:1.24rem}
  .svc-est{margin-bottom:0}
  .svc-foot{grid-area:pe;padding:0 14px 14px}
  .qty-row{margin-bottom:10px}
  .qty button{width:44px;height:44px}
  .qty input{height:44px}
  .subtotal-line{padding:9px 12px;margin-bottom:10px}
  .grid-2{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr);gap:9px}
  .gal-item.wide{grid-column:span 2}
  .stat-row{grid-template-columns:repeat(2,1fr);gap:10px}
  .stat{padding:14px}
  .stat b{font-size:1.5rem}
  .card{padding:18px}
  .table-wrap{display:none}
  .adm-cards{display:flex}
  .item-img{width:62px;height:62px}
  .toolbar .search-field{min-width:100%}
  .toolbar select.input{width:100%}
  .search-field{height:58px;padding-inline:15px}
  .search-lg .search-field{height:62px}
  .modal{padding:0;align-items:flex-end}
  .modal-box{border-radius:var(--r-xl) var(--r-xl) 0 0;max-width:none;margin:0}
  .kv{grid-template-columns:1fr;gap:2px 0}
  .kv dd{margin-bottom:12px}
  .foot-grid{grid-template-columns:1fr;gap:28px}
  .steps{gap:12px}
  .step-card{padding:20px 18px}
}
@media (max-width:420px){
  .cat-grid{grid-template-columns:1fr 1fr}
  .btn{padding:0 18px}
  .cart-bar{gap:10px;padding:11px 12px}
  .cart-bar .cb-go{padding:0 14px;font-size:.88rem}
}

@media (prefers-reduced-motion:reduce){
  /* a fita de logos fica de fora: e a unica animacao que o site precisa
     manter rodando, e a duracao dela e calculada no ui.js */
  *:not(.esteira-fita),*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* impressão do orçamento */
@media print{
  .header,.footer,.cart-bar,.wa-float,.filters,.no-print{display:none!important}
  body{background:#fff;color:#111}
  .card{border-color:#ddd;background:#fff}
}
