/* Tema padrão: Dim Grey #65655e · Soft Periwinkle #7d80da · Wisteria #b0a3d4 · Thistle #cebacf · Lilac Ash #c6afb1.
   --accent é um periwinkle mais fechado pra texto e botão com letra branca passarem em contraste (AA);
   o periwinkle puro entra em --accent-rgb (tintas, brilhos, sombras). */
:root {
  --bg: #f7f6f9;
  --surface: #fff;
  --surface-2: #fcfbfd;
  --ink: #22221e;
  --muted: #65655e;
  --subtle: rgba(20, 21, 26, .5);
  --line: rgba(20, 21, 26, .1);
  --accent: #5b5fc7;
  --accent-dark: #4a4db0;
  --accent-rgb: 125, 128, 218;
  --accent-soft: rgba(var(--accent-rgb), .14);
  --accent-2: #b0a3d4;
  --accent-on-dark: #b0a3d4;
  --border-grad: linear-gradient(90deg, #7d80da, #b0a3d4, #c6afb1);
  --blob-1: rgba(125, 128, 218, .16);
  --blob-2: rgba(206, 186, 207, .3);
  --blob-3: rgba(176, 163, 212, .22);
  --blob-4: rgba(198, 175, 177, .26);
  --available-bg: linear-gradient(90deg, #dcdcf5, #e6ddef 50%, #eedfe1);
  --gutter: clamp(16px, 4vw, 56px);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

/* Tema secundário: a paleta original (terracota) */
:root[data-theme="classic"] {
  --bg: #fbfaf7;
  --surface-2: #fdfcfa;
  --ink: #14151a;
  --muted: rgba(20, 21, 26, .62);
  --accent: #c2452c;
  --accent-dark: #a8371f;
  --accent-rgb: 194, 69, 44;
  --accent-soft: rgba(var(--accent-rgb), .1);
  --accent-2: #e5893a;
  --accent-on-dark: #e07357;
  --border-grad: linear-gradient(90deg, #c2452c, #e5a13a, #3FA9A7);
  --blob-1: rgba(194, 69, 44, .14);
  --blob-2: rgba(31, 158, 122, .1);
  --blob-3: rgba(123, 67, 212, .1);
  --blob-4: rgba(14, 138, 118, .1);
  --available-bg: linear-gradient(90deg, #e3f3c4, #f5e7b2 50%, #f8cdb0);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Layout ---------- */
.page { position: relative; overflow-x: clip; }
.blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blobs span { position: absolute; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 70%); filter: blur(10px); }
main, .footer { position: relative; z-index: 1; }
.container { max-width: 1360px; margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 104px) var(--gutter); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.grid { display: grid; gap: 20px; }
.grid-200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }

/* ---------- Type ---------- */
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
h2 { margin-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.h-xl { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; }
.lead { color: rgba(20, 21, 26, .6); font-size: 17px; line-height: 1.6; }
.fineprint { margin-top: 28px; font-size: 12.5px; color: rgba(20, 21, 26, .4); }
.fineprint.center { text-align: center; font-size: 13px; color: rgba(20, 21, 26, .45); margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn-sm { height: 44px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; height: 48px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 24px rgba(var(--accent-rgb), .28); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(20, 21, 26, .18); color: var(--ink); white-space: normal; text-align: center; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 21, 26, .04); color: var(--ink); }
.btn-soft { background: rgba(20, 21, 26, .06); color: var(--ink); }
.btn-soft:hover { background: rgba(20, 21, 26, .1); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); min-height: 76px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--ink); }
.brand-name { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em; color: var(--ink); }
.brand-labs { display: inline-block; font-weight: 500; font-size: .62em; letter-spacing: .16em; color: var(--accent); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
/* Logo loop (9s): ◆ AXIS LABS → losango vira "A" e o A do texto some → LABS sai letra a letra → tudo volta */
.logo { position: relative; flex: 0 0 auto; width: 26px; height: 26px; margin: 0 2px; perspective: 160px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.logo-flip { position: absolute; inset: 0; transform-style: preserve-3d; animation: logoFlip 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.logo-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.logo-back { transform: rotateY(180deg); }
.d-out { position: absolute; inset: 0; background: var(--ink); border-radius: 3px; transform: rotate(45deg); }
.d-in { position: absolute; top: 6px; left: 6px; width: 14px; height: 14px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); animation: logoTick 9s ease-in-out infinite; }
.logo-a { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-a path { fill: none; stroke: var(--accent); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-a rect { fill: var(--accent); }
.logo::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 3px; transform: rotate(45deg); opacity: 0; pointer-events: none; animation: logoPing 9s ease-out infinite; }
.bn-word { display: inline-flex; }
.bn-a { display: block; overflow: hidden; max-width: .75em; animation: bnA 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.brand .brand-labs { transition: letter-spacing .4s ease; }
.brand .brand-labs i { display: inline-block; font-style: normal; animation: labsLetter 9s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.brand .brand-labs i:nth-child(2) { animation-delay: .07s; }
.brand .brand-labs i:nth-child(3) { animation-delay: .14s; }
.brand .brand-labs i:nth-child(4) { animation-delay: .21s; }
.brand:hover .logo { transform: scale(1.12); }
.brand:hover .brand-labs { letter-spacing: .3em; }
@keyframes logoFlip { 0%, 30% { transform: rotateY(0); } 37%, 70% { transform: rotateY(180deg); } 77%, 100% { transform: rotateY(360deg); } }
@keyframes bnA { 0%, 31% { max-width: .75em; margin-left: 0; opacity: 1; } 36%, 71% { max-width: 0; margin-left: -6px; opacity: 0; } 76%, 100% { max-width: .75em; margin-left: 0; opacity: 1; } }
@keyframes labsLetter { 0%, 46% { opacity: 1; transform: none; } 51% { opacity: 0; transform: translateY(-10px); } 74% { opacity: 0; transform: translateY(10px); } 80%, 100% { opacity: 1; transform: none; } }
@keyframes logoTick { 0%, 9% { transform: rotate(45deg) scale(1); } 14% { transform: rotate(135deg) scale(.6); } 19%, 100% { transform: rotate(225deg) scale(1); } }
@keyframes logoPing { 0%, 13% { opacity: 0; transform: rotate(45deg) scale(1); } 15% { opacity: .7; transform: rotate(45deg) scale(1); } 25%, 100% { opacity: 0; transform: rotate(45deg) scale(1.9); } }
.nav-links { display: flex; gap: 36px; margin-left: auto; margin-right: 20px; }
.nav-links a { color: rgba(20, 21, 26, .68); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Theme toggle ---------- */
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .2s, border-color .2s; }
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-20deg); }
.theme-toggle span { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(#7d80da 0 25%, #b0a3d4 0 50%, #cebacf 0 75%, #65655e 0); box-shadow: inset 0 0 0 1px rgba(20, 21, 26, .08); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
[data-theme="classic"] .theme-toggle span { background: conic-gradient(#c2452c 0 25%, #e5a13a 0 50%, #3FA9A7 0 75%, #14151a 0); transform: rotate(180deg); }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1360px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 80px; }
.orbit { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 920px; height: 920px; pointer-events: none; z-index: 0; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(20, 21, 26, .08); }
.ring-accent { border-color: rgba(var(--accent-rgb), .12); }
.chip { position: absolute; width: 50px; height: 50px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 20px rgba(20, 21, 26, .1); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; animation: float 6s ease-in-out infinite; }
.chip img { width: 24px; height: 24px; }
.chip-sm { width: 40px; height: 40px; border-radius: 11px; }
.chip-sm img { width: 20px; height: 20px; }
.hero-copy { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-bottom: 24px; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.hero-copy p { max-width: 560px; margin-bottom: 16px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.hero-copy p strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 20px 0 28px; }
.stats { position: relative; z-index: 1; max-width: 920px; margin: 16px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(20, 21, 26, .08); border-radius: 16px; overflow: hidden; }
.stats div { background: var(--surface-2); padding: 22px 16px; text-align: center; }
.stats strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 24px; }
.stats span { font-size: 12px; color: var(--subtle); }
.hero-demo { position: relative; z-index: 1; max-width: 960px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 20px; }
.hero-switch { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; transition: color .3s; }
.hero-dots { display: flex; gap: 6px; }
.hero-caption { margin-left: auto; font-size: 12px; color: rgba(20, 21, 26, .45); }
.hero-dots button { width: 22px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ''; width: 100%; height: 4px; border-radius: 2px; background: var(--dot, rgba(20, 21, 26, .15)); transition: background .3s; }

/* ---------- Browser window mockup ---------- */
.window { width: 100%; border-radius: 14px; background: #ececec; box-shadow: 0 30px 60px rgba(20, 21, 26, .18); overflow: hidden; border: 1px solid rgba(20, 21, 26, .08); }
.window-lg { border-radius: 18px; box-shadow: 0 24px 48px rgba(20, 21, 26, .14); margin-bottom: 32px; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; }
.wd { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.wd.r { background: #e0645a; } .wd.y { background: #e5b567; } .wd.g { background: #8fc47a; }
.window-url { min-width: 0; margin-left: 8px; font-size: 11px; color: rgba(20, 21, 26, .4); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { background: #fff; padding: 22px 26px 26px; min-height: 360px; display: flex; flex-direction: column; gap: 18px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.screen-title { font-family: var(--display); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps { display: flex; gap: 6px; flex: 0 0 auto; }
.steps span { width: 22px; height: 4px; border-radius: 2px; background: rgba(20, 21, 26, .12); transition: background .3s; }
.screen > * { animation: fadeIn .4s ease; }

/* mockup primitives */
.m-split { display: grid; gap: 16px; grid-template-columns: var(--cols, 1fr 1fr); }
.m-stack { display: grid; gap: 8px; align-content: start; }
.m-cap { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: rgba(20, 21, 26, .45); text-transform: uppercase; }
.m-small { font-size: 11px; color: var(--subtle); }
.m-strong { font-size: 13px; font-weight: 700; }
.m-big { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.m-field { height: 34px; border-radius: 8px; background: #f4f3f0; border: 1px solid var(--line); display: flex; align-items: center; padding: 0 10px; font-size: 12.5px; }
.m-btn { height: 32px; width: fit-content; padding: 0 16px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.m-btn.round { border-radius: 999px; }
.m-pill { width: fit-content; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.m-box { border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; border: 1px solid; }
.m-skel { height: 8px; border-radius: 3px; background: rgba(20, 21, 26, .15); }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #f8f7f4; font-size: 12px; }
.m-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-kpis { display: grid; gap: 10px; grid-template-columns: repeat(var(--n, 4), 1fr); }
.m-kpi { padding: 10px; border-radius: 10px; border: 1px solid; }
.m-kpi strong { display: block; font-family: var(--display); font-size: 19px; line-height: 1.2; }
.m-kpi span { font-size: 10px; font-weight: 600; color: var(--subtle); }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-day { height: clamp(30px, 4.2vw, 46px); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 600; color: rgba(20, 21, 26, .4); }
.m-day i { width: 5px; height: 5px; border-radius: 50%; }
.m-legend { display: flex; gap: 14px; padding-top: 6px; border-top: 1px solid rgba(20, 21, 26, .08); font-size: 10.5px; color: rgba(20, 21, 26, .55); }
.m-legend span { display: flex; align-items: center; gap: 5px; }
.m-legend i { width: 7px; height: 7px; border-radius: 50%; }
.m-check { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.m-check i { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-style: normal; color: #fff; }
.m-typed { white-space: pre-wrap; font-family: var(--display); font-size: 12.5px; line-height: 1.65; min-height: 180px; margin: 0; }
.m-caret { display: inline-block; width: 2px; height: 13px; vertical-align: -2px; animation: pulse 1s ease-in-out infinite; }
.m-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; align-items: end; height: 56px; margin-top: 6px; }
.m-bars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; font-size: 8px; color: rgba(20, 21, 26, .4); }
.m-bars i { width: 100%; border-radius: 3px 3px 0 0; background: #e4e6e2; }
.m-table { display: grid; gap: 6px; align-content: start; font-size: 11.5px; }
.m-table > div { display: flex; justify-content: space-between; gap: 8px; }
.m-table > div:first-child { font-size: 10px; font-weight: 700; color: rgba(20, 21, 26, .45); padding-bottom: 4px; border-bottom: 1px solid rgba(20, 21, 26, .08); }

/* ---------- Cards ---------- */
.card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.pain-card { transition: transform .3s, border-color .3s; }
.pain-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-label { margin-bottom: 10px; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pain-card p:last-child { font-size: 16.5px; font-weight: 500; line-height: 1.5; }
.card-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 18px; transition: background .3s, color .3s; }
.pain-card:hover .card-icon { background: var(--accent); color: #fff; }

/* ---------- Sectors band ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 48px; align-items: center; margin-top: 48px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--ink); color: #fff; }
.sectors-title { margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.sectors-sub { color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.6; }
.sector-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sector-chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.sector-chips li.is-focus { background: var(--accent); border-color: var(--accent); color: #fff; }
.sector-chips li.is-focus::before { content: '★ '; }
.sector-chips li:last-child { border-style: dashed; color: rgba(255, 255, 255, .6); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: 'tabs panel' 'copy panel'; gap: 28px 48px; align-items: start; }
.product-tabs { grid-area: tabs; display: grid; gap: 10px; }
.product-panel { grid-area: panel; position: sticky; top: 104px; }
.product-panel .window-lg { margin-bottom: 0; }
.product-copies { grid-area: copy; padding: 0 4px; }
.product-tab { display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 18px; border-radius: 16px; border: 1.5px solid rgba(20, 21, 26, .12); background: #fff; cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.product-tab:hover { border-color: var(--accent); }
.product-tab[aria-selected="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); transform: scale(1.015); }
.mono { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #fff; font-weight: 700; font-size: 13px; }
.tab-text { display: grid; gap: 2px; }
.tab-name { font-family: var(--display); font-weight: 600; font-size: 16px; }
.tab-sub { font-size: 13px; color: rgba(20, 21, 26, .55); }
.product-copy { animation: fadeUp .5s cubic-bezier(.16, 1, .3, 1); }
.product-copy h3 { margin-bottom: 10px; font-family: var(--display); font-size: 20px; line-height: 1.25; }
.product-copy > p { max-width: 600px; margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.product-copy > :last-child { margin-bottom: 0; }
.product-copy .btn { width: 100%; padding: 0 16px; font-size: 14px; }
.bullets { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 16px; font-size: 15px; color: rgba(20, 21, 26, .78); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Process + metrics ---------- */
.steps-list { list-style: none; padding: 0; margin: 0; }
.step-n { display: block; margin-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }
.steps-list h3 { margin-bottom: 10px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.steps-list p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.metrics { gap: 24px; margin-top: 80px; padding-top: 56px; border-top: 1px solid rgba(20, 21, 26, .12); }
.metrics strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 44px; letter-spacing: -.02em; line-height: 1.1; }
.metrics span { color: rgba(20, 21, 26, .55); font-size: 14px; font-weight: 600; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px; transition: transform .3s, box-shadow .3s; }
.quote:hover { transform: translateY(-6px); box-shadow: 0 20px 32px rgba(20, 21, 26, .1); }
.quote-mark { font-family: var(--display); font-size: 40px; color: var(--accent); line-height: .6; }
.quote blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(20, 21, 26, .08); }
.quote figcaption > span:last-child { display: grid; gap: 1px; }
.quote strong { font-weight: 600; font-size: 14px; }
.quote small { font-size: 12.5px; color: var(--subtle); }
.avatar { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }

/* ---------- Pricing ---------- */
.picker { padding: clamp(20px, 3vw, 36px); margin-bottom: 40px; }
.picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.picker-title { margin-bottom: 6px; font-family: var(--display); font-weight: 600; font-size: 19px; }
.picker-sub { font-size: 14px; color: rgba(20, 21, 26, .55); }
.picker-count { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; background: rgba(20, 21, 26, .05); color: rgba(20, 21, 26, .55); font-size: 12.5px; font-weight: 600; }
.picker-groups { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 28px; }
.group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.glyph { width: 32px; height: 32px; border-radius: 9px; background: rgba(var(--accent-rgb), .08); display: grid; place-items: center; color: var(--accent); font-weight: 700; font-size: 13px; }
.pain-options { display: grid; gap: 8px; }
.pain { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface-2); text-align: left; cursor: pointer; font-size: 13.5px; font-weight: 600; line-height: 1.35; transition: border-color .2s, background .2s; }
.pain::before { content: '✓'; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(20, 21, 26, .22); background: #fff; display: grid; place-items: center; font-size: 11px; color: #fff; transition: all .2s; }
.pain:hover { border-color: rgba(var(--accent-rgb), .5); }
.pain[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .05); }
.pain[aria-pressed="true"]::before { border-color: var(--accent); background: var(--accent); }
.recommendation { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(20, 21, 26, .08); font-size: 15px; font-weight: 600; animation: fadeUp .4s cubic-bezier(.16, 1, .3, 1); }
.tiers { padding-top: 14px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; --t: var(--ink); --s: rgba(20, 21, 26, .55); --chk: var(--accent); }
.tier-popular { background: var(--ink); border-color: var(--accent); --t: #fff; --s: rgba(255, 255, 255, .6); --chk: var(--accent-on-dark); }
.tier.is-recommended { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.tier-flag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tier-flag-rec { display: none; left: auto; right: 32px; background: var(--ink); }
.tier-popular .tier-flag-rec { background: #fff; color: var(--ink); }
.tier.is-recommended .tier-flag-rec { display: block; animation: fadeIn .3s ease; }
.tier-quote { margin-bottom: 8px; font-family: var(--display); font-style: italic; font-size: 14px; color: var(--chk); }
.tier-name { margin-bottom: 6px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--t); }
.tier-desc { font-size: 13.5px; line-height: 1.5; min-height: 40px; color: var(--s); }
.tier-price { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: -.02em; color: var(--t); }
.tier-note { margin-top: 4px; font-size: 12.5px; color: var(--s); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), .4); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 18px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 64px; }
.contact .lead { max-width: 460px; margin-bottom: 32px; }
.contact-links { display: grid; gap: 14px; }
.contact-links a { width: fit-content; font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-links a:hover { color: var(--accent); }
.form-card { padding: 32px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 13px; font-weight: 600; color: rgba(20, 21, 26, .6); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border-radius: 10px; border: 1px solid rgba(20, 21, 26, .15); background: var(--surface-2); color: var(--ink); padding: 0 14px; font: inherit; font-size: 15px; transition: border-color .2s; }
.contact-form input, .contact-form select { height: 46px; }
.contact-form select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, rgba(20,21,26,.5) 50%), linear-gradient(135deg, rgba(20,21,26,.5) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form textarea { padding: 12px 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); }
.form-sent { display: grid; gap: 10px; padding: 24px 0; color: var(--muted); animation: fadeIn .4s ease; }
.form-sent-title { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }

.contact-links .wa-link { display: inline-flex; align-items: center; gap: 8px; }
.contact-links .wa-link::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 12px 28px rgba(20, 21, 26, .22); animation: fadeUp .6s 1.2s cubic-bezier(.16, 1, .3, 1) both; transition: transform .2s, box-shadow .2s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(20, 21, 26, .26); }
.wa-float svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 32px var(--gutter) 104px; border-top: 1px solid var(--line); }
.footer .brand-name { font-size: 15px; }
.footer p { color: rgba(20, 21, 26, .45); font-size: 13px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { color: var(--subtle); font-size: 13px; font-weight: 600; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .theme-toggle { margin-left: auto; }
  .products { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'tabs' 'panel' 'copy'; gap: 28px; }
  .product-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-panel { position: static; }
  .product-copy .btn { width: auto; padding: 0 22px; font-size: 15px; }
  .sectors, .faq-wrap { grid-template-columns: 1fr; }
  .product-tab[aria-selected="true"] { transform: none; }
}
@media (max-width: 720px) {
  .orbit .chip { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-caption { margin-left: 0; width: 100%; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
  .product-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-tab { flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; gap: 8px; }
  .tab-sub { display: none; }
  .tab-name { font-size: 14px; }
  .window-body { padding: 16px; min-height: 0; }
  .m-split { grid-template-columns: 1fr; }
  .m-kpis { grid-template-columns: repeat(2, 1fr); }
  .steps span { width: 14px; }
  .metrics strong { font-size: 36px; }
  .contact { gap: 40px; }
  .form-card { padding: 22px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 18px; }
  .nav .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .theme-toggle { width: 40px; height: 40px; }
  .hero-ctas .btn { width: 100%; }
  /* "Neuroconecta" precisa caber na aba em telas de 320px */
  .product-tabs { gap: 8px; }
  .product-tab { padding: 12px 4px; }
  .tab-name { font-size: clamp(11px, 3.3vw, 14px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Menu em telas muito estreitas (≤ 400px) ---------- */
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand-name { font-size: 17px; gap: 4px; }
  .theme-toggle { width: 36px; height: 36px; }
  .theme-toggle span { width: 17px; height: 17px; }
  .nav .btn { height: 38px; padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 340px) {
  .theme-toggle { display: none; }
}
/* "AXIS LABS" nunca quebra linha, em nenhum lugar */
.brand-labs, .bn-word { flex: 0 0 auto; white-space: nowrap; }
