/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

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

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

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2196F3;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2196F3;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: #2196F3;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 26, 63, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%), url('img/fundo_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Logo translúcido removido para dar destaque à nova imagem de fundo */

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.service-icon {
    font-size: 1.5rem;
    color: #2196F3;
    margin-right: 0.5rem;
}

.btn-hero {
    background: #2196F3;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.3);
}

.btn-hero:hover {
    background: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Animações corporativas suaves */

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

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

/* Títulos específicos para cada seção */
.automation .section-title,
.automation .section-subtitle,
.equipment .section-title,
.equipment .section-subtitle {
    color: white;
}

.automation .section-subtitle,
.equipment .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.development .section-title {
    color: #0f172a;
}

.development .section-subtitle {
    color: #1e293b;
}

.development .cta-text {
    color: #0f172a !important;
}

.why-choose .section-title {
    color: #0a1a3f;
}

.why-choose .section-subtitle {
    color: #334155;
}

/* Automação Comercial */
.automation {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.automation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.automation::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

/* Grid de soluções - Cards clicáveis */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.solution-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-height: 280px;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #0a1a3f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.3);
    border-color: #2196F3;
}

.card-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2196F3, #0a1a3f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.solution-card:hover .card-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.card-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a1a3f;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.solution-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2196F3;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.solution-card:hover .card-link {
    gap: 12px;
}

/* Banner Email Marketing */
.email-marketing-banner {
    background: linear-gradient(135deg, #2196F3 0%, #0a1a3f 100%);
    border-radius: 16px;
    padding: 40px 32px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.email-marketing-banner::before {
    content: '✉';
    position: absolute;
    font-size: 200px;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    color: white;
}

.email-marketing-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.email-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.email-icon i {
    font-size: 2.5rem;
    color: white;
}

.email-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.email-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

/* Grid antigo mantido para compatibilidade */
.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.automation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2196F3;
}

.automation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0a1a3f;
    margin-bottom: 1rem;
}

.automation-card p {
    color: #666;
    line-height: 1.6;
}

.automation-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.btn-secondary {
    background: #2196F3;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Equipamentos */
.equipment {
    background: linear-gradient(135deg, #334155 0%, #475569 50%, #64748b 100%);
    position: relative;
    overflow: hidden;
}

.equipment::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -15%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    z-index: 1;
}

.equipment::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 1;
}

.equipment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.equipment-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.equipment-icons {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.equipment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.equipment-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2196F3;
}

.equipment-icon span:last-child {
    font-weight: 500;
    color: white;
}

.equipment-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.equipment-showcase {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.equipment-item {
    font-size: 3rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 15px;
    color: #2196F3;
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Desenvolvimento de Sites */
.development {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.development::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 60% 40% 30% 70% / 30% 60% 40% 70%;
    z-index: 1;
}

.development::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -20%;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.development-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.development-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.development-text {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.development-text p {
    font-size: 1.2rem;
    color: #1e293b;
    font-style: italic;
    font-weight: 500;
}

.development-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Por que escolher */
.why-choose {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    z-index: 1;
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -15%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.why-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial {
    background: #0a1a3f;
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    opacity: 0.9;
}

/* CTA Final */
.final-cta {
    background: linear-gradient(135deg, #0a1a3f 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-final {
    background: #2196F3;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.3);
    margin-bottom: 1.5rem;
}

.btn-final:hover {
    background: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.cta-support {
    font-size: 1rem;
    opacity: 0.8;
}

.cta-text i {
    margin-right: 0.5rem;
    color: #2196F3;
}

.btn-final i {
    margin-right: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #2196F3;
    width: 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.9;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(22, 64, 202);
    opacity: 1;
}

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

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

.footer-links a {
    color: rgb(22, 64, 202);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #2196F3;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-services {
        align-items: center;
    }
    
    .equipment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .equipment-icons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .automation-grid,
    .development-grid,
    .why-grid,
    .solutions-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Cards de soluções responsivos */
    .solutions-grid {
        gap: 20px !important;
        padding: 0;
        margin-bottom: 2rem;
    }

    .solution-card {
        background: #ffffff !important;
        padding: 28px 20px !important;
        border: 2px solid rgba(33, 150, 243, 0.3) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
    }

    .solution-card h3 {
        font-size: 1.2rem;
        color: #0a1a3f !important;
    }

    .solution-card p {
        font-size: 0.9rem;
        color: #334155 !important;
    }

    .card-icon-large {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #2196F3, #0a1a3f) !important;
        display: flex !important;
    }

    .card-icon-large i {
        font-size: 2rem;
        color: white !important;
    }

    .solution-card .card-link {
        color: #2196F3 !important;
    }

    /* Banner Email Marketing */
    .email-marketing-banner {
        padding: 32px 20px;
    }

    .email-marketing-content {
        flex-direction: column;
        text-align: center;
    }

    .email-icon {
        width: 70px;
        height: 70px;
    }

    .email-text h3 {
        font-size: 1.3rem;
    }

    .email-text p {
        font-size: 0.95rem;
    }
    
    .hero-illustration {
        width: 300px;
        height: 300px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    /* Cards de soluções em telas muito pequenas */
    .solutions-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding: 0 10px;
    }

    .solution-card {
        background: #ffffff !important;
        padding: 24px 16px !important;
        border: 2px solid rgba(33, 150, 243, 0.3) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        border-radius: 12px !important;
    }

    .solution-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    .solution-card p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    .card-icon-large {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 16px !important;
    }

    .card-icon-large i {
        font-size: 1.8rem !important;
    }
    
    .btn-hero,
    .btn-final {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .automation-card,
    .development-card,
    .why-card {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .hero-illustration {
        width: 250px;
        height: 250px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
}

/* Animações de entrada corporativas */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

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

/* Scroll suave para âncoras */
html {
    scroll-behavior: smooth;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
