/* D&M Informática — estilos do site estático (convertido do Claude Design) */

:root {
  --c-bg: #0B0B0C;
  --c-bg-raised: #121214;
  --c-bg-panel: #161618;
  --c-paper: #F3F0EA;
  --c-white: #FFFFFF;
  --c-ink: #141414;
  --c-red: #D63A2F;
  --c-red-dark: #B8291F;
  --c-red-bright: #E03A2F;
  --c-error: #F28B82;
  --c-muted-dark: #A6A29A;
  --c-soft-dark: #C9C5BD;
  --c-muted-light: #6B6760;
  --c-body-light: #3B3A38;
  --c-line-light: #D9D4CB;
  --c-line-light-2: #E6E1D8;
  --c-line-dark: rgba(255, 255, 255, 0.12);
  --c-line-dark-2: rgba(255, 255, 255, 0.18);
  --c-line-dark-3: rgba(255, 255, 255, 0.28);
  --c-line-header: rgba(255, 255, 255, 0.1);

  --font-sans: 'Archivo', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 2px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 599px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  text-wrap: pretty;
  -webkit-tap-highlight-color: rgba(214, 58, 47, 0.2);
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-red-bright); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; }
h1, h2, h3 { text-wrap: balance; }

@media (hover: hover) {
  a:hover { color: var(--c-red); }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--c-paper);
  color: var(--c-ink);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--c-red-bright);
}

.accent { color: var(--c-red-bright); }

/* ---------- Seções e tipografia ---------- */

.section { padding: 104px 0; }
.section--dark { background: var(--c-bg); color: var(--c-paper); }
.section--panel { background: var(--c-bg-panel); color: var(--c-paper); }
.section--light { background: var(--c-paper); color: var(--c-ink); }

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}
.eyebrow::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  background: var(--c-red-bright);
}
.section--light .eyebrow { color: var(--c-muted-light); }
.section--light .eyebrow::before { background: var(--c-red); }

.h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  max-width: 48ch;
}
.section--dark .lead { color: var(--c-soft-dark); }
.section--light .lead { color: var(--c-body-light); }

.split-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px 64px;
  align-items: end;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px clamp(32px, 5vw, 80px);
  align-items: start;
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary { background: var(--c-red); color: var(--c-white); }
.btn--primary:active { background: var(--c-red-dark); }

.btn--ghost { border-color: var(--c-line-dark-3); color: var(--c-paper); }

.btn--outline {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (hover: hover) {
  .btn--primary:hover { background: var(--c-red-dark); color: var(--c-white); }
  .btn--ghost:hover { border-color: var(--c-paper); color: var(--c-paper); }
  .btn--outline:hover { border-color: var(--c-red-dark); color: var(--c-red-dark); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-red-dark);
  border-bottom: 1px solid var(--c-red-dark);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line-header);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-loc {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-soft-dark);
}
.site-nav a { padding: 6px 0; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--c-line-dark-2);
  border-radius: var(--radius);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) 20px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line-header);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line-header);
  font-size: 18px;
  font-weight: 600;
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 1023px) {
  .site-nav, .brand-loc { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 399px) {
  .cta-long { display: none; }
}

/* ---------- Mídia ---------- */

.figure { margin: 0; min-width: 0; }

.frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--c-bg-raised);
}
.frame--light { border-color: var(--c-line-light); background: var(--c-white); }
.frame--tight { padding: 6px; }
.frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.frame--portrait img { aspect-ratio: 3 / 4; }
.frame--contain img { object-fit: contain; }

.caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-muted-dark);
}
.section--light .caption { color: var(--c-muted-light); }
.caption--sm { margin-top: 10px; font-size: 11px; }
.caption--dot { display: flex; gap: 10px; }
.caption--dot .dot { margin-top: 6px; }
.section--light .caption--dot .dot { background: var(--c-red); }

/* ---------- Início ---------- */

.hero { padding: calc(var(--header-h) + 64px) 0 120px; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero .eyebrow { margin-bottom: 28px; }

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 8vw, 56px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h1-br { display: none; }

.hero-lead {
  margin: 0 0 32px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--c-soft-dark);
  max-width: 54ch;
}

.rating-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 36px;
  padding: 10px 14px;
  border: 1px solid var(--c-line-dark-2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-paper);
  transition: border-color 0.15s ease;
}
.rating-chip strong { font-weight: 500; }
.stars { color: var(--c-red-bright); letter-spacing: 0.1em; }

@media (hover: hover) {
  .rating-chip:hover { border-color: var(--c-red-bright); color: var(--c-paper); }
}

.hero-figure { width: 100%; max-width: 440px; justify-self: end; }

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--c-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-paper);
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(40px, 3.6vw, 54px); text-wrap: initial; }
  .h1-br { display: inline; }
  .h1-line { white-space: nowrap; }
}

@media (max-width: 1023px) {
  .hero-figure { max-width: none; justify-self: stretch; }
  .hero-figure .frame img { aspect-ratio: 4 / 3; max-height: 60vh; object-position: center 48%; }
}

/* ---------- Serviços ---------- */

.section--services { padding: 0 0 96px; }

.stats {
  position: relative;
  z-index: 2;
  margin: -64px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-line-dark);
  border: 1px solid var(--c-line-dark);
  color: var(--c-paper);
}
.stats > div { padding: 28px 28px 24px; background: var(--c-bg-panel); }
.stats dt { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stats dd {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

@media (min-width: 480px) and (max-width: 1023px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.svc-intro { padding: 96px 0 24px; }

.svc-list { margin-top: 32px; }

.svc {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 40px 0;
  border-top: 1px solid var(--c-line-light);
}
.svc:last-child { border-bottom: 1px solid var(--c-line-light); }

.svc-num {
  flex: 0 0 56px;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--c-red-dark);
}

.svc-body { flex: 1 1 320px; min-width: 0; }
.svc-body h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.svc-desc {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-body-light);
  max-width: 56ch;
}
.svc-tags {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted-light);
}

.svc-media {
  flex: 0 1 420px;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.svc-media--single { flex-basis: 300px; grid-template-columns: 1fr; }

/* ---------- Para empresas ---------- */

.empresas-copy .h2 { margin-bottom: 24px; }
.empresas-copy .lead { margin-bottom: 32px; max-width: 54ch; }

.num-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.num-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--c-line-dark);
  font-size: 16px;
  line-height: 1.5;
}
.num-list li:last-child { border-bottom: 1px solid var(--c-line-dark); }
.num-list .n {
  flex: 0 0 28px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-red-bright);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.quote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--c-line-dark);
  background: var(--c-bg-raised);
}
.quote p { margin: 0 0 16px; font-size: 17px; line-height: 1.5; }
.quote footer,
.review footer {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted-dark);
}
.quote cite,
.review cite { font-style: normal; color: var(--c-paper); }

.quote--light { border-color: var(--c-line-light); background: var(--c-white); }
.quote--light p { font-size: 16px; }
.quote--light footer { color: var(--c-muted-light); }
.quote--light cite { color: var(--c-ink); }

.media-stack { display: flex; flex-direction: column; gap: 24px; }
.media-stack .figure--small { width: 100%; max-width: 300px; align-self: flex-end; }

/* ---------- Monte seu PC ---------- */

.montagem-head { margin-bottom: 56px; }

.montagem-grid { gap: 40px clamp(32px, 5vw, 80px); }

.montagem-side { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.montagem-side > .btn { align-self: flex-start; }

.spec { border: 1px solid var(--c-ink); background: var(--c-white); }
.spec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-head .tag { color: var(--c-red-dark); }
.spec dl {
  margin: 0;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr;
  gap: 0 20px;
  font-size: 15px;
}
.spec dt,
.spec dd { padding: 12px 0; border-bottom: 1px solid var(--c-line-light-2); }
.spec dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.spec dd { margin: 0; font-weight: 600; }
.spec dt:last-of-type,
.spec dd:last-of-type { border-bottom: 0; }

.kit-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px;
  align-items: start;
}

/* ---------- Como funciona ---------- */

.steps-head { margin-bottom: 48px; }
.steps-head .h2 { max-width: 20ch; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--c-line-dark);
  border: 1px solid var(--c-line-dark);
}
.steps li { padding: 32px 28px; background: var(--c-bg-panel); }
.steps .n {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-red-bright);
}
.steps h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.2; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-soft-dark); }

/* ---------- Avaliações ---------- */

.reviews-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 48px;
}

.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 20px; }
.score-num {
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.score-stars { color: var(--c-red); font-size: 22px; letter-spacing: 0.12em; line-height: 1; }
.score-count {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted-light);
}

.reviews-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.reviews-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--c-line-light);
  border: 1px solid var(--c-line-light);
}

.review {
  margin: 0;
  padding: 28px;
  background: var(--c-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.review p { margin: 0; font-size: 18px; line-height: 1.5; }
.review footer { color: var(--c-muted-light); }
.review cite { color: var(--c-ink); }

@media (min-width: 600px) and (max-width: 1023px) {
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Contato ---------- */

.contato-copy .h2 { margin-bottom: 24px; }
.contato-copy .lead { margin-bottom: 36px; max-width: 50ch; }

.contact-list { margin: 0 0 36px; display: flex; flex-direction: column; }
.contact-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line-dark);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--c-line-dark); }
.contact-list dt {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}
.contact-list dd { margin: 0; font-size: 16px; line-height: 1.5; }
.contact-list dd a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* Formulário que monta a mensagem do WhatsApp */

.wa-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line-dark);
}

.form-kicker,
.preview-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}
.preview-label { margin: 0; letter-spacing: 0.08em; }

.form-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.form-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-muted-dark); }

.field { display: flex; flex-direction: column; gap: 8px; }

.label,
.wa-form legend {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-soft-dark);
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-dark-2);
  border-radius: var(--radius);
  color: var(--c-paper);
  font-size: 16px; /* 16px evita o zoom automático do iOS ao focar */
  transition: border-color 0.15s ease;
}
.input:focus { border-color: var(--c-red-bright); }
.input::placeholder { color: #7D7971; opacity: 1; }
.input[aria-invalid="true"] { border-color: var(--c-error); }

select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9C5BD' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
select.input option { background: var(--c-bg); color: var(--c-paper); }

textarea.input { min-height: 120px; line-height: 1.5; resize: vertical; }

.error { margin: 0; font-size: 14px; color: var(--c-error); }
.error[hidden] { display: none; }

.wa-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wa-form legend { padding: 0; margin-bottom: 10px; }

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--c-line-dark-2);
  border-radius: var(--radius);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.radio:has(input:checked) { border-color: var(--c-red-bright); }
.radio input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--c-red);
}

@media (hover: hover) {
  .radio:hover { border-color: rgba(255, 255, 255, 0.4); }
  .radio:has(input:checked):hover { border-color: var(--c-red-bright); }
}

.preview { display: flex; flex-direction: column; gap: 8px; }
.preview pre {
  margin: 0;
  padding: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-soft-dark);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: 64px 0 40px;
  background: #000000;
  color: var(--c-paper);
  border-top: 1px solid var(--c-line-header);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px;
}

.footer-logo { height: 64px; width: auto; margin-bottom: 20px; }
.footer-name { margin: 0; font-weight: 700; font-size: 18px; }
.footer-tag { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--c-muted-dark); }

.footer-col { font-size: 15px; line-height: 1.6; color: var(--c-soft-dark); }
.footer-col p { margin: 0; }
.footer-col p + p { margin-top: 12px; }

.footer-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 15px;
  color: var(--c-soft-dark);
}
.footer-nav .footer-label { margin-bottom: 6px; }
.footer-nav a { padding: 4px 0; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-header);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted-dark);
}

@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* ---------- Animação de entrada ---------- */

.reveal-anim { transition: opacity 0.28s ease-out, transform 0.28s ease-out; }
.reveal-pending { opacity: 0.001; transform: translateY(12px); }

/* ---------- Ajustes para celular ---------- */

@media (max-width: 639px) {
  .section { padding: 72px 0; }
  .section--services { padding: 0 0 72px; }
  .svc-intro { padding: 64px 0 8px; }
  .svc-list { margin-top: 24px; }

  .svc { gap: 12px 0; padding: 32px 0; }
  .svc-num { flex-basis: 100%; padding-top: 0; }
  .svc-media,
  .svc-media--single { flex-basis: 100%; margin-top: 12px; }

  .montagem-head { margin-bottom: 40px; }
  .steps-head { margin-bottom: 32px; }
  .steps li { padding: 24px 20px; }
  .steps .n { margin-bottom: 16px; }
  .reviews-head { margin-bottom: 32px; }
}

@media (max-width: 599px) {
  .hero { padding: calc(var(--header-h) + 40px) 0 104px; }
  .hero .eyebrow { margin-bottom: 20px; }
  .rating-chip { margin-bottom: 28px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .btn-row .btn { flex: 1 1 100%; }

  .montagem-side > .btn,
  .empresas-copy > .btn { align-self: stretch; width: 100%; }

  .quote { padding: 20px; }
  .spec dl { padding: 4px 16px; gap: 0 14px; }
  .spec-head { padding: 14px 16px; }
  .wa-form { padding: 20px; }
}

@media (max-width: 479px) {
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dt { padding-top: 0; }
}

/* ---------- Página 404 ---------- */

.page-404 { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; }
.page-404 .h2 { margin-bottom: 20px; }
.page-404 .lead { margin-bottom: 32px; }
