* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f5f5f5;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #4B0082, #4B0082dd);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo i {
    font-size: 2rem;
    color: #FF00FF;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 3px;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.login-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: white;
    color: #4B0082;
}

/* Main */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-logo i {
    font-size: 4rem;
    color: #4B0082;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.company-name {
    font-size: 3rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.cnpj {
    font-size: 1.5rem;
    color: #666666;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.razao-social {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.atividade {
    font-size: 1.1rem;
    color: #4B0082;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Mission Section */
.mission {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.mission h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 30px;
    font-weight: bold;
}

.mission-text {
    font-size: 1.2rem;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: bold;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #4B0082);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.8), rgba(124, 58, 237, 0.8));
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #60A5FA, #FF00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #60A5FA;
}

.banner-icon i {
    font-size: 3rem;
    color: #FF00FF;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #4B0082, #4B0082dd);
    padding: 60px 0;
    color: white;
}

.contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

.social {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.social-link:hover {
    background-color: white;
    color: #4B0082;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.5rem;
}

/* About Section */
.about {
    background: white;
    padding: 60px 0;
}

.about h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8f9fa;
    padding: 60px 0;
}

.services h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.services-content {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 60px 0;
}

.contact-form h2 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form input,
.form textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: #4B0082;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

.form button {
    background: linear-gradient(135deg, #4B0082, #4B0082dd);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Footer */
.footer {
    background: #333333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #60A5FA;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #FFFFFF;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #333333;
    text-decoration: none;
}

.modal-content h2 {
    margin-top: 0;
    color: #4B0082;
}

.modal-text {
    line-height: 1.8;
    margin-top: 1rem;
    text-align: justify;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .cnpj {
        font-size: 1.2rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .contact .container {
        flex-direction: column;
        text-align: center;
    }
    
    .social {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mission-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .nav {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 3px 6px;
    }
    
    .login-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}