/* =========================================================
   MASTERTECH – SOLUÇÕES TÉCNICAS
   Folha de estilos principal (mobile-first)
   Paleta extraída do site original aprovado.
   ========================================================= */

:root {
  /* Cores originais */
  --ink: #191919;
  --ink-2: #201e1b;
  --ink-3: #26231f;
  --muted: #67635f;
  --gold: #c8a166;
  --gold-deep: #a77b3f;
  --gold-text: #8c6b39;      /* dourado com contraste AA sobre branco */
  --gold-pale: #eee0c6;
  --gold-light: #dfc092;
  --line: #e9e5dc;
  --soft: #faf9f6;
  --soft-2: #f6f3ed;
  --white: #ffffff;

  --font-head: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 26px 75px rgba(20, 15, 5, .075);
  --shadow-sm: 0 12px 30px rgba(33, 27, 11, .07);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
  --wrap: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.16; letter-spacing: -.035em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-pale); color: var(--ink); }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--radius); font-weight: 700; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-text); font: 800 11px/1.4 var(--font-head);
  letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-light); }

.section { padding: 80px 0; }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(30px, 6.5vw, 48px); font-weight: 800; margin: 14px 0 16px; }
.section-heading p { color: var(--muted); font-size: 15.5px; max-width: 620px; }
.section-heading.center p { margin-inline: auto; }
.gold-text { color: var(--gold-text); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 24px; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font: 800 12.5px/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
}
.btn::after { /* brilho dourado discreto */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(223, 192, 146, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .12); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .arr { font-size: 17px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-outline { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #d8d3c7; }
.btn-outline:hover { border-color: var(--gold); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn-gold:hover { --btn-bg: var(--gold-light); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Barra superior + Cabeçalho ---------- */
.noticebar {
  height: 32px; background: var(--ink-2); color: #e9dcc8;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  font: 700 9.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.noticebar span { color: #b99051; }

.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* O desfoque fica num pseudo-elemento para não criar bloco de contenção para o menu fixo */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.site-header.is-scrolled { border-color: #eae8e3; box-shadow: 0 8px 30px rgba(20, 15, 5, .05); }
.head-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: block; width: 168px; flex-shrink: 0; padding: 6px 0; }
.brand img { width: 100%; }

.nav-toggle {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1.6px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--nav-top, calc(var(--header-h) + 32px)) 0 0 0; z-index: 99;
  background: #fff; padding: 20px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.main-nav a {
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font: 700 17px/1.3 var(--font-head); letter-spacing: -.01em; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.main-nav a::after { content: '→'; color: var(--gold-deep); font-weight: 400; }
.main-nav a.nav-cta { margin-top: 22px; border: 1px solid var(--ink); color: #fff; justify-content: center; padding: 14px 24px; font: 800 13px/1.2 var(--font-head); letter-spacing: .1em; }
.main-nav .nav-cta::after { content: none; }
.header-cta { display: none; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(112deg, #fff 0%, #fff 52%, #faf7f0 100%);
}
.hero::before {
  content: ''; position: absolute; right: -320px; top: -460px; width: 860px; height: 860px;
  border: 1px solid #e9dac0; border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; right: -200px; top: -340px; width: 620px; height: 620px;
  border: 1px solid #f1e7d6; border-radius: 50%; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; padding: 56px 0 64px; }
.hero h1 {
  font-size: clamp(38px, 9.4vw, 72px); font-weight: 800; letter-spacing: -.055em; line-height: 1.06;
  margin: 22px 0 22px; max-width: 680px;
}
.hero h1 em {
  font-style: normal; display: block;
  background: linear-gradient(135deg, #9c7238 0%, #b08346 55%, #a77b3f 100%); /* tons do dourado original com contraste ≥ 3:1 */
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: #5f5a53; font-size: 16.5px; line-height: 1.8; max-width: 520px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero-trust { display: grid; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #ece4d6; max-width: 540px; }
.hero-trust li { display: flex; gap: 11px; align-items: center; font: 700 12.5px/1.4 var(--font-head); letter-spacing: .02em; color: #3d3934; }
.check {
  width: 20px; height: 20px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%;
  display: inline-grid; place-items: center; color: var(--gold-deep); font-size: 11px; font-weight: 800;
}

.hero-media { position: relative; padding: 18px 14px 26px 22px; width: 100%; max-width: 460px; margin-inline: auto; }
.hero-frame {
  position: absolute; inset: 0 0 8px 8px; border: 1px solid #d9c6a7;
  background: linear-gradient(143deg, rgba(255, 255, 255, .6), #f8f3e9);
}
.hero-frame::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 128px; height: 3px;
  background: linear-gradient(90deg, #a9834a, #e5c994);
}
.hero-photo {
  position: relative; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: #ddd0bb;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero-photo.is-visible img, .no-js .hero-photo img { transform: scale(1); }
.hero-tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: #fff; border: 1px solid #e3d5bb; padding: 11px 15px;
  font: 800 10px/1.3 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
  box-shadow: var(--shadow-sm);
}
.seal {
  position: absolute; right: 0; top: 0; z-index: 2;
  width: 96px; height: 96px; border-radius: 50%; background: var(--ink-3); color: #fff;
  border: 5px solid #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transform: rotate(8deg); box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}
.seal-big { font: 800 19px/1 var(--font-head); color: #d8b881; letter-spacing: .03em; }
.seal-small { font: 700 7px/1.5 var(--font-body); letter-spacing: .16em; margin-top: 4px; }

/* ---------- Faixa de compromissos ---------- */
.commit-strip { background: var(--soft); border-block: 1px solid var(--line); }
.commit-grid { display: grid; }
.commit { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid #e6dfd3; }
.commit:last-child { border-bottom: 0; }
.commit svg { width: 32px; height: 32px; flex-shrink: 0; stroke: var(--gold-deep); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.commit strong { display: block; font: 800 13.5px/1.35 var(--font-head); }
.commit span { font-size: 13px; color: var(--muted); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 44px; align-items: center; }
.about-visual {
  position: relative; background: var(--ink-2); aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden;
}
.about-visual::before, .about-visual::after { content: ''; position: absolute; border: 1px solid rgba(200, 161, 102, .22); }
.about-visual::before { inset: 18px; }
.about-visual::after { inset: 36px; border-color: rgba(200, 161, 102, .1); }
.about-visual img { width: 64%; max-width: 380px; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.about-visual .corner-label {
  position: absolute; z-index: 2; left: 34px; bottom: 30px; color: var(--gold-light);
  font: 800 10px/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase;
}
.about-copy h2 { font-size: clamp(30px, 6.2vw, 46px); font-weight: 800; margin: 14px 0 20px; }
.about-copy > p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.pillar { background: #fff; padding: 20px 18px; }
.pillar svg { width: 28px; height: 28px; stroke: var(--gold-deep); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.pillar strong { display: block; font: 800 13px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pillar span { font-size: 13px; color: var(--muted); line-height: 1.55; display: block; }

/* ---------- Serviços ---------- */
.services { background: var(--soft); }
.service-grid { display: grid; gap: 16px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); padding: 28px 26px 30px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  display: flex; flex-direction: column;
}
.service::before { /* linha dourada animada */
  content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); transition: width .5s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: #d8c19b; box-shadow: 0 20px 44px rgba(33, 27, 11, .08); }
.service:hover::before { width: 100%; }
.service .num { position: absolute; right: 24px; top: 26px; font: 700 12px/1 var(--font-head); color: #a8916a; letter-spacing: .1em; }
.icon-box {
  width: 54px; height: 54px; display: grid; place-items: center; background: #f8f4eb; color: var(--gold-deep);
  margin-bottom: 22px; transition: background .35s, color .35s;
}
.service:hover .icon-box { background: var(--ink); color: var(--gold-light); }
.icon-box svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-cta {
  background: var(--ink); border-color: var(--ink); color: #fff; justify-content: space-between;
}
.service-cta h3 { color: #fff; }
.service-cta p { color: #c9c2b6; margin-bottom: 22px; }
.service-cta:hover { border-color: var(--gold); }
.service-cta .btn { align-self: flex-start; }

/* ---------- Manutenção preventiva ---------- */
.prev-intro { display: grid; gap: 40px; align-items: center; margin-bottom: 56px; }
.prev-photo { position: relative; }
.prev-photo figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; background: #ddd0bb; box-shadow: var(--shadow); }
.prev-photo img { width: 100%; height: 100%; object-fit: cover; }
.prev-photo figcaption {
  font-size: 12px; color: var(--muted); margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--gold);
}
.wear-list { display: grid; gap: 14px; margin-top: 26px; }
.wear-list li { display: flex; gap: 14px; align-items: flex-start; }
.wear-list .wi {
  width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #e0cfae; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep);
}
.wear-list .wi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wear-list strong { display: block; font: 800 14px/1.35 var(--font-head); }
.wear-list span { font-size: 13.5px; color: var(--muted); }

.checklist-wrap { background: #fff; border: 1px solid var(--line); padding: 30px 22px; position: relative; }
.checklist-wrap::before { content: ''; position: absolute; top: -1px; left: 0; width: 120px; height: 3px; background: linear-gradient(90deg, #a9834a, #e5c994); }
.checklist-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.checklist-head h3 { font-size: clamp(22px, 4.6vw, 28px); font-weight: 800; }
.checklist-head p { color: var(--muted); font-size: 14px; }
.checklist { display: grid; gap: 0; counter-reset: step; }
.checklist li {
  counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.5;
}
.checklist li::before {
  content: counter(step, decimal-leading-zero); font: 700 13px/1.5 var(--font-head); color: var(--gold-deep); letter-spacing: .04em;
}
.checklist li small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.note {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--soft-2); border-left: 2px solid var(--gold); padding: 15px 18px; font-size: 13.5px; color: #5f5444;
}
.note svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold-deep); fill: none; stroke-width: 1.6; margin-top: 1px; }

.benefits { display: grid; gap: 14px; margin-top: 56px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.benefit:hover { border-color: #d8c19b; transform: translateY(-3px); }
.benefit svg { width: 30px; height: 30px; flex-shrink: 0; stroke: var(--gold-deep); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; font: 800 15px/1.35 var(--font-head); margin-bottom: 4px; }
.benefit span { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Equipamentos ---------- */
.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.equipment {
  background: #fff; border: 1px solid var(--line); padding: 26px 14px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.equipment:hover { transform: translateY(-4px); border-color: #d8c19b; box-shadow: var(--shadow-sm); }
.equipment .eq-icon { width: 76px; height: 64px; color: #ab8755; transition: color .3s; }
.equipment:hover .eq-icon { color: var(--gold-deep); }
.equipment svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.equipment h3 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.equipment p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.equipment-caption { color: var(--muted); font-size: 13px; margin-top: 22px; text-align: center; }

/* ---------- Processo (escuro) ---------- */
.process { background: var(--ink-2); color: #fff; position: relative; overflow: hidden; }
.process::before {
  content: ''; position: absolute; left: -260px; bottom: -380px; width: 700px; height: 700px; border-radius: 50%;
  border: 1px solid rgba(200, 161, 102, .14); pointer-events: none;
}
.process .section-heading h2 { color: #fff; }
.process .section-heading p { color: #c9c2b6; }
.process-grid { display: grid; gap: 22px; position: relative; }
.step { border-top: 1px solid #655843; padding-top: 22px; }
.step .num { font: 700 38px/1 var(--font-head); color: #b99760; margin-bottom: 14px; }
.step h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; font-weight: 700; }
.step p { color: #c2bbb0; font-size: 14px; line-height: 1.8; }

/* ---------- Em ação: vídeos e fotos ---------- */
.video-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.video-card { margin: 0; scroll-snap-align: start; background: var(--ink); border: 1px solid #2c2925; min-width: 0; }
.video-card video { width: 100%; aspect-ratio: 9 / 16; height: auto; display: block; background: #111; object-fit: cover; }
.video-card figcaption { padding: 14px 16px 16px; color: #fff; }
.video-card figcaption strong { display: block; font: 800 14px/1.35 var(--font-head); color: var(--gold-light); }
.video-card figcaption span { font-size: 13px; color: #c9c2b6; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.photo-grid figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #ddd0bb; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(20, 18, 15, .78)); color: #fff; font: 700 12.5px/1.3 var(--font-head);
}

/* ---------- Antes e depois ---------- */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.ba-cell { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.ba-cell img { width: 100%; height: 100%; object-fit: cover; }
.ba-compare { aspect-ratio: 1 / 1 !important; }
.ba-grid { display: grid; gap: 22px; align-items: start; }
.ba-card { margin: 0; background: #fff; border: 1px solid var(--line); }
.ba-card figcaption { padding: 16px 18px; }
.ba-card figcaption strong { display: block; font: 800 15px/1.35 var(--font-head); }
.ba-card figcaption span { font-size: 13px; color: var(--muted); }
.ba-compare {
  --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-compare .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-compare .ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.ba-compare .ba-handle::after {
  content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-light); border: 2px solid #fff;
  display: grid; place-items: center; font: 700 16px/1 var(--font-head); letter-spacing: 2px;
}
.ba-compare input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0;
}
.ba-compare input[type=range]:focus-visible + .ba-handle::after { outline: 3px solid var(--gold); outline-offset: 2px; }
.ba-label {
  position: absolute; top: 12px; z-index: 2; background: rgba(25, 25, 25, .78); color: #fff;
  font: 800 10px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; pointer-events: none;
}
.ba-label.l { left: 12px; } .ba-label.r { right: 12px; background: var(--gold); color: var(--ink); }
.ba-empty {
  border: 1px dashed #d6c5a6; background: var(--soft); padding: 40px 24px; text-align: center; display: grid; justify-items: center; gap: 14px;
}
.ba-empty svg { width: 44px; height: 44px; stroke: var(--gold-deep); fill: none; stroke-width: 1.3; }
.ba-empty h3 { font-size: 21px; font-weight: 800; }
.ba-empty p { color: var(--muted); font-size: 14.5px; max-width: 520px; }

/* ---------- Certificado (escuro) ---------- */
.certificate { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cert-grid { display: grid; gap: 44px; align-items: center; position: relative; z-index: 1; }
.certificate h2 { color: #fff; }
.certificate .section-heading p { color: #c9c2b6; }
.cert-steps { display: grid; gap: 0; margin-top: 8px; }
.cert-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.cert-steps .n {
  width: 36px; height: 36px; border: 1px solid rgba(200, 161, 102, .55); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light); font: 700 13px/1 var(--font-head);
}
.cert-steps strong { display: block; font: 700 15.5px/1.35 var(--font-head); margin-bottom: 3px; }
.cert-steps span { color: #b9b2a6; font-size: 13.5px; line-height: 1.6; }
.cert-warning {
  margin-top: 24px; padding: 16px 18px; border: 1px solid rgba(200, 161, 102, .35); background: rgba(200, 161, 102, .06);
  color: #e6dccb; font-size: 13.5px; line-height: 1.65; display: flex; gap: 12px;
}
.cert-warning svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold); fill: none; stroke-width: 1.6; margin-top: 2px; }
.cert-card {
  position: relative; background: linear-gradient(160deg, #2a2621 0%, #1d1b18 100%);
  border: 1px solid rgba(200, 161, 102, .4); padding: 34px 26px; text-align: center; box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
  max-width: 440px; margin-inline: auto; width: 100%;
}
.cert-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(200, 161, 102, .18); pointer-events: none; }
.cert-card img { width: 92px; margin: 0 auto 18px; }
.cert-card .cert-title { font: 800 11px/1.4 var(--font-head); letter-spacing: .3em; color: var(--gold-light); text-transform: uppercase; }
.cert-card .cert-name { font: 800 26px/1.15 var(--font-head); letter-spacing: -.03em; margin: 10px 0 16px; }
.cert-card .cert-line { width: 60px; height: 1px; background: var(--gold); margin: 0 auto 16px; }
.cert-card p { color: #b9b2a6; font-size: 13px; line-height: 1.65; }
.cert-card .cert-badge {
  display: inline-flex; margin-top: 20px; padding: 8px 14px; border: 1px solid rgba(200, 161, 102, .45);
  font: 800 9.5px/1 var(--font-head); letter-spacing: .2em; color: var(--gold-light); text-transform: uppercase;
}

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--soft); }
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.t-card {
  scroll-snap-align: start; background: #fff; border: 1px solid #e6ddce; padding: 26px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.t-card .quote { color: var(--gold-deep); font: 400 46px/0.6 Georgia, serif; height: 22px; }
.t-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.t-card .shot { background: #f7f4ed; border: 1px solid #f0ebe2; border-radius: 8px; padding: 10px; }
.t-card .shot img { width: 100%; border-radius: 4px; }
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p { font-size: 15px; line-height: 1.75; color: #3b3732; }
.t-card .t-meta { display: flex; gap: 9px; align-items: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 40px; height: 40px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.carousel-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d8cdb8; transition: width .3s var(--ease), background .3s; }
.carousel-dots button[aria-current="true"]::before { width: 24px; border-radius: 4px; background: var(--gold-deep); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 46px; height: 46px; border: 1px solid #d8d3c7; background: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; transition: border-color .2s, background .2s;
}
.carousel-arrows button:hover:not(:disabled) { border-color: var(--gold); background: var(--soft); }
.carousel-arrows button:disabled { opacity: .35; cursor: default; }
.disclaimer { margin-top: 22px; color: #6f6a62; font-size: 12px; max-width: 900px; line-height: 1.6; }

/* ---------- Regiões ---------- */
.regions-box {
  display: grid; gap: 34px; background: #fff; border: 1px solid var(--line); padding: 32px 22px; position: relative; overflow: hidden;
}
.regions-box::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid #efe3cf; pointer-events: none;
}
.regions-copy h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.regions-copy p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.route-points { display: grid; gap: 10px; margin-top: 18px; }
.route-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.route-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex-shrink: 0; box-shadow: 0 0 0 4px #f4ead8; }
.city-check { position: relative; z-index: 1; display: grid; gap: 14px; align-content: start; background: var(--soft); border: 1px solid var(--line); padding: 24px 20px; }
.city-check h3 { font-size: 18px; font-weight: 800; }
.city-check .row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 6px; }
.field label { font: 700 12.5px/1.3 var(--font-head); letter-spacing: .02em; color: #2c2925; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d9d3c6; border-radius: var(--radius);
  background: #fff; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  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' stroke='%23a77b3f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9b58f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(200, 161, 102, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: 12.5px; font-weight: 600; min-height: 0; }
.field .error:empty { display: none; }
.form-grid { display: grid; gap: 16px; }
.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
.radio-group legend { font: 700 12.5px/1.3 var(--font-head); color: #2c2925; margin-bottom: 8px; padding: 0; }
.radio-group label {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 10px 12px; border: 1px solid #d9d3c6; border-radius: var(--radius); background: #fff;
  font: 700 13px/1.25 var(--font-head); cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.radio-group input { position: absolute; opacity: 0; pointer-events: none; }
.radio-group label:hover { border-color: #c9b58f; }
.radio-group input:checked + span { color: var(--ink); }
.radio-group label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.radio-group label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-status { font-size: 14px; font-weight: 600; padding: 14px 16px; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.ok { background: #f3ede0; color: #4b3e27; border: 1px solid #e2d3b3; }
.form-status.err { background: #fbeceb; color: #8c1d18; border: 1px solid #f0c9c6; }
.form-status a { text-decoration: underline; font-weight: 800; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.form-note a { text-decoration: underline; }

/* ---------- Contato ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.contact-grid { display: grid; gap: 40px; }
.contact-info h2 { font-size: clamp(30px, 6.4vw, 46px); font-weight: 800; margin: 14px 0 18px; }
.contact-info > p { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.contact-channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease);
}
.channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel .ci { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); border-radius: 50%; }
.channel .ci svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.channel small { display: block; font: 800 10px/1.3 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.channel strong { font: 800 16px/1.3 var(--font-head); }
.contact-form { background: #fff; border: 1px solid var(--line); padding: 28px 20px; box-shadow: var(--shadow); position: relative; }
.contact-form::before { content: ''; position: absolute; top: -1px; left: 0; width: 120px; height: 3px; background: linear-gradient(90deg, #a9834a, #e5c994); }
.contact-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 22px 4px 22px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font: 700 15.5px/1.45 var(--font-head); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid #e0d3bb; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-deep); font-size: 20px; font-weight: 300; transition: transform .3s var(--ease), background .3s;
}
.faq-list details[open] summary::after { content: '−'; background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.faq-list .answer { padding: 0 44px 22px 0; color: #66605a; font-size: 14.5px; line-height: 1.8; }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(120deg, #f5efdf 0%, #fffaf0 54%, #efe2cb 100%);
  border-block: 1px solid #e7d9be;
}
.cta-box { display: grid; gap: 26px; padding: 60px 0; }
.cta-box h2 { font-size: clamp(28px, 5.6vw, 44px); font-weight: 800; max-width: 700px; margin: 12px 0 12px; }
.cta-box p { color: #6f6557; font-size: 15px; max-width: 600px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #cfc8bc; padding: 60px 0 28px; }
.footer-top { display: grid; gap: 36px; }
.footer-logo { width: 190px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; line-height: 1.75; max-width: 320px; color: #b3ac9f; }
.footer-col h4 { font: 800 11px/1.4 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: #cfc8bc; margin-bottom: 10px; line-height: 1.5; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 24px;
  display: grid; gap: 10px; font-size: 12.5px; color: #8f897e;
}
.footer-bottom a { text-decoration: underline; display: inline-block; padding: 10px 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 10px; padding: 14px;
  background: var(--ink-3); color: #fff; border: 1px solid #b1935c; border-radius: 99px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22); font: 800 12.5px/1 var(--font-head); letter-spacing: .04em;
  transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: #e3c490; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:hover { background: #3c3329; transform: translateY(-3px); }
.wa-float .wa-text { display: none; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal { transform: translateY(18px); }

/* ---------- Páginas internas (política, 404) ---------- */
.page-simple { padding: 64px 0 90px; }
.page-simple .wrap { max-width: 820px; }
.page-simple h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 800; margin: 14px 0 20px; }
.page-simple h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.page-simple p, .page-simple li { color: #4f4a44; font-size: 15.5px; line-height: 1.8; }
.page-simple p + p { margin-top: 12px; }
.page-simple ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.page-simple a { color: var(--gold-text); text-decoration: underline; }
.page-simple .updated { color: var(--muted); font-size: 13px; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 560px) {
  .hero-actions, .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .equipment-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
  .radio-group { grid-template-columns: repeat(4, 1fr); }
  .wa-float { padding: 14px 20px; }
  .wa-float .wa-text { display: inline; }
  .carousel-track { grid-auto-columns: calc(50% - 8px); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .commit-grid { grid-template-columns: repeat(3, 1fr); }
  .commit { border-bottom: 0; border-right: 1px solid #e6dfd3; padding: 24px 18px; }
  .commit:first-child { padding-left: 0; }
  .commit:last-child { border-right: 0; }
  .seal { width: 118px; height: 118px; border-width: 6px; }
  .seal-big { font-size: 24px; } .seal-small { font-size: 8.5px; }
}

@media (min-width: 760px) {
  .section { padding: 104px 0; }
  .section-heading { margin-bottom: 52px; }
  .hero-trust { grid-template-columns: repeat(3, auto); gap: 22px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-auto-columns: calc(33.333% - 10px); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checklist-wrap { padding: 44px 44px; }
  .checklist { grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .regions-box { grid-template-columns: 1.15fr .85fr; padding: 48px; align-items: center; }
  .contact-form { padding: 38px 34px; }
  .footer-top { grid-template-columns: 1.1fr 2fr; gap: 60px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
  .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 72px 0; }
  .cta-actions { flex-direction: column; }
}

@media (min-width: 1024px) {
  :root { --header-h: 86px; }
  .brand { width: 210px; }

  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; min-height: 640px; padding: 72px 0 84px; }
  .hero-media { padding: 34px 18px 36px 40px; max-width: 480px; margin: 0 0 0 auto; }
  .hero-frame { inset: 0 0 12px 12px; }
  .seal { width: 140px; height: 140px; border-width: 7px; right: -10px; top: auto; bottom: 0; }
  .seal-big { font-size: 28px; } .seal-small { font-size: 10px; }
  .hero-tag { left: 0; bottom: auto; top: 0; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service { min-height: 300px; }
  .prev-intro { grid-template-columns: 1fr 1fr; gap: 72px; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit { flex-direction: column; }
  .equipment-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .cert-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .carousel-track { grid-auto-columns: calc(33.333% - 11px); }
  .video-grid { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .contact-info { position: sticky; top: calc(var(--header-h) + 30px); }
  .wa-float { right: 26px; bottom: 26px; }
}

/* Menu completo só a partir de 1200px (abaixo disso, menu em gaveta) */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; gap: 28px; opacity: 1; visibility: visible; transform: none;
  }
  .main-nav a {
    padding: 14px 0; border: 0; font: 700 12.5px/1 var(--font-body); color: #534e48; position: relative; letter-spacing: .01em;
  }
  .main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 6px; height: 1px; width: 100%; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
  }
  .main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
  .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
  .main-nav .nav-cta { display: none; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 12px 20px; font-size: 11.5px; }
}

@media (min-width: 1280px) {
  .main-nav { gap: 34px; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-photo img { transform: none; }
  .carousel-track { scroll-behavior: auto; }
}

/* Impressão */
@media print {
  .noticebar, .site-header, .wa-float, .carousel-controls, .contact-form, .city-check { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}
