/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc0a0a;
    --primary-dark: #b00808;
    --secondary-red: #ff1a1a;
    --accent-red: #dc0a0a;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --gray-dark: #2a2a2a;
    --gray: #666666;
    --gray-light: #999999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border: rgba(220, 10, 10, 0.2);
    --shadow-red: 0 4px 20px rgba(220, 10, 10, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #0a0a0a;
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

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

.social-links a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.btn-nav {
    background: var(--primary-red);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(220, 10, 10, 0.2);
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 10, 10, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: white;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(220, 10, 10, 0.2);
    border: 1px solid rgba(220, 10, 10, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn-block {
    width: 100%;
}

.hero-features {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-item strong {
    font-size: 2rem;
    font-weight: 800;
}

.feature-item span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(220, 10, 10, 0.1);
    color: var(--primary-red);
    border: 1px solid rgba(220, 10, 10, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre {
    background: var(--bg-light);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
}

.content-block p {
    color: var(--gray-dark);
    line-height: 1.8;
}

.sobre-image {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(220, 10, 10, 0.3);
}

.sobre-image .image-placeholder svg {
    width: 100%;
    height: auto;
    max-width: 200px;
    color: var(--primary-red);
}

/* Soluções Section */
.solucoes {
    background: var(--bg-white);
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solucao-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.solucao-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red);
    transform: translateY(-5px);
}

.solucao-card.featured {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(220, 10, 10, 0.05), rgba(220, 10, 10, 0.1));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.blue { background: linear-gradient(135deg, #dc0a0a, #b00808); }
.card-icon.red { background: linear-gradient(135deg, #dc0a0a, #8a0606); }
.card-icon.green { background: linear-gradient(135deg, #dc0a0a, #b00808); }
.card-icon.purple { background: linear-gradient(135deg, #dc0a0a, #8a0606); }
.card-icon.orange { background: linear-gradient(135deg, #ff1a1a, #dc0a0a); }
.card-icon.teal { background: linear-gradient(135deg, #b00808, #8a0606); }

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.card-badge {
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.solucao-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.solucao-card p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-features li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

.card-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.75rem;
}

/* Diferenciais Section */
.diferenciais {
    background: var(--bg-light);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.diferencial-item:hover {
    transform: translateX(5px);
}

.diferencial-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(220, 10, 10, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.diferencial-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.diferencial-item p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Downloads Section */
.downloads {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
}

.downloads-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.downloads-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.downloads-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

.downloads-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloads-image .image-placeholder svg {
    width: 100%;
    height: auto;
    max-width: 200px;
    color: white;
}

/* Contato Section */
.contato {
    background: var(--bg-light);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contato-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(220, 10, 10, 0.1), rgba(220, 10, 10, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.info-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.contato-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 10, 10, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 4rem 20px 2rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--gray-light);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .sobre-grid,
    .downloads-content,
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

@media (max-width: 640px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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