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

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

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

/* Header */
.header-top {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #1e3c72;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 12px;
    color: #666;
    letter-spacing: 3px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #007bff;
}

.search-icon {
    font-size: 18px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.search-icon:hover {
    color: #007bff;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 70vh;
    /*background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/cancela.jpg') center/cover;*/
    background-image: none;
background-color: #244683;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.cta-button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: white;
    color: #333;
}

/* Sections */
.onde-utilizar, .tecnologia, .solucoes-corporativas, .portas-automatizadas, 
.canal-saber, .automatizadores, .para-sua-empresa {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.card-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons i {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #007bff;
}

/* Tecnologia Section */
.tecnologia {
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.tech-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.tech-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Soluções Corporativas */
.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.solucao-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.solucao-card:hover {
    transform: translateY(-10px);
}

.solucao-image {
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.solucao-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solucao-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.solucao-subtitle {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Portas Automatizadas */
.portas-automatizadas {
    background: #f8f9fa;
}

.portas-grid, .portas-grid-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.porta-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.porta-image {
    height: 250px;
    overflow: hidden;
}

.porta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.porta-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    color: #333;
}

.porta-subtitle {
    padding: 0 20px;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 10px;
}

.porta-item p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    font-size: 16px;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: white;
    color: #1e3c72;
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3c72;
}

/* RFID Section */
.rfid-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.rfid-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: center;
}

.rfid-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.rfid-icon {
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.rfid-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.rfid-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.rfid-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.antenna-icon, .chip-icon {
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.connection-line {
    width: 4px;
    height: 60px;
    background: #007bff;
}

/* Stats Section */
.stats-section {
    background: #2c3e50;
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #bdc3c7;
}

/* Canal Saber */
.canal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.canal-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.canal-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.canal-item h4 {
    padding: 20px 20px 10px;
    font-size: 1.1rem;
    color: #333;
}

.canal-item p {
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
}

.read-more {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007bff;
    font-weight: bold;
}

/* Automatizadores */
.automatizadores {
    background: #f8f9fa;
}

.automatizador-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: center;
}

.automatizador-hero img {
    width: 100%;
    border-radius: 10px;
}

.automatizador-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.automatizador-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.automatizador-products {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-item {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Para Sua Empresa */
.empresa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.empresa-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.empresa-item:hover {
    transform: translateY(-10px);
}

.empresa-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.empresa-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.empresa-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.saiba-mais {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.saiba-mais:hover {
    color: #0056b3;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: #007bff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 767px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hide_cod {
        display: none !important;
    }
    
   .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    

     
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .portas-grid, .portas-grid-bottom {
        grid-template-columns: 1fr;
    }
    
    .automatizador-hero {
        grid-template-columns: 1fr;
    }
    
    .rfid-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .automatizador-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .automatizador-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-item {
        width: 120px;
        height: 120px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .solucao-card, .empresa-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
img {
    transition: opacity 0.3s;
}

img:not([src]) {
    opacity: 0;
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

