/* taskfield.com.br — página estática
   Paleta da marca: azul #0050FF · verde #02CB01 · ciano #00FFFF · violeta #8702BB
   Raio máximo 4px (padrão do DS taskfield); exceção: moldura dos dispositivos. */

:root {
  --blue: #0050FF;
  --blue-700: #003FCC;
  --blue-050: #EEF3FF;
  --green: #02CB01;
  --green-700: #019A01;
  --ink: #0B1220;
  --ink-2: #2A3445;
  --muted: #566176;
  --line: #E2E7F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --radius: 4px;
  --wrap: 1180px;
  --font-head: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; overflow-wrap: break-word; }
.nb { white-space: nowrap; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 16px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue); text-decoration: none; }
.top__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.link-login { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.menu-btn { display: none; width: 40px; height: 40px; padding: 0; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.menu-btn:hover { background: var(--bg-soft); }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-btn path { transition: transform .2s ease, opacity .2s ease; transform-origin: 12px 12px; }
.top.is-open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.top.is-open .menu-btn .l2 { opacity: 0; }
.top.is-open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; border-radius: var(--radius); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bg-soft); }
.lang svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 150px; box-shadow: 0 12px 32px rgba(11,18,32,.12); }
.lang li a { display: block; padding: 8px 10px; color: var(--ink); font-size: 14px; border-radius: 2px; }
.lang li a:hover { background: var(--bg-soft); text-decoration: none; }
.lang li a[aria-current] { color: var(--blue); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("/assets/img/pattern.svg") 0 0 / 64px 64px repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 30%, transparent 75%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--blue-050); padding: 6px 12px; border-radius: var(--radius); margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(2,203,1,.18); }
.countdown:not(:empty)::before { content: "·"; margin: 0 6px 0 2px; color: var(--muted); }
.countdown { color: var(--blue); font-weight: 600; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 600; letter-spacing: -0.025em; }
.lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 34em; }

.notify { margin-top: 32px; max-width: 520px; }
.notify__row { display: flex; gap: 8px; }
.notify input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid #C9D2E1; border-radius: var(--radius); background: #fff;
  font: 400 16px var(--font-body); color: var(--ink);
}
.notify input::placeholder { color: #8A94A7; }
.notify input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,80,255,.16); }
.notify input[aria-invalid="true"] { border-color: #D62E2E; }
.notify .btn:disabled { opacity: .7; cursor: progress; }
.notify__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.notify__note.is-error { color: #C02323; }
.notify__note.is-ok { color: var(--green-700); }

.hero__visual { position: relative; margin: 0; }
.device { background: #0F1626; padding: 12px; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(11,18,32,.45), 0 0 0 1px rgba(11,18,32,.08); }
.device img { border-radius: 12px; width: 100%; }
.notif {
  position: absolute; left: -28px; bottom: -26px; display: flex; gap: 12px; align-items: flex-start;
  width: min(330px, 80%); padding: 14px 16px; background: rgba(255,255,255,.96);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(11,18,32,.25);
  animation: rise .7s .4s ease-out both;
}
.notif img { width: 36px; height: 36px; flex: none; padding: 5px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.notif__head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.notif__head strong { color: var(--ink); font-weight: 600; }
.notif__title { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.notif__text { font-size: 13px; color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- manifesto ---------- */
.manifesto { background: var(--blue); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.manifesto::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  background: url("/assets/img/mark-outline.svg") center / contain no-repeat; opacity: .14; pointer-events: none;
}
.manifesto__in { position: relative; z-index: 1; max-width: 900px; }
.manifesto h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.02em; }
.manifesto p:last-child { margin-top: 24px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 46em; }

/* ---------- seções ---------- */
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin: 0; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.02em; }
.section__head p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker--light { color: #9FFFA0; }

/* ciclo */
.cycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: c; }
.cycle__step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; }
.cycle__step::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--blue); border-radius: var(--radius) var(--radius) 0 0; transform-origin: left; }
.cycle__step:last-child::before { background: var(--green); }
.cycle__n { display: block; font: 500 14px var(--font-head); color: var(--blue); margin-bottom: 18px; }
.cycle__step:last-child .cycle__n { color: var(--green-700); }
.cycle__step h3 { font-size: 22px; }
.cycle__step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* recursos */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--blue-050); color: var(--blue); margin-bottom: 22px; }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* app */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split__copy h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.02em; }
.split__copy > p:not(.kicker) { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.split__visual { display: flex; justify-content: center; }
.phone { width: min(340px, 100%); background: #0F1626; padding: 10px; border-radius: 36px; box-shadow: 0 40px 80px -30px rgba(11,18,32,.45); }
.phone img { border-radius: 27px; width: 100%; }

/* segmentos */
.segments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.segment { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; background: #fff; }
.segment h3 { font-size: 19px; }
.segment p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.segment--anchor { background: var(--ink); border-color: var(--ink); color: #fff; }
.segment--anchor p { color: rgba(255,255,255,.75); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; font-weight: 500; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* cta */
.cta { background: var(--ink); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/pattern-light.svg") 0 0 / 64px 64px repeat; opacity: .06;
}
.cta__in { position: relative; text-align: center; max-width: 720px; }
.cta h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 600; letter-spacing: -0.02em; }
.cta__in > p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.78); }
.cta .notify { margin: 32px auto 0; }
.cta .notify input { border-color: transparent; }
.cta .notify__note { color: rgba(255,255,255,.65); }
.cta .notify__note.is-ok { color: #7CF07B; }
.cta .notify__note.is-error { color: #FF9A9A; }

/* rodapé */
.foot { background: #070C16; color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__brand img { width: 140px; }
.foot__brand p { margin-top: 14px; max-width: 26em; }
.foot__links { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: #fff; }
.foot a[aria-current] { color: var(--green); }
.foot__contact { display: grid; gap: 8px; align-content: start; }
.foot__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot__cookies { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.72); cursor: pointer; }
.foot__cookies:hover { color: #fff; text-decoration: underline; }
.consent { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 380px; max-width: calc(100vw - 32px); padding: 20px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(11,18,32,.16); font-size: 14px; line-height: 1.55; }
.consent[hidden] { display: none; }
.consent__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.consent__head img { flex: none; }
.consent__title { margin: 0; font: 600 16px/1.3 var(--font-head); color: var(--ink); }
.consent__text { margin: 0 0 16px; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; }
.consent__actions .btn { min-width: 104px; justify-content: center; }
.consent__no { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.consent__no:hover { background: var(--line); }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 600; }
.nf p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.nf .btn { margin-top: 28px; }
.nf__langs { margin-top: 20px; display: flex; gap: 16px; justify-content: center; font-size: 15px; }

/* ciclo: trilho + cards ricos (home) */
.cycle-rail { list-style: none; position: relative; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.cycle-rail::before, .cycle-rail::after { content: ""; position: absolute; top: 15px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: var(--line); }
.cycle-rail::after { right: auto; width: 18%; background: linear-gradient(90deg, rgba(0,80,255,0), var(--blue), rgba(2,203,1,.9)); animation: rail 6s ease-in-out infinite; }
@keyframes rail { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(365%); opacity: 0; } }
.cycle-rail li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 14px var(--font-head); color: var(--ink-2); }
.cycle-rail span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-size: 13px; font-weight: 600; box-shadow: 0 0 0 5px var(--bg-soft); }
.cycle-rail li:last-child span { background: var(--green); border-color: var(--green); color: #fff; }

.cycle--rich { gap: 20px; }
.cycle--rich .cycle__step { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; padding: 28px 28px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cycle--rich .cycle__step::before { height: 3px; background: linear-gradient(90deg, var(--blue), rgba(0,80,255,.15)); transform: scaleX(.35); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cycle--rich .cycle__step:last-child::before { background: linear-gradient(90deg, var(--green), rgba(2,203,1,.15)); }
.cycle--rich .cycle__step:hover { transform: translateY(-4px); border-color: rgba(0,80,255,.35); box-shadow: 0 24px 48px -28px rgba(11,18,32,.35); }
.cycle--rich .cycle__step:hover::before { transform: scaleX(1); }
.cycle__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-050); color: var(--blue); margin-bottom: 22px; }
.cycle__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cycle--rich .cycle__step:last-child .cycle__icon { background: #E6FBE6; color: var(--green-700); }
.cycle--rich .cycle__n { position: absolute; top: 14px; right: 22px; margin: 0; font: 600 64px/1 var(--font-head); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px #DCE3EF; }
.cycle--rich .cycle__step:last-child .cycle__n { color: transparent; -webkit-text-stroke-color: #BDEDBD; }
.cycle--rich .cycle__step h3 { font-size: 21px; }
.cycle--rich .cycle__step .cycle__next { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font: 500 13.5px var(--font-head); color: var(--blue); }
.cycle--rich .cycle__step p:not(.cycle__next) { margin-bottom: 18px; }
.cycle--rich .cycle__step:last-child .cycle__next { color: var(--green-700); }

/* ---------- IA ---------- */
.ai { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.ai::before { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,80,255,.38), rgba(0,80,255,0)); pointer-events: none; }
.ai .wrap { position: relative; }
.ai .section__head p:not(.kicker) { color: rgba(255,255,255,.76); }
.features--dark { border-color: rgba(255,255,255,.12); }
.features--dark .feature { border-color: rgba(255,255,255,.12); }
.features--dark .feature__icon { background: rgba(0,80,255,.22); color: #8FB2FF; }
.features--dark .feature p { color: rgba(255,255,255,.7); }
.grad { background: linear-gradient(92deg, #4D85FF 0%, #0050FF 45%, #02CB01 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai .section__head { max-width: 900px; }
.section__head .ai__title { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.03em; }
.ai__sub { margin-top: 96px; }
.ai__sub h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.ai__sub p { color: rgba(255,255,255,.76); }
.ai__note { margin: 28px auto 0; max-width: 44em; text-align: center; color: rgba(255,255,255,.7); }

/* fluxo: técnicos → dados → IA → decisão → volta ao campo */
.flow { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1.15fr; align-items: stretch; padding-bottom: 64px; }
.flow__node { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 22px 20px 22px; }
.flow__step { font: 500 12px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #8FB2FF; }
.flow__node h3 { margin-top: 10px; font-size: 18px; }
.flow__node p { margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.68); }
.flow__chips { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flow__chips li { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 3px; background: rgba(0,80,255,.2); color: #CFE0FF; }
.flow__node--ai { border-color: rgba(0,80,255,.7); background: linear-gradient(180deg, rgba(0,80,255,.22), rgba(0,80,255,.06)); animation: ai-glow 2.8s ease-in-out infinite; }
.flow__node--ai .flow__step { color: #9FFFA0; }
.flow__node--ai .flow__chips li { background: rgba(2,203,1,.16); color: #B8FFB7; }
.flow__node--out { border-color: rgba(2,203,1,.45); }
@keyframes ai-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,80,255,.45), 0 20px 50px -20px rgba(0,80,255,.6); } 50% { box-shadow: 0 0 0 10px rgba(0,80,255,0), 0 20px 60px -16px rgba(0,80,255,.8); } }

/* fios com pulso de dados */
.flow__wire { position: relative; align-self: center; height: 2px; margin-top: -40px; background: repeating-linear-gradient(90deg, rgba(143,178,255,.55) 0 5px, transparent 5px 10px); background-size: 20px 2px; animation: wire-dash .8s linear infinite; }
.flow__wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #02CB01; box-shadow: 0 0 10px 2px rgba(2,203,1,.7); animation: wire-dot 1.6s ease-in-out infinite; }
.flow__wire:nth-of-type(2) i { animation-delay: .4s; }
.flow__wire:nth-of-type(3) i { animation-delay: .8s; }
@keyframes wire-dash { to { background-position: 20px 0; } }
@keyframes wire-dot { 0% { transform: translateX(-4px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }

/* sugestões da IA que se alternam */
.insights { list-style: none; position: relative; margin: auto 0 0; padding: 0; min-height: 100px; }
.insight { position: absolute; inset: 14px 0 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 10px 14px; border-radius: 6px; background: #fff; color: var(--ink); border-left: 3px solid var(--blue); opacity: 0; animation: insight 9s ease-in-out infinite; }
.insight:nth-child(2) { animation-delay: 3s; }
.insight:nth-child(3) { animation-delay: 6s; }
.insight--warn { border-left-color: var(--blue); }
.insight--tune { border-left-color: var(--green); }
.insight--repeat { border-left-color: var(--ink); }
.insight__k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.insight--tune .insight__k { color: var(--green-700); }
.insight--repeat .insight__k { color: var(--ink-2); }
.insight__t { font-size: 13px; font-weight: 500; line-height: 1.35; }
@keyframes insight { 0% { opacity: 0; transform: translateY(8px); } 5%, 30% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; transform: translateY(-6px); } }

/* volta ao campo */
.flow__back { position: absolute; left: 10%; right: 10%; bottom: 0; height: 40px; margin: 0; border: 2px dashed rgba(143,178,255,.35); border-top: 0; border-radius: 0 0 14px 14px; text-align: center; }
.flow__back::before { content: ""; position: absolute; left: -7px; top: -8px; border: 6px solid transparent; border-bottom: 8px solid rgba(143,178,255,.7); }
.flow__back span { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 0 14px; background: var(--ink); font-size: 13.5px; font-weight: 500; color: #CFE0FF; white-space: nowrap; }
.flow__back i { position: absolute; bottom: -5px; width: 8px; height: 8px; border-radius: 50%; background: #4D85FF; box-shadow: 0 0 10px 2px rgba(0,80,255,.8); animation: back-dot 4s linear infinite; }
@keyframes wire-dash-v { to { background-position: 0 20px; } }
@keyframes wire-dot-v { 0% { transform: translateY(-4px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(32px); opacity: 0; } }
@keyframes back-dot { from { right: 0; } to { right: 100%; } }

/* animações só rodam com a seção na tela */
.flow:not(.is-in) *, .flow:not(.is-in) { animation-play-state: paused !important; }

/* entrada suave dos tópicos (main.js marca .rv e depois .is-in) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- blog ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(0,80,255,.35); box-shadow: 0 24px 48px -28px rgba(11,18,32,.35); }
.post-card h3 { margin-top: 12px; font-size: 20px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card > p:not(.post__cat):not(.post-card__meta) { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.post-card__meta { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--muted); }
.post-card__meta span { color: var(--blue); font-weight: 600; }
.post__cat { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-050); padding: 4px 9px; border-radius: 3px; }

.post__head { max-width: 860px; padding-top: 40px; padding-bottom: 40px; }
.post__head h1 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 50px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.post__meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.post__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; padding-bottom: 96px; }
.post__toc { position: sticky; top: 92px; align-self: start; font-size: 14px; border-left: 2px solid var(--line); padding-left: 18px; }
.post__toc p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post__toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.post__toc a { color: var(--ink-2); }
.post__toc a:hover { color: var(--blue); text-decoration: none; }

.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose .lead { margin-top: 0; font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose h2 { margin-top: 2em; font-size: 28px; line-height: 1.25; color: var(--ink); letter-spacing: -0.015em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6em; font-size: 20px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--ink); font-style: italic; }
.prose code { font-size: .9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-soft); color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--line); }
.prose .callout { background: var(--blue-050); border-left: 3px solid var(--blue); border-radius: 0 6px 6px 0; padding: 18px 22px; color: var(--ink); }
.prose .callout p + p { margin-top: .6em; }
.prose .takeaways { margin-top: 2.4em; background: var(--ink); color: rgba(255,255,255,.85); border-radius: 10px; padding: 26px 28px 28px; }
.prose .takeaways h2 { margin: 0 0 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #9FFFA0; }
.prose .takeaways ul { margin: 0; }
.prose .takeaways strong { color: #fff; }

/* ---------- páginas de segmento ---------- */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }
.hero--niche, .hero--hub { padding-top: 40px; }
.hero--niche h1 { font-size: clamp(36px, 4.6vw, 54px); }
.hero--hub { padding-bottom: 56px; }
.hero--hub h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 18em; }
.hero--hub .lead { max-width: 46em; }
.section--tight { padding-top: 64px; }
.assets-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 32px 34px; box-shadow: 0 30px 60px -30px rgba(11,18,32,.25); }
.assets-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--blue); border-radius: var(--radius) var(--radius) 0 0; }
.assets-card h2 { font-size: 20px; font-weight: 600; }
.assets-card .checks { margin-top: 20px; }
.cycle--2 { grid-template-columns: repeat(2, 1fr); }
.split--top { align-items: start; }
.split__copy > p:not(.kicker):last-child { color: var(--ink-2); }
.checks--card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; gap: 18px; }
.more-link { margin-top: 32px; text-align: center; font-weight: 600; }
.segment h2 { font-size: 19px; }
.segment h2 a, .segment h3 a { color: inherit; }
.segment--anchor a { color: #fff; }
.segment--link { position: relative; display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease; }
.segment--link:hover { border-color: var(--blue); box-shadow: 0 16px 32px -20px rgba(0,80,255,.45); }
.segment--link h2 a::after { content: ""; position: absolute; inset: 0; }
.segment--link p { flex: 1; }
.segment__more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a { display: inline-block; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: 15px; font-weight: 500; }
.chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.foot__segs { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot__segs a { color: rgba(255,255,255,.72); }
.foot__segs a:hover { color: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11,18,32,.10); max-height: calc(100vh - 68px); overflow-y: auto; }
  .top.is-open .nav { display: flex; animation: menu-in .18s ease-out; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero__in, .split, .faq { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 80px; }
  .hero__visual { max-width: 680px; }
  .cycle, .features, .segments { grid-template-columns: repeat(2, 1fr); }
  .cycle-rail { display: none; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post__grid { grid-template-columns: minmax(0, 720px); gap: 0; }
  .post__toc { display: none; }
  .flow { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; padding-bottom: 0; }
  .flow__wire { justify-self: center; width: 2px; height: 36px; margin: 0; background: repeating-linear-gradient(180deg, rgba(143,178,255,.55) 0 5px, transparent 5px 10px); background-size: 2px 20px; animation-name: wire-dash-v; }
  .flow__wire i { left: -3px; top: 0; animation-name: wire-dot-v; }
  .flow__back { position: static; height: auto; margin-top: 18px; border: 0; }
  .flow__back::before, .flow__back i { display: none; }
  .flow__back span { position: static; transform: none; padding: 0; background: none; }
  .flow__back span::before { content: "↺ "; color: #02CB01; }
  .ai__sub { margin-top: 72px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top__in { gap: 12px; height: 60px; }
  .brand img { width: 124px; }
  .link-login { display: none; }
  .top__actions { gap: 8px; }
  .nav { padding: 4px 16px 12px; max-height: calc(100vh - 60px); }
  .lead { font-size: 17px; }
  .countdown:not(:empty)::before { display: none; }
  .countdown { flex-basis: 100%; padding-left: 16px; }
  .notify__row { flex-direction: column; }
  .notify input { flex: none; width: 100%; }
  .notify .btn { width: 100%; }
  .notif { left: 8px; right: 8px; width: auto; bottom: -40px; }
  .hero { padding-bottom: 88px; }
  .section, .manifesto, .cta { padding: 72px 0; }
  .section__head { margin-bottom: 36px; text-align: left; }
  .cycle, .cycle--2, .features, .segments { grid-template-columns: 1fr; }
  .feature { padding: 28px 22px 30px; }
  .assets-card, .checks--card { padding: 24px 20px; }
  .posts { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .post__grid { padding-bottom: 72px; }
  .ai__note { text-align: left; }
  .chips { justify-content: flex-start; }
  .more-link { text-align: left; }
  .manifesto::after { width: 320px; height: 320px; right: -140px; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .top .btn--sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow *, .flow, .cycle-rail::after { animation: none !important; }
  .cycle-rail::after { display: none; }
  .flow__wire i, .flow__back i { display: none; }
  .insights { min-height: 0; }
  .insight { position: static; opacity: 1; margin-top: 8px; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .notif { animation: none; }
}

/* ---------- calculadoras (/calculadoras/, /es/calculadoras/, /en/calculators/, /de/rechner/) ---------- */
.calc-hub__head { padding: 40px 0 8px; max-width: 760px; }
.calc-hub__head h1 { font-size: clamp(34px, 4.4vw, 50px); }
.calc-hub__head .lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 40px 0 88px; }
.calc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; transition: background .15s ease; }
a.calc-card:hover { background: var(--bg-soft); text-decoration: none; }
.calc-card__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--blue-050); color: var(--blue); }
.calc-card__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.calc-card h2 { font-size: 21px; margin-top: 8px; }
.calc-card p { font-size: 15px; color: var(--muted); }
.calc-card__f { margin-top: auto; padding-top: 10px; font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); }
.calc-card__go { position: absolute; right: 24px; top: 30px; fill: none; stroke: currentColor; stroke-width: 2; color: var(--line); transition: color .15s, transform .15s; }
a.calc-card:hover .calc-card__go { color: var(--blue); transform: translateX(3px); }
.calc-card--hint { background: var(--bg-soft); }
.calc-card--hint h2 { font-size: 19px; }
.calc-card--hint .btn { align-self: flex-start; margin-top: auto; }

.calc-page__head { padding: 28px 0 8px; max-width: 780px; }
.calc-page__head h1 { font-size: clamp(32px, 4vw, 46px); }
.calc-page__head .lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 36px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.calc__in { margin: 0; padding: 28px 28px 24px; border-right: 1px solid var(--line); }
.calc__out { padding: 28px; background: var(--bg-soft); display: flex; flex-direction: column; }
.calc__title { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.field { display: block; margin-bottom: 16px; }
.field__lab { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field__box { display: flex; align-items: stretch; height: 46px; border: 1px solid #C9D1DE; border-radius: var(--radius); background: #fff; }
.field__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 80, 255, .16); }
.field__box input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; padding: 0 12px; font: 500 16px/1 var(--font-body); color: var(--ink); outline: none; -moz-appearance: textfield; }
.field__box input::-webkit-outer-spin-button, .field__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__unit { display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--muted); white-space: nowrap; border-left: 1px solid var(--line); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.field__hint { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.field.is-bad .field__box { border-color: #D62E2E; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field[hidden], .field-row[hidden] { display: none; }
.calc__acts, .calc__share { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__acts { margin-top: 6px; }
.calc__share { margin-top: auto; padding-top: 20px; }
.btn--ghost { height: 38px; padding: 0 14px; font-size: 14px; background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.toggle { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; user-select: none; }
.toggle input { width: 16px; height: 16px; accent-color: var(--blue); }
.calc__res { font: 500 clamp(44px, 5vw, 60px)/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.calc__res small { font: 500 20px/1 var(--font-body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.calc__res.is-empty { color: #B4BCCB; }
.calc__sub { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 24px; }
.band { margin-top: 24px; }
.band__wrap { position: relative; }
.band__bar { display: flex; height: 8px; border-radius: 2px; overflow: hidden; }
.band__pin { position: absolute; top: -5px; width: 3px; height: 18px; margin-left: -1px; background: var(--ink); border-radius: 1px; transition: left .35s cubic-bezier(.2, .8, .2, 1); }
.band__lbl { position: relative; height: 16px; margin-top: 8px; white-space: nowrap; font-size: 12px; color: var(--muted); }
.band__lbl span { position: absolute; }
.verdict { margin-top: 22px; padding: 14px 16px; border-left: 3px solid var(--line); background: #fff; font-size: 15px; color: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; }
.verdict b { color: var(--ink); }
.verdict.is-good { border-color: var(--green); }
.verdict.is-mid { border-color: #E3A008; }
.verdict.is-bad { border-color: #D62E2E; }
.formula { margin-top: 18px; font: 500 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); background: #fff; border: 1px dashed #C9D1DE; border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; white-space: nowrap; }
.calc__note { font-size: 13px; color: var(--muted); margin: 0 0 56px; }
.calc-more { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; margin-bottom: 80px; }
.calc-more .prose { font-size: 17px; }
.calc-more .prose > h2:first-child { margin-top: 0; }
.calc-side { align-self: start; position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.calc-side h2 { font-size: 16px; margin-bottom: 12px; }
.calc-side > a:not(.btn) { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.calc-side > a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.calc-side__promo { margin-top: 18px; padding: 16px; background: var(--blue-050); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); }
.calc-side__promo b { display: block; color: var(--ink); margin-bottom: 4px; }
.calc-side__cta { width: 100%; justify-content: center; margin-top: 18px; }
.prose .calc-cta { margin-top: 2em; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; font-size: 14px; padding: 10px 16px; border-radius: var(--radius); opacity: 0; pointer-events: none; transition: .2s; z-index: 80; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1040px) {
  .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-card--hint { grid-column: span 2; }
  .calc-more { grid-template-columns: 1fr; gap: 32px; }
  .calc-side { position: static; }
}
@media (max-width: 720px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-card--hint { grid-column: auto; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__in { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 18px; }
  .calc__out { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .consent { right: 16px; bottom: 16px; }
  .consent__actions .btn { flex: 1; }
}
