/* Contact Section */
.contact {
    background: #f3f4f6;
    color: #2c3e50;
    padding: 100px 0;
    position: relative;
}

#contact {
    scroll-margin-top: 50px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.contact-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #151c23;
    line-height: 1.2;
    background: linear-gradient(135deg, #151c23 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto;
    color: #5d6d7e;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Contact Info - ESTILO MELHORADO */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-phone {
    border-left: 4px solid #72939c;
}

.contact-email {
    border-left: 4px solid #e74c3c;
}

.contact-address {
    border-left: 4px solid #2c3e50;
}

.contact-phone .contact-icon-img {
    width: 34px; 
    height: 34px; 
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #72939c 0%, #72939c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #72939c;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.contact-item:hover .contact-icon-img {
    filter: brightness(1) invert(1);
    transform: scale(1.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #72939c 0%, #72939c 100%);
}

.contact-content {
    flex: 1;
}

.contact-label {
    display: block;
    font-weight: 700;
    color: #151c23;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-value {
    display: block;
    color: #5d6d7e;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.contact-value:hover {
    color: #72939c;
    transform: translateX(5px);
}

/* Seção da Logo - ATUALIZADA */
.contact-logo-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 0;
    margin-left: 0;
    justify-content: center;
    height: 100%;
    padding-left: 60px;
}

/* Logo sem container - direto na section */
.logo-contact {
    max-width: 800px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-contact:hover {
    transform: scale(1.05);
}

/* Botão "O que você precisa?" - CORRIGIDO */
.btn-what-you-need {
    background: transparent;
    border: 3px solid #151c23;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #151c23;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-left: 170px;
    
    /* REMOVE O OUTLINE PADRÃO DO NAVEGADOR */
    outline: none;
}

.btn-what-you-need:hover {
    background: #72939c;
    border-color: #72939c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(114, 147, 156, 0.4);
    color: #ffffff;
}

/* Estados de foco para acessibilidade - CORRIGIDOS */
.btn-what-you-need:focus {
    outline: none;
    border-color: #72939c;
    box-shadow: 0 0 0 3px rgba(114, 147, 156, 0.3);
}

.btn-what-you-need:focus-visible {
    outline: 2px solid #72939c;
    outline-offset: 2px;
}

.contact-value:focus-visible {
    outline: 2px solid #72939c;
    outline-offset: 2px;
}

/* Remove animações complexas */
.contact::before {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact {
        padding: 100px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-header h2 {
        font-size: 2.4rem;
    }

    .contact-logo-section {
        order: -1;
        margin-top: 0;
        margin-left: 0;
        align-items: center;
        padding-left: 0;
    }

    .logo-contact {
        max-width: 220px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-item {
        padding: 20px;
    }

    .btn-what-you-need {
        margin-left: 0;
    }

    /* SMARTPHONE 2px MAIOR NO TABLET */
    .contact-phone .contact-icon-img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1.1rem;
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-logo-section {
        gap: 30px;
        margin-top: 0;
        margin-left: 0;
        align-items: center;
    }

    .logo-contact {
        max-width: 200px;
    }

    .btn-what-you-need {
        padding: 16px 40px;
        font-size: 1.1rem;
        margin-left: 0;
    }

    .contact-item {
        padding: 18px;
        gap: 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon-img {
        width: 28px;
        height: 28px;
    }

    /* SMARTPHONE 2px MAIOR NO MOBILE */
    .contact-phone .contact-icon-img {
        width: 30px;
        height: 30px;
    }
    
    .contact-value {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 60px 0;
    }

    .contact-header h2 {
        font-size: 1.8rem;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-logo-section {
        gap: 25px;
        margin-top: 0;
        margin-left: 0;
        align-items: center;
    }

    .logo-contact {
        max-width: 180px;
    }

    .btn-what-you-need {
        padding: 14px 35px;
        font-size: 1rem;
        border-width: 2px;
        margin-left: 0;
    }

    .contact-details {
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .contact-icon-img {
        width: 24px;
        height: 24px;
    }

    .contact-phone .contact-icon-img {
        width: 26px; 
        height: 26px; 
    }
    
    .contact-value {
        font-size: 0.95rem;
    }
}