/* ============================================================
   BRChina · Serviços avulsos + páginas de serviço (ex.: Auditoria de fábrica)
   Usa as mesmas variáveis e componentes de styles-v2.css.
   ============================================================ */

/* ---------- item ativo no menu ---------- */
.nav a.is-here { background: rgba(21, 33, 26, 0.06); font-weight: 700; }

/* ---------- marcador de conteúdo a definir (não publicar com isto) ---------- */
.tbd { background: #fff3b0; color: #6b5300; border-radius: 6px; padding: 0 6px; font-weight: 800; white-space: nowrap; }

/* ---------- hero das páginas de serviço ---------- */
.sv-hero { padding-block: clamp(40px, 6vw, 84px) clamp(28px, 4vw, 48px); }
.sv-hero h1 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-top: 20px; max-width: 18ch;
}
.sv-hero h1 em { font-style: normal; color: var(--green); }
.sv-hero .sv-sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-top: 20px; max-width: 58ch; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sv-chips a {
  font-size: 0.9rem; font-weight: 700; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.sv-chips a:hover { border-color: var(--green); transform: translateY(-1px); }

/* ---------- grade de serviços avulsos ---------- */
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.sv-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; min-width: 0;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease); scroll-margin-top: 110px;
}
.sv-card:hover { box-shadow: var(--shadow); border-color: rgba(14, 138, 62, 0.3); }
.sv-card .nc-title { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin-top: 18px; }
.sv-card .nc-desc { margin-top: 12px; }
.sv-card ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.sv-card li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.97rem; line-height: 1.45; }
.sv-card li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a5f2c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.sv-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 0.88rem; color: var(--muted); }
.sv-meta b { display: block; color: var(--ink); font-size: 0.98rem; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.sv-actions .btn { padding: 12px 18px; font-size: 0.92rem; }

/* card em destaque (ocupa 2 colunas, com foto) */
.sv-card.is-feature { grid-column: span 2; flex-direction: row; gap: clamp(20px, 3vw, 36px); padding: 0; overflow: hidden; }
.sv-card.is-feature .sv-ph { flex: 0 0 42%; position: relative; min-height: 320px; }
.sv-card.is-feature .sv-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-card.is-feature .sv-ph .sv-badge {
  position: absolute; left: 16px; top: 16px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-pill);
}
.sv-card.is-feature .sv-body { padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) 0; display: flex; flex-direction: column; min-width: 0; }

@media (max-width: 1080px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-card.is-feature { grid-column: span 2; }
}
@media (max-width: 720px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-card.is-feature { grid-column: auto; flex-direction: column; }
  .sv-card.is-feature .sv-ph { flex-basis: auto; min-height: 220px; }
  .sv-card.is-feature .sv-body { padding: 0 24px 26px; }
}

/* ---------- faixa "não achou?" ---------- */
.sv-band {
  margin-top: clamp(28px, 4vw, 48px); background: var(--green-dark); color: #fff; border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sv-band h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.1; }
.sv-band p { color: rgba(255, 255, 255, 0.72); margin-top: 6px; max-width: 52ch; }

/* ============================================================
   Página de serviço (Auditoria de fábrica)
   ============================================================ */
.ps-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.ps-price {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.8vw, 34px);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; align-self: end;
}
.ps-price .pp-k { font-size: 0.75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ps-price .pp-v { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; }
.ps-price .pp-v small { font-family: var(--f-body); font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-right: 6px; }
.ps-price .pp-rows { display: grid; gap: 12px; padding-block: 16px; border-block: 1px dashed var(--line); }
.ps-price .pp-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.ps-price .pp-row .nc-ic { width: 34px; height: 34px; }
.ps-price .pp-row .nc-ic svg { width: 17px; height: 17px; }
.ps-price .pp-row b { display: block; }
.ps-price .pp-row span { color: var(--muted); }
.ps-price .btn { justify-content: center; width: 100%; }
.ps-price .pp-note { font-size: 0.82rem; color: var(--muted); text-align: center; }

.ps-photo { margin-top: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 21 / 8; }
.ps-photo img { width: 100%; height: 100%; object-fit: cover; }
.ps-photo .cap {
  position: absolute; left: 18px; bottom: 18px; background: rgba(12, 36, 23, 0.82); color: #fff; backdrop-filter: blur(6px);
  font-size: 0.85rem; font-weight: 600; padding: 9px 14px; border-radius: var(--r-pill);
}

/* incluso */
.ps-incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.ps-incl .it { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.ps-incl .it .nc-ic { margin-bottom: 14px; }
.ps-incl .it h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.2; }
.ps-incl .it p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; line-height: 1.5; }
@media (max-width: 980px) { .ps-incl { grid-template-columns: repeat(2, 1fr); } .ps-hero-grid { grid-template-columns: 1fr; } .ps-price { align-self: stretch; } }
@media (max-width: 600px) { .ps-incl { grid-template-columns: 1fr; } .ps-photo { aspect-ratio: 4 / 3; } }

/* passos */
.ps-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); counter-reset: st; }
.ps-steps .st { position: relative; padding: 24px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.ps-steps .st::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  font-family: var(--f-display); font-weight: 800; color: var(--red); font-size: 0.95rem; letter-spacing: .06em;
}
.ps-steps .st h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; margin-top: 10px; line-height: 1.2; }
.ps-steps .st p { color: var(--muted); font-size: 0.94rem; margin-top: 6px; line-height: 1.5; }
.ps-steps .st .when { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 800; color: var(--green-deep); background: var(--green-soft); padding: 5px 10px; border-radius: var(--r-pill); }
@media (max-width: 980px) { .ps-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ps-steps { grid-template-columns: 1fr; } }

/* diferencial (faixa escura) */
.ps-diff { background: var(--green-dark); color: #fff; border-radius: var(--r-lg); padding: clamp(30px, 4.6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ps-diff h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 16px; }
.ps-diff h2 em { font-style: normal; color: #6ee59a; }
.ps-diff p { color: rgba(255, 255, 255, 0.74); margin-top: 14px; }
.ps-diff ul { list-style: none; display: grid; gap: 14px; }
.ps-diff li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-ink); border-radius: var(--r-md); padding: 16px 18px; }
.ps-diff li .nc-ic { background: rgba(110, 229, 154, 0.14); color: #6ee59a; }
.ps-diff li b { display: block; font-size: 1.02rem; }
.ps-diff li span { color: rgba(255, 255, 255, 0.7); font-size: 0.94rem; }
@media (max-width: 900px) { .ps-diff { grid-template-columns: 1fr; } }

/* relatório de exemplo (prévia + formulário) */
.ps-report { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.rp-sheet {
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line);
  transform: rotate(-1.2deg); max-width: 460px; position: relative;
}
.rp-sheet::after {
  content: "EXEMPLO"; position: absolute; right: 18px; top: 18px; font-size: 0.7rem; font-weight: 800; letter-spacing: .12em;
  color: var(--red); border: 2px solid var(--red); padding: 4px 8px; border-radius: 6px; transform: rotate(6deg);
}
.rp-sheet .rp-h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rp-sheet .rp-h img { height: 22px; width: auto; }
.rp-sheet .rp-h span { font-size: 0.78rem; color: var(--muted); }
.rp-sheet h4 { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; margin-top: 14px; }
.rp-sheet .rp-score { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.rp-sheet .rp-score b { font-family: var(--f-display); font-size: 2rem; color: var(--green); }
.rp-sheet .rp-lines { display: grid; gap: 9px; margin-top: 14px; }
.rp-sheet .rp-l { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; padding: 8px 10px; background: var(--cream); border-radius: 8px; }
.rp-sheet .rp-l i { font-style: normal; font-weight: 800; }
.rp-sheet .rp-l i.ok { color: var(--green); }
.rp-sheet .rp-l i.at { color: #b77a00; }
.rp-sheet .rp-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.rp-sheet .rp-ph img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.ps-report .form-card { margin: 0; }
@media (max-width: 920px) { .ps-report { grid-template-columns: 1fr; } .rp-sheet { margin-inline: auto; } }

/* perguntas frequentes */
.ps-faq { display: grid; gap: 12px; max-width: 880px; }
.ps-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; }
.ps-faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; font-weight: 800; color: var(--green); transition: transform .25s var(--ease); }
.ps-faq details[open] summary::after { transform: rotate(45deg); }
.ps-faq details p { color: var(--muted); margin-top: 10px; }

/* lista detalhada (título + explicação) — Radar SISCOMEX e Marca e patente */
.sv-card .nc-sub { font-size: 1.02rem; margin-top: 4px; }
.sv-card ul.sv-detail { gap: 14px; }
.sv-card ul.sv-detail li { color: var(--muted); font-size: 0.93rem; }
.sv-card ul.sv-detail li b { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 2px; }
