/* ==========================================================================
   Continuum TI - Main Stylesheet (v2.5.4 - Uniform Neutral Tiles)
   ========================================================================== */

:root {
    --color-bg-base: #0B0F19;
    --color-surface-1: #111827;
    --color-surface-2: #161F30;
    --color-primary: #2563EB;
    --color-cyan: #38BDF8;
    --color-success: #10B981;
    --color-text-primary: #FFFFFF;
    --color-text-body: #F1F5F9;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #64748B;
    --color-border: rgba(255, 255, 255, 0.12);
    --header-height: 80px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Scroll Nativo do Browser */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    background-color: var(--color-bg-base);
    color: var(--color-text-body);
    font-family: var(--font-main);
    overflow-x: hidden;
}

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

section, [id] {
    scroll-margin-top: var(--header-height);
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--color-bg-base);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tipografia */
h1, h2, h3, h4 {
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--color-cyan);
    transition: color 0.2s ease;
}

/* Animações de Entrada Leves */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.08s; }
.delay-200 { transition-delay: 0.15s; }
.delay-300 { transition-delay: 0.22s; }
.delay-400 { transition-delay: 0.3s; }

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

/* Header & Navegação */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(11, 15, 25, 0.95);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link:focus-visible {
    color: #FFFFFF;
}

/* Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-item strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.dropdown-item span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #1D4ED8;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.btn-cyan {
    background: var(--color-cyan);
    color: #0B0F19;
}

.btn-cyan:hover {
    background: #7DD3FC;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

.btn-outline:hover {
    border-color: var(--color-cyan);
    color: #FFFFFF;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: calc(var(--header-height) + 3.5rem) 0 4rem;
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: var(--color-cyan);
    margin-bottom: 1.25rem;
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #38BDF8 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card-preview {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.system-status-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.status-pill {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-family: var(--font-mono);
}

.status-indicator {
    font-size: 0.72rem;
    color: var(--color-cyan);
    font-weight: 600;
}

/* Seções Gerais */
section {
    padding: 5rem 0;
}

.section-alt {
    background: rgba(17, 24, 39, 0.4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-highlight-box {
    background: rgba(37, 99, 235, 0.08);
    border-left: 3px solid var(--color-primary);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    color: #FFFFFF;
}

.about-features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.feature-check-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
    flex-shrink: 0;
}

.card-cyber {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: border-color 0.2s ease;
}

.card-cyber:hover {
    border-color: rgba(56, 189, 248, 0.35);
}

.card-highlight-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: #FFFFFF;
}

.card-body-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-box-mini {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.contact-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.phone-highlight {
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-box-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Grid de Serviços */
.services-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin-top: 2.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-cyan);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-meta-top {
    margin-bottom: 0.75rem;
}

.service-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
    background: rgba(56, 189, 248, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.service-title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
}

.service-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.service-title a:hover {
    color: var(--color-cyan);
}

.service-excerpt {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-deliverables-list li {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}

.service-deliverables-list li svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    color: var(--color-cyan);
    flex-shrink: 0;
    margin-top: 0.2rem;
    display: inline-block;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-cyan);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.read-more-link:hover {
    color: #FFFFFF;
    gap: 0.65rem;
}

/* ==========================================================================
   Logo Tiles (v2.5.4 - 100% Uniformes em Superfície Clara)
   ========================================================================== */
.clients-flex-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2.25rem;
    row-gap: 1.75rem;
    margin-top: 2.5rem;
}

.client-logo-tile {
    flex: 0 1 175px;
    max-width: 190px;
    height: 95px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    cursor: pointer;
    box-sizing: border-box;
}

.client-logo-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(0, 0, 0, 0.1);
}

.client-logo-tile:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 4px;
}

.client-logo-tile img {
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    display: block;
}

/* Normalização de Peso Óptico */
.client-logo--wide img {
    max-width: min(84%, 150px);
    max-height: 56px;
}

.client-logo--tall img {
    max-width: min(68%, 105px);
    max-height: 66px;
}

.client-logo--detail img {
    max-width: min(78%, 135px);
    max-height: 60px;
}

.client-logo--sdk img {
    max-width: min(78%, 135px);
    max-height: 68px;
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-tile {
        transition: none;
    }
    .client-logo-tile:hover {
        transform: none;
    }
}

/* Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Formulário de Contato & Conversion CTA */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-meta-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-meta-icon {
    width: 36px;
    height: 36px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    flex-shrink: 0;
}

.form-cyber .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-cyber .form-group {
    margin-bottom: 1.25rem;
}

.form-cyber .form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.form-cyber .form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-cyber .form-control:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.form-honeypot {
    display: none !important;
    visibility: hidden !important;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 0.2rem;
}

/* Single Service Page */
.single-service-page {
    padding-top: calc(var(--header-height) + 2rem);
}

.service-hero-section {
    padding: 3rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: flex-start;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--color-cyan);
}

/* Privacy Policy Page */
.privacy-policy-page {
    padding-top: calc(var(--header-height) + 2rem);
}

.privacy-hero-section {
    padding: 3rem 0;
    background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.07) 0%, transparent 60%);
    border-bottom: 1px solid var(--color-border);
}

.privacy-meta-badge {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.privacy-content-section {
    padding: 3.5rem 0 6rem;
}

.privacy-document-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem;
}

.privacy-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-block h2 {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.privacy-block p {
    color: #E2E8F0;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.privacy-block ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.privacy-block li {
    margin-bottom: 0.5rem;
}

.privacy-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.privacy-table th {
    background: var(--color-surface-2);
    color: #FFFFFF;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
}

.privacy-table td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    background: rgba(17, 24, 39, 0.6);
}

/* Footer */
.site-footer {
    background: #070A11;
    border-top: 1px solid var(--color-border);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 1.25rem 0;
}

.social-links-row {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    color: #FFFFFF;
    border-color: var(--color-cyan);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-ring 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* Drawer Mobile */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    margin: 5px 0;
    transition: all 0.2s ease;
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1090;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--color-surface-1);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
}

body.drawer-open .mobile-drawer-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.drawer-open .mobile-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0.4rem;
}

.drawer-close-btn:hover {
    color: #FFFFFF;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex-grow: 1;
}

.drawer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-drawer-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}



/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-primary);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    z-index: 2000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

/* Responsividade Global */
@media (max-width: 1150px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .clients-flex-wall {
        column-gap: 1.75rem;
        row-gap: 1.5rem;
    }

    .client-logo-tile {
        flex-basis: 155px;
        height: 90px;
    }
}

@media (max-width: 900px) {
    .desktop-nav, .header-actions .btn {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-grid, .about-grid, .service-hero-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-features-row, .form-cyber .form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid-4 {
        grid-template-columns: 1fr !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .privacy-document-card {
        padding: 2rem 1.25rem;
    }
    
    /* Clientes Mobile (7 linhas de 2 tiles) */
    .clients-flex-wall {
        gap: 1rem;
        justify-content: center;
    }
    
    .client-logo-tile {
        flex: 0 1 calc(50% - 0.5rem);
        max-width: none;
        min-width: 0;
        height: 80px;
        padding: 0.5rem 0.75rem;
    }

    .client-logo--wide img   { max-width: min(85%, 125px); max-height: 46px; }
    .client-logo--tall img   { max-width: min(68%, 85px);  max-height: 54px; }
    .client-logo--detail img { max-width: min(78%, 110px); max-height: 50px; }
    .client-logo--sdk img    { max-width: min(78%, 110px); max-height: 54px; }
}

/* ==========================================================================
   Toast Notifications (AJAX Feedback)
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success {
    background-color: #059669;
    border-left: 4px solid #34D399;
}

.toast-error {
    background-color: #DC2626;
    border-left: 4px solid #F87171;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Adaptive Logo Tiles (Clients Wall)
   ========================================================================== */
.clients-flex-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2.25rem;
    row-gap: 1.75rem;
    margin-top: 2.5rem;
}

.client-logo-tile {
    flex: 0 1 175px;
    max-width: 190px;
    height: 95px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    cursor: pointer;
    box-sizing: border-box;
}

.client-logo-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(0, 0, 0, 0.1);
}

.client-logo-tile:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 4px;
}

/* Calibração Óptica por Proporção com Proteção min(..., 100%) */
.client-logo--wide img   { max-width: min(84%, 150px); max-height: 56px; }
.client-logo--tall img   { max-width: min(68%, 105px); max-height: 66px; }
.client-logo--detail img { max-width: min(78%, 135px); max-height: 60px; }
.client-logo--sdk img    { max-width: min(78%, 135px); max-height: 68px; }

/* --- CONTINUUM v2.8.1 STYLES START --- */
/* ==========================================================================
   Refinamento de UI/UX & Frosted Glass (v2.8.1)
   ========================================================================== */
.site-header {
    background: rgba(11, 15, 25, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

/* Foco Neon Aprimorado em Formulários */
.form-cyber .form-control:focus {
    outline: none !important;
    border-color: var(--color-cyan) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 15px rgba(56, 189, 248, 0.1) !important;
}

/* Nivelamento Estrutural dos Cards de Serviços */
.service-card {
    display: flex !important;
    flex-direction: column !important;
}

.service-card-footer {
    margin-top: auto !important;
}

/* ==========================================================================
   Hero Dinâmico & Feixes Cibernéticos (v2.8.1)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 4rem) 0 5rem;
    background-color: var(--color-bg-base);
    overflow: hidden;
    contain: paint layout;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    contain: strict;
}

.hero-glow-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
    pointer-events: none;
}

.hero-glow-blob--primary {
    top: 15%;
    left: 10%;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.06) 55%, transparent 75%);
    animation: blobFloatPrimary 16s ease-in-out infinite alternate;
}

.hero-glow-blob--secondary {
    bottom: 10%;
    right: 5%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.20) 0%, rgba(56, 189, 248, 0.05) 55%, transparent 75%);
    animation: blobFloatSecondary 20s ease-in-out infinite alternate;
}

@keyframes blobFloatPrimary {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    50%  { transform: translate3d(50px, -35px, 0) scale(1.08); opacity: 1; }
    100% { transform: translate3d(-40px, 45px, 0) scale(0.95); opacity: 0.8; }
}

@keyframes blobFloatSecondary {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    50%  { transform: translate3d(-65px, 40px, 0) scale(1.06); opacity: 1; }
    100% { transform: translate3d(45px, -50px, 0) scale(0.92); opacity: 0.75; }
}

@media (max-width: 768px) {
    .hero-glow-blob--primary {
        width: 280px;
        height: 280px;
        top: 5%;
        left: -10%;
    }
    .hero-glow-blob--secondary {
        width: 300px;
        height: 300px;
        bottom: 5%;
        right: -10%;
    }
}

.hero-cyber-beam {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-cyber-beam--h1 {
    top: 28%;
    left: -200px;
    width: 220px;
    height: 1.5px;
    animation: beamTravelH 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-cyber-beam--h2 {
    top: 72%;
    left: -250px;
    width: 260px;
    height: 1.5px;
    animation: beamTravelH 9s cubic-bezier(0.4, 0, 0.2, 1) 3s infinite;
}

.hero-cyber-beam--v1 {
    top: -200px;
    right: 25%;
    width: 1.5px;
    height: 200px;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.7), transparent);
    animation: beamTravelV 10s cubic-bezier(0.4, 0, 0.2, 1) 1.5s infinite;
}

@keyframes beamTravelH {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translate3d(calc(100vw + 300px), 0, 0); opacity: 0; }
}

@keyframes beamTravelV {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translate3d(0, calc(100vh + 300px), 0); opacity: 0; }
}

/* ==========================================================================
   Painel de Governança e Escopo de Serviços (Service Operations Hub)
   ========================================================================== */
.service-hub-card {
    background: linear-gradient(160deg, #111827 0%, #0B0F19 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(56, 189, 248, 0.12);
    position: relative;
    contain: paint layout;
}

.service-hub-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hub-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hub-icon-badge {
    color: var(--color-cyan);
    display: flex;
    align-items: center;
}

.hub-category-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.05em;
}

.hub-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hub-pillar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-pillar-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 15px rgba(56, 189, 248, 0.08);
}

.hub-pillar-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hub-pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.08);
    flex-shrink: 0;
}

.hub-pillar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hub-pillar-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #F1F5F9;
    line-height: 1.35;
    margin: 0;
}

.hub-pillar-desc {
    font-size: 0.72rem;
    color: #94A3B8;
    line-height: 1.35;
    margin: 0;
}

.hub-pillar-tag {
    align-self: center;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--color-cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.hub-pillar-tag.tag-security {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}

.hub-footer-meta {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-coverage-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hub-coverage-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 0.04em;
}

.hub-coverage-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: #CBD5E1;
}

.hub-coverage-details strong {
    color: #F1F5F9;
}

.coverage-divider {
    color: #64748B;
}

@media (max-width: 480px) {
    .hub-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .hub-pillar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .hub-pillar-tag {
        align-self: flex-start;
    }
}

.service-concept-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 140;
    max-height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #0B0F19;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-concept-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-concept-thumb img {
    transform: scale(1.04);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .service-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-hero-media-wrap {
    display: flex;
    justify-content: center;
}

.service-hero-media {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.service-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 15, 25, 0.75) 100%),
                radial-gradient(circle at center, transparent 40%, rgba(11, 15, 25, 0.5) 100%);
    pointer-events: none;
}

/* ==========================================================================
   Ergonomia e Escala Mobile (< 640px e < 480px)
   ========================================================================== */
@media (max-width: 640px) {
    section,
    .section-alt,
    .services-section,
    .clients-section,
    .conversion-section,
    .privacy-content-section {
        padding: 3.5rem 0 !important;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        width: 52px !important;
        height: 52px !important;
        bottom: 1.25rem !important;
        right: 1.25rem !important;
    }
}

/* ==========================================================================
   Acessibilidade: Redução de Movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hero-glow-blob--primary,
    .hero-glow-blob--secondary,
    .hero-cyber-beam {
        animation: none !important;
        transform: none !important;
    }
    .hub-pillar-item:hover,
    .service-concept-thumb img {
        transform: none !important;
        transition: none !important;
    }
}
/* --- CONTINUUM v2.8.1 STYLES END --- */
