/* style.css */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --accent-color: #38bdf8;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --input-bg: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-color);
}

.logo::after {
    content: ".";
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Menu Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 5% 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.12;
    max-width: 1100px;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #94a3b8;
}

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

.cta-button {
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.secondary-button {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: all 0.3s;
    text-align: center;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-color);
    transform: translateY(-3px);
}

.hero-stack {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
    max-width: 600px;
}

.stack-item {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seções Gerais */
.services-section, .portfolio-section, .products-section, .contact-section, .about-section {
    padding: 5rem 5%;
}

.services-section h2, .portfolio-section h2, .products-section h2, .contact-section h2, .about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.products-section h2 {
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto 3.5rem;
    font-size: 1.1rem;
}

.section-intro strong {
    color: var(--text-color);
}

/* Grid de Serviços */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.card p {
    flex-grow: 1;
}

/* Seção Quem Sou Eu (Sobre) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image-container {
    text-align: center;
}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
}

.about-caption {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.4;
}

.about-caption span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: normal;
}

.about-content h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.about-highlight {
    font-weight: bold;
    color: var(--text-color) !important;
    margin-top: 2rem;
    margin-bottom: 2rem !important;
}

.inline-cta {
    display: inline-block;
}

/* Cases de Sucesso (Portfólio) */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(56, 189, 248, 0.3);
}

.case-content h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.case-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.case-details p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.case-details strong {
    color: var(--text-color);
}

.case-tech, .product-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 50px;
}

.case-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.case-link:hover {
    color: #f8fafc;
}

.case-image-wrapper, .product-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.case-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
    object-fit: cover;
}

.case-study:hover .case-screenshot,
.product-showcase:hover .case-screenshot {
    transform: scale(1.02);
}

/* Sistemas Próprios (Loja / Produtos) */
.product-showcase {
    background-color: var(--card-bg);
    padding: 3.5rem;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.product-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    background-color: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.product-header-info h3 {
    font-size: 2.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.product-headline {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.product-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Módulos do Sistema */
.product-modules {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.product-modules h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.module-item {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, transform 0.3s;
}

.module-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}

.module-item h5 {
    color: var(--accent-color);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.module-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Prova Social do Produto */
.product-proof {
    background-color: rgba(16, 185, 129, 0.08);
    border-left: 4px solid #10b981;
    padding: 1.5rem 2rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.proof-label {
    display: block;
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
}

.product-proof p {
    color: #e2e8f0;
    font-size: 1rem;
}

/* Vitrine de Planos */
.pricing-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
    margin-top: 2.5rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-header h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #94a3b8;
    font-size: 1rem;
}

.pricing-header strong {
    color: #10b981;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--bg-color);
    padding: 2.2rem 1.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

.pricing-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.pricing-card h5 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #94a3b8;
}

.price-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    color: #cbd5e1;
    font-size: 0.95rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li::before {
    content: "✓ ";
    color: #10b981;
    font-weight: bold;
    margin-right: 6px;
}

.pricing-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
}

/* Contacto */
.contact-section p {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.input-group input, 
.input-group textarea {
    padding: 1rem;
    background-color: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

.form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Estilos do WhatsApp */
.whatsapp-text-link {
    color: #25D366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.whatsapp-text-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

footer {
    background-color: var(--card-bg);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade e Menu Mobile */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .secondary-button {
        width: 100%;
    }

    .contact-container {
        padding: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-image {
        width: 200px;
        height: 200px;
    }
    
    /* Responsividade para os Cases de Sucesso */
    .case-study {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .case-image-wrapper {
        order: -1;
    }

    /* Responsividade para Sistemas Próprios e Planos */
    .product-showcase {
        padding: 2rem;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-wrapper {
        order: -1;
    }

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

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}