/*
 * page-servico.css — template compartilhado das 6 páginas de serviço
 * Importar APÓS home.css. Reaproveita variáveis, header, footer, off-canvas,
 * .btn, .shell, .section, .reveal, .faq, .cta-final, .float-cta, ghost mark.
 *
 * Decisões aplicadas:
 *  D-014 · template único de serviço
 *  D-018 · regra do callout (4 lados, 1 lado)
 *  D-021 · 1 highlight magenta sólido por página
 *  D-022 · ghost mark gigante reservado a hero + CTA final
 *  D-023 · eyebrow Alexandria 500, .22em, 12px, uppercase, prefixado por --
 *  D-027 · estrutura template fechada: hero → problemas → escopo → diferencial → reviews → faq → cta
 */

/* ─────────────────────── BREADCRUMB ─────────────────────── */
.breadcrumb {
  padding: 28px 0 0;
}
.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}
.breadcrumb__list li + li::before {
  content: "›";
  color: var(--ink-500);
  opacity: 0.6;
}
.breadcrumb__list a {
  color: var(--ink-300);
  transition: color var(--dur-1) var(--ease);
}
.breadcrumb__list a:hover { color: var(--brand); }
.breadcrumb__list [aria-current="page"] {
  color: var(--ink-100);
}

/* Garante visibilidade do logo SVG mesmo se home.css não tiver carregado totalmente */
.header__logo-svg {
  height: 28px;
  width: auto;
  display: block;
  overflow: visible;
}

/* ─────────────────────── PAGE HERO (sem blob — editorial puro) ─────────── */
.page-hero {
  position: relative;
  padding: 56px 0 clamp(48px, 8vw, 96px);
  overflow-x: clip;
  overflow-y: visible;
}
/* (D-AWW-5) blob atmosférico removido — anti-orb, anti-glow ambiental */
.page-hero .shell {
  position: relative;
  z-index: 1;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 80px);
}
.page-hero__copy {
  max-width: 28ch;
}
.page-hero__h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink-0);
  margin-top: 18px;
  margin-left: -0.03em;
  text-wrap: balance;
}
/* Highlight magenta sólido — 1× por página (D-021) */
.page-hero__h1 .mark-magenta {
  background: var(--brand);
  color: #fff;
  padding: 0.04em 0.22em 0.14em;
  display: inline-block;
  line-height: 1.0;
  margin: 0 -0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.page-hero__lede {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--ink-100);
  max-width: 38ch;
}
.page-hero__lede strong {
  color: var(--ink-0);
  font-weight: 500;
}
.page-hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-hero__meta-card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
  isolation: isolate;
}
.page-hero__meta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--line-strong), transparent 50%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.page-hero__meta-card .meta-card__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 18px;
}
.page-hero__meta-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-hero__meta-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-100);
}
.page-hero__meta-card li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--brand);
  transform: rotate(45deg);
}
.page-hero__meta-card li strong {
  color: var(--ink-0);
  font-weight: 500;
}

/* ─────────────────────── PROBLEMAS — GRID EXPOSTO (D-AWW-5) ─────────── */
.problemas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(32px, 5vw, 56px);
}
.problema-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 36px 32px 40px;
  position: relative;
  transition: background var(--dur-2) var(--ease);
}
.problema-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--brand);
}
.problema-card:hover {
  background: var(--surface-2);
  transform: none;
}
.problema-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 24px;
}
.problema-card__quote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--ink-0);
  margin: 0;
  text-wrap: pretty;
}

/* ─────────────────────── ESCOPO (o que faz / não faz) ─────── */
.escopo {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.escopo__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.escopo__item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--dur-2) var(--ease);
}
.escopo__item:hover {
  background: rgba(232, 0, 115, 0.04);
}
.escopo__icon {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.escopo__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--brand);
}
.escopo__body h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-0);
  margin-bottom: 6px;
  line-height: 1.3;
}
.escopo__body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-300);
  text-wrap: pretty;
}

/* "Fora do escopo" — parágrafo destaque, callout 1-lado preto (D-018) */
.escopo-fora {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--surface-1);
  border-left: 3px solid var(--ink-0);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 64ch;
}
.escopo-fora h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 10px;
}
.escopo-fora p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-100);
  text-wrap: pretty;
}
.escopo-fora p strong { color: var(--ink-0); font-weight: 500; }

/* ─────────────────────── DIFERENCIAL ──────────────────────── */
.diferencial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.diferencial__copy h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  margin-bottom: 22px;
  max-width: 18ch;
}
.diferencial__copy h2 .accent { color: var(--brand); }
.diferencial__copy p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-100);
  max-width: 42ch;
  text-wrap: pretty;
}
/* Quote bordada — 4 lados (D-018) */
.quote--bordered {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  isolation: isolate;
}
.quote--bordered::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding-top: 12px;
  border-radius: var(--radius);
}
.quote--bordered blockquote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  color: var(--ink-0);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.quote--bordered__attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quote--bordered__attr strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-0);
}
.quote--bordered__attr span {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-300);
}

/* ─────────────────────── REVIEWS (variante das páginas internas) ──── */
.reviews-svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.review-svc {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.review-svc:hover {
  border-color: var(--line-strong);
  background: var(--surface-3);
}
.review-svc__quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-0);
  font-family: var(--font-body);
  font-weight: 400;
  text-wrap: pretty;
  margin: 0;
}
.review-svc__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.review-svc__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.review-svc__name {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--ink-0);
  font-weight: 500;
  flex: 1;
}
.review-svc__stars {
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ─────────────────────── PAGE-LEVEL TWEAKS ─────────────────── */
/* Eyebrow numerado consistente com home (01..06) */
.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 0;
}
.page-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brand);
}
.page-hero__eyebrow .num {
  color: var(--brand);
}

/* ─────────────────────── RESPONSIVE ─────────────────────── */
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__meta-card { padding: 24px; }
  .problemas-grid { grid-template-columns: 1fr; }
  .escopo { grid-template-columns: 1fr; gap: 32px; }
  .escopo__list { grid-template-columns: 1fr; }
  .diferencial { grid-template-columns: 1fr; gap: 36px; }
  .reviews-svc { grid-template-columns: 1fr; }
  .page-hero__h1 { font-size: clamp(44px, 11vw, 80px); line-height: 0.96; }
}
@media (max-width: 640px) {
  .page-hero { padding: 36px 0 72px; }
  .quote--bordered { padding: 32px 24px 26px; }
  .quote--bordered::before {
    width: 44px; height: 44px;
    font-size: 48px;
    top: -22px;
    padding-top: 8px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   AWWWARDS OVERRIDES (D-AWW-1..5) — Terminal DNA · Grain · Mono
   ═══════════════════════════════════════════════════════════════ */

:root {
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* (D-AWW-2) MONO DNA — metadata, números, índices, timestamps */
.page-hero__eyebrow,
.page-hero__eyebrow .num,
.problema-card__num,
.section__eyebrow,
.section__eyebrow .num,
.cta-final__eyebrow,
.breadcrumb__list,
.review-svc__stars,
.quote--bordered__attr span,
.page-hero__meta-card .meta-card__label {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "ss01" 1;
}

.page-hero__eyebrow,
.section__eyebrow,
.cta-final__eyebrow {
  letter-spacing: 0.14em;
  font-weight: 500;
}

/* (D-AWW-4) META-BAR brutalista — info-architecture exposta */
.meta-bar {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 24px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.meta-bar span:nth-child(2) {
  color: var(--brand);
}

