/*
Theme Name: DigitalPaper
Theme URI: none
Author: Marley Vinícius
Author URI: none too
Description: DigitalPaper main page
Version: 2.0
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0b0f17;
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}


.main-header {
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 42px;
    display: block;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #38bdf8;
}


.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu {
    position: absolute;
    top: 100%;
    left: -150px;
    width: 650px;
    background: #141c2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 15px;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.megamenu-item:hover,
.megamenu-item.active {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.megamenu-icon {
    width: 38px;
    height: 38px;
    background: rgba(56, 189, 248, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.megamenu-info strong {
    display: block;
    color: #f8fafc;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.megamenu-info span {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.3;
}


.btn-whatsapp {
    background: #25d366;
    color: #000;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}


.hero-modern-section {
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 255, 0.12) 0%, transparent 60%);
}

.hero-modern-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.6);
}

.hero-tech-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}


.dpged-section-dark {
    background-color: #0b0f17;
}

.minimal-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.minimal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3) !important;
}


.main-footer {
    background: #070a10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.brand-col p {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.btn-footer-contact {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.btn-footer-contact:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    color: #38bdf8;
}

.location-title {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.location-address {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.back-to-top {
    color: #64748b;
}

.back-to-top:hover {
    color: #38bdf8;
}


@media (max-width: 992px) {
    .hero-modern-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-menu {
        display: none; 
    }
}

html {
  scroll-behavior: smooth;
}


.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.4rem;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .main-header .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        position: relative !important;
    }

    .logo {
        margin-right: auto !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10000 !important;
    }

    .header-cta {
        display: none !important;
    }

    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 65px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 65px) !important;
        background-color: var(--bg-dark, #050811) !important;
        padding: 30px 24px !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
    }

    .nav-menu.active {
        display: block !important;
    }

    .nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .megamenu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 10px 0 0 10px !important;
        margin-top: 5px !important;
    }

    .nav-item-dropdown.active .megamenu,
    .nav-item-dropdown:hover .megamenu {
        display: block !important;
    }

    .megamenu-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-modern-container,
    .hero-container,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .hero-modern-title,
    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .brand-col p {
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .hero-modern-title,
    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .bottom-container {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}