/* css/site.css — design compartilhado entre index.html e guia-desenvolvedor.html.
   Extraído do <style> original de index.html (2026-09-17) pra não duplicar ~250
   linhas de CSS entre as duas páginas da landing. O que é específico de UMA
   página (ex. .demo-modal-* só existe em index.html) fica no <style> daquela
   página, não aqui. */
:root {
    --bg: #030712;
    --bg-2: #071426;
    --card: #0B172A;
    --card-hover: #0F1E38;
    --line: rgba(148,163,184,0.14);
    --blue: #006BFF;
    --blue-electric: #008CFF;
    --cyan: #00C8FF;
    --white: #FFFFFF;
    --muted: #94A3B8;
    --gradient: linear-gradient(135deg, #00C8FF 0%, #008CFF 45%, #004CFF 100%);
    --radius: 20px;
    --ease: cubic-bezier(.4,0,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--cyan); color: #001018; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.brand { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; }
.brand .softph { color: var(--white); }
.brand .one { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* O PNG oficial do logo vem com fundo preto baked in (sem alpha):
   screen faz o preto virar transparente sobre o fundo escuro, sem
   recortar/redesenhar o arquivo. */
.brand img { height: 48px; width: auto; mix-blend-mode: screen; }

/* Header */
header.site-header {
    position: sticky; top: 0; z-index: 100;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
header.site-header.scrolled {
    background: rgba(3,7,18,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14.5px; color: var(--muted); font-weight: 600; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; padding: 12px 24px; border-radius: 12px; font-weight: 700; font-size: 14.5px; border: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.btn-primary { background: var(--gradient); color: #04101f; box-shadow: 0 8px 24px rgba(0,140,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,140,255,0.5); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }
.btn-block-sm { width: 100%; }
.hamburger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--white); cursor: pointer; }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(3,7,18,0.98); backdrop-filter: blur(10px); padding: 24px; flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav a { font-size: 22px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .header-actions { flex-direction: column; margin-top: 24px; }
.mobile-nav .btn { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 100px; }
.hero::before {
    content: ""; position: absolute; width: 900px; height: 900px; top: -420px; right: -280px;
    background: radial-gradient(circle, rgba(0,140,255,0.28) 0%, rgba(0,76,255,0) 70%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(0,200,255,0.3); background: rgba(0,200,255,0.08); color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 24px 0 20px; }
.hero h1 .accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 480px; margin: 0 0 16px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.device-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.phone-mock { position: relative; width: min(300px, 78%); border-radius: 32px; border: 10px solid #0d1a2e; background: #0d1a2e; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(0,140,255,0.15); overflow: hidden; z-index: 2; }
.phone-mock img { width: 100%; display: block; }
.float-card { position: absolute; width: 168px; border-radius: 18px; border: 6px solid #0d1a2e; box-shadow: 0 24px 50px rgba(0,0,0,.5); z-index: 3; }
.float-card.hist { left: -8px; bottom: -6%; transform: rotate(-8deg); }
.float-card img { width: 100%; display: block; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.eyebrow { display: block; color: var(--cyan); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.card:hover { transform: translateY(-5px); background: var(--card-hover); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,140,255,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .card-shot { display: block; width: 100%; height: auto; border-radius: 8px; margin-top: 16px; }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Multiplataforma */
.platform-row { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin: 0 auto 48px; }
.platform-chip { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.platform-chip .glyph { width: 72px; height: 72px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.platform-chip .glyph svg { width: 30px; height: 30px; stroke: var(--cyan); fill: none; stroke-width: 1.6; }
.platform-copy { max-width: 560px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.step { position: relative; text-align: center; padding: 0 20px; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: #04101f; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; z-index: 1; }
.step h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Recursos grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-pill { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 12px; transition: border-color .2s, background .2s; }
.feature-pill:hover { border-color: rgba(0,200,255,0.4); background: var(--card-hover); }
.feature-pill svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; flex-shrink: 0; }

/* Tecnologia */
.tech-section { background: var(--bg-2); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tech-list { list-style: none; margin: 0; padding: 0; }
.tech-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.tech-list li:first-child { border-top: none; }
.tech-list strong { color: var(--white); font-weight: 700; min-width: 130px; flex-shrink: 0; }
.diagram { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.diagram img { max-width: 280px; width: 100%; height: auto; }

/* Segurança */
.security-section { position: relative; overflow: hidden; }
.security-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(0,140,255,0.14), transparent); pointer-events: none; }
.security-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* CTA final */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: 96px 0; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,107,255,0.22), rgba(0,200,255,0.08)); pointer-events: none; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; }
.cta-final p { color: var(--muted); font-size: 16px; margin: 0 0 32px; }

.integration-mock { max-width: 900px; margin: 0 auto 40px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.integration-mock img { display: block; width: 100%; height: auto; }

footer.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-about p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 320px; margin: 16px 0 0; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--white); opacity: .85; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; gap: 36px; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    /* Entre 720 e 960px o header não cabe (logo + 5 links + botão):
       visto a 780px o logo sumia e o botão principal estourava a
       tela. Nav completa só a partir de 960px; hamburger abaixo. */
    .main-nav { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 720px) {
    header.site-header .header-actions { display: none; }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .steps::before { display: none; }
    .card-grid, .features-grid, .security-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    section { padding: 72px 0; }
    .float-card { display: none; }
}
