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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a1121;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(3 6 12 / 95%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
}

.header.show {
    transform: translateY(0);
    opacity: 1;
}

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

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

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

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

.nav-links a:hover {
    color: #87ceeb;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 173, 182, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -1;
}

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

.hero-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #00adb6;
    color: white;
}

.btn-primary:hover {
    background: #008a91;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 173, 182, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #00adb6;
    transform: translateY(-2px);
}

/* PIMS Section */
.pims {
    background: linear-gradient(135deg, #0a1121 0%, #1a2332 100%);
    padding: 5rem 0;
}

.pims-content {
    text-align: center;
}

.pims-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.pims-subtitle {
    font-size: 1.5rem;
    color: #b8c5d1;
    margin-bottom: 3rem;
    font-weight: 500;
}

.pims-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
    margin-top: 2rem;
}

.pims-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pims-column {
    font-size: 1rem;
    line-height: 1.8;
    color: #b8c5d1;
}

.pims-column p {
    margin-bottom: 1.5rem;
}

.pims-column strong {
    color: #00adb6;
    font-weight: 600;
}

.pims-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.aveva-logo {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.aveva-logo-img {
    max-width: 200px;
    height: auto;
}

.pims-cta {
    display: inline-block;
    color: #00adb6;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #00adb6;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pims-cta:hover {
    background: #00adb6;
    color: white;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #0a1121 0%, #1a2332 100%);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b8c5d1;
    margin-bottom: 3rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.98);
}

.service-icon {
    font-size: 3rem;
    color: #00adb6;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00adb6;
    font-weight: bold;
}

.service-features li strong {
    color: #00adb6;
    font-weight: 600;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0a1121 0%, #1a2332 100%);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #b8c5d1;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.highlight i {
    font-size: 2.5rem;
    color: #00adb6;
    margin-bottom: 1rem;
}

.highlight h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.highlight p {
    color: #b8c5d1;
    font-size: 0.9rem;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Seções Minimalistas */
.automacao-industrial-minimal,
.desenvolvimento-software-minimal {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.desenvolvimento-software-minimal {
    background: rgba(255, 255, 255, 0.01);
}

.minimal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.minimal-text {
    flex: 1;
}

.minimal-title {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.minimal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.minimal-item {
    font-size: 0.9rem;
    color: #b8c5d1;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.minimal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-1px);
}

.minimal-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    min-width: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.minimal-content:hover .minimal-icon {
    color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Cards das seções minimalistas */
.minimal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.minimal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.minimal-card-icon {
    font-size: 2.5rem;
    color: #00adb6;
    margin-bottom: 1rem;
}

.minimal-card h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.minimal-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.minimal-card p {
    font-size: 0.9rem;
    color: #b8c5d1;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design para seções minimalistas */
@media (max-width: 768px) {
    .minimal-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .minimal-title {
        font-size: 1.2rem;
    }
    
    .minimal-item {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .minimal-icon {
        font-size: 2rem;
        order: -1;
    }
    
    .minimal-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .minimal-card {
        padding: 1.2rem;
    }
    
    .minimal-card-icon {
        font-size: 2rem;
    }
}

/* Clientes Section */
.clientes {
    background: #ffffff;
    padding: 5rem 0;
}

.clientes .section-title {
    color: #333;
}

.clientes .section-subtitle {
    color: #666;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.cliente-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    min-height: 120px;
}

.cliente-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.cliente-img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cliente-logo:hover .cliente-img {
    opacity: 1;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0a1121 0%, #1a2332 100%);
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #00adb6;
    width: 30px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.contact-item p {
    color: #b8c5d1;
    margin: 0;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #3a4953;
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00adb6;
    box-shadow: 0 0 0 3px rgba(0, 173, 182, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b8c5d1;
    opacity: 1;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300adb6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem;
    cursor: pointer;
}

.form-group select option {
    background-color: #2a3441;
    color: #ffffff;
    padding: 0.5rem;
    border: none;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group select:invalid {
    color: #b8c5d1;
}

.form-group select:valid {
    color: #ffffff;
}

.form-group select option[value=""] {
    color: #b8c5d1;
}

.form-group select option:not([value=""]) {
    color: #ffffff;
}

/* Fallback para navegadores que não suportam appearance */
@supports not (appearance: none) {
    .form-group select {
        background-image: none;
        padding-right: 1rem;
    }
}

/* Estilos específicos para Firefox */
@-moz-document url-prefix() {
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300adb6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        text-indent: 0.01px;
        text-overflow: '';
    }
}

/* Estilos específicos para Webkit (Chrome/Safari) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .form-group select {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .form-group select option {
        background-color: #2a3441;
        color: #ffffff;
    }
}

/* Garantir que o botão do formulário esteja visível */
.contact-form .btn {
    background-color: #00adb6;
    color: #ffffff;
    font-weight: 600;
}

.contact-form .btn:hover {
    background-color: #008a92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 173, 182, 0.4);
}

/* Footer */
.footer {
    background: #333;
    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-section h4 {
    margin-bottom: 1rem;
    color: #00adb6;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00adb6;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section p i {
    color: #00adb6;
    margin-right: 0.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .pims-title {
        font-size: 2rem;
    }
    
    .pims-subtitle {
        font-size: 1.2rem;
    }
    
    .pims-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pims-text {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .clientes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .pims-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-logo-img {
        height: 60px;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-links a {
        padding: 0.3rem;
    }
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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