/* =========================================================
   ATOP LabTech — Mockup Design System
   Direção: "precisão industrial" — grafite, branco técnico e
   o vermelho da marca (#E91C24) como sinal, não como fundo.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --red: #E91C24;
  --red-700: #B8121A;
  --red-50: #FDECEC;
  --ink: #17181B;
  --ink-2: #24262B;
  --steel: #4A4E57;
  --mute: #6E737D;
  --line: #E3E5E9;
  --paper: #F5F6F7;
  --white: #FFFFFF;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1240px;
  --r: 4px;
  --shadow: 0 1px 2px rgba(23,24,27,.06), 0 8px 24px rgba(23,24,27,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.6rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #D9DBE0; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.22rem; color: var(--steel); max-width: 62ch; }
.section--ink .lead { color: #AEB2BB; }
.accent { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }
.link-arrow { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); display: inline-flex; gap: 8px; align-items: center; transition: gap .2s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 18px; height: 18px; flex: 0 0 18px; }
svg { flex-shrink: 0; }

/* ---------------- Topbar + Header ---------------- */
.topbar { background: var(--ink); color: #A9ADB6; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 24px; padding: 9px 0; }
.topbar a:hover { color: #fff; }
.topbar span { display: inline-flex; gap: 8px; align-items: center; }
.topbar .tb-left { display: flex; gap: 28px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > a {
  font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 14px; color: var(--ink-2); position: relative; display: block;
}
.nav > a::after, .nav .dd > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav > a.is-active::after, .nav .dd:hover > a::after, .nav .dd > a.is-active::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; padding: 12px 20px; font-size: .98rem; }
.nav .btn::after { display: none; }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--red); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s var(--ease);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: var(--r); font-weight: 600; }
.dd-menu a:hover { background: var(--paper); color: var(--red); }
.dd-menu small { display: block; font-weight: 400; color: var(--mute); font-size: .82rem; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .25s; }

/* ---------------- Hero (home) ---------------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
/* slideshow: só a foto .is-active aparece; troca com fade (main.js) */
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-media img.is-active { opacity: .55; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,24,27,.96) 0%, rgba(23,24,27,.8) 45%, rgba(23,24,27,.2) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(96px, 12vw, 160px) 0 clamp(130px, 14vw, 190px); }
.hero h1 { max-width: 14ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { color: #C9CCD3; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; margin-bottom: 28px; }
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(233,28,36,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(233,28,36,0); } }

.stats { position: relative; z-index: 3; margin-top: -76px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.stat { padding: 28px 28px 30px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; transition: background .25s; }
.stat:hover { background: #FBF7F7; }
.stat i { flex: 0 0 44px; height: 44px; border-radius: 50%; background: rgba(233,28,36,.09); color: var(--red); display: grid; place-items: center; margin-top: 4px; }
.stat i svg { width: 21px; height: 21px; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--f-display); font-size: 2.9rem; font-weight: 800; line-height: .95; display: flex; align-items: baseline; gap: 6px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.stat b em { font-style: normal; font-size: .42em; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.stat b em.pre { font-size: .7em; letter-spacing: 0; margin-right: -4px; }
.stat > div > span { color: var(--steel); font-size: .92rem; line-height: 1.4; display: block; margin-top: 10px; max-width: 22ch; }

/* ---------------- Page hero (internas) ---------------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,24,27,.95), rgba(23,24,27,.5)); }
.page-hero .wrap { position: relative; z-index: 2; padding: 110px 0 90px; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { color: #C9CCD3; margin: 0; }
.crumbs { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #9AA0AA; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: var(--red); font-weight: 500; }

/* ---------------- Grids ---------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--rev > :first-child { order: 2; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; }
.head-row h2 { margin: 0; }
.head-row .lead { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }

.photo { position: relative; isolation: isolate; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--red); border-radius: var(--r); z-index: -1; }
.photo-badge { position: absolute; left: -24px; bottom: 32px; background: var(--red); color: #fff; padding: 20px 24px; border-radius: var(--r); box-shadow: var(--shadow); }
.photo-badge b { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; display: block; }
.photo-badge span { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------------- Cards de serviço ---------------- */
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-num { position: absolute; top: 14px; left: 14px; font-family: var(--f-mono); font-size: .75rem; background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 2px; }
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: 10px; }
.svc-body p { color: var(--steel); flex: 1; }

/* ---------------- Ciclo de processo (assinatura) ---------------- */
.cycle { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; margin-top: 56px; }
.cycle::before { content: ""; position: absolute; top: 31px; left: 7%; right: 7%; height: 2px; background: repeating-linear-gradient(90deg, #3A3D44 0 8px, transparent 8px 14px); }
.cycle-bar { position: absolute; top: 31px; left: 7%; height: 2px; background: var(--red); width: 0; transition: width 2.2s var(--ease); }
.cycle.is-in .cycle-bar { width: 86%; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step i { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 2px solid #3A3D44; color: #fff; position: relative; z-index: 1; transition: .4s var(--ease); }
.step i svg { width: 26px; height: 26px; }
.cycle.is-in .step i { border-color: var(--red); }
.step:hover i { background: var(--red); }
.step small { font-family: var(--f-mono); color: var(--red); font-size: .72rem; letter-spacing: .1em; }
.step h4 { color: #fff; margin: 4px 0 6px; font-size: 1.05rem; }
.step p { font-size: .88rem; color: #9DA2AC; margin: 0; }

/* ---------------- Listas e features ---------------- */
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E91C24' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks--2 { grid-template-columns: 1fr 1fr; }
.section--ink .checks li::before { background-color: rgba(233,28,36,.15); }

.feature { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; position: relative; transition: .3s var(--ease); }
.feature:hover { border-color: var(--red); }
.feature .ico { width: 54px; height: 54px; border-radius: var(--r); display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 20px; }
.feature .ico svg { width: 28px; height: 28px; }
.feature p { color: var(--steel); margin: 0; }
.section--ink .feature { background: var(--ink-2); border-color: #33363D; }
.section--ink .feature p { color: #A3A8B1; }
.section--ink .feature h3, .section--ink .feature h4 { color: #fff; }
.section--ink .feature .ico { background: rgba(233,28,36,.14); }

.strong { display: flex; gap: 18px; align-items: flex-start; background: var(--ink); color: #fff; padding: 26px 28px; border-radius: var(--r); border-left: 4px solid var(--red); margin-top: 32px; }
.strong small { font-family: var(--f-mono); color: var(--red); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.strong p { margin: 0; color: #D4D6DB; }

/* ---------------- Segmentos ---------------- */
.seg { position: relative; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.seg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.seg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(23,24,27,.92)); }
.seg:hover img { transform: scale(1.07); }
.seg div { position: relative; z-index: 1; padding: 26px; }
.seg h3 { color: #fff; margin-bottom: 6px; }
.seg p { margin: 0; font-size: .95rem; color: #C9CCD3; }

/* ---------------- Clientes ---------------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #33363D; border-left: 1px solid #33363D; background: var(--ink); border-radius: var(--r); overflow: hidden; }
.logos div { border-right: 1px solid #33363D; border-bottom: 1px solid #33363D; display: grid; place-items: center; padding: 30px 28px; background: var(--ink); height: 140px; transition: background .3s; }
.logos div:hover { background: var(--ink-2); }
.logos img { max-height: 56px; max-width: 150px; width: auto; filter: brightness(0) invert(1); opacity: .65; transition: .3s; }
.logos div:hover img { opacity: 1; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 80px; width: max-content; animation: scroll 40s linear infinite; align-items: center; padding: 8px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------- Quote ---------------- */
.quote { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 600; color: #fff; max-width: 32ch; margin: 0 0 24px; }
.quote::before { content: "“"; font-family: Georgia, serif; color: var(--red); font-size: 4em; line-height: .6; display: block; height: .45em; }
.quote-by b { color: #fff; display: block; }

/* ---------------- Unidades ---------------- */
.unit { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.unit-map { aspect-ratio: 16/9; background: var(--paper); }
.unit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6); display: block; }
.unit-body { padding: 28px; flex: 1; }
.unit-tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; background: var(--red); color: #fff; display: inline-block; margin-bottom: 14px; }
.unit-tag--alt { background: var(--ink); }
.unit address { font-style: normal; color: var(--steel); margin-bottom: 16px; }
.unit dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.unit dt { color: var(--mute); }
.unit dd { margin: 0; font-weight: 600; }

/* ---------------- Timeline ---------------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { display: grid; grid-template-columns: 92px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.tl b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; color: var(--red); line-height: 1; }
.tl div { position: relative; }
.tl div::before { content: ""; position: absolute; left: -47px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.tl h4 { margin-bottom: 6px; }
.tl p { color: var(--steel); margin: 0; }

/* ---------------- Formulários ---------------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1px solid #CDD1D7; border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(233,28,36,.12); }

.contact-card { background: var(--ink); color: #C9CCD3; padding: 40px; border-radius: var(--r); }
.contact-card h3 { color: #fff; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #33363D; }
.contact-item:last-child { border: 0; }
.contact-item svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 22px; margin-top: 3px; }
.contact-item b { color: #fff; display: block; font-weight: 600; }

/* ---------------- CTA ---------------- */
.cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border: 60px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 72px 0; position: relative; }
.cta h2 { color: #fff; margin: 0; max-width: 22ch; }
.cta p { margin: 10px 0 0; color: #FFE1E2; }
.cta .btn--dark:hover { background: #fff; color: var(--ink); }

/* ---------------- Footer ---------------- */
.footer { background: #111214; color: #8D929C; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 80px 0 56px; }
.footer .f-logo { height: 54px; width: auto; margin-bottom: 22px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #24262B; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; flex-wrap: wrap; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid #2E3036; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social svg { width: 18px; height: 18px; }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; }

/* Marcações do mockup */
.mock-flag { position: fixed; left: 16px; bottom: 16px; z-index: 70; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; background: #FFD43B; color: #111; padding: 6px 10px; border-radius: 3px; text-transform: uppercase; }
.todo { background: #FFF4C2; color: #5C4600; outline: 1px dashed #D9A400; padding: 0 4px; border-radius: 2px; }

.prose { max-width: 78ch; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--steel); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------------- Responsivo ---------------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 84px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 24px; gap: 0; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > a, .nav .dd > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
  .nav > a::after, .nav .dd > a::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
  .burger { display: block; }
  .burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cycle { grid-template-columns: repeat(4, minmax(0,1fr)); row-gap: 40px; }
  .cycle::before, .cycle-bar { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .topbar .tb-left span:nth-child(2), .topbar .tb-right { display: none; }
  .split, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .head-row, .cta .wrap { flex-direction: column; align-items: flex-start; }
  .photo::before { display: none; }
  .photo-badge { left: 16px; }
  .checks--2, .form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .cycle { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
  .feature { padding: 20px; }
  .feature h4 { font-size: 1rem; overflow-wrap: anywhere; }
  .contact-card { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; gap: 12px; flex-direction: column; } .stat i { flex: 0 0 auto; width: 36px; height: 36px; margin: 0; } .stat b { font-size: 2.2rem; } .stat b em { font-size: .4em; }
  .timeline::before { left: 70px; } .tl { grid-template-columns: 70px 1fr; gap: 30px; } .tl div::before { left: -36px; }
}

.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .reveal { opacity: 1; transform: none; }
.no-anim .cycle-bar { width: 86%; }

/* =========================================================
   Formulários v2 — validação, upload, estados
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 4px; }
.form-title h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 0; width: 100%; }
.form-title .eyebrow { width: 100%; margin-bottom: 6px; }
.form-title h3 { margin: 0; }
.form-title small { color: var(--mute); font-size: .85rem; }
.field { position: relative; display: flex; flex-direction: column; }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink-2); }
.req { color: var(--red); font-weight: 700; margin-left: 2px; }
.opt { color: var(--mute); font-weight: 400; font-size: .82rem; margin-left: 4px; }
.field input, .field select, .field textarea { min-height: 50px; font-size: 16px; color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4E57' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.field select:invalid { color: #8A8F98; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9A9FA8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A9AEB7; }
.hint { color: var(--mute); font-size: .82rem; margin-top: 6px; }
.counter { position: absolute; right: 12px; bottom: 30px; font-size: .75rem; color: #9A9FA8; font-family: var(--f-mono); pointer-events: none; }
.field-err { display: none; color: #C4161C; font-size: .84rem; font-weight: 600; margin-top: 6px; align-items: center; gap: 6px; }
.field-err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #C4161C; color: #fff; font-size: .7rem; flex: 0 0 16px; }
.field.is-invalid .field-err { display: flex; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .drop { border-color: #C4161C; background-color: #FFF7F7; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #2F9E5B; }

/* Upload */
.drop { display: flex !important; align-items: center; gap: 16px; padding: 18px 20px; border: 2px dashed #C3C8CF; border-radius: 6px; background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; font-weight: 400 !important; margin: 0 !important; }
.drop:hover, .drop.is-drag { border-color: var(--red); background: var(--red-50); }
.drop:focus-within { outline: 3px solid rgba(233,28,36,.3); outline-offset: 2px; }
.drop > svg { width: 30px; height: 30px; color: var(--red); }
.drop-txt { flex: 1; font-size: .95rem; color: var(--steel); }
.drop-txt b { color: var(--ink); }
.drop-txt small { display: block; color: var(--mute); font-size: .8rem; margin-top: 2px; }
.drop-name { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; background: #fff; border: 1px solid var(--line); padding: 6px 10px; border-radius: 4px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop.has-file { border-style: solid; border-color: #2F9E5B; background: #F1FAF4; }
.drop.has-file .drop-name { display: inline-block; }

/* Consentimento */
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-size: .9rem; font-weight: 400 !important; color: var(--steel) !important; cursor: pointer; margin: 0 !important; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; accent-color: var(--red); flex: 0 0 20px; cursor: pointer; }
.consent a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ações e estados */
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { color: #C4161C; font-weight: 600; font-size: .88rem; }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn.is-loading svg { display: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 40px 12px; }
.form-success:focus { outline: none; }
.form-success > svg { width: 64px; height: 64px; color: #2F9E5B; margin: 0 auto 16px; display: block; }
.form-success p { color: var(--steel); max-width: 44ch; margin: 0 auto 20px; }
.form-success .mock-note { font-family: var(--f-mono); font-size: .75rem; color: var(--mute); background: var(--paper); padding: 8px 12px; border-radius: 4px; display: inline-block; }
.form-success button { background: none; border: 0; cursor: pointer; font-size: 1rem; }
.form-alt { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; background: var(--paper); border-radius: 6px; font-size: .95rem; color: var(--steel); }
.form-alt svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.form-alt a { color: var(--red); font-weight: 600; }

/* =========================================================
   Trabalhe conosco — vagas, filtros, áreas
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .92rem var(--f-body); padding: 9px 16px; border-radius: 100px; border: 1px solid #CDD1D7; background: #fff; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: .2s; }
.chip b { font-family: var(--f-mono); font-size: .72rem; background: var(--paper); border-radius: 100px; padding: 2px 7px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on b { background: var(--red); color: #fff; }

.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.job { background: #fff; border-radius: 8px; border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.job::after { content: ""; position: absolute; z-index: 0; right: -70px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid var(--red-50); pointer-events: none; }
.job:hover { box-shadow: 0 18px 40px rgba(23,24,27,.10); transform: translateY(-4px); }
.job[hidden] { display: none; }
.job-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.job-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font: 700 .95rem var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px 7px 12px; border-radius: 100px; }
.job-flag svg { width: 18px; height: 18px; }
.job-ref { font-family: var(--f-mono); font-size: .74rem; color: var(--mute); letter-spacing: .08em; }
.job h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); text-transform: uppercase; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.job-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--steel); font-size: .92rem; font-weight: 600; }
.job-meta li { display: inline-flex; gap: 6px; align-items: center; }
.job-meta svg { width: 16px; height: 16px; color: var(--red); }
.job > p { color: var(--steel); }
.job-ben { list-style: none; padding: 14px 0; margin: 4px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job-ben li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-2); line-height: 1.2; padding: 0 6px; border-right: 1px solid var(--line); }
.job-ben li:last-child { border-right: 0; }
.job-ben svg { width: 24px; height: 24px; color: var(--red); }
.job-more { margin: 8px 0 20px; }
.job-more summary { cursor: pointer; list-style: none; font: 700 1rem var(--f-display); text-transform: uppercase; letter-spacing: .05em; padding: 12px 0; display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.job-more summary::-webkit-details-marker { display: none; }
.job-more summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 1.2rem; transition: transform .25s; }
.job-more[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 8px; }
.job-cols h4 { display: flex; gap: 8px; align-items: center; font-size: .95rem; margin-bottom: 12px; }
.job-cols h4 svg { width: 20px; height: 20px; color: var(--red); }
.job-cols .checks { font-size: .92rem; gap: 8px; margin: 0; }
.job-foot { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.job-art { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--steel); }
.job-art svg { width: 18px; height: 18px; }
.job-art:hover { color: var(--red); }
.jobs-empty { text-align: center; padding: 56px 24px; background: #fff; border: 2px dashed #CDD1D7; border-radius: 8px; }
.jobs-empty > svg { width: 48px; height: 48px; color: var(--red); margin: 0 auto 12px; display: block; }
.jobs-empty p { color: var(--steel); max-width: 52ch; margin: 0 auto 20px; }

.area { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.area:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23,24,27,.10); }
.area-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.area:hover .area-img img { transform: scale(1.06); }
.area-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(23,24,27,.45)); }
.area-badge { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--red); color: #fff; font: 600 .76rem var(--f-mono); padding: 5px 10px; border-radius: 100px; }
.area-body { padding: 0 24px 26px; position: relative; flex: 1; }
.area-ico { width: 56px; height: 56px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; margin: -28px 0 16px; position: relative; z-index: 2; box-shadow: 0 8px 20px rgba(233,28,36,.35); }
.area-ico svg { width: 28px; height: 28px; }
.area h3 { font-size: 1.45rem; margin-bottom: 8px; }
.area p { color: var(--steel); font-size: .95rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--paper); color: var(--steel); }

.hire { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 48px; border-top: 1px solid #33363D; }
.hire-step { padding: 28px 24px 0 0; position: relative; }
.hire-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.hire-step b { font: 800 2.2rem var(--f-display); color: var(--red); display: block; line-height: 1; margin-bottom: 8px; }
.hire-step h4 { color: #fff; margin-bottom: 4px; }
.hire-step p { color: #9DA2AC; font-size: .92rem; margin: 0; }

@media (max-width: 820px) {
  .job-cols { grid-template-columns: 1fr; }
  .hire { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .mock-flag { bottom: auto; top: 6px; left: auto; right: 8px; font-size: .58rem; padding: 3px 6px; }
  .form-actions .btn, .job-foot .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .job { padding: 22px 20px 22px 24px; }
  .job-ben { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .job-ben li:nth-child(2) { border-right: 0; }
  .drop { flex-wrap: wrap; } .drop-name { max-width: 100%; }
}

/* ---------------- Fluxo de processo (páginas de serviço) ---------------- */
.flow-sub { color: var(--steel); margin: 0; max-width: 34ch; }
.flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; counter-reset: flow; }
.flow-step { position: relative; display: flex; flex-direction: column; }
/* trilho entre os nós */
.flow-step:not(:last-child)::before { content: ""; position: absolute; top: 37px; left: 84px; right: -20px; height: 2px; background: repeating-linear-gradient(90deg, #C9CCD2 0 7px, transparent 7px 13px); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 37px; left: 84px; height: 2px; width: 0; background: var(--red); transition: width .7s var(--ease) calc(var(--i) * .35s + .3s); }
.flow.is-in .flow-step:not(:last-child)::after { width: calc(100% - 64px); }
/* nó */
.flow-node { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--red); box-shadow: 0 10px 24px -14px rgba(23,24,27,.35); transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease); transition-delay: calc(var(--i) * .35s); z-index: 1; }
.flow.is-in .flow-node { border-color: var(--red); }
.flow-ico svg { width: 30px; height: 30px; display: block; }
.flow-n { position: absolute; top: -6px; right: -10px; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--ink); color: #fff; font: 700 .78rem/30px var(--f-mono); text-align: center; border: 3px solid var(--paper); }
.flow-step:last-child .flow-node { background: var(--red); border-color: var(--red); color: #fff; }
/* cartão */
.flow-card { position: relative; flex: 1; margin-top: 22px; padding: 26px 24px 48px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.flow-card::before { content: ""; position: absolute; top: -9px; left: 30px; width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); }
.flow-card small { display: block; font: 600 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.flow-card h4 { margin: 0 0 8px; font-size: 1.2rem; }
.flow-card p { margin: 0; color: var(--steel); position: relative; z-index: 1; }
.flow-big { position: absolute; right: 10px; bottom: -16px; font: 800 5.6rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(233,28,36,.10); pointer-events: none; }
.flow-step:hover .flow-card { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow-step:hover .flow-node { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); transition-delay: 0s; }
.no-anim .flow-step:not(:last-child)::after { width: calc(100% - 64px); }
.no-anim .flow-node { border-color: var(--red); }

@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow-step:nth-child(2n)::before, .flow-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { flex-direction: row; gap: 18px; padding-bottom: 26px; }
  .flow-step:not(:last-child)::before, .flow-step:not(:last-child)::after { display: block; top: 64px; left: 31px; right: auto; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #C9CCD2 0 7px, transparent 7px 13px); }
  .flow-step:not(:last-child)::after { background: var(--red); height: 0; transition-property: height; }
  .flow.is-in .flow-step:not(:last-child)::after, .no-anim .flow-step:not(:last-child)::after { width: 2px; height: calc(100% - 64px); }
  .flow-node { flex: 0 0 64px; width: 64px; height: 64px; }
  .flow-ico svg { width: 26px; height: 26px; }
  .flow-card { margin-top: 0; padding: 20px 20px 30px; }
  .flow-card::before { top: 22px; left: -8px; }
  .flow-big { font-size: 5rem; }
  .head-row .flow-sub { margin-top: 8px; }
}
