/* ISoftware Developers - site principal (index.php) */

:root {
    --navy-950: #070d24;
    --navy-900: #0b1433;
    --navy-800: #121e4a;
    --navy-700: #1d2c63;
    --tinta: #0e1736;
    --mudo: #55627f;
    --ciano: #22c3ee;
    --ciano-esc: #0a7ea4;
    --lima: #c9f73f;
    --lima-esc: #b4e31f;
    --papel: #f3f6fb;
    --linha: #dde4f0;
    --branco: #ffffff;
    --zap: #25d366;
    --raio: 16px;
    --sombra: 0 18px 50px -18px rgba(11, 20, 51, 0.28);
    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    --colmeia: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7V97' fill='none' stroke='%23ffffff' stroke-opacity='.09'/%3E%3C/svg%3E");
    --fonte: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --titulo: 'Sora', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--fonte);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tinta);
    background: var(--branco);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[hidden] { display: none !important; }

h1, h2, h3, h4, p, ul, ol, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 { font-family: var(--titulo); line-height: 1.12; letter-spacing: -0.02em; }

:focus-visible { outline: 3px solid var(--ciano); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--lima); color: var(--navy-950); }

.sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.pular {
    position: fixed; top: -80px; left: 12px; z-index: 200;
    background: var(--lima); color: var(--navy-950); font-weight: 700;
    padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.pular:focus { top: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-m { width: min(960px, 100% - 40px); }

/* ---------- Botões e peças pequenas ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 20px; border: 0; border-radius: 12px;
    font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn i { font-size: 0.9em; transition: transform 0.18s ease; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:hover:not(:disabled) .fa-arrow-right { transform: translateX(3px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-lima { background: var(--lima); color: var(--navy-950); }
.btn-lima:hover:not(:disabled) { background: var(--lima-esc); box-shadow: 0 12px 28px -8px rgba(201, 247, 63, 0.55); }
.btn-navy { background: var(--navy-900); color: var(--branco); }
.btn-navy:hover:not(:disabled) { background: var(--navy-700); box-shadow: var(--sombra); }
.btn-fantasma { background: transparent; color: var(--mudo); padding-inline: 10px; }
.btn-fantasma:hover:not(:disabled) { color: var(--tinta); transform: none; }
.btn-contorno { background: var(--branco); color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linha); }
.btn-contorno:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ciano-esc); }
.btn-vidro { background: rgba(255, 255, 255, 0.08); color: var(--branco); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn-vidro:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.btn-zap { background: var(--zap); color: var(--branco); }
.btn-p { padding: 10px 16px; font-size: 14px; }
.btn-g { padding: 16px 26px; font-size: 16px; border-radius: 14px; }

.link {
    background: none; border: 0; padding: 0; font-weight: 700;
    color: var(--ciano-esc); text-decoration: underline; text-underline-offset: 3px;
}
.link:hover { color: var(--tinta); }

.selo {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ciano-esc); background: rgba(34, 195, 238, 0.13);
}
.selo-claro { color: #c4f1ff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }

.pulso { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lima); flex: none; display: inline-block; }
.pulso::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--lima);
    animation: pulso 1.8s ease-out infinite;
}
@keyframes pulso { to { transform: scale(3.2); opacity: 0; } }

.chip {
    padding: 7px 13px; border-radius: 999px; border: 1px solid var(--linha); background: var(--branco);
    font-size: 13px; font-weight: 600; color: var(--tinta); text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.chip:hover { border-color: var(--ciano-esc); transform: translateY(-1px); }
.chip-escuro { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); color: #e6edff; }
.chip-escuro:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--lima); }

.hex {
    flex: none; display: grid; place-items: center; width: 42px; height: 46px;
    clip-path: var(--hex); background: rgba(34, 195, 238, 0.16); color: var(--ciano-esc); font-size: 17px;
}
.hex-g { width: 60px; height: 66px; font-size: 22px; font-family: var(--titulo); font-weight: 800; background: var(--navy-900); color: var(--lima); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
    padding: 5px 12px; border-radius: 999px; background: var(--branco); border: 1px solid var(--linha);
    font-size: 13px; font-weight: 600; color: var(--mudo);
}

.grifo { color: var(--ciano-esc); }
.grifo-lima { color: var(--lima); }

/* Entrada ao rolar (só esconde quando há JS para revelar) */
.js .revela { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--atraso, 0ms); }
.js .revela.visivel { opacity: 1; transform: none; }

/* Brilho que segue o ponteiro */
.brilho { position: relative; overflow: hidden; }
.brilho::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 195, 238, 0.2), transparent 70%);
}
.brilho:hover::before { opacity: 1; }

/* ---------- Navbar ---------- */

.topo { position: fixed; top: 12px; left: 0; right: 0; z-index: 70; pointer-events: none; }
.topo-barra {
    pointer-events: auto; position: relative;
    width: min(1180px, 100% - 24px); margin-inline: auto;
    display: flex; align-items: center; gap: 16px;
    padding: 8px 8px 8px 18px; border-radius: 20px;
    background: var(--branco);
    box-shadow: 0 10px 40px -12px rgba(7, 13, 36, 0.4);
    transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.topo.rolado .topo-barra {
    padding-block: 5px;
    box-shadow: 0 0 0 1px rgba(11, 20, 51, 0.08), 0 14px 34px -16px rgba(7, 13, 36, 0.45);
}
.topo-logo { flex: none; display: block; border-radius: 8px; }
.topo-logo img { height: 46px; width: auto; transition: height 0.25s ease; }
.topo.rolado .topo-logo img { height: 40px; }
.topo-nav { display: flex; gap: 2px; margin-inline: auto; }
.topo-nav a:not(.btn) {
    position: relative; padding: 9px 13px; border-radius: 10px; white-space: nowrap;
    font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--mudo);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.topo-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--ciano); transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.topo-nav a:not(.btn):hover { color: var(--tinta); background: var(--papel); }
.topo-nav a.atual { color: var(--tinta); }
.topo-nav a.atual::after { transform: scaleX(1); }
.topo-nav-cta { display: none; }
.topo-cta { flex: none; padding: 12px 18px; }
.topo-menu {
    display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: var(--papel); color: var(--tinta); font-size: 18px;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.topo.aberto .topo-menu { background: var(--navy-900); color: var(--branco); }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: 148px; background: var(--navy-950); color: var(--branco); overflow: hidden; isolation: isolate; }
.hero-fundo {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(55% 55% at 85% 8%, rgba(34, 195, 238, 0.3), transparent 70%),
        radial-gradient(45% 50% at 0% 85%, rgba(99, 102, 241, 0.3), transparent 70%);
}
.hero-fundo::after {
    content: ''; position: absolute; inset: 0; background-image: var(--colmeia);
    -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
    mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}
.hero-grade { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(1.8rem, 7.2vw, 3.6rem); font-weight: 800; }
.hero-rot {
    display: block; min-height: 1.15em; color: var(--lima);
    transition: opacity 0.26s ease, transform 0.26s ease;
}
.hero-rot.sai { opacity: 0; transform: translateY(-10px); }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(1rem, 1.5vw, 1.15rem); color: #c3cdea; }
.hero-sub strong { color: var(--branco); }

.hero-prompt {
    display: flex; gap: 6px; margin-top: 30px; padding: 6px; max-width: 600px;
    background: var(--branco); border-radius: 16px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 24px 60px -20px rgba(34, 195, 238, 0.6);
}
.hero-prompt input {
    flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; color: var(--tinta); font-size: 16px; outline: none;
}
.hero-prompt:focus-within { box-shadow: 0 0 0 4px var(--ciano), 0 24px 60px -20px rgba(34, 195, 238, 0.6); }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #9fabcf; }

.demo {
    border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.demo-topo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.demo-luzes { display: flex; gap: 6px; }
.demo-luzes i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.demo-abas { display: flex; gap: 4px; margin-left: auto; }
.demo-abas button {
    padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: #aab6d8; font-size: 13px; font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.demo-abas button:hover { color: var(--branco); }
.demo-abas button.ativo { background: var(--lima); color: var(--navy-950); }
.demo-corpo { height: 384px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.demo-msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; animation: surge 0.35s ease both; }
.demo-msg small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; margin-bottom: 2px; }
.demo-msg.in { align-self: flex-start; background: rgba(255, 255, 255, 0.1); border-bottom-left-radius: 4px; }
.demo-msg.out { align-self: flex-end; background: var(--ciano); color: var(--navy-950); border-bottom-right-radius: 4px; }
.demo-msg.ev {
    align-self: stretch; max-width: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    font-size: 13px; font-weight: 600; color: var(--lima); background: rgba(201, 247, 63, 0.07); box-shadow: inset 0 0 0 1px rgba(201, 247, 63, 0.3);
}
.digitando { display: inline-flex; gap: 4px; padding: 4px 0; }
.digitando i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; animation: pisca 1s infinite; }
.digitando i:nth-child(2) { animation-delay: 0.15s; }
.digitando i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pisca { 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes surge { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.demo-rodape {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: #9fabcf;
}
.demo-rodape a { color: var(--lima); font-weight: 700; text-decoration: none; }
.demo-rodape a:hover { text-decoration: underline; }

.hero-numeros {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 64px; padding: 28px 0 44px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-numeros strong { display: block; font-family: var(--titulo); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; }
.hero-numeros span { font-size: 14px; color: #9fabcf; }

/* ---------- Empresas ---------- */

.marcas { padding: 26px 0; border-bottom: 1px solid var(--linha); }
.marcas-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.marcas p { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mudo); }
.marcas-logos { display: flex; align-items: center; gap: 22px 44px; flex-wrap: wrap; }
.marcas-logos img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s ease, opacity 0.25s ease; }
.marcas-logos img:hover { filter: none; opacity: 1; }

/* ---------- Seções ---------- */

.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-papel { background: var(--papel); }
.sec-navy, .sec-ia, .sec-final { position: relative; isolation: isolate; background: var(--navy-950); color: var(--branco); overflow: hidden; }
.sec-navy::before, .sec-final::before {
    content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--colmeia);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.sec-navy::after, .sec-final::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(50% 40% at 50% 0%, rgba(34, 195, 238, 0.22), transparent 70%);
}

.sec-cab { max-width: 800px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.sec-cab h2, .sec-ia h2, .sec-final h2, .sobre-grade h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); font-weight: 800; }
.sec-cab > p:last-child { margin-top: 14px; font-size: 1.05rem; color: var(--mudo); }
.sec-cab-claro > p:last-child { color: #b9c4e4; }
.sec-nota { margin-top: 28px; text-align: center; color: var(--mudo); font-size: 15px; }
.sec-acao { margin-top: 40px; text-align: center; }

/* ---------- Vitrine de soluções ---------- */

.vitrine { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.vitrine-abas { display: flex; flex-direction: column; gap: 8px; }
.vitrine-aba {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-align: left;
    background: var(--branco); border: 1.5px solid var(--linha); border-radius: var(--raio);
    transition: border-color 0.15s ease, background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.vitrine-aba strong { display: block; font-size: 15px; line-height: 1.25; }
.vitrine-aba small { font-size: 12px; color: var(--mudo); }
.vitrine-aba:hover { border-color: var(--ciano-esc); transform: translateX(3px); }
.vitrine-aba.ativo { background: var(--navy-900); border-color: var(--navy-900); color: var(--branco); transform: translateX(6px); }
.vitrine-aba.ativo small { color: #a9b6dc; }
.vitrine-aba.ativo .hex { background: var(--lima); color: var(--navy-950); }

.vitrine-painel {
    padding: clamp(22px, 3.4vw, 36px); border-radius: 24px; color: var(--branco);
    background: radial-gradient(60% 60% at 100% 0%, rgba(34, 195, 238, 0.25), transparent 70%), var(--navy-950);
    box-shadow: var(--sombra);
}
.vitrine-painel h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; margin-bottom: 22px; max-width: 22em; }
.virada { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.virada-col { padding: 18px; border-radius: var(--raio); }
.virada-col h4 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.virada-col li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; }
.virada-col li + li { margin-top: 10px; }
.virada-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.virada-hoje { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #c3cdea; }
.virada-hoje h4 { color: #ffb7a6; }
.virada-hoje li::before { content: '×'; color: #ff9d88; }
.virada-depois { background: rgba(201, 247, 63, 0.08); box-shadow: inset 0 0 0 1px rgba(201, 247, 63, 0.35); }
.virada-depois h4 { color: var(--lima); }
.virada-depois li::before { content: '✓'; color: var(--lima); }
.virada-seta { align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lima); color: var(--navy-950); }
.vitrine-painel.ativo .virada-col li { animation: surge 0.4s ease both; }
.vitrine-painel.ativo .virada-col li:nth-child(2) { animation-delay: 0.08s; }
.vitrine-painel.ativo .virada-col li:nth-child(3) { animation-delay: 0.16s; }
.vitrine-painel.ativo .virada-depois li { animation-delay: 0.25s; }
.vitrine-painel.ativo .virada-depois li:nth-child(2) { animation-delay: 0.33s; }
.vitrine-painel.ativo .virada-depois li:nth-child(3) { animation-delay: 0.41s; }
.vitrine-pe { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.vitrine-pe .tags li { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: #d5defa; }

/* ---------- Pergunte à IA ---------- */

.sec-ia { background: linear-gradient(120deg, #0b1b52, var(--navy-950) 60%); }
.sec-ia::before {
    content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 195, 238, 0.35), transparent 65%);
}
.ia-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ia-sub { margin-top: 16px; color: #b9c4e4; font-size: 1.05rem; max-width: 30em; }
.ia-caixa { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ia-form { display: flex; gap: 6px; padding: 6px; background: var(--branco); border-radius: 14px; }
.ia-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; color: var(--tinta); outline: none; }
.ia-form:focus-within { box-shadow: 0 0 0 4px var(--ciano); }
.ia-sugestoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Calculadora ---------- */

.calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--branco); box-shadow: var(--sombra); }
.calc-controles { padding: clamp(22px, 3.6vw, 40px); display: grid; gap: 26px; align-content: center; }
.campo-range label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.campo-range output {
    flex: none; padding: 3px 11px; border-radius: 999px; background: var(--navy-900); color: var(--lima);
    font-family: var(--titulo); font-weight: 700; font-size: 14px;
}
input[type='range'] { width: 100%; height: 28px; margin: 0; accent-color: var(--ciano-esc); cursor: pointer; }
.calc-resultado {
    padding: clamp(22px, 3.6vw, 40px); color: var(--branco);
    background: radial-gradient(70% 60% at 100% 0%, rgba(34, 195, 238, 0.3), transparent 70%), var(--navy-950);
}
.calc-rotulo { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #a9b6dc; }
.calc-valor { font-family: var(--titulo); font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.1; color: var(--lima); margin: 6px 0 22px; font-variant-numeric: tabular-nums; }
.calc-linhas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.calc-linhas div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.calc-linhas strong { display: block; font-family: var(--titulo); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.calc-linhas span { font-size: 13px; color: #a9b6dc; }
.calc-obs { margin-top: 14px; font-size: 12.5px; color: #8e9bc0; }

/* ---------- Como funciona ---------- */

.processo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.processo li { position: relative; padding: 24px 20px; border-radius: 20px; background: var(--papel); border: 1px solid var(--linha); }
.processo li:not(:last-child)::after {
    content: ''; position: absolute; top: 56px; right: -14px; width: 10px; height: 10px; z-index: 1;
    border-top: 3px solid var(--ciano); border-right: 3px solid var(--ciano); transform: rotate(45deg);
}
.processo h3 { font-size: 1.1rem; font-weight: 700; margin: 16px 0 8px; }
.processo p { font-size: 14.5px; color: var(--mudo); }

/* ---------- Simulador de orçamento ---------- */

.funil { padding: clamp(18px, 4vw, 40px); border-radius: 28px; background: var(--branco); color: var(--tinta); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); }
.funil-trilha { display: flex; margin-bottom: 28px; }
.funil-trilha li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.funil-trilha li::before { content: ''; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: var(--linha); transition: background-color 0.3s ease; }
.funil-trilha li:first-child::before { display: none; }
.funil-trilha span {
    position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--branco); box-shadow: inset 0 0 0 2px var(--linha); font-size: 13px; font-weight: 700; color: var(--mudo);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.funil-trilha em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--mudo); }
.funil-trilha .feito::before, .funil-trilha .atual::before { background: var(--ciano); }
.funil-trilha .feito span { background: var(--ciano); box-shadow: none; color: var(--navy-950); }
.funil-trilha .atual span { background: var(--navy-900); box-shadow: 0 0 0 4px rgba(34, 195, 238, 0.3); color: var(--lima); }
.funil-trilha .atual em { color: var(--tinta); }

.funil-eco, .funil-aviso { margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; background: rgba(201, 247, 63, 0.25); font-size: 14.5px; font-weight: 600; }

.passo.ativo { animation: surge 0.35s ease both; }
.passo legend { font-family: var(--titulo); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.25; margin-bottom: 20px; padding: 0; }
.passo legend span { color: var(--ciano-esc); }
.opcoes { display: grid; gap: 12px; }
.opcoes-3 { grid-template-columns: repeat(3, 1fr); }
.opcoes-2, .opcoes-lista { grid-template-columns: repeat(2, 1fr); }
.opt {
    position: relative; display: flex; flex-direction: column; gap: 5px; padding: 16px; text-align: left;
    background: var(--branco); border: 1.5px solid var(--linha); border-radius: var(--raio);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.opt > i { font-size: 20px; color: var(--ciano-esc); margin-bottom: 4px; }
.opt strong { font-size: 15px; line-height: 1.3; }
.opt small { font-size: 13px; line-height: 1.4; color: var(--mudo); }
.opt:hover { border-color: var(--ciano-esc); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(11, 20, 51, 0.3); }
.opt.sel { border-color: var(--navy-900); background: #eefbff; box-shadow: 0 0 0 3px rgba(34, 195, 238, 0.4); }
.opt.sel::after {
    content: '✓'; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: var(--navy-900); color: var(--lima); font-size: 12px; font-weight: 800;
}
.opt-g { padding: 22px; }
.opt-g > i { font-size: 26px; }
.opt-linha { flex-direction: row; align-items: center; gap: 14px; padding-right: 40px; }
.opt-linha > i { margin: 0; width: 26px; text-align: center; }
.opt-linha span { display: flex; flex-direction: column; gap: 2px; }
.passo-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.passo-nav-final { flex-wrap: wrap; }
.passo-nav-final > div { display: flex; flex-wrap: wrap; gap: 10px; }

.rotulo { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.ctx { padding: 18px; border-radius: var(--raio); background: var(--papel); margin-bottom: 22px; }
.ctx h4 { font-family: var(--titulo); font-size: 1.05rem; }
.ctx > p { font-size: 13.5px; color: var(--mudo); margin: 4px 0 14px; }
.ctx .campo + .campo { margin-top: 12px; }
.ctx .campo input, .ctx .campo textarea, .ctx .campo select { background: var(--branco); }
.ctx-carregando { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mudo); }
.ctx-stack { margin-bottom: 22px; }
.pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.pilula {
    padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--linha); background: var(--branco);
    font-size: 13.5px; font-weight: 600; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.pilula:hover { border-color: var(--ciano-esc); }
.pilula.ativo { background: var(--navy-900); border-color: var(--navy-900); color: var(--branco); }

.laudo {
    padding: clamp(18px, 3vw, 28px); border-radius: 20px; color: var(--branco); margin-bottom: 28px;
    background: radial-gradient(60% 50% at 100% 0%, rgba(34, 195, 238, 0.28), transparent 70%), var(--navy-950);
}
.laudo-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.laudo-topo .hex { background: var(--lima); color: var(--navy-950); }
.laudo-topo h3 { font-size: 1.15rem; }
.laudo-topo p { font-size: 13px; color: #a9b6dc; }
.laudo-valor { padding: 16px 18px; border-radius: var(--raio); background: rgba(201, 247, 63, 0.08); box-shadow: inset 0 0 0 1px rgba(201, 247, 63, 0.35); margin-bottom: 18px; }
.laudo-valor span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c4f1ff; }
.laudo-valor strong { display: block; font-family: var(--titulo); font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.5rem); line-height: 1.15; color: var(--lima); }
.laudo-valor small { display: block; margin-top: 4px; font-size: 13px; color: #b9c4e4; }
.laudo-bloco { margin-bottom: 16px; }
.laudo-bloco h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ciano); margin-bottom: 6px; }
.laudo-bloco p, .laudo-dicas li { font-size: 14.5px; color: #dbe3fa; }
.laudo-dicas li { position: relative; padding-left: 22px; }
.laudo-dicas li + li { margin-top: 6px; }
.laudo-dicas li::before { content: '✓'; position: absolute; left: 0; color: var(--lima); font-weight: 800; }
.laudo-garantia { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(34, 195, 238, 0.1); box-shadow: inset 0 0 0 1px rgba(34, 195, 238, 0.3); font-size: 13.5px; color: #dbe3fa; }
.laudo-garantia i { color: var(--ciano); font-size: 18px; margin-top: 2px; }
.laudo-garantia strong { color: var(--branco); }
.carregando { color: transparent !important; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)); background-size: 200% 100%; animation: brilha 1.2s linear infinite; user-select: none; }
@keyframes brilha { to { background-position: -200% 0; } }

.funil-sub { font-size: 1.2rem; margin-bottom: 16px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo-cheio { grid-column: 1 / -1; }
.campo label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.campo input, .campo textarea, .campo select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 12px; background: var(--papel);
    font-size: 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.campo textarea { resize: vertical; min-height: 88px; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--ciano-esc); box-shadow: 0 0 0 4px rgba(34, 195, 238, 0.22); }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.status.ok { background: #e3f9e9; color: #0d6b2f; }
.status.erro { background: #fde8e6; color: #a1281b; }
.status a { color: inherit; }

.passo-ok { text-align: center; padding: 24px 0 8px; display: grid; justify-items: center; gap: 14px; }
.passo-ok h3 { font-size: 1.6rem; }
.passo-ok p { color: var(--mudo); max-width: 28em; }

/* ---------- Empresa ---------- */

.sobre-grade { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.sobre-txt { margin-top: 18px; font-size: 1.05rem; color: var(--mudo); }
.sobre-txt strong { color: var(--tinta); }
.sobre-missao { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--ciano); font-size: 1.05rem; font-weight: 500; }
.sobre-missao span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ciano-esc); margin-bottom: 4px; }
.tags-valores li { background: var(--papel); }
.sobre-cartoes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cartao { padding: 22px; border-radius: 20px; background: var(--branco); border: 1px solid var(--linha); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cartao:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.cartao h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.cartao p { font-size: 14px; color: var(--mudo); }
.cartao-destaque { background: var(--navy-900); border-color: var(--navy-900); display: flex; flex-direction: column; justify-content: flex-end; }
.cartao-destaque p { color: #c3cdea; }
.cartao-num { font-family: var(--titulo); font-weight: 800; font-size: 4.2rem; line-height: 1; color: var(--lima); }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--papel); }
.stack h3 { font-family: var(--fonte); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mudo); margin-bottom: 12px; }

/* ---------- Dúvidas ---------- */

.faq details { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.faq details + details { margin-top: 10px; }
.faq details[open] { border-color: var(--ciano); box-shadow: 0 14px 34px -20px rgba(11, 20, 51, 0.35); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; color: var(--ciano-esc); transition: transform 0.2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--mudo); }

/* ---------- Contato ---------- */

.final-grade { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.sec-final h2 + p { margin-top: 16px; font-size: 1.1rem; color: #b9c4e4; max-width: 30em; }
.final-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.final-email { margin-top: 20px; color: #b9c4e4; font-size: 15px; }
.contato { padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--branco); color: var(--tinta); display: grid; gap: 14px; }
.contato h3 { font-size: 1.25rem; }
.contato .status { margin-top: 0; }

/* ---------- Footer ---------- */

.rodape { background: #040818; color: #97a4c6; padding: 48px 0 28px; font-size: 14.5px; }
.rodape-grade { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rodape-logo { display: inline-block; padding: 6px 12px; border-radius: 12px; background: var(--branco); margin-bottom: 14px; }
.rodape-logo img { height: 38px; width: auto; }
.rodape nav { display: grid; gap: 8px; align-content: start; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover, .rodape-copy a:hover { color: var(--branco); }
.rodape-social { display: flex; gap: 10px; align-items: flex-start; }
.rodape-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease; }
.rodape-social a:hover { background: var(--lima); color: var(--navy-950); }
.rodape-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; font-size: 13px; }

/* ---------- Ações flutuantes ---------- */

.barra-acao { display: none; }
.flutua-zap {
    position: fixed; right: 22px; bottom: 82px; z-index: 75; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    background: var(--zap); color: var(--branco); font-size: 26px; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
    transition: transform 0.18s ease;
}
.flutua-zap:hover { transform: scale(1.08); }

.chat-botao {
    position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 18px; border: 0; border-radius: 999px; background: var(--navy-900); color: var(--branco); font-weight: 700; font-size: 14.5px;
    box-shadow: 0 0 0 2px var(--lima), 0 16px 34px -10px rgba(7, 13, 36, 0.7); transition: transform 0.18s ease;
}
.chat-botao i { color: var(--lima); font-size: 17px; }
.chat-botao:hover { transform: translateY(-2px); }
.chat-painel {
    position: fixed; right: 22px; bottom: 82px; z-index: 90; width: 380px; max-width: calc(100vw - 24px);
    height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; overflow: hidden;
    border-radius: 22px; background: var(--branco); color: var(--tinta); box-shadow: 0 30px 80px -20px rgba(7, 13, 36, 0.6), 0 0 0 1px var(--linha);
    animation: surge 0.25s ease both;
}
.chat-topo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy-900); color: var(--branco); }
.chat-topo .hex { background: var(--lima); color: var(--navy-950); }
.chat-topo strong { display: block; font-size: 15px; line-height: 1.2; }
.chat-topo small { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #a9b6dc; }
.chat-topo button { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: var(--branco); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; animation: surge 0.25s ease both; }
.chat-msg.bot { align-self: flex-start; background: var(--papel); border-bottom-left-radius: 4px; }
.chat-msg.eu { align-self: flex-end; background: var(--navy-900); color: var(--branco); border-bottom-right-radius: 4px; }
.chat-sugestoes { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--linha); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid var(--linha); border-radius: 999px; background: var(--papel); font-size: 16px; outline: none; }
.chat-form input:focus { border-color: var(--ciano-esc); }
.chat-form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy-900); color: var(--lima); }
.chat-cta { display: block; padding: 11px; text-align: center; background: var(--lima); color: var(--navy-950); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.chat-cta:hover { background: var(--lima-esc); }

/* ---------- Responsivo ---------- */

@media (min-width: 1021px) and (max-width: 1120px) {
    .topo-nav a:not(.btn) { padding-inline: 9px; font-size: 14px; }
    .topo-nav a:not(.btn)::after { left: 9px; right: 9px; }
}

@media (max-width: 1020px) {
    .topo-barra { padding-left: 14px; }
    .topo-nav {
        position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px;
        padding: 8px; border-radius: 20px; background: var(--branco);
        box-shadow: 0 0 0 1px rgba(11, 20, 51, 0.06), 0 24px 60px -16px rgba(7, 13, 36, 0.5);
        max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }
    .topo.aberto .topo-nav { opacity: 1; visibility: visible; transform: none; }
    .topo-nav a:not(.btn) { padding: 13px 14px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--tinta); }
    .topo-nav a:not(.btn)::after { display: none; }
    .topo-nav a.atual { color: var(--ciano-esc); background: rgba(34, 195, 238, 0.12); }
    .topo-cta { margin-left: auto; }
    .topo-menu { display: block; }

    .hero-grade, .ia-grade, .sobre-grade, .final-grade { grid-template-columns: 1fr; gap: 40px; }
    .vitrine { grid-template-columns: 1fr; }
    .vitrine-abas { flex-direction: row; overflow-x: auto; padding: 4px 20px 10px; margin-inline: -20px; scroll-snap-type: x proximity; scrollbar-width: none; }
    .vitrine-abas::-webkit-scrollbar { display: none; }
    .vitrine-aba { flex: none; scroll-snap-align: center; }
    .vitrine-aba:hover, .vitrine-aba.ativo { transform: none; }
    .processo { grid-template-columns: 1fr 1fr; }
    .processo li::after { display: none; }
}

@media (max-width: 767px) {
    .hero { padding-top: 116px; }
    .hero-prompt { flex-direction: column; }
    .hero-numeros { grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
    .hero-numeros li { display: flex; align-items: baseline; gap: 10px; }
    .demo-corpo { height: 372px; }
    .marcas-linha { justify-content: center; text-align: center; }
    .marcas-logos { justify-content: center; }
    .marcas-logos img { height: 32px; }

    .virada { grid-template-columns: 1fr; }
    .virada-seta { justify-self: center; transform: rotate(90deg); }
    .calc, .stack { grid-template-columns: 1fr; }
    .opcoes-3, .opcoes-2, .opcoes-lista, .campos { grid-template-columns: 1fr; }
    .opcoes-3 .opt { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding-right: 40px; }
    .opcoes-3 .opt > i { margin: 0; width: 24px; text-align: center; }
    .opcoes-3 .opt small { flex-basis: 100%; padding-left: 36px; }
    .funil-trilha em { display: none; }
    .funil-trilha .atual em { display: block; position: absolute; top: 38px; white-space: nowrap; }
    .funil-trilha { margin-bottom: 44px; }
    .funil-trilha li:first-child em { left: 0; }
    .funil-trilha li:last-child em { right: 0; }
    .passo-nav-final, .passo-nav-final > div { flex-direction: column-reverse; align-items: stretch; width: 100%; }
    .sobre-cartoes { grid-template-columns: 1fr 1fr; }

    .topo-cta, .flutua-zap { display: none; }
    .topo-menu { margin-left: auto; }
    .topo-logo img, .topo.rolado .topo-logo img { height: 40px; }
    .topo-nav .topo-nav-cta { display: flex; margin: 8px 4px 4px; padding-block: 14px; }
    .rodape { padding-bottom: 96px; }
    .barra-acao {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(7, 13, 36, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        transform: translateY(110%); transition: transform 0.3s ease;
    }
    .barra-acao.visivel { transform: none; }
    .barra-acao .btn-lima { flex: 1; }
    .barra-acao .btn-zap { width: 50px; padding: 0; font-size: 22px; }
    .barra-acao .btn-zap i { font-size: 1em; }
    .chat-botao { right: 12px; bottom: 78px; padding: 13px; }
    .chat-botao span { display: none; }
    .chat-painel { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; height: min(620px, calc(100dvh - 90px)); }
}

@media (max-width: 480px) {
    .processo, .sobre-cartoes { grid-template-columns: 1fr; }
    .demo-abas button { padding: 6px 9px; font-size: 12.5px; }
    .demo-luzes { display: none; }
    .demo-abas { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .revela { opacity: 1; transform: none; }
}
