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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2d3748;
}

.section-header p {
    color: #718096;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(to right, #4a6cf7, #7539f8);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(to right, #3a5be5, #6429e6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4a6cf7;
    border: 2px solid #4a6cf7;
}

.btn-secondary:hover {
    background: rgba(74, 108, 247, 0.1);
    transform: translateY(-3px);
}

/* Header e navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

.logo span {
    color: #4a6cf7;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a6cf7;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-contact {
    background: linear-gradient(to right, #4a6cf7, #7539f8);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-contact:hover {
    background: linear-gradient(to right, #3a5be5, #6429e6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3748;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

/* Serviços */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    border-radius: 50%;
    font-size: 32px;
    color: #4a6cf7;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2d3748;
}

.service-card p {
    color: #718096;
}

/* Sobre nós */
.about {
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2d3748;
}

.about-text p {
    margin-bottom: 20px;
    color: #718096;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contato */
.contact {
    background-color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 70px 0 20px;
}

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

.footer-logo h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.footer-logo span {
    color: #4a6cf7;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: #fff;
}

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

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2d3748;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #4a6cf7;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utilitários para acessibilidade e SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Otimização de carregamento de imagens */
.hero-image img,
.about-image img {
    max-width: 100%;
    height: auto;
}

/* Ajuste para links acessíveis */
a:focus {
    outline: 2px solid #4a6cf7;
    outline-offset: 2px;
}

/* Melhorias para contraste de texto */
.service-card p,
.about-text p,
.footer-contact p {
    color: #4a5568; /* Cor mais escura para melhor contraste */
}

.section-header p {
    color: #4a5568; /* Melhorar contraste */
}

/* Melhorias em formulários para acessibilidade */
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #4a6cf7;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

/* Adicionar indicadores de foco para navegação por teclado */
button:focus,
.btn:focus,
.social-icons a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Seção de Processo */
.process {
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    padding: 80px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* Linha conectora melhorada */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.process-step {
    position: relative;
    min-width: 160px;
    max-width: 180px;
    text-align: center;
    z-index: 2;
    flex: 1;
    padding: 0 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 28px;
    color: #4a6cf7;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.15);
    transition: all 0.3s ease;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2d3748;
}

.process-step p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsividade - mantém linha em dispositivos médios */
@media (max-width: 992px) {
    .process-steps::before {
        left: 40px;
        right: 40px;
    }
}

/* Responsividade - empilha em dispositivos pequenos */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/* Seção de Cases de Sucesso */
.cases {
    background-color: #fff;
    padding: 80px 0;
}

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

.case-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.case-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    padding: 0;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.case-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2d3748;
}

.case-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-size: 14px;
}

.stat i {
    color: #4a6cf7;
}

.case-content p {
    color: #4a5568;
    margin-bottom: 20px;
    flex: 1;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.case-tags span {
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #4a6cf7;
}

.case-btn {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-btn i {
    font-size: 12px;
}

/* Estilo para o bloco "Seu projeto pode ser o próximo" */
.add-case {
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
}

.add-case:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.add-case-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.add-case-content i {
    font-size: 48px;
    color: #4a6cf7;
    margin-bottom: 10px;
}

.add-case-content h3 {
    font-size: 22px;
    color: #2d3748;
}

.add-case-content p {
    color: #4a5568;
    margin-bottom: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-image {
        height: 180px;
    }
}

/* Seção de Tecnologias */
.technologies {
    background: linear-gradient(135deg, #f6f9fe 0%, #eef4fd 100%);
    padding: 80px 0;
}

.tech-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 50px 0;
    padding: 0 50px;
}

.tech-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
    gap: 30px;
}

.tech-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tech-item {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

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

.tech-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 40px;
    color: #4a6cf7;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.3);
    color: #7539f8;
}

.tech-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #4a6cf7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:hover {
    background: #4a6cf7;
    color: #fff;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.tech-description {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
}

.tech-description p {
    color: #4a5568;
    margin-bottom: 25px;
}

/* Responsividade */
@media (max-width: 768px) {
    .tech-carousel-container {
        padding: 0 40px;
    }
    
    .tech-item {
        min-width: 140px;
    }
    
    .tech-icon {
        width: 80px;
        height: 80px;
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .tech-carousel-container {
        padding: 0 30px;
    }
    
    .tech-item {
        min-width: 120px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
} 