/* Fontes locais (Montserrat e IBM Plex Sans, subconjunto latino, variáveis; licença OFL) */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-868a235a.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-868a235a.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-868a235a.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/montserrat-49e242af.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/montserrat-49e242af.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-49e242af.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/montserrat-49e242af.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fontes reservas com as métricas das fontes do site: o texto não muda de tamanho quando a fonte chega (CLS) */
@font-face { font-family: 'Montserrat Fallback'; src: local('Arial'); size-adjust: 113.4%; ascent-override: 85.4%; descent-override: 22.2%; line-gap-override: 0%; }
@font-face { font-family: 'IBM Plex Sans Fallback'; src: local('Arial'); size-adjust: 102.5%; ascent-override: 100.1%; descent-override: 26.9%; line-gap-override: 0%; }

/* Machinova ExactoStop: estilo comum do site (página principal e simulador).
   Noite de oficina: marinho com o índigo da máquina e o laranja da marca. Blocos de cor sólida, sem bordas finas.
   Tema escuro único (escolhido). */
:root {
  --ground: #070B1A;
  --navy: #0E1430;
  --navy-2: #151D3D;
  --navy-3: #1C2550;
  --snow: #F3F4FA;
  --mist: #A9B1D3;
  --indigo: #3949AB;
  --indigo-2: #4A5BC7;
  --indigo-soft: #9AA8FF;
  --orange: #FF7424;
  --orange-2: #FFA72B;
  --paper: #F4F4F7;
  --ink: #11152A;
  --ink-soft: #4F566F;
  --ok: #3BD16F;
  --kerf: #FF4B3E;
  --display: "Montserrat", "Montserrat Fallback", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", "IBM Plex Sans Fallback", "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--snow); font: 400 18px/1.55 var(--body); overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ground); }
img, video { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
h2 { font-weight: 900; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.03; letter-spacing: -0.02em; }
h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--orange); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mist); max-width: 58ch; }
.lead b { color: var(--snow); font-weight: 600; }
.tag { display: inline-block; font: 800 .76rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; background: var(--orange); color: var(--ink); }
.tag.dark { background: var(--ink); color: var(--orange); }
.tag.soft { background: rgba(154, 168, 255, .16); color: var(--indigo-soft); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 1rem/1 var(--display); padding: 17px 26px; border-radius: 99px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-o { background: var(--orange); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(255, 116, 36, .8); }
.btn-o:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(255, 116, 36, .95); }
.btn-l { color: var(--snow); background: rgba(243, 244, 250, .08); }
.btn-l:hover { background: rgba(243, 244, 250, .16); }
.btn-ink { background: var(--ink); color: var(--snow); }
.btn-ink:hover { transform: translateY(-2px); }
.btn .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--kerf); animation: pulse 1.6s infinite; }
/* só transform e opacity: o navegador anima sem redesenhar a página */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* cabeçalho */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(7, 11, 26, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; max-width: 1420px; }
.logo { display: block; width: 250px; aspect-ratio: 873 / 165; background: var(--snow); -webkit-mask: url(/assets/img/logo.png) center / contain no-repeat; mask: url(/assets/img/logo.png) center / contain no-repeat; flex: none; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { position: relative; white-space: nowrap; text-decoration: none; color: var(--mist); font-weight: 500; font-size: .93rem; padding-block: 6px; transition: color .2s; }
.nav a:not(.sim)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.nav a.on { color: var(--snow); }
.nav a.on::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--snow); }
.nav a.sim { color: var(--orange); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.nav a.sim::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kerf); animation: pulse 1.6s infinite; }
.top .btn { padding: 11px 18px; font-size: .88rem; white-space: nowrap; }
@media (max-width: 1340px) { .nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 480px) { .logo { width: 170px; } }

/* blocos sólidos (o modelo de card do site): cor cheia, sem borda, ícone grande */
.slab { border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative; overflow: hidden; }
.slab .ico { width: 54px; height: 54px; flex: none; }
.slab .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slab p { font-size: 1rem; line-height: 1.5; }
.s-orange { background: linear-gradient(150deg, #FF8A3D, var(--orange) 60%, #F2621A); color: var(--ink); }
.s-orange p { color: rgba(17, 21, 42, .78); }
.s-indigo { background: linear-gradient(150deg, var(--indigo-2), var(--indigo)); color: var(--snow); }
.s-indigo p { color: #DCE1FF; }
.s-paper { background: var(--paper); color: var(--ink); }
.s-paper p { color: var(--ink-soft); }
.s-paper .ico { color: var(--indigo); }
.s-night { background: var(--navy-3); color: var(--snow); }
.s-night p { color: var(--mist); }
.s-night .ico { color: var(--orange); }

/* lista com ✓ */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }

/* chamariz flutuante do simulador */
.float-sim { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; font: 800 .92rem/1 var(--display); padding: 15px 20px; border-radius: 99px; text-decoration: none; background: var(--snow); color: var(--ink); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); transition: transform .15s; }
.float-sim:hover { transform: translateY(-2px); }
.float-sim i { width: 9px; height: 9px; border-radius: 50%; background: var(--kerf); animation: pulse 1.6s infinite; }

/* rodapé */
footer { background: var(--ground); color: var(--mist); font-size: .9rem; padding-block: 28px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn .live-dot, .nav a.sim::before, .float-sim i { animation: none; } }

/* acessibilidade: atalho para o conteúdo (aparece só com o teclado) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--orange); color: var(--ink); font: 800 .95rem var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
