/* ============================================================
   MINAS PEÇAS JANUÁRIA — Bosch Car Service
   Design system "Clean Service" — inspirado em Shopify Polaris
   Superfícies claras · verde de confiança · azul técnico · cinza neutro
   Tipografia: Bricolage Grotesque (display) · Hanken Grotesk (corpo)
               JetBrains Mono (rótulos técnicos)
   v2 — refatoração de UX/UI (a11y, escala de espaçamento, foco, mobile)
   ============================================================ */

:root {
  /* ---- superfícies ---- */
  --white:   #ffffff;
  --paper:   #fbfbfc;
  --subtle:  #f5f6f8;
  --sunken:  #eef0f3;
  --surface: #ffffff;

  /* ---- linhas ---- */
  --border:      #e5e7eb;
  --border-2:    #d6dae0;

  /* ---- tinta / texto ---- */
  --ink:    #14181d;
  --ink-2:  #3b424b;
  --muted:  #616a75;
  --faint:  #626b76;   /* contraste AA (~5.4:1 no branco) */

  /* ---- verde (marca / primário) ---- */
  --green:      #008060;
  --green-600:  #00735a;
  --green-700:  #005a45;
  --green-800:  #04432f;
  --green-050:  #e7f4ef;
  --green-100:  #d2ebe1;

  /* ---- azul (secundário / técnico) ---- */
  --blue:      #2f6fd4;
  --blue-700:  #1f4f9e;
  --blue-050:  #ecf2fc;

  /* ---- estados ---- */
  --danger:     #c0341d;
  --danger-050: #fdecea;

  /* ---- tipografia ---- */
  --display: 'Bricolage Grotesque', sans-serif;
  --body:    'Hanken Grotesk', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  /* ---- sombras (suaves, Polaris) ---- */
  --sh-1: 0 1px 2px rgba(20,24,29,.06), 0 1px 3px rgba(20,24,29,.05);
  --sh-2: 0 6px 18px rgba(20,24,29,.08);
  --sh-3: 0 18px 44px rgba(20,24,29,.12);

  /* ---- raio ---- */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* ---- escala de espaçamento ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  /* ---- ritmo ---- */
  --pad:  clamp(20px, 5vw, 64px);
  --maxw: 1220px;
  --focus: 0 0 0 3px var(--green-100);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--green-100); color: var(--green-800); }

a { color: inherit; }
img, svg, iframe { display: block; max-width: 100%; }

.mono { font-family: var(--mono); font-weight: 500; }
.accent { color: var(--green); }
.wrap { max-width: var(--maxw); margin-inline: auto; width: 100%; }

/* ---- foco visível consistente (acessibilidade) ---- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---- skip link ---- */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--green); color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .ico-wa { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 8px 20px rgba(0,128,96,.28); transform: translateY(-1px); }

.btn-outline { background: var(--white); color: var(--ink); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--green); color: var(--green-700); background: var(--green-050); }

.btn-light { background: #fff; color: var(--green-700); box-shadow: var(--sh-1); }
.btn-light:hover { background: var(--green-050); transform: translateY(-1px); }

.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: var(--r); }
.btn-xl { padding: 18px 32px; font-size: 17px; border-radius: var(--r); }
.btn-block { width: 100%; }

/* ============ TOPBAR ============ */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.topbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(20,24,29,.02); }
.topbar-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 13px var(--pad);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--green); flex-shrink: 0; }
.brand-text { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -.02em; display: flex; flex-direction: column; gap: 4px; }
.brand-text small { font-family: var(--mono); font-weight: 400; font-size: 9.5px; letter-spacing: .04em; color: var(--faint); }

.mainnav { display: flex; gap: 2px; }
.mainnav a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted);
  padding: 8px 13px; border-radius: var(--r-sm); transition: color .15s, background .15s;
}
.mainnav a:hover { color: var(--ink); background: var(--subtle); }
.mainnav a.active { color: var(--green-700); background: var(--green-050); }

.topbar-actions { display: flex; align-items: center; gap: 16px; }
.tel { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.1; }
.tel-label { font-family: var(--mono); font-weight: 400; font-size: 9.5px; letter-spacing: .02em; color: var(--faint); }
.tel:hover { color: var(--green-700); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(128px, 16vh, 184px) var(--pad) clamp(72px, 10vh, 108px);
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(47,111,212,.08), transparent 62%),
    radial-gradient(55% 60% at 12% 92%, rgba(0,128,96,.09), transparent 60%),
    var(--white);
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-dots {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(20,24,29,.05) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 70% at 60% 35%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 35%, black 20%, transparent 72%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-copy { min-width: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .01em;
  color: var(--green-700); background: var(--green-050);
  border: 1px solid var(--green-100); border-radius: 100px;
  padding: 6px 14px 6px 11px; margin-bottom: 26px;
}
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.035em;
  color: var(--ink); max-width: 15ch; margin-bottom: 24px;
}
.hero-title .char { display: inline-block; }

.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 56ch; margin-bottom: 28px; font-weight: 400; }

.persona-toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--subtle); border: 1px solid var(--border); border-radius: 100px;
  margin-bottom: 30px;
}
.persona {
  font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 100px;
  transition: background .18s, color .18s, box-shadow .18s;
}
.persona.active { background: var(--white); color: var(--green-700); box-shadow: var(--sh-1); }
.persona:not(.active):hover { color: var(--ink); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.hero-badges li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008060' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/11px no-repeat;
}
.only-frota { display: none !important; }
body.mode-frota .only-frota { display: flex !important; }

/* prova social condensada — aparece no mobile (onde o trust card some) */
.hero-proof { display: none; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-proof .hp-stars { color: var(--green); letter-spacing: 2px; font-size: 15px; }
.hero-proof .hp-chip { font-size: 12px; font-weight: 600; color: var(--green-700); background: var(--green-050); border: 1px solid var(--green-100); border-radius: 100px; padding: 5px 12px; }

/* cartão de confiança flutuante */
.hero-trustcard {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 26px 26px 22px; position: relative;
}
.hero-trustcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--green), var(--blue)); }
.htc-badge { display: inline-flex; align-items: baseline; gap: 7px; margin-bottom: 14px; }
.htc-bosch { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--ink); }
.htc-cs { font-size: 13px; font-weight: 600; color: var(--muted); }
.htc-stars { color: var(--green); font-size: 16px; letter-spacing: 3px; margin-bottom: 10px; }
.htc-quote { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.5; margin-bottom: 20px; }
.htc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--border); padding-top: 18px; }
.htc-stats div { text-align: center; }
.htc-stats dt { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--green-700); letter-spacing: -.02em; }
.htc-stats dd { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* indicador de rolagem */
.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid var(--border-2); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px; background: rgba(255,255,255,.5);
}
.hero-scroll span { width: 3px; height: 8px; border-radius: 2px; background: var(--green); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* ============ STATS ============ */
.stats { background: var(--subtle); border-block: 1px solid var(--border); padding: 0 var(--pad); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 42px 26px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--border); padding: 15px 0; }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--faint); white-space: nowrap; }
.marquee-track i { color: var(--green); font-style: normal; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTION BASE ============ */
.section { padding: clamp(72px, 9vw, 128px) var(--pad); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.3vw, 52px); line-height: 1.05; letter-spacing: -.03em;
  color: var(--ink); margin-top: 18px;
}
.section-sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin-top: 16px; font-weight: 400; }
.section-head.center .section-sub { margin-inline: auto; }

/* ============ DIAGNÓSTICO / WIZARD ============ */
.diagnostico { background: linear-gradient(180deg, var(--green-050), var(--paper) 55%); border-top: 1px solid var(--border); }

.wizard {
  max-width: 860px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); padding: clamp(24px, 4vw, 44px);
}

.wizard-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.wp-step { font-size: 12.5px; color: var(--green-700); }
.wp-bar { flex: 1; min-width: 120px; height: 6px; background: var(--sunken); border-radius: 100px; overflow: hidden; }
.wp-fill { height: 100%; width: 33.33%; background: var(--green); border-radius: 100px; transition: width .4s cubic-bezier(.6,0,.2,1); }
.wp-origin { font-size: 11.5px; color: var(--blue-700); background: var(--blue-050); border-radius: 100px; padding: 5px 12px; }

/* fieldset reset */
.wstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wstep.active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.wstep-title { font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.02em; color: var(--ink); margin-bottom: 22px; display: block; float: none; width: 100%; padding: 0; }

.wopts { display: grid; gap: 12px; }
.wopts-4 { grid-template-columns: repeat(4, 1fr); }
.wopts-5 { grid-template-columns: repeat(5, 1fr); }

.wopt {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r);
  color: var(--ink); cursor: pointer; padding: 22px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 600; font-size: 13.5px; line-height: 1.25; text-align: center;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
}
.wopt svg { width: 42px; height: 42px; color: var(--muted); transition: color .16s; }
.wopt:hover { border-color: var(--green); background: var(--green-050); box-shadow: var(--sh-1); transform: translateY(-2px); }
.wopt:hover svg { color: var(--green); }
.wopt.selected, .wopt[aria-pressed="true"] { border-color: var(--green); background: var(--green-050); box-shadow: 0 0 0 3px var(--green-100); }
.wopt.selected svg, .wopt[aria-pressed="true"] svg { color: var(--green); }

/* ---- raio-x 3D (passo 2) ---- */
.diag3d-stage {
  position: relative; border-radius: var(--r); overflow: hidden; margin-bottom: 16px;
  height: clamp(240px, 42vw, 340px);
  background: radial-gradient(60% 60% at 50% 42%, var(--green-050), transparent 70%), var(--subtle);
  border: 1px solid var(--border);
}
#diag3d { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#diag3d:active { cursor: grabbing; }
.diag3d-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-size: 11.5px; color: var(--muted); background: rgba(255,255,255,.85);
  border: 1px solid var(--border); padding: 5px 12px; border-radius: 100px;
  pointer-events: none; transition: opacity .2s; white-space: nowrap;
}
.diag3d-hint.dim { opacity: 0; }
.diag3d-label {
  position: absolute; left: 14px; top: 14px; opacity: 0; transform: translateY(-4px);
  font-weight: 700; font-size: 14px; color: var(--green-800);
  background: #fff; border: 1px solid var(--green-100); box-shadow: var(--sh-1);
  padding: 6px 13px; border-radius: 100px; pointer-events: none; transition: opacity .18s, transform .18s;
}
.diag3d-label.show { opacity: 1; transform: none; }
.diag3d-help { text-align: center; font-size: 11px; color: var(--faint); letter-spacing: .04em; margin-bottom: 12px; }

/* hotspots flutuantes sobre o modelo 3D */
.diag3d-hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.diag3d-hotspot {
  position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; padding: 0;
  border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.92); border: 1.5px solid var(--green);
  box-shadow: var(--sh-1); display: grid; place-items: center; transition: transform .15s, background .15s, opacity .2s;
}
.diag3d-hotspot span { position: relative; width: 10px; height: 10px; }
.diag3d-hotspot span::before, .diag3d-hotspot span::after { content: ''; position: absolute; background: var(--green); border-radius: 2px; }
.diag3d-hotspot span::before { left: 4px; top: 0; width: 2px; height: 10px; }
.diag3d-hotspot span::after { top: 4px; left: 0; height: 2px; width: 10px; }
.diag3d-hotspot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); opacity: .45; animation: hotPulse 2s infinite; }
.diag3d-hotspot:hover { transform: translate(-50%, -50%) scale(1.15); background: var(--green); }
.diag3d-hotspot:hover span::before, .diag3d-hotspot:hover span::after,
.diag3d-hotspot.on span::before, .diag3d-hotspot.on span::after { background: #fff; }
.diag3d-hotspot.on { background: var(--green); }
@keyframes hotPulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }

.diag3d-loading { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; z-index: 4; font-size: 12.5px; color: var(--muted); background: var(--subtle); }
.diag3d-loading.show { display: flex; }
.diag3d-loading::before { content: ''; width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--green-100); border-top-color: var(--green); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.wsys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.wsys-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 16px 8px; color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 12px; line-height: 1.2; text-align: center;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
}
.wsys-btn svg { width: 26px; height: 26px; color: var(--muted); transition: color .16s; }
.wsys-btn:hover, .wsys-btn.hover { border-color: var(--green); background: var(--green-050); transform: translateY(-2px); box-shadow: var(--sh-1); }
.wsys-btn:hover svg, .wsys-btn.hover svg { color: var(--green); }
.wsys-btn[aria-pressed="true"] { border-color: var(--green); background: var(--green-050); box-shadow: 0 0 0 3px var(--green-100); }
.wsys-btn[aria-pressed="true"] svg { color: var(--green); }
@media (max-width: 880px) { .wsys { grid-template-columns: repeat(3, 1fr); } .diag3d-hint { font-size: 11px; } }
@media (max-width: 560px) { .wsys { grid-template-columns: repeat(2, 1fr); } }

/* ---- sintomas contextuais (passo 3) ---- */
.wopts-sint { display: flex; flex-wrap: wrap; gap: 10px; }
.wopt-sint {
  cursor: pointer; background: var(--white); border: 1.5px solid var(--border); border-radius: 100px;
  padding: 11px 18px; font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--ink);
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
}
.wopt-sint:hover { border-color: var(--green); background: var(--green-050); transform: translateY(-1px); }
.wopt-sint.selected, .wopt-sint[aria-pressed="true"] { border-color: var(--green); background: var(--green-050); box-shadow: 0 0 0 3px var(--green-100); }

.wback { margin-top: 20px; background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--body); font-size: 14px; font-weight: 500; border-radius: var(--r-sm); padding: 4px 6px; }
.wback:hover { color: var(--ink); }

.wsummary {
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); line-height: 2;
  background: var(--green-050); border: 1px solid var(--green-100); border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 22px;
}
.wsummary b { color: var(--green-700); font-weight: 600; }

.wform .field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--white); border: 1.5px solid var(--border-2); border-radius: var(--r-sm);
  color: var(--ink); padding: 13px 15px; font-family: var(--body); font-size: 15.5px; outline: none; resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: var(--focus); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-050); }
.field-error { display: none; font-size: 12.5px; font-weight: 600; color: var(--danger); margin-top: 6px; }
.field-error.show { display: block; }
.lgpd-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* sucesso do wizard */
.wizard-success { text-align: center; padding: 12px 0; }
.wizard-success.active { display: block; }
.ws-check { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; animation: pop .4s ease both; }
.ws-check svg { width: 30px; height: 30px; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.wizard-success p { color: var(--muted); max-width: 46ch; margin: 0 auto 22px; }
.wizard-success .btn { margin: 0 auto; }

/* estado de sucesso do formulário de contato (injetado via JS) */
.form-success { text-align: center; padding: 12px 0; }
.form-success .ws-check { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; }
.form-success .ws-check svg { width: 30px; height: 30px; }
.form-success h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 44ch; margin: 0 auto 20px; }
.form-success .btn { margin: 0 auto; }

/* ============ SERVIÇOS ============ */
.servicos { background: var(--paper); }
.cards-servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card-servico {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 15px;
  box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card-servico:hover { border-color: var(--border-2); box-shadow: var(--sh-3); transform: translateY(-5px); }
.cs-num { font-size: 12px; color: var(--faint); }
.cs-iconwrap { width: 60px; height: 60px; border-radius: var(--r); background: var(--green-050); display: grid; place-items: center; }
.cs-icon { width: 34px; height: 34px; color: var(--green); }
.card-servico h3 { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.025em; color: var(--ink); }

.cs-sintomas { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.cs-sintomas li { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--subtle); border: 1px solid var(--border); padding: 4px 11px; border-radius: 100px; }

.card-servico > p { font-size: 15px; color: var(--muted); flex: 1; }
.card-servico > p strong { color: var(--ink); font-weight: 600; }

.cs-foot { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.cs-equip { font-size: 11px; color: var(--blue-700); letter-spacing: -.01em; }

/* ============ GUINCHO ============ */
.guincho {
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(120deg, var(--green-800), var(--green-700));
  padding: clamp(52px, 6.5vw, 84px) var(--pad); color: #fff;
}
.guincho-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.guincho-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px; padding: 6px 14px 6px 12px; margin-bottom: 18px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ff0cf; box-shadow: 0 0 0 0 rgba(127,240,207,.7); animation: pulseDot 1.8s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(127,240,207,.6); } 70% { box-shadow: 0 0 0 8px rgba(127,240,207,0); } 100% { box-shadow: 0 0 0 0 rgba(127,240,207,0); } }
.guincho h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 12px; }
.accent-light { color: #a9ecd6; }
.guincho p { color: rgba(255,255,255,.82); max-width: 470px; font-size: 16px; }

/* ============ EQUIPAMENTOS / SPECS ============ */
.equipamentos { background: var(--subtle); border-block: 1px solid var(--border); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px 22px 20px; box-shadow: var(--sh-1);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.spec:hover { border-color: var(--green-100); box-shadow: var(--sh-2); transform: translateY(-4px); }
.spec-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.spec-model { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.spec-brand { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .04em; color: var(--green-700); background: var(--green-050); border-radius: 100px; padding: 4px 10px; }
.spec-brand.blue { color: var(--blue-700); background: var(--blue-050); }
.spec p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ============ PRODUTOS ============ */
.produtos { background: var(--paper); }
.cards-produtos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-produto {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 11px;
  box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card-produto:hover { border-color: var(--border-2); box-shadow: var(--sh-2); transform: translateY(-4px); }
.cp-cat { font-size: 11px; color: var(--blue-700); background: var(--blue-050); align-self: flex-start; border-radius: 100px; padding: 4px 11px; letter-spacing: -.01em; }
.card-produto h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.card-produto > p { font-size: 14.5px; color: var(--muted); flex: 1; }
.cp-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--green-700); transition: gap .15s, color .15s; align-self: flex-start; border-radius: var(--r-sm); padding: 5px 2px; min-height: 24px; }
.cp-cta:hover { color: var(--green); gap: 10px; }

.card-produto-cta {
  background: linear-gradient(140deg, var(--green), var(--green-700));
  border-color: transparent; color: #fff; justify-content: center; gap: 14px;
}
.card-produto-cta h3 { color: #fff; font-family: var(--display); font-weight: 700; font-size: 24px; }
.card-produto-cta p { color: rgba(255,255,255,.85); }
.card-produto-cta .btn-light { align-self: flex-start; }

/* ============ SOBRE ============ */
.sobre { background: var(--subtle); border-block: 1px solid var(--border); }
.sobre-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sobre-lead { font-size: 18px; color: var(--ink-2); margin: 18px 0 26px; max-width: 54ch; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.checklist li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: ''; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; transform: translateY(3px);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/12px no-repeat;
}
.valores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.valores i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.id-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); padding: 34px 32px; position: relative; overflow: hidden;
}
.id-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.idc-eyebrow { display: block; font-size: 10.5px; letter-spacing: .06em; color: var(--faint); margin-bottom: 12px; text-transform: uppercase; }
.id-card h3 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.025em; color: var(--ink); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.id-card dl { display: flex; flex-direction: column; gap: 16px; }
.id-card dt { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--green-700); text-transform: uppercase; margin-bottom: 3px; }
.id-card dd { font-size: 15.5px; font-weight: 500; color: var(--ink); }

/* ============ INSTAGRAM ============ */
.redes { background: var(--paper); }
.ig-profile {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); padding: 22px 26px; margin-bottom: 24px;
}
.ig-avatar { width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: var(--green); background: var(--green-050); border: 1px solid var(--green-100); }
.ig-avatar svg { width: 30px; height: 30px; }
.ig-info { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 3px; }
.ig-info strong { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.ig-info span { font-size: 13.5px; color: var(--muted); }
.ig-stats { font-size: 13px; color: var(--faint); margin-top: 3px; }
.ig-stats b { color: var(--ink-2); font-weight: 600; }

.ig-vitrine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
/* vitrine em cards da marca (facade) — sempre renderiza, abre no Instagram */
.ig-frame { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ig-frame:hover { border-color: var(--green-100); box-shadow: var(--sh-2); transform: translateY(-4px); }
.ig-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.ig-card-media { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.ig-reel .ig-card-media { background: linear-gradient(155deg, var(--green-600), var(--green-800)); }
.ig-post .ig-card-media { background: linear-gradient(155deg, #244a86, #14181d); }
.ig-card-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 35%, rgba(255,255,255,.14), transparent 70%); }
.ig-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .04em; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 100px; padding: 3px 10px; }
.ig-play { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.55); display: grid; place-items: center; color: #fff; transition: transform .2s, background .2s; }
.ig-play svg { width: 22px; height: 22px; margin-left: 3px; }
.ig-frame:hover .ig-play { background: rgba(255,255,255,.32); transform: scale(1.08); }
.ig-brand { position: absolute; z-index: 2; bottom: 12px; left: 13px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .01em; color: rgba(255,255,255,.92); }
.ig-brand em { font-style: normal; color: #a9ecd6; }
.ig-post .ig-brand em { color: #8fb4f5; }
.ig-card-foot { padding: 13px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ig-card-cap { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ig-open { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 5px; }
.ig-open svg { width: 13px; height: 13px; }
.ig-frame:hover .ig-open { color: var(--green); }
.redes-foot { margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.redes-foot a { color: var(--green-700); font-weight: 600; }
.redes-foot a:hover { color: var(--green); }

/* ============ DEPOIMENTOS ============ */
.depoimentos { background: var(--subtle); border-block: 1px solid var(--border); }
.cards-depo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-depo { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 28px 26px; display: flex; flex-direction: column; gap: 15px; transition: box-shadow .2s, transform .2s; }
.card-depo:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.stars { color: var(--green); font-size: 15px; letter-spacing: 3px; }
.card-depo blockquote { font-size: 16px; color: var(--ink); flex: 1; line-height: 1.55; font-weight: 500; }
.card-depo figcaption { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.depo-note { margin-top: 20px; font-size: 12.5px; color: var(--muted); }

/* ============ CONTATO ============ */
.contato { background: var(--paper); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.urgencia-note { background: var(--green-050); border: 1px solid var(--green-100); border-radius: var(--r); padding: 15px 18px; margin-bottom: 22px; font-size: 14.5px; color: var(--ink-2); }
.urgencia-note strong { color: var(--green-800); }
.urgencia-note a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.contato-form { display: flex; flex-direction: column; }
.contato-form .field { margin-bottom: 16px; }
.lgpd { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 6px; cursor: pointer; }
.lgpd input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; }
.lgpd span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.lgpd abbr { text-decoration: none; border-bottom: 1px dotted var(--faint); }
.contato-form > .field-error { margin: 0 0 14px; }

.mapa-wrap { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); margin-bottom: 24px; aspect-ratio: 16 / 10; }
.mapa-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }

.info-list { font-style: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-item span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--green-700); text-transform: uppercase; margin-bottom: 5px; }
.info-item p { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.info-item a { text-decoration: none; color: var(--ink); }
.info-item a:hover { color: var(--green-700); }

/* ============ FOOTER ============ */
.footer { background: var(--subtle); border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 72px) var(--pad) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.f-brand .brand { margin-bottom: 14px; }
.f-brand p { font-size: 14.5px; color: var(--muted); max-width: 320px; }
.f-col { display: flex; flex-direction: column; gap: 11px; }
.f-title { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.footer a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .15s; }
.f-col a:hover { color: var(--green-700); }
.footer-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); padding: 22px 0; font-size: 13px; color: var(--faint); }
.footer-bar strong { color: var(--ink-2); font-weight: 600; }

/* ============ FAB / BACK-TO-TOP / MOBILE BAR ============ */
.fab-whats {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.fab-whats svg { width: 29px; height: 29px; }
.fab-whats:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37,211,102,.55); }

.backtotop {
  position: fixed; right: 26px; bottom: 92px; z-index: 54;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--border-2);
  box-shadow: var(--sh-2); display: grid; place-items: center;
  transition: transform .2s, background .2s, color .2s, opacity .25s;
}
.backtotop[hidden] { display: none; }
.backtotop svg { width: 20px; height: 20px; }
.backtotop:hover { background: var(--green-050); color: var(--green-700); transform: translateY(-2px); }

.mobilebar {
  position: fixed; inset: auto 0 0 0; z-index: 56; display: none;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
}
.mobilebar-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600;
  padding: 6px 4px; border-radius: var(--r-sm);
}
.mobilebar-btn svg { width: 22px; height: 22px; }
.mobilebar-btn.primary { color: var(--green-700); }
.mobilebar-btn:active { background: var(--subtle); }

/* ============ REVEALS (estado inicial p/ GSAP) ============ */
/* só esconde quando há JS (classe .js aplicada no <head>): sem JS ou com
   erro, o conteúdo continua visível — não depende do GSAP para aparecer. */
html.js .reveal-up, html.js .reveal-card { opacity: 0; }
html.no-gsap .reveal-up, html.no-gsap .reveal-card { opacity: 1; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-trustcard { display: none; }
  .hero-proof { display: flex; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .wopts-5 { grid-template-columns: repeat(3, 1fr); }
  .ig-vitrine { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .mainnav {
    position: fixed; inset: 0; z-index: 49; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .mainnav.open { transform: none; visibility: visible; }

  /* remove backdrop-filter fixo no mobile (custo de composição no scroll) */
  .topbar, .mobilebar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.96); }
  .mainnav a { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); }
  .mainnav a.active { background: transparent; color: var(--green-700); }
  .nav-toggle { display: flex; }
  .tel { display: none; }

  .cards-servicos, .cards-produtos, .cards-depo { grid-template-columns: 1fr; }
  .sobre-grid, .contato-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .wopts-4 { grid-template-columns: repeat(2, 1fr); }
  .wopts-5 { grid-template-columns: repeat(2, 1fr); }
  .guincho-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* barra de ação mobile ativa; FAB some (WhatsApp já está na barra) */
  .mobilebar { display: grid; }
  .fab-whats { display: none; }
  /* respeita a safe-area (home indicator) para não sobrepor nem cobrir conteúdo */
  .backtotop { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); right: 16px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
  .ig-vitrine { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .persona-toggle { width: 100%; }
  .persona { flex: 1; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #hero3d { display: none; }
  .reveal-up, .reveal-card { opacity: 1 !important; transform: none !important; }
  .hero-scroll { display: none; }
}
