/* ===========================
   PROMOVE IDEIAS — LP INSTITUCIONAL
   Identidade: Azul #0090d9 / Dark Mode
   =========================== */

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

:root {
    --blue: #0090d9;
    --blue-light: #33aaeb;
    --blue-dark: #006fa8;
    --blue-glow: rgba(0, 144, 217, 0.15);
    --bg: #0a0a0f;
    --bg-2: #0e0e18;
    --bg-3: #111120;
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --text-dim: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    background: #0a0a0f;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: #0a0a0f;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Canvas Particles */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--blue-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Hero Video */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,15,0.5) 0%,
        rgba(10,10,15,0.3) 50%,
        rgba(10,10,15,0.95) 100%
    );
}

/* Neural/Video Section */
.neural-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    z-index: 2;
}

.neural-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.neural-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.neural-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,15,0.92) 0%,
        rgba(0,144,217,0.08) 50%,
        rgba(10,10,15,0.92) 100%
    );
}

.neural-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.neural-text h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 24px;
    letter-spacing: -0.02em;
}

.neural-text h2 em {
    font-style: normal;
    color: var(--blue);
}

.neural-text p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.neural-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neural-card {
    background: rgba(0,144,217,0.08);
    border: 1px solid rgba(0,144,217,0.2);
    border-radius: 16px;
    padding: 28px 32px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, background 0.3s;
}

.neural-card:hover {
    border-color: rgba(0,144,217,0.5);
    background: rgba(0,144,217,0.12);
}

.neural-card-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.neural-card-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.hero-content {
    max-width: 780px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 28px;
}

.hero-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--blue);
}

.hero-title {
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--blue);
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.7); }
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 144, 217, 0.3);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 144, 217, 0.45);
}

.btn-primary.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.3);
    color: var(--text);
}

/* ===========================
   CLIENTS BAR
   =========================== */
.clients-bar {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.clients-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: brightness(0) invert(1);
}

.client-item:hover {
    opacity: 1;
}

.client-item img {
    height: 50px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    position: relative;
    z-index: 2;
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   SOLUÇÕES
   =========================== */
.solucoes {
    background: var(--bg-2);
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solucao-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.solucao-card:hover {
    border-color: rgba(0, 144, 217, 0.4);
    background: rgba(0, 144, 217, 0.05);
    transform: translateY(-4px);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 144, 217, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.solucao-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.solucao-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   SOBRE
   =========================== */
.sobre {
    overflow: hidden;
}

.sobre-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-content {
    position: relative;
    z-index: 2;
}

.sobre-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre-content .btn-primary {
    margin-top: 12px;
}

.sobre-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    transition: border-color 0.3s;
}

.stat-item:hover {
    border-color: rgba(0, 144, 217, 0.4);
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.02em;
}

/* ===========================
   CASES
   =========================== */
.cases {
    background: var(--bg-2);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 144, 217, 0.4);
}

.case-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(10,10,15,0.9));
}

.case-content {
    padding: 28px;
}

.case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 144, 217, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.case-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
    line-height: 1;
}

.metric-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

.case-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   FERRAMENTAS
   =========================== */
.ferramentas {
    background: var(--bg-3);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tool-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.tool-card:hover {
    border-color: rgba(0, 144, 217, 0.4);
    background: rgba(0, 144, 217, 0.04);
    transform: translateY(-4px);
}

.tool-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-logo img {
    max-height: 60px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
}

/* RD Station — logo com fundo teal, usar container com padding */
.tool-card.tool-rd .tool-logo {
    background: transparent;
    border-radius: 8px;
    padding: 0;
}

.tool-card.tool-rd .tool-logo img {
    max-height: 52px;
    max-width: 160px;
    border-radius: 6px;
    opacity: 1;
}

.tool-logo img {
    opacity: 0.85;
    transition: opacity 0.3s, filter 0.3s;
}

.tool-card:hover .tool-logo img {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.tool-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ===========================
   CTA FINAL
   =========================== */
.cta-final {
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 144, 217, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 44px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-links a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-privacy {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-privacy:hover {
    color: var(--blue);
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* ===========================
   REVEAL ANIMATIONS
   =========================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-scroll {
        display: none;
    }

    .clients-grid {
        gap: 24px 36px;
    }

    .client-item img {
        height: 28px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .solucoes-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 40px;
    }
}
