:root {
    --primary-color: #000000;
    --primary-dark: #000000;
    --secondary-color: #3533CD;
    --accent-color: #3533CD;
    --text-color: #000000;
    --text-light: #666;
    --bg-light: #f8fafc;
    --bg-card: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;  
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);

}

.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; }

.services-1 {
    background: linear-gradient(90deg, #000000, #3533CD); 
    color: rgb(255, 255, 255);
    padding: 100px 0 60px;
    text-align: center;
}


.services-1 h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: fadeIn 2.3s ease;
    color: rgb(255, 255, 255);  

}

.services-1 p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeIn 2.7s ease;   
    color: rgb(255, 255, 255);

}

/* Container e Seções */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Menu de Navegação dos Serviços */
.services-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 30px;
}

.nav-item {
    
    padding: 12px 24px;
    background-color: var(--bg-card);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
    user-select: none;
}

.nav-item:hover {
    background-color: #e0e7ff;
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(90deg, #000000, #3533CD); 
    color: white;
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Card de Serviço */
.service-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0; /* Começa invisível para animação */
    transform: translateY(30px); /* Começa deslocado para baixo */
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.card-icon {
    background: linear-gradient(90deg, #000000, #3533CD); 
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon i {
    font-size: 2.5rem;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.features-list {
    list-style-type: none;
    margin-bottom: 25px;
}

.features-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-light);
}

.features-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.card-action {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(90deg, #000000, #3533CD);   
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    align-self: flex-start;
}

.card-action:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Etapas do Processo */
.process-section {
    background: linear-gradient(90deg, #000000, #3533CD);   
    padding: 80px 0;
}

.process-section h2{
    color: var(--bg-card);
}
.process-section h2:after {
    background: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
    color: var(--bg-card);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bg-card);
    color: rgba(8, 5, 87, 0.91);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg-card);
}

/* CTA Seção */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    margin: 80px 0;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition);
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section h2:after {
    background: white;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animações */
.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Classes para animações específicas */
.fade-up.animated {
    animation: fadeUp 0.6s ease forwards;
}

.fade-right.animated {
    animation: fadeRight 0.6s ease forwards;
}

.fade-left.animated {
    animation: fadeLeft 0.6s ease forwards;
}

.fade-down.animated {
    animation: fadeDown 0.6s ease forwards;
}

.fade-up-right.animated {
    animation: fadeUpRight 0.6s ease forwards;
}

.fade-up-left.animated {
    animation: fadeUpLeft 0.6s ease forwards;
}

.fade-down-right.animated {
    animation: fadeDownRight 0.6s ease forwards;
}

.fade-down-left.animated {
    animation: fadeDownLeft 0.6s ease forwards;
}

.zoom-in.animated {
    animation: zoomIn 0.6s ease forwards;
}

.zoom-in-up.animated {
    animation: zoomInUp 0.6s ease forwards;
}

.zoom-in-down.animated {
    animation: zoomInDown 0.6s ease forwards;
}

.zoom-out.animated {
    animation: zoomOut 0.6s ease forwards;
}

.flip-left.animated {
    animation: flipLeft 0.6s ease forwards;
}

.flip-right.animated {
    animation: flipRight 0.6s ease forwards;
}

.flip-up.animated {
    animation: flipUp 0.6s ease forwards;
}

.flip-down.animated {
    animation: flipDown 0.6s ease forwards;
}

.bounce.animated {
    animation: bounce 0.6s ease forwards;
}

.rotate-left.animated {
    animation: rotateLeft 0.6s ease forwards;
}

.rotate-right.animated {
    animation: rotateRight 0.6s ease forwards;
}

.slide-up.animated {
    animation: slideUp 0.6s ease forwards;
}

.slide-right.animated {
    animation: slideRight 0.6s ease forwards;
}

.slide-left.animated {
    animation: slideLeft 0.6s ease forwards;
}

.fade-zoom-in.animated {
    animation: fadeZoomIn 0.6s ease forwards;
}

/* Keyframes para as animações */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpRight {
    from {
        opacity: 0;
        transform: translate(-30px, 30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeUpLeft {
    from {
        opacity: 0;
        transform: translate(30px, 30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeDownRight {
    from {
        opacity: 0;
        transform: translate(-30px, -30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes fadeDownLeft {
    from {
        opacity: 0;
        transform: translate(30px, -30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes zoomInDown {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flipLeft {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes flipRight {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes flipUp {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipDown {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes bounce {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rotateLeft {
    from {
        opacity: 0;
        transform: rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes rotateRight {
    from {
        opacity: 0;
        transform: rotate(45deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeZoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .process-steps {
        gap: 25px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .nav-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .process-step {
        width: 120px;
    }
}

@media (max-width: 576px) {
    .services-nav {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .nav-item {
        width: 80%;
        text-align: center;
    }
    
    .process-steps {
        gap: 40px 20px;
    }
    
    .process-step {
        width: 100px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

.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;
}

/* Adicionando delay para cada seção do footer */
.footer-section {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    animation: revealSection 0.5s ease forwards;
}

.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;
    }
}