:root {
    --bg-main: #060A10;
    --bg-elevated: #0C131D;
    --glass-bg: rgba(15, 23, 36, 0.72);
    --cyan: #00E5FF;
    --cyan-soft: rgba(0, 229, 255, 0.14);
    --blue-deep: #1E4E8C;
    --text-white: #F8FAFC;
    --text-gray: #94A3B8;
    --border-glass: rgba(56, 189, 248, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* MARCA D'ÁGUA FIXA ACOMPANHANDO A ROLAGEM */
.watermark-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(65vw, 580px);
    height: min(65vw, 580px);
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.055;
    filter: drop-shadow(0 0 35px rgba(0, 229, 255, 0.4));
    pointer-events: none;
    z-index: 0;
    animation: pulseWatermark 8s ease-in-out infinite;
}

@keyframes pulseWatermark {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.085; }
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* NAVBAR */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 10, 16, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 86px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-frame {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.15), rgba(30, 78, 140, 0.25));
    border: 1px solid rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.22);
}

.logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--cyan);
    text-transform: uppercase;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-gray);
}

.nav-links a {
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.25s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-btn {
    display: none;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.35rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mobile-btn:hover {
    background: rgba(0, 229, 255, 0.18);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 13, 21, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    padding: 16px 24px 28px;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
}

.mobile-menu.open {
    display: flex;
    animation: menuDrop 0.25s ease;
}

@keyframes menuDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
    padding: 15px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover {
    color: var(--cyan);
    padding-left: 14px;
}

.mobile-menu .btn-primary {
    margin-top: 18px;
    width: 100%;
}


/* BOTÕES */
.btn-primary {
    background: linear-gradient(90deg, #00E5FF 0%, #38BDF8 100%);
    color: #04080E;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 38px rgba(0, 229, 255, 0.6);
}

.btn-outline {
    background: rgba(15, 23, 36, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.06);
}

/* HERO */
.hero {
    padding: 175px 0 115px;
    text-align: center;
    position: relative;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
    pointer-events: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--cyan-soft);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    max-width: 960px;
    margin: 0 auto 24px;
    letter-spacing: -0.02em;
}

.neon-text {
    background: linear-gradient(90deg, #38BDF8 0%, #00E5FF 50%, #7DD3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-gray);
    font-size: 1.15rem;
    max-width: 740px;
    margin: 0 auto 38px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 22px;
}

.stat-item strong {
    display: block;
    font-size: 1.6rem;
    color: var(--cyan);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-item span {
    font-size: 0.82rem;
    color: var(--text-gray);
}
/* SEÇÕES GERAIS */
section {
    padding: 100px 0;
    position: relative;
}

.section-tint {
    background: rgba(11, 18, 29, 0.72);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    margin: 10px 0 16px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* CARDS TECNOLÓGICOS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.tech-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 34px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.tech-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.14);
}

.tech-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--cyan-soft);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 22px;
}

.card-tag-top {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.tech-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.chip {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(6, 10, 16, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7DD3FC;
}

.card-cta-box {
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.14) 0%, rgba(15, 23, 36, 0.9) 100%);
    border-color: rgba(0, 229, 255, 0.45);
}

/* DEMONSTRAÇÃO IA E NFC */
.demo-screen {
    background: #060A10;
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 20px;
    margin-top: 20px;
}

.bubble-user {
    background: #162234;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    max-width: 86%;
}

.bubble-ai {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 0.9rem;
    margin-left: auto;
    max-width: 92%;
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.kpi-item {
    background: #060A10;
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 16px;
}

.kpi-item span {
    font-size: 0.78rem;
    color: var(--text-gray);
    display: block;
}

.kpi-item strong {
    font-size: 1.85rem;
    color: var(--cyan);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* BLOG EDITORIAL */
.blog-card {
    padding: 0;
}

.blog-cover {
    height: 170px;
    padding: 24px;
    background: linear-gradient(135deg, #0E223D 0%, #091322 60%, #083344 100%);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #7DD3FC;
    font-weight: 600;
}

.blog-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.blog-link {
    margin-top: 20px;
    background: none;
    border: none;
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.blog-link:hover {
    text-decoration: underline;
}

/* FORMULÁRIO PREMIUM (SPLIT CARD) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.contact-info-panel {
    background: linear-gradient(160deg, #0E233E 0%, #09121E 100%);
    padding: 46px;
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h3 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin: 14px 0 16px;
}

.benefit-list {
    list-style: none;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #CBD5E1;
}

.benefit-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cyan-soft);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.contact-form-panel {
    padding: 46px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field-group {
    margin-bottom: 18px;
}

.field-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    background: rgba(6, 10, 16, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12);
    background: #060A10;
}

/* FOOTER */
footer {
    background: #04070C;
    border-top: 1px solid var(--border-glass);
    padding: 54px 0 36px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-gray);
}

/* ANIMAÇÃO DE ROLAGEM */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* WEBCHAT FLUTUANTE */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
}

.chat-window {
    display: none;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: #0D1520;
    border: 1px solid var(--cyan);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    margin-bottom: 14px;
}

.chat-window.open {
    display: block;
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: linear-gradient(90deg, #1E4E8C, #0E7490);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.online-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #34D399;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #34D399;
}

.chat-body {
    height: 260px;
    overflow-y: auto;
    padding: 16px;
    background: #060A10;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-footer {
    display: flex;
    padding: 12px;
    background: #0D1520;
    border-top: 1px solid var(--border-glass);
    gap: 8px;
}

.chat-footer input {
    flex: 1;
    background: #060A10;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
}

/* PÁGINAS INTERNAS DO BLOG */
.article-hero {
    padding: 150px 0 60px;
    border-bottom: 1px solid var(--border-glass);
    background: linear-gradient(180deg, rgba(14, 34, 61, 0.45) 0%, transparent 100%);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: underline;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin: 14px 0 20px;
    max-width: 860px;
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    position: relative;
    z-index: 2;
}

.article-content p {
    color: #CBD5E1;
    font-size: 1.08rem;
    margin-bottom: 22px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.65rem;
    color: var(--text-white);
    margin: 40px 0 16px;
}

.highlight-box {
    background: var(--glass-bg);
    border-left: 4px solid var(--cyan);
    border-radius: 0 18px 18px 0;
    padding: 24px 28px;
    margin: 32px 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background: var(--cyan);
    color: #05080C;
}

@media (max-width: 920px) {
    .nav-links, .nav-cta-desktop { display: none; }
    .mobile-btn { display: flex; align-items: center; justify-content: center; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info-panel { border-right: none; border-bottom: 1px solid var(--border-glass); }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .nav-wrap { height: 70px; gap: 8px; }
    .logo-box { gap: 10px; max-width: calc(100% - 54px); }
    .logo-frame { width: 40px; height: 40px; border-radius: 10px; padding: 4px; flex-shrink: 0; }
    .brand-title { font-size: 1.05rem; white-space: nowrap; }
    .brand-sub { font-size: 0.54rem; letter-spacing: 0.14em; display: block; white-space: nowrap; }
    .mobile-btn { padding: 8px 11px; font-size: 1.1rem; flex-shrink: 0; }
    .hero { padding: 125px 0 80px; }
    .stats-bar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info-panel, .contact-form-panel { padding: 28px; }
}
