/* Conceito: "Pista" — seções de carbono com os cortes diagonais do símbolo Foccus;
   faixas vermelhas conduzem o olhar da esquerda para a direita, como linhas de velocidade. */
:root {
  --ink: #111112;        /* base mais profunda */
  --carbon: #252525;     /* cor terciária da marca */
  --carbon-2: #1b1b1c;   /* cards sobre a base */
  --line: #333335;       /* divisórias */
  --white: #ffffff;      /* cor primária da marca */
  --paper: #f3f3f1;      /* fundo claro alternativo */
  --red: #ed153a;        /* cor secundária da marca */
  --red-deep: #c10e2d;
  --muted: #a7a7ab;      /* texto secundário no escuro */
  --muted-dark: #5d5d61; /* texto secundário no claro */

  --f-display: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;

  --cut: 18px;           /* tamanho do corte diagonal */
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 26px; height: 8px; background: var(--red);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* Botão com o corte diagonal do símbolo */
.btn {
  --bg: var(--red); --fg: var(--white);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .2s, transform .2s;
}
.btn:hover { --bg: var(--red-deep); transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 2px var(--line); clip-path: none; }
.btn--ghost:hover { --bg: var(--carbon); }
.btn--dark { --bg: var(--carbon); }
.btn--dark:hover { --bg: #000; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--white); }
.header .btn { padding: 13px 24px; font-size: 13px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 460px) { .header .btn { padding: 12px 18px; font-size: 12px; } .header__logo img { height: 24px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 88px); isolation: isolate; }
.hero__stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__stripes span {
  position: absolute; right: -8%; height: clamp(46px, 7vw, 92px); background: var(--red);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  animation: sweep 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.hero__stripes span:nth-child(1) { top: 16%; width: 46%; }
.hero__stripes span:nth-child(2) { top: calc(16% + clamp(66px, 10vw, 130px)); width: 36%; opacity: .9; animation-delay: .12s; }
.hero__stripes span:nth-child(3) { top: calc(16% + clamp(132px, 20vw, 260px)); width: 16%; background: var(--carbon); clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%); animation-delay: .24s; }
.hero__stripes::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, transparent) 62%, transparent 100%);
}
@keyframes sweep { from { transform: translateX(40%); } to { transform: none; } }

.hero__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .hero__stripes span:nth-child(1) { top: auto; bottom: 22%; width: 60%; opacity: .55; }
  .hero__stripes span:nth-child(2) { top: auto; bottom: 12%; width: 44%; opacity: .45; }
  .hero__stripes span:nth-child(3) { top: auto; bottom: 4%; width: 22%; }
  .hero__stripes::after { background: linear-gradient(180deg, var(--ink) 55%, color-mix(in srgb, var(--ink) 40%, transparent) 100%); }
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 104px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em;
  max-width: 14ch; margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { margin-top: 26px; max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); color: #d6d6d9; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Placa Mercosul */
.plate {
  display: inline-grid; grid-template-rows: auto 1fr; width: 168px; border-radius: 6px; overflow: hidden;
  background: var(--white); color: #111; box-shadow: 0 0 0 2px #111 inset, 0 10px 30px rgba(0,0,0,.4);
  transform: rotate(-4deg);
}
.plate__band { background: #0d3a8c; color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .3em; text-align: center; padding: 3px 0 2px; }
.plate__num { font-size: 34px; font-weight: 800; letter-spacing: .06em; text-align: center; padding: 2px 8px 6px; font-variant-numeric: tabular-nums; }
.hero__badge { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }

/* ---------- Painel de números ---------- */
.cluster { border-block: 1px solid var(--line); background: var(--carbon-2); }
.cluster .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.gauge { padding: 30px 24px; border-left: 1px solid var(--line); min-width: 0; }
.gauge:first-child { border-left: 0; padding-left: 0; }
.gauge__value { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__value small { font-size: .45em; font-weight: 700; color: var(--red); margin-right: 4px; vertical-align: .55em; }
.gauge__value sup { font-size: .5em; color: var(--red); vertical-align: .6em; }
.gauge__label { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 820px) {
  .cluster .wrap { grid-template-columns: repeat(2, 1fr); }
  .gauge { padding: 24px 16px; }
  .gauge:nth-child(odd) { border-left: 0; padding-left: 0; }
  .gauge:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Faixa de plataformas ---------- */
.ticker-wrap {
  overflow: hidden; padding-block: 72px 48px;
  background: linear-gradient(to bottom, var(--ink) 0 58%, var(--paper) 58% 100%);
}
.ticker { background: var(--red); padding-block: 16px; transform: skewY(-1.2deg); }
.ticker__track { display: flex; width: max-content; animation: run 40s linear infinite; }
.ticker__group { display: flex; flex: none; }
.ticker__group span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.ticker__group span::after { content: ""; width: 22px; height: 10px; background: var(--white); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--paper { background: var(--paper); color: var(--carbon); }
.section--carbon { background: var(--carbon); }
.section__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { font-size: clamp(34px, 4.8vw, 62px); font-weight: 800; }
.section__head p { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 62ch; }
.section--paper .section__head p { color: var(--muted-dark); }

/* Plataformas */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #dcdcd9; border: 2px solid #dcdcd9; }
.platform { background: var(--white); padding: 30px 28px; display: grid; gap: 10px; align-content: start; min-width: 0; transition: background .2s; }
.platform:hover { background: #fafafa; }
.platform h3 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.platform h3::before { content: ""; width: 14px; height: 14px; background: var(--red); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); flex: none; }
.platform p { font-size: 15.5px; color: var(--muted-dark); }
.platform--more { background: var(--carbon); color: var(--white); }
.platform--more:hover { background: #000; }
.platform--more p { color: var(--muted); }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .platforms { grid-template-columns: 1fr; } }

/* Nicho automotivo */
.auto { position: relative; overflow: hidden; }
.auto::before {
  content: ""; position: absolute; top: 0; right: -10%; width: 55%; height: 100%;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.025) 46px 92px);
  pointer-events: none;
}
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.segment {
  position: relative; background: var(--carbon-2); padding: 30px 28px 32px; min-width: 0;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  border-top: 3px solid var(--red); transition: transform .25s, background .25s;
}
.segment:hover { transform: translateY(-4px); background: #222224; }
.segment__tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.segment h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; text-transform: uppercase; margin-top: 10px; }
.segment p { margin-top: 12px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .segments { grid-template-columns: 1fr; } }

/* Ultraqualificação */
.filter {
  margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; background: var(--red); padding: clamp(28px, 4vw, 52px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}
.filter h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.filter p { margin-top: 16px; font-size: 17px; color: #ffe3e8; max-width: 52ch; }
.funnel { display: grid; gap: 8px; }
.funnel div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(0,0,0,.22); padding: 14px 18px; font-weight: 700; font-size: 15px;
}
.funnel div:nth-child(2) { margin-inline: 8%; }
.funnel div:nth-child(3) { margin-inline: 16%; }
.funnel div:nth-child(4) { margin-inline: 24%; background: var(--white); color: var(--red); }
.funnel span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
@media (max-width: 820px) { .filter { grid-template-columns: 1fr; } }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 34px 28px 38px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-width: 0; }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service svg { width: 34px; height: 34px; color: var(--red); }
.service h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.service p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; min-width: 0; }
.step__num {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--muted-dark); text-transform: uppercase;
}
.step__num b {
  display: grid; place-items: center; width: 52px; height: 40px; background: var(--carbon); color: var(--white);
  font-size: 18px; letter-spacing: 0; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  font-variant-numeric: tabular-nums;
}
.step:first-child .step__num b { background: var(--red); }
.step__num::after { content: ""; flex: 1; height: 2px; background: #d4d4d1; }
.step:last-child .step__num::after { display: none; }
.step h3 { font-size: 22px; font-weight: 800; }
.step p { margin-top: 10px; font-size: 15.5px; color: var(--muted-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } .step:nth-child(2) .step__num::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step .step__num::after { display: none; } }

/* Negócio local */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.local h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; }
.local p { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 11px 18px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; color: #e3e3e6; }
@media (max-width: 820px) { .local { grid-template-columns: 1fr; } }

/* Sobre */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.portrait { position: relative; max-width: 460px; width: 100%; }
.portrait img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.portrait::before {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 62%; height: 46%; background: var(--red); z-index: -1;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.portrait__tag {
  position: absolute; left: 0; bottom: 28px; background: var(--carbon); color: var(--white);
  padding: 12px 20px 12px 16px; font-weight: 700; font-size: 15px; line-height: 1.25;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.portrait__tag small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.about__text h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; margin-top: 18px; }
.about__text p { margin-top: 18px; color: var(--muted-dark); max-width: 58ch; }
.about__text p strong { color: var(--carbon); }
.facts { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #dcdcd9; border: 2px solid #dcdcd9; }
.facts div { background: var(--white); padding: 18px 16px; min-width: 0; }
.facts b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 13px; color: var(--muted-dark); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { margin-inline: auto 0; justify-self: start; } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* CTA final */
.final { position: relative; overflow: hidden; background: var(--red); padding-block: clamp(72px, 10vw, 120px); isolation: isolate; }

.final h2 { font-size: clamp(38px, 6vw, 84px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; max-width: 14ch; }
.final p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; color: #ffe3e8; }
.final .btn { margin-top: 34px; }

/* Rodapé */
.footer { background: #0a0a0b; padding-block: 64px 32px; font-size: 14.5px; color: var(--muted); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__top img { height: 30px; width: auto; }
.footer__top p { margin-top: 18px; max-width: 38ch; }
.footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer button.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer button.linklike:hover { color: var(--white); }
.footer__legal { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; gap: 30px; } }

/* Aviso de cookies */
.cookie {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.cookie__box {
  pointer-events: auto; max-width: 880px; margin-inline: auto; background: var(--carbon); border-top: 3px solid var(--red);
  box-shadow: 0 20px 60px rgba(0,0,0,.5); padding: 20px 22px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.cookie__box p { flex: 1 1 340px; font-size: 14.5px; color: #d6d6d9; min-width: 0; }
.cookie__box p a { color: var(--white); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 12px 20px; font-size: 12.5px; }

/* Páginas legais */
.legal-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; text-transform: uppercase; margin-top: 18px; }
.legal-hero p { margin-top: 14px; color: var(--muted); }
.legal { background: var(--paper); color: var(--carbon); padding-block: clamp(48px, 7vw, 88px); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 48px 0 14px; padding-top: 22px; border-top: 2px solid var(--carbon); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #3b3b3f; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal__body strong { color: var(--carbon); }
.legal__body a { color: var(--red-deep); }
.table-scroll { overflow-x: auto; margin: 18px 0; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal__body th, .legal__body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #d4d4d1; vertical-align: top; }
.legal__body th { background: var(--carbon); color: var(--white); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.legal__company { background: var(--white); padding: 20px 22px; border-left: 4px solid var(--red); margin: 14px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
