/* =========================================================
   CodeStreet · Soluções Tecnológicas
   style.css
   ========================================================= */

:root {
  --preto: #191919;
  --cinza: #D9D9D9;
  --accent: #191919;
  --claro: #F4F4F1;
  --painel: #E3E3E3;
  --painel-2: #D0D0D0;
  --linha: #C2C2C2;
  --borda: #BDBDBD;
  --borda-2: #B3B3B3;
  --texto-2: #434343;
  --texto-3: #555555;
  --texto-4: #5C5C5C;
  --cinza-medio: #9E9E9E;
  --fonte: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cinza); color: var(--preto); font-family: var(--fonte); -webkit-font-smoothing: antialiased; }
a { color: var(--preto); }
a:hover { color: #000; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--preto); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
svg { display: block; }

/* ---------- utilitários ---------- */
.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.label { font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--texto-3); }
.h2 { font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1; text-transform: uppercase; }
.lead { font-size: 17px; line-height: 1.55; color: var(--texto-2); }
.grid-bg {
  background-image: linear-gradient(#CFCFCF 1px, transparent 1px), linear-gradient(90deg, #CFCFCF 1px, transparent 1px);
  background-size: 48px 48px;
}
.tag { font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; color: var(--texto-2); border: 1px solid var(--borda-2); border-radius: 999px; padding: 6px 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-dark { background: var(--accent); color: var(--claro); border: none; }
.btn-dark:hover { color: var(--claro); }
.btn-line { border: 1px solid var(--cinza-medio); color: var(--preto); font-weight: 600; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }

/* ---------- menu flutuante ---------- */
.site-header { position: sticky; top: 14px; z-index: 10; padding: 0 16px; height: 0; overflow: visible; }
.nav {
  max-width: 1120px; margin: 0 auto; padding: 8px 8px 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(244,244,241,0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(25,25,25,0.12); border-radius: 999px; box-shadow: 0 12px 34px rgba(25,25,25,0.14);
  animation: navin .6s cubic-bezier(.2,.9,.3,1) both;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-style: italic; font-weight: 800; letter-spacing: 0.05em; }
.brand .wordmark { font-size: 18px; color: var(--preto); }
.brand .tagline { font-weight: 700; font-size: 9px; letter-spacing: 0.14em; color: var(--texto-3); margin-top: 5px; }
.nav-links { display: flex; gap: 2px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--texto-2); padding: 10px 13px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.nav-links a:hover { background: var(--preto); color: var(--claro); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.langs { display: flex; padding: 3px; border-radius: 999px; background: #E2E2DE; }
.langs button {
  min-width: 44px; min-height: 38px; border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 12px; letter-spacing: 0.06em; background: transparent; color: var(--texto-2);
  transition: background-color .2s ease, color .2s ease;
}
.langs button[aria-pressed="true"] { background: var(--preto); color: var(--claro); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 14.5px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--linha); overflow-x: clip; }
.hero-inner { padding-top: 128px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--texto-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 6.2vw, 92px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.hero h1 em { font-style: italic; }
.hero-p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--texto-2); max-width: 580px; }
.hero-p strong { color: var(--preto); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.mock { position: relative; width: 100%; max-width: 540px; height: 580px; }
.mock-sphere { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); }
.phone { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 272px; height: 544px; border-radius: 44px; background: var(--preto); padding: 10px; box-shadow: 0 40px 80px rgba(25,25,25,0.28); }
.phone-screen { width: 100%; height: 100%; border-radius: 35px; background: var(--claro); overflow: hidden; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 26px 16px 12px; background: var(--preto); color: var(--cinza); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--cinza); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.who { display: flex; flex-direction: column; line-height: 1.2; }
.who b { font-weight: 700; font-size: 13.5px; }
.who small { font-size: 11px; color: var(--cinza-medio); }
.chat { flex-grow: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.4; color: var(--preto); }
.msg { max-width: 84%; padding: 9px 12px; }
.msg.them { align-self: flex-start; background: #E2E2DE; border-radius: 4px 14px 14px 14px; }
.msg.me { align-self: flex-end; max-width: 86%; background: var(--preto); color: var(--claro); border-radius: 14px 4px 14px 14px; }
.msg time { display: block; text-align: right; font-size: 9.5px; opacity: 0.6; margin-top: 3px; }
.typing { align-self: flex-end; background: var(--preto); border-radius: 14px 4px 14px 14px; padding: 10px 14px; display: flex; gap: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--cinza); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
.booked { align-self: center; margin-top: 4px; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; border: 1px solid var(--preto); border-radius: 999px; padding: 6px 12px; }

.float-card { position: absolute; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(25,25,25,0.16); display: flex; flex-direction: column; gap: 6px; background: #fff; animation: float 5s ease-in-out infinite; }
.float-card .cap { font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; color: var(--texto-4); display: flex; align-items: center; gap: 8px; }
.float-card .cap .dot { width: 7px; height: 7px; background: var(--preto); }
.float-card strong { font-weight: 700; font-size: 14px; }
.float-card small { font-size: 12px; color: var(--texto-4); }
.fc-lead { left: 0; top: 70px; width: 196px; }
.fc-bars { right: 0; top: 210px; width: 200px; gap: 10px; animation-delay: -1.7s; }
.fc-bars small { font-size: 10.5px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars span { flex: 1; border-radius: 3px; background: var(--preto); transform-origin: bottom; animation: grow .8s cubic-bezier(.2,.9,.3,1) both; }
.fc-crm { left: 10px; bottom: 34px; width: 210px; background: var(--preto); color: var(--cinza); box-shadow: 0 18px 40px rgba(25,25,25,0.22); animation-delay: -3.3s; }
.fc-crm .cap { color: var(--cinza-medio); }
.stage { align-self: flex-start; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; background: var(--cinza); color: var(--preto); border-radius: 999px; padding: 5px 10px; }

.flow-wrap { padding-top: 8px; padding-bottom: 64px; }
.flow { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 28px; border: 1px solid var(--borda); border-radius: 14px; background: var(--painel-2); }
.flow-line { position: absolute; left: 64px; right: 64px; top: 50%; height: 1px; background: var(--borda-2); }
.pulse { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); animation: travel 4.2s cubic-bezier(.6,0,.4,1) infinite; }
.pulse.b { animation-delay: 1.4s; }
.pulse.c { animation-delay: 2.8s; }
.flow-step { position: relative; z-index: 1; font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; background: var(--painel-2); border: 1px solid var(--cinza-medio); border-radius: 999px; padding: 8px 14px; }

/* ---------- faixa de serviços ---------- */
.marquee { border-bottom: 1px solid var(--linha); overflow: hidden; padding: 22px 0; background: var(--preto); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; font-weight: 800; font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--cinza); }
.marquee-track:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap; }
.marquee-group > span { display: inline-flex; align-items: center; gap: 40px; }

/* ---------- soluções ---------- */
.solucoes { padding-top: 112px; padding-bottom: 96px; }
.solucoes .lead { max-width: 380px; }
.sol-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.sol-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 150px; padding: 22px;
  border-radius: 14px; cursor: pointer; text-align: left; background: var(--painel); color: var(--preto); border: 1px solid var(--borda);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.sol-tab:hover { border-color: #7A7A7A; }
.sol-tab[aria-selected="true"] { background: var(--accent); color: var(--claro); border-color: var(--accent); }
.sol-tab .top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.sol-tab .num { font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; opacity: 0.75; }
.sol-tab .name { font-weight: 800; font-size: 24px; letter-spacing: 0.02em; }
.sol-tab .head { font-size: 14.5px; line-height: 1.4; opacity: 0.85; }

.sol-panel { display: flex; flex-wrap: wrap; border: 1px solid var(--borda); border-radius: 16px; background: var(--painel); overflow: hidden; animation: fade .45s ease both; }
.sol-text { flex: 1 1 380px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 26px; }
.sol-text > div { display: flex; flex-direction: column; gap: 10px; }
.sol-text .big { font-size: 21px; line-height: 1.35; font-weight: 600; }
.sol-text .how { font-size: 16.5px; line-height: 1.55; color: #3D3D3D; }
.sol-text .tags { padding-top: 4px; }
.sol-text .result { padding-top: 22px; border-top: 1px solid var(--borda); }
.sol-text .result .label { color: var(--accent); }
.sol-visual { flex: 1 1 460px; min-width: 0; min-height: 440px; background: var(--painel-2); padding: 32px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.sol-visual .illus { position: absolute; top: 14px; right: 18px; font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; color: var(--texto-4); }
.pop { animation: pop .35s cubic-bezier(.2,.9,.3,1.2) both; }

/* mockup ATRAIR */
.m0 { display: flex; flex-direction: column; gap: 14px; }
.browser { border-radius: 12px; overflow: hidden; background: var(--claro); box-shadow: 0 24px 50px rgba(25,25,25,0.18); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--preto); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--texto-4); }
.browser-bar span { flex-grow: 1; margin-left: 6px; font-size: 11px; color: var(--cinza-medio); background: #2B2B2B; border-radius: 6px; padding: 4px 10px; }
.browser-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.browser-body .h { font-weight: 800; font-size: 22px; line-height: 1.15; max-width: 360px; }
.lines { display: flex; flex-direction: column; gap: 6px; }
.lines i { height: 8px; border-radius: 4px; background: #D8D8D3; }
.pill-dark { align-self: flex-start; font-weight: 700; font-size: 12px; background: var(--preto); color: var(--claro); border-radius: 999px; padding: 9px 16px; }
.gmn { align-self: flex-end; width: 78%; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(25,25,25,0.14); display: flex; flex-direction: column; gap: 6px; animation: float 5s ease-in-out infinite; }
.gmn .cap { font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; color: var(--texto-4); }
.gmn strong { font-size: 15px; }
.gmn small { font-size: 12.5px; line-height: 1.4; color: var(--texto-2); }
.gmn b { font-weight: 700; font-size: 11.5px; letter-spacing: 0.04em; padding-top: 4px; white-space: pre; }

/* mockup ATENDER */
.m1 { align-self: center; width: 100%; max-width: 360px; background: var(--claro); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(25,25,25,0.18); }
.m1-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--preto); color: var(--cinza); }
.m1-top .avatar { width: 30px; height: 30px; }
.m1-top b { font-size: 13px; }
.m1-top small { font-size: 10.5px; }
.m1 .chat { padding: 14px; flex-grow: 0; }
.m1-foot { align-self: center; font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; color: var(--texto-4); padding-top: 4px; }

/* mockup ORGANIZAR */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kcol { display: flex; flex-direction: column; gap: 8px; background: #E6E6E6; border-radius: 12px; padding: 10px; min-height: 300px; }
.kcol-head { display: flex; justify-content: space-between; gap: 4px; font-weight: 700; font-size: 10px; letter-spacing: 0.06em; color: var(--texto-2); }
.kcard { background: #fff; border-radius: 8px; padding: 9px 10px; box-shadow: 0 4px 12px rgba(25,25,25,0.08); display: flex; flex-direction: column; gap: 4px; }
.kcard b { font-weight: 700; font-size: 12px; }
.kcard small { font-size: 10.5px; opacity: 0.75; }
.kcard.moving { position: relative; z-index: 2; outline: 2px solid var(--preto); animation: move 4s ease-in-out infinite alternate; }
.kcard.done { background: var(--preto); color: var(--claro); }

/* mockup MEDIR */
.m3 { display: flex; flex-direction: column; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.kpi .cap { font-weight: 700; font-size: 10px; letter-spacing: 0.08em; color: var(--texto-4); }
.kpi b { font-weight: 800; font-size: 26px; }
.kpi small { font-size: 10.5px; color: var(--texto-2); }
.origins { background: #fff; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.origins .cap { font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; color: var(--texto-4); }
.orow { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.orow .n { width: 74px; flex-shrink: 0; }
.orow .track { flex-grow: 1; height: 10px; background: #E6E6E6; border-radius: 999px; overflow: hidden; }
.orow .fill { display: block; height: 100%; background: var(--preto); border-radius: 999px; transform-origin: left; animation: growx .9s cubic-bezier(.2,.9,.3,1) both; }
.orow .v { width: 30px; text-align: right; font-weight: 700; }

/* ---------- portfólio ---------- */
.portfolio { border-top: 1px solid var(--linha); }
.portfolio > .container { padding-top: 112px; padding-bottom: 96px; }
.carousel-ctrl { display: flex; align-items: center; gap: 12px; }
.slide-label { font-weight: 700; font-size: 14px; color: var(--texto-3); min-width: 64px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, filter .2s ease; }
.round-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.round-btn.line { border: 1px solid var(--cinza-medio); background: transparent; color: var(--preto); }
.round-btn.dark { border: none; background: var(--accent); color: var(--claro); }
.viewport { overflow: hidden; border: 1px solid var(--borda); border-radius: 16px; background: var(--painel); }
.slides { display: flex; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.slide { flex-shrink: 0; display: flex; flex-wrap: wrap; }
.slide-visual { flex: 1 1 520px; min-width: 0; padding: 36px; background: var(--painel-2); display: flex; align-items: center; justify-content: center; }
.site-mock { width: 100%; max-width: 600px; border-radius: 12px; overflow: hidden; background: var(--claro); border: 1px solid var(--borda-2); box-shadow: 0 30px 60px rgba(25,25,25,0.3); }
.site-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #E2E2DE; }
.site-bar .dots { display: flex; gap: 6px; }
.site-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #C4C4BF; }
.site-bar .url { flex-grow: 1; min-width: 0; font-weight: 700; font-size: 11.5px; color: #4A504C; background: var(--claro); border-radius: 6px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 16px; color: #141614; }
.site-body .row { display: flex; justify-content: space-between; align-items: center; }
.site-body .short { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.site-body .chip { width: 74px; height: 24px; border-radius: 999px; }
.site-body .h { font-weight: 800; font-size: 25px; line-height: 1.15; max-width: 440px; }
.site-body .lines { gap: 7px; }
.site-body .cta { align-self: flex-start; padding: 10px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.site-body .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-body .cards i { height: 66px; border-radius: 8px; background: #E8E8E3; }
.slide-info { flex: 1 1 380px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--borda); }
.slide-info h3 { font-weight: 800; font-size: 32px; line-height: 1.05; }
.slide-info p { font-size: 16.5px; line-height: 1.55; color: var(--texto-2); }
.slide-links { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 12px; }
.slide-links a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--borda-2); border-radius: 10px; text-decoration: none; font-size: 15px; color: var(--preto); }
.slide-links a:hover { border-color: var(--preto); }
.note { font-weight: 700; font-size: 11px; color: var(--texto-4); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
.thumb {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px;
  padding: 14px 16px; border-radius: 12px; cursor: pointer; text-align: left; color: var(--preto);
  background: var(--painel); border: 1px solid var(--borda); transition: background-color .2s ease, border-color .2s ease;
}
.thumb:hover { border-color: #7A7A7A; }
.thumb[aria-current="true"] { background: #EFEFEF; border-color: #7A7A7A; }
.thumb b { font-weight: 700; font-size: 14.5px; }
.thumb small { font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; color: var(--texto-3); }
.thumb .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }

/* ---------- diagnóstico ---------- */
.diagnostico { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--painel-2); }
.diag-inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 48px; }
.diag-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.diag-main > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.diag-main .lead { max-width: 560px; }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.pain {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px; border-radius: 12px; cursor: pointer; color: var(--preto);
  background: var(--painel); border: 1px solid var(--borda); transition: border-color .2s ease, background-color .2s ease;
}
.pain:hover { border-color: #7A7A7A; }
.pain .box { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: transparent; border: 1px solid #8A8A8A; }
.pain .box svg { visibility: hidden; }
.pain span:last-child { font-size: 15.5px; line-height: 1.4; text-align: left; }
.pain[aria-pressed="true"] { background: #EFEFEF; border-color: var(--accent); }
.pain[aria-pressed="true"] .box { background: var(--accent); border-color: var(--accent); }
.pain[aria-pressed="true"] .box svg { visibility: visible; }
.diag-card { flex: 1 1 340px; min-width: 0; align-self: flex-start; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--borda-2); border-radius: 16px; background: var(--painel); }
.progress-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--texto-2); }
.progress-head b { font-weight: 700; }
.progress { height: 6px; border-radius: 999px; background: var(--borda); overflow: hidden; margin-top: 8px; }
.progress div { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .5s cubic-bezier(.3,1.4,.5,1); }
.diag-empty { font-size: 16px; line-height: 1.55; color: var(--texto-3); }
.diag-result { display: flex; flex-direction: column; gap: 20px; }
.diag-result[hidden], .diag-empty[hidden] { display: none; }
.matched { display: flex; flex-direction: column; gap: 10px; }
.matched > span { font-size: 15px; color: var(--texto-2); }
.match { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--borda-2); border-radius: 10px; animation: fade .45s ease both; }
.match .ic { color: var(--accent); display: inline-flex; }
.match b { display: block; font-weight: 800; font-size: 16px; letter-spacing: 0.03em; }
.match small { font-size: 13.5px; color: var(--texto-3); }
.diag-result .btn { min-height: 52px; padding: 0 18px; font-size: 15.5px; }
.diag-note { font-size: 13px; line-height: 1.5; color: var(--texto-3); }

/* ---------- processo ---------- */
.processo { padding-top: 112px; padding-bottom: 96px; }
.processo .section-head > div { max-width: 760px; }
.processo .section-head { margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--borda-2); }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 28px 0; }
.step i { width: 12px; height: 12px; border-radius: 50%; background: var(--preto); margin-top: -34px; }
.step small { font-weight: 700; font-size: 13px; color: var(--texto-4); }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { font-size: 15.5px; line-height: 1.55; color: #4D4D4D; }

/* ---------- dúvidas ---------- */
.faq { border-top: 1px solid var(--linha); }
.faq-inner { padding-top: 112px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; }
.faq-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--borda-2); }
.faq-item { border-bottom: 1px solid var(--borda-2); }
.faq-item button {
  width: 100%; min-height: 64px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: none; color: var(--preto); font-size: 19px; font-weight: 600; text-align: left; cursor: pointer;
}
.faq-item .sign { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--cinza-medio); font-weight: 700; font-size: 18px; color: var(--accent); }
.faq-item p { padding: 0 56px 24px 0; font-size: 16px; line-height: 1.6; color: #4D4D4D; animation: fade .45s ease both; }

/* ---------- orçamento ---------- */
.contato { border-top: 1px solid var(--linha); }
.contato-inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.contato h2 { font-weight: 800; font-size: clamp(38px, 6vw, 84px); line-height: 0.95; text-transform: uppercase; max-width: 1000px; }
.contato p { font-size: 19px; line-height: 1.5; color: var(--texto-2); max-width: 620px; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--linha); background: var(--preto); color: var(--cinza); }
.footer-inner { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .sep { width: 1px; height: 38px; background: var(--cinza); }
.footer-brand .brand-text { gap: 5px; }
.footer-brand .wordmark { font-size: 20px; }
.footer-brand .tagline { font-weight: 700; font-size: 9.5px; letter-spacing: 0.14em; color: var(--cinza-medio); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 14.5px; }
.footer-links a { color: var(--cinza); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--texto-2); font-size: 12.5px; color: var(--cinza-medio); }

/* ---------- animações ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes move { 0%, 20% { transform: translateX(0); } 45%, 100% { transform: translateX(calc(100% + 10px)); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes travel { 0% { left: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes navin { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .mock { height: 560px; }
  .fc-lead { top: 40px; }
  .fc-bars { top: 240px; }
  .flow { padding: 18px 14px; }
  .flow-line { left: 32px; right: 32px; }
  .flow-step { font-size: 10.5px; padding: 6px 9px; }
  .sol-text, .slide-info { padding: 28px 22px; }
  .sol-visual, .slide-visual { padding: 24px 16px; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcol { min-height: 0; }
  .slide-info { border-left: none; border-top: 1px solid var(--borda); }
  .faq-item p { padding-right: 0; }
}
@media (max-width: 560px) {
  .nav-cta, .brand .tagline { display: none; }
  .nav { padding-left: 14px; }
}
@media (max-width: 420px) {
  .fc-lead, .fc-bars, .fc-crm { transform: scale(.88); }
  .fc-lead { left: -6px; }
  .fc-bars { right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
