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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #10B981;
}

.logo svg {
    color: #10B981;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
}

.logo span {
    font-size: 0.75rem;
    color: #6B7280;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #10B981;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #4B5563;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #10B981;
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: #10B981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #10B981;
    border: 2px solid #10B981;
}

.btn-secondary:hover {
    background: #F0FDF4;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #10B981;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6B7280;
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6B7280;
}

/* Services */
.services {
    background: #ffffff;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    background: #F0FDF4;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: #10B981;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F2937;
}

.service-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #10B981;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #059669;
}

/* Blog */
.blog {
    background: #F9FAFB;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-gradient-1 {
    background: linear-gradient(135deg, #10B981, #14B8A6);
}

.blog-gradient-2 {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
}

.blog-gradient-3 {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.875rem;
    color: #10B981;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F2937;
}

.blog-content p {
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: #10B981;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #059669;
}

/* Testimonials */
.testimonials {
    background: #ffffff;
}

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

.testimonial-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: #1F2937;
}

.author-title {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Location */
.location {
    background: #F9FAFB;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.address-item, .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.address-item svg, .contact-item svg {
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

.company-name {
    font-weight: 600;
    color: #1F2937;
}

.contador-info {
    background: #F0FDF4;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.contador-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 0.5rem;
}

.contador-info p {
    font-size: 0.875rem;
    color: #065F46;
}

.map-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.simple-map {
    aspect-ratio: 16/9;
    background: #F0FDF4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: #10B981;
}

.map-content svg {
    margin-bottom: 1rem;
}

.map-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1F2937;
}

.map-content p {
    color: #6B7280;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container h3, .company-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #10B981;
}

.company-details {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 8px;
}

.company-name {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.company-cnpj {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.company-data {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.company-data div {
    color: #4B5563;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand .logo {
    color: #10B981;
    margin-bottom: 1rem;
}

.footer-brand .logo h3 {
    color: white;
}

.footer-brand .logo span {
    color: #9CA3AF;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.contact-info .contact-item svg {
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #E5E7EB;
    z-index: 1000;
    display: none;
}

.chat-widget.active {
    display: block;
}

.chat-header {
    background: #10B981;
    color: white;
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    height: 250px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background: #F3F4F6;
    color: #1F2937;
}

.user-message .message-content {
    background: #10B981;
    color: white;
}

.chat-form {
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 0.5rem;
}

.chat-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.875rem;
}

.chat-form input:focus {
    outline: none;
    border-color: #10B981;
}

.chat-form button {
    background: #10B981;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-form button:hover {
    background: #059669;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10B981;
    color: white;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-button:hover {
    background: #059669;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .chat-widget {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
}