/* =========================================================
   WMOTO — Landing page
   Paleta: grafite (primária) · off-white (neutro) · laranja (SÓ botões de ação)
   Detalhe: verde Brasil/Selo PIM
   ========================================================= */

:root {
  --ink: #0e0f11;
  --graphite: #17191c;
  --graphite-2: #212429;
  --graphite-3: #2c3036;
  --steel: #383838;

  --paper: #f3f2ef;
  --white: #ffffff;
  --text: #1a1c1f;
  --muted: #555a61;
  --line: #e2e0db;

  --on-dark: #f4f4f2;
  --on-dark-muted: #b4b8bf;
  --line-dark: #30343a;

  --green: #00743e;
  --green-lt: #3ec27a;

  --cta: #ff8f1f;
  --cta-hover: #ff7a00;
  --cta-ink: #1b1003;

  --f-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Assinatura visual: cantos assimétricos inspirados nas letras da logo */
  --r-sig: 6px 6px 28px 6px;
  --r-sm: 6px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(72px, 10vw, 128px);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-lt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; margin-top: 48px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--text); padding: 10px 16px; z-index: 200; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* Etiqueta de seção com o "colchete" da logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 12px; flex: none;
  border: 2.5px solid var(--green); border-top: 0; border-radius: 0 0 6px 6px;
}
.eyebrow--light { color: var(--on-dark-muted); }
.eyebrow--light::before { border-color: var(--green-lt); }
.flag-dot { display: none; }

/* ---------- Botões (laranja = só ação) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: var(--r-sig);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn--cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 20px -8px rgba(255, 143, 31, .55); }
.btn--cta:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(255, 122, 0, .7); }
.btn--cta .ic { transition: transform .2s ease; }
.btn--cta:hover .ic { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark-muted); transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.06rem; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- 1. Menu fixo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header);
  background: rgba(14, 15, 17, .82);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.topbar.is-scrolled { background: rgba(14, 15, 17, .96); border-color: var(--line-dark); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green-lt); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- 2. Primeira tela ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1000px 600px at 78% 40%, #2b2f35 0%, rgba(43, 47, 53, 0) 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--graphite) 100%);
  padding: calc(var(--header) + clamp(32px, 6vw, 72px)) 0 clamp(48px, 7vw, 88px);
}
.hero__lines {
  position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(255, 255, 255, .045) 25px 26px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); max-width: 19ch; text-wrap: pretty; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .13em; background: var(--green-lt); border-radius: 0 0 6px 6px; opacity: .9; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--on-dark-muted); max-width: 56ch; margin: 22px 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.micro { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0; font-size: .9rem; color: var(--on-dark-muted); }
.micro .ic { width: 16px; height: 16px; color: var(--green-lt); }
.hero__media { position: relative; }
.hero__glow { position: absolute; inset: 12% 6% 4% 6%; background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); filter: blur(8px); }
.hero__media img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero__tag {
  position: absolute; left: 4%; bottom: 4%;
  display: flex; flex-direction: column; padding: 10px 16px;
  background: rgba(23, 25, 28, .82); border: 1px solid var(--line-dark); border-radius: var(--r-sig);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__tag strong { font-family: var(--f-head); font-size: .98rem; color: var(--white); }
.hero__tag span { font-size: .82rem; color: var(--on-dark-muted); }

/* ---------- 3. Faixa de credibilidade ---------- */
.proof { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 28px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 12px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--text); }
.stats span:not([data-count]) { font-size: .92rem; color: var(--muted); }
.clients { margin-top: 36px; padding-top: 28px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.clients__label { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clients__logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; justify-content: center; }
.clients__logos img { height: 36px; width: auto; max-width: 150px; object-fit: contain; }
.clients__logos li:nth-child(3) img { height: 46px; }
.footnote { margin: 22px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Seções ---------- */
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--paper); }
.sec--dark { background: var(--graphite); color: var(--on-dark); }
.sec--dark h2, .sec--dark h3 { color: var(--white); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 4. Problema */
.pain { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sig); padding: 28px 24px; }
.pain .ic--lg { color: var(--steel); margin-bottom: 16px; }
.pain h3 { font-size: 1.12rem; }
.pain p { color: var(--muted); font-size: .98rem; margin: 0; }
.bridge { margin: 48px 0 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); display: flex; align-items: center; gap: 16px; }
.bridge::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--green), transparent); }

/* 5. Por que nós */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sig);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .seg:hover, .pain:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(23, 25, 28, .35); }
.pain, .seg { transition: transform .25s ease, box-shadow .25s ease; }
.card__ic {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  background: var(--graphite); color: var(--white); border-radius: var(--r-sig);
}
.card p { color: var(--muted); margin: 0; }

.tech { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: clamp(40px, 6vw, 72px); }
.tech__item { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tech__item--rev .tech__img { order: 2; }
.tech__img { margin: 0; border-radius: var(--r-sig); overflow: hidden; background: var(--graphite); aspect-ratio: 4 / 3; }
.tech__img img { width: 100%; height: 100%; object-fit: cover; }
.tech__item:first-child .tech__img img { object-position: center 30%; }
.tech__txt h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.tech__txt p { color: var(--muted); max-width: 52ch; }
.note { font-size: .95rem; }

/* 6. Modelos */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.model {
  position: relative; display: flex; flex-direction: column;
  background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: var(--r-sig); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.model:hover { transform: translateY(-4px); border-color: #454a52; box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .8); }
.model--featured { border-color: rgba(62, 194, 122, .45); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: var(--green); padding: 6px 12px; border-radius: 4px 4px 12px 4px;
}
.model__gallery { position: relative; background: #0f1012; }
.model__main { margin: 0; aspect-ratio: 1; overflow: hidden; }
.model__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.model__main img.is-fading { opacity: 0; }
.model__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; background: var(--ink); }
.model__thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden;
  aspect-ratio: 1; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s;
}
.model__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.model__thumbs button:hover { opacity: 1; }
.model__thumbs button.is-on { opacity: 1; border-color: var(--green-lt); }
.model__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.model__kicker { margin: 0 0 6px; font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.model h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 12px; }
.model h3 span { color: var(--on-dark-muted); font-weight: 600; }
.model__for { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--on-dark); font-size: .98rem; }
.model__for .ic { color: var(--green-lt); margin-top: 3px; }
.model__body > p:not(.model__for):not(.model__kicker) { color: var(--on-dark-muted); }
.specs { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-sm); overflow: hidden; }
.specs li { background: var(--graphite-2); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.specs .ic { grid-row: span 2; color: var(--on-dark-muted); }
.specs strong { font-family: var(--f-head); font-size: 1.12rem; color: var(--white); line-height: 1.2; }
.specs span { font-size: .82rem; color: var(--on-dark-muted); }
.link-go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; color: var(--white); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid var(--green-lt);
}
.link-go .ic { transition: transform .2s ease; }
.link-go:hover .ic { transform: translateX(4px); }
.link-go--dark { color: var(--text); border-color: var(--green); }

/* 7. Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--steel) 0 8px, transparent 8px 16px); opacity: .35; }
.step { position: relative; }
.step__n {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  font-family: var(--f-head); font-weight: 800; font-size: 1.4rem;
  background: var(--graphite); color: var(--white); border-radius: var(--r-sig);
  box-shadow: 0 0 0 6px var(--paper);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* 8. Para quem */
.seg { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sig); padding: 32px 28px; }
.seg dl { margin: 0; }
.seg dt { font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-top: 16px; }
.seg dd { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }
.quote { margin: 48px auto 0; max-width: 760px; padding: 28px 32px; background: var(--paper); border-left: 4px solid var(--green); border-radius: var(--r-sig); }

/* 9. Sobre */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__txt > p { color: var(--muted); max-width: 58ch; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.facts .ic { color: var(--green); }
.about__seal { text-align: center; }
.about__seal p { margin-top: 20px; color: var(--muted); font-size: .95rem; }
.seal-box { display: inline-block; background: var(--white); padding: 18px; border-radius: var(--r-sm); box-shadow: 0 20px 40px -28px rgba(23, 25, 28, .45); }
.seal-box img { width: 280px; }
.seal-box--sm { padding: 10px; box-shadow: none; }
.seal-box--sm img { width: 130px; }

/* 10. Oferta */
.offer {
  position: relative; overflow: hidden; color: var(--on-dark); padding: var(--sec) 0;
  background:
    radial-gradient(700px 400px at 12% 10%, rgba(0, 116, 62, .35), transparent 70%),
    linear-gradient(135deg, var(--graphite-3), var(--ink));
}
.offer__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.offer h2 { color: var(--white); }
.offer__txt p { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 30px; }
.offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offer__list li { display: flex; gap: 16px; padding: 18px 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--r-sig); }
.offer__list .ic { width: 24px; height: 24px; color: var(--green-lt); margin-top: 2px; }
.offer__list strong { display: block; font-family: var(--f-head); color: var(--white); font-size: 1.05rem; }
.offer__list span { color: var(--on-dark-muted); font-size: .95rem; }
.offer__for { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: var(--on-dark-muted); }

/* 11. FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text);
}
.faq__item button .ic { transition: transform .3s ease; color: var(--muted); }
.faq__item button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Suporte */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.support__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sig); padding: 32px 28px; display: flex; flex-direction: column; }
.support__card > p { color: var(--muted); }
.downloads { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.dl {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; color: var(--text);
  transition: border-color .2s, background-color .2s;
}
a.dl:hover { border-color: var(--green); background: var(--paper); }
.dl .ic { color: var(--steel); }
.dl em { margin-left: auto; font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 3px 8px; border-radius: 4px; }
.dl--soon { color: var(--muted); cursor: default; }

/* 12. Contato */
.contact { background: var(--ink); color: var(--on-dark); padding: var(--sec) 0; }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { color: var(--white); }
.contact__txt > p { color: var(--on-dark-muted); font-size: 1.08rem; }
.contact__list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-muted); }
.contact__list .ic { color: var(--green-lt); margin-top: 3px; }
.contact__list a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }

.form { background: var(--graphite-2); border: 1px solid var(--line-dark); border-radius: var(--r-sig); padding: clamp(22px, 4vw, 36px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--on-dark); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--on-dark-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--white);
  background: var(--ink); border: 1.5px solid var(--graphite-3); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b4b8bf' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field ::placeholder { color: #7d828a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-lt); box-shadow: 0 0 0 3px rgba(62, 194, 122, .2); }
.field.is-bad input, .field.is-bad select { border-color: #ff8a8a; }
.field.is-ok input, .field.is-ok select { border-color: rgba(62, 194, 122, .6); }
.err { min-height: 1.35em; margin: 4px 0 6px; font-size: .84rem; color: #ffb0b0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 14px 0 0; font-size: .82rem; color: var(--on-dark-muted); text-align: center; }
.form__legal a { color: var(--on-dark); }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-sm); font-size: .98rem; }
.form__status.ok { background: rgba(62, 194, 122, .12); border: 1px solid rgba(62, 194, 122, .5); color: var(--white); }
.form__status.bad { background: rgba(255, 138, 138, .1); border: 1px solid rgba(255, 138, 138, .45); color: var(--white); }
.form__status a { color: var(--white); font-weight: 600; }
.form.is-done .form__grid, .form.is-done > .btn, .form.is-done .form__legal { display: none; }
.form.is-done .form__status { margin-top: 0; padding: 32px 26px; font-size: 1.05rem; }
.form__status h3 { color: var(--white); font-size: 1.4rem; }

/* 13. Rodapé */
.footer { background: #08090a; color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 140px; margin-bottom: 16px; }
.footer__brand p { margin: 0 0 6px; }
.footer__group { font-size: .85rem; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a, .footer__contact a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--white); }
.footer__contact { display: grid; gap: 20px; align-content: start; justify-items: start; }
.footer__contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer__legal p { margin: 0; }
.footer__legal a { color: var(--on-dark-muted); }

/* Voltar ao topo */
.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--graphite-2); color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--r-sig);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--graphite-3); }

/* Marcação dos pontos a preencher [SUBSTITUIR] */
.sub { background: #fff3b0; color: #4a3b00; padding: 1px 6px; border-radius: 4px; border: 1px dashed #c9a400; font-size: .92em; font-weight: 600; }
.specs strong.sub { font-size: .8rem; font-family: var(--f-body); }

/* Animação de entrada (uma vez só) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =================== Telas menores =================== */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header: 64px; }
  .burger {
    display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; margin-left: 4px;
    background: none; border: 1px solid var(--line-dark); border-radius: var(--r-sm); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar__in { gap: 10px; }
  .topbar__cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }

  .hero__in { grid-template-columns: 1fr; gap: 12px; }
  .hero h1 { max-width: 18ch; }
  .hero__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid--3, .models, .about, .offer__in, .contact__in, .support { grid-template-columns: 1fr; }
  .tech__item { grid-template-columns: 1fr; }
  .tech__item--rev .tech__img { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 8px; bottom: 8px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--steel) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .step__n { grid-row: span 2; margin: 0; }
  .step h3 { margin-bottom: 4px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__cta { padding: 8px 12px; font-size: .84rem; }
  .brand img { width: 108px; }
  .hero { padding-top: calc(var(--header) + 28px); }
  .hero__sub { margin: 16px 0 24px; }
  .hero__ctas .btn { width: 100%; }
  .btn--lg { font-size: .97rem; padding: 14px 16px; gap: 8px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stats li:nth-child(3) { border-left: 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs li { padding: 12px; column-gap: 8px; }
  .model__body { padding: 24px 20px 26px; }
  .footer__in { grid-template-columns: 1fr; }
  .seal-box img { width: 220px; }
  .seal-box--sm img { width: 120px; }
}

@media (max-width: 380px) {
  .brand img { width: 92px; }
  .topbar__cta { padding: 8px 10px; font-size: .78rem; }
  .burger { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Evita que textos longos (e-mail) estourem a largura no celular */
.hero__in > *, .grid > *, .models > *, .tech__item > *, .about > *, .offer__in > *, .contact__in > *, .support > *, .footer__in > * { min-width: 0; }
.contact__list a, .footer__contact a, .form__status a { overflow-wrap: anywhere; }
.specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specs li > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 360px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Por dentro da fábrica ---------- */
.factory { margin-top: clamp(64px, 9vw, 112px); }
.factory__head { max-width: 720px; margin-bottom: 32px; }
.factory__title { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.factory__head > p:last-child { color: var(--muted); }
.factory__grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, clamp(150px, 16vw, 220px));
  grid-template-areas: "a a b b" "a a c d" "e e f f";
}
.shot {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  background: var(--graphite); border-radius: var(--r-sig); min-width: 0;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.04); }
.shot::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 9, 10, .78)); pointer-events: none; }
.shot__cap {
  position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 1; text-align: left;
  font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--white); letter-spacing: .01em;
}
.shot--a { grid-area: a; } .shot--b { grid-area: b; } .shot--c { grid-area: c; } .shot--d { grid-area: d; } .shot--e { grid-area: e; } .shot--f { grid-area: f; cursor: pointer; }
.shot--c img { object-position: center 30%; }
.shot--a img { object-position: 62% center; }
.shot--b img { object-position: center 15%; }
.shot--e img { object-position: center 30%; }
.shot__play {
  position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(14, 15, 17, .72); border: 2px solid rgba(255, 255, 255, .85); color: var(--white);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .25s ease;
}
.shot__play .ic { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.shot--f:hover .shot__play { transform: translate(-50%, -50%) scale(1.08); }

.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 9, 10, .9); }
.lightbox__media img, .lightbox__media video { display: block; width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--r-sm); background: #000; }
.lightbox__close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--graphite-2); color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--r-sm); cursor: pointer;
}

@media (max-width: 900px) {
  .factory__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; grid-template-areas: "a a" "a a" "b b" "c d" "e e" "f f"; }
}
@media (max-width: 640px) {
  .factory__grid { grid-auto-rows: 130px; gap: 8px; }
  .shot__cap { font-size: .82rem; left: 10px; bottom: 8px; }
}
.topbar__cta { white-space: nowrap; }
@media (max-width: 359px) { .topbar__cta { white-space: normal; line-height: 1.15; text-align: center; max-width: 140px; } }

a.dl em { color: var(--green); background: rgba(0, 116, 62, .08); }
