* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tech-header {
    background: linear-gradient(90deg, #000000, #3533CD); 
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.complemento-logo {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #f8fafc;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
}

.nav-links a:hover {
    color: #00c9a7;
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #f8fafc;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Transformação do hambúrguer em X */
.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #3533CD,#000000 );
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    padding-top: 120px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 15px 20px;
    margin: 8px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav a:hover {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

/* Overlay para fechar menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsividade */
@media (max-width: 1024px) {
    .tech-header {
        padding: 15px 30px;
    }
    
    .complemento-logo {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .nav-links a {
        margin: 0 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .tech-header {
        padding: 15px 20px;
    }

    .logo-img {
        height: 60px;
    }

    .complemento-logo {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        padding-top: 90px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 74px;
    }

    .tech-header {
        padding: 12px 15px;
    }

    .logo-img {
        height: 50px;
    }

    .mobile-menu {
        width: 100%;
        padding-top: 74px;
    }

    .mobile-nav {
        padding: 30px 20px;
    }
}

/* Animações suaves */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    animation: fadeIn 0.3s ease forwards;
}

.mobile-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav a:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav a:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav a:nth-child(4) { animation-delay: 0.4s; }

.contact-section {
    background: linear-gradient(90deg, #000000, #3533CD); 
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-header p {
    font-size: 1.2rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    color: white;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ffffff;
    width: 30px;
}

.info-item span {
    font-size: 1.1rem;
    line-height: 1.5;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background-color: white;
    color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(7, 87, 126, 0.4);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1e3a8a;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.cta-badge {
    display: inline-block;
    color: #1e3a8a;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.floating-elements::before {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.footer {
    background: linear-gradient(90deg, #000000, #3533CD); 
    padding: 60px 0 20px;
    color: white;
    position: relative;
    clip-path: inset(0 100% 0 0);
    animation: revealFooter 1s ease forwards;
}

/* Efeito de revelar da esquerda para direita */
@keyframes revealFooter {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;                      
    padding: 0 20px;
    color: white;
}

/* Adicionando delay para cada seção do footer */
.footer-section {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    animation: revealSection 0.5s ease forwards;
    color: white;
}

.footer-section:nth-child(1) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.6s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.9s;
}

.footer-section:nth-child(4) {
    animation-delay: 1.2s;
}

@keyframes revealSection {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute; 
    left: 0;
    bottom: -8px;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c8b050, transparent);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.5s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    gap: 10px;      
    margin-bottom: 20px;
}

.newsletter-form input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    flex-grow: 1;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #3533CD;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2a28a3;
}

/* Cores das redes sociais ao passar o mouse */
.social-media a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-3px);
}

/* Facebook */
.social-media a:nth-child(1):hover {
    background-color: #1877F2;
}

/* Instagram */
.social-media a:nth-child(2):hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);

}

/* LinkedIn */
.social-media a:nth-child(3):hover {
    background-color: #148414;

}

/* GitHub */
.social-media a:nth-child(4):hover {
    background-color: #333333;
}

.social-media {
    display: flex;
    column-gap: 20px;
}

.social-media i {
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .section, .section-2 {
        padding: 40px 20px;
    }
    
    .nav-links {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}