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

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

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

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #003d82;
    transform: translateY(-2px);
}



.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #222;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #0056b3;
    margin: 15px auto 0;
}

.section-title-yellow::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #F6B601;
    margin: 15px auto 0;

    text-align: center;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #F6B601;
    position: fixed;
    width: 100%;
    z-index: 1000;
    /*padding: 15px 0;*/
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #222;
}

.logo span {
    color: #0056b3;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: #444;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #0056b3;
}

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

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

.menu-mobile {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}


/* Seção Clientes */
.clientes {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.clientes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cliente-card {
    flex: 0 0 calc(25% - 30px);
    /* 4 cards por linha */
    width: 200px;
    /* Largura fixa */
    height: 200px;
    /* Altura fixa - formato quadrado */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cliente-card img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    /*opacity: 0.8;*/
    transition: all 0.3s ease;
    position: absolute;
}

.cliente-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.footer-logo img {
    margin-left: -20px;

}


/* Responsividade */
@media (max-width: 1200px) {
    .cliente-card {
        flex: 0 0 calc(33.333% - 30px);
        /* 3 cards */
    }
}

@media (max-width: 768px) {
    .cliente-card {
        flex: 0 0 calc(50% - 30px);
        /* 2 cards */
    }
}

@media (max-width: 480px) {
    .cliente-card {
        flex: 0 0 100%;
        /* 1 card */
        max-width: 200px;
    }
}




/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/hero-bg-3.jpg');
    background-size: cover;
    background-position: left;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Sobre Section */
/* Seção Sobre - Ajuste para imagem quadrada */
.sobre {
    padding: 80px 0;
    background-color: #222;
    color: white;
}

.color-white {
    color: white;

}



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

.sobre-text {
    flex: 1.5;
    /* Dá mais espaço para o texto */
}

.sobre-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobre-img img {
    width: 280px;
    /* Tamanho fixo para quadrado */
    height: 280px;
    object-fit: contain;
    /* Mantém proporção sem distorcer */
    padding: 20px;
    /* border: 1px solid #e0e0e0; */
    /* Opcional: borda sutil */
    border-radius: 8px;
    /* background-color: #fff; */
    /* Fundo branco para contrastar */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }

    /*.sobre-img img {
        width: 220px;
        height: 220px;
        margin-top: 30px;
    }*/
}

@media (max-width: 576px) {
    /*.sobre-img img {
        width: 180px;
        height: 180px;
    }*/
}

.hero {

    padding: 180px 0 100px;

}

/* Serviços Section */
.servicos {
    padding: 100px 0;
    background-color: #f5f5f5;
}

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

.servico-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.servico-card i {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.servico-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.servico-card p {
    color: #666;
}

/* Tecnologia Section */
.tecnologia {
    padding: 100px 0;
    background-color: white;
}

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

.tecnologia-text {
    flex: 1;
}

.tecnologia-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tecnologia-text ul {
    margin-top: 20px;
}

.tecnologia-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.tecnologia-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #0056b3;
    position: absolute;
    left: 0;
}

.tecnologia-img {
    flex: 1;
}

.tecnologia-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contato Section */
.contato {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.contato-content {
    display: flex;
    gap: 50px;
}

.contato-info {
    flex: 1;
}

.contato-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contato-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contato-info i {
    margin-right: 15px;
    color: #0056b3;
    width: 20px;
    text-align: center;
}

.contato-form {
    flex: 1;
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    justify-content: space-around;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #F6B601;
}

.footer-logo p {
    color: #aaa;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

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

.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

}

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

.social-icons a:hover {
    background-color: #000000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Correções */
.p20 {
    padding: 20px;
}


/* Responsividade */
@media (max-width: 992px) {

    .sobre-content,
    .tecnologia-content,
    .contato-content {
        flex-direction: column;
    }

    .sobre-img,
    .tecnologia-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-mobile {
        display: block;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-mobile i {
        transition: transform 0.3s ease;
    }

    .menu-mobile.active i {
        transform: rotate(90deg);
    }

    .footer-content {
        flex-direction: column;
    }


}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

}


/* BOTÃO WHATSAPP ATUALIZADO */
.whatsapp-button {
    display: inline-block;
    background-image: url('https://mpahidraulica.com.br/cilindro-hidraulico/img/whatsapp-icon.png');
    background-size: cover;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Transição suave para todas as propriedades */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100;
    transform: scale(1);
    /* Estado normal */
}

.whatsapp-button:hover {
    transform: scale(1.1);
    /* Aumenta 10% ao passar o mouse */
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
    /* Sombra verde */
}

.whatsapp-button:active {
    transform: scale(0.95);
    /* Efeito de "apertado" ao clicar */
}

/* Adicione esta animação para um feedback visual ao clicar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-button.click-effect {
    animation: pulse 0.4s ease;
}

/* Serviço img */
.servico-imagem {
    border-radius: 50%;
    /*border: 2px solid #0056b3;*/
    padding: 5px;
}