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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

/* Header Fixo */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.btn-cta-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #B6002C;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(182, 0, 44, 0.3);
}

.btn-cta-header:hover {
    background: #9B0025;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 0, 44, 0.4);
}

/* Seção Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Aclonica', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000000;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333333;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #B6002C;
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(182, 0, 44, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn-cta-primary:hover {
    background: #9B0025;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(182, 0, 44, 0.4);
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-shape {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #B6002C, #9B0025);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

/* Seção Problema/Solução */
.problema-solucao {
    padding: 80px 0;
    background: #B6002C;
    color: white;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.problema h2,
.solucao h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.problema p,
.solucao p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.problema-lista,
.solucao-lista {
    list-style: none;
}

.problema-lista li,
.solucao-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.problema-lista svg,
.solucao-lista svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Seções Gerais */
.servicos,
.processo,
.diferencial {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
}

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

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.servico-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #B6002C;
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: #B6002C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.servico-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.servico-card:hover .servico-icon {
    transform: scale(1.1);
}

.servico-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
}

.servico-card p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.servico-card ul {
    list-style: none;
    text-align: left;
}

.servico-card ul li {
    padding: 5px 0;
    color: #333333;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.servico-card ul li::before {
    content: "•";
    color: #B6002C;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Processo */
.processo {
    background: #F8F9FA;
}

.processo-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.processo-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: #B6002C;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.processo-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    background: #f4f4f4;
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-content p {
    font-size: 1rem;
    color: #f4f4f4;
    line-height: 1.6;
}

/* Diferencial */
.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.diferencial-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.diferencial-item:hover {
    transform: translateY(-5px);
}

.diferencial-icon {
    width: 70px;
    height: 70px;
    background: #B6002C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.diferencial-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.diferencial-item:hover .diferencial-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(182, 0, 44, 0.3);
}

.diferencial-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
}

.diferencial-item p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

/* Contato Final */
.contato-final {
    padding: 80px 0;
    background: #B6002C;
    color: white;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.contato-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contato-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contato-detalhes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.contato-item svg {
    width: 20px;
    height: 20px;
}

/* Formulário */
.contato-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #F8F9FA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B6002C;
    background: white;
    box-shadow: 0 0 0 3px rgba(182, 0, 44, 0.3);
}

.btn-submit {
    width: 100%;
    background: #B6002C;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

.btn-submit:hover {
    background: #9B0025;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(182, 0, 44, 0.3);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer .logo-img {
    height: 35px;
    filter: brightness(0) invert(1);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(20px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Fade In Animation for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsividade - Tablet */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contato-detalhes {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsividade - Desktop */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .processo-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Navegação Principal */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    color: #000000;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 20px 0;
    position: absolute;
    top: 0;
}

.mobile-menu-header .logo-img {
    height: 45px;
}

.close-menu {
    cursor: pointer;
}

.close-menu svg {
    width: 30px;
    height: 30px;
    color: #000000;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 20px 0;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 1.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #B6002C;
}

.btn-cta-mobile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #B6002C;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(182, 0, 44, 0.3);
}

/* Seção Portfólio */
.portfolio {
    padding: 80px 0;
    background: #F8F9FA;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px; /* Altura fixa para as imagens do portfólio */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
    padding: 0 20px;
}

/* Overlay escuro nas imagens do portfólio */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px; /* mesma altura da imagem definida no CSS */
    background: rgba(0, 0, 0, 0.55); /* preto com 45% de transparência */
    transition: background 0.3s ease;
    pointer-events: none; /* não atrapalha o clique */
}

.portfolio-item:hover::after {
    background: rgba(0, 0, 0, 0); /* some no hover */
}

/* Estilos Base para a Seção "Sobre" */
.sobre {
    position: relative;
    padding: 80px 0;
    background: #F8F9FA;
    overflow: hidden; /* Garante que a imagem de fundo não vaze */
}

/* Ajuste definitivo para a seção Sobre */
.sobre-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    display: block;      /* sempre em bloco, sem grid */
    text-align: left;
}

.sobre-text {
    position: relative;
    z-index: 2;
    padding-right: 0;    /* garante sem padding à direita */
    margin-right: 0;
}

/* [CORREÇÃO] Unificando as duas definições de .sobre-image em uma só */
.sobre-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Técnica mais comum e eficaz para centralizar */
    z-index: 1; /* Fica abaixo do texto */
    opacity: 0.08;
    pointer-events: none; /* Imagem não é clicável */
    width: 1200px; /* Largura máxima da imagem no contêiner */
    max-width: 90vw; /* Garante que não seja maior que a tela */
    text-align: center; /* Ajuda a centralizar a imagem dentro do contêiner */
}

.sobre-image img {
    width: 100%;
    height: auto;
}

/* --- RESPONSIVIDADE --- */

/* Estilos para Mobile (telas até 767px) */
/* [OTIMIZAÇÃO] Todas as regras para mobile foram unificadas em um único bloco */
@media (max-width: 767px) {
    /* Menu Mobile */
    .main-nav .nav-links,
    .main-nav .btn-cta-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-content {
        justify-content: space-between;
    }

    .mobile-menu-overlay {
        justify-content: flex-start;
        padding-top: 80px;
    }

    .mobile-menu-header {
        padding: 15px 5%;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
    }

    .btn-cta-mobile {
        font-size: 1rem;
        padding: 12px 25px;
    }

    /* Seção Sobre Mobile */
    .sobre-text h2 {
        font-size: 2rem;
    }

    .sobre-text p {
        font-size: 1rem;
    }

    .sobre-image {
        opacity: 0.15; /* Mais visível no celular para um efeito suave */
    }

    .sobre-image img {
        max-width: 90%; /* Ajusta o tamanho da imagem para não ficar colada nas bordas */
    }
}


/* Estilos para Desktop (telas a partir de 768px) */
/* [OTIMIZAÇÃO] Todas as regras para desktop foram unificadas em um único bloco */
@media (min-width: 768px) {
    /* Menu Desktop */
    .mobile-menu-overlay,
    .menu-toggle {
        display: none;
    }

    .main-nav .nav-links {
        display: flex;
    }
    
    .main-nav .btn-cta-header {
        display: flex;
    }

    .header-content {
        justify-content: space-between;
    }

    /* Portfólio Desktop */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}