/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* Variáveis de Cores */
:root {
    --primary-color: #FFC107; /* Amarelo */
    --secondary-color: #2196F3; /* Azul */
    --dark-color: #455A64;    /* Azul Escuro Quase Preto */
    --light-color: #f8f9fa;   /* Cinza Claro */
    --text-color: #333;       /* Texto Geral */
    --white-color: #ffffff;
    --gray-light: #eceff1;
    --gray-dark: #607d8b;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilitários */
.text-center { text-align: center; }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); color: var(--white-color); }
.mt-3 { margin-top: 1.5rem; }
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block; /* Remove espaço extra abaixo da imagem */
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}
.btn-primary:hover {
    background-color: #e0b000; /* Um pouco mais escuro */
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 20px;
    font-size: 0.9em;
}
.btn-secondary:hover {
    background-color: #1976D2; /* Azul um pouco mais escuro */
    transform: translateY(-2px);
}
.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Cabeçalhos */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700;
}
h1 { font-size: 2.8em; line-height: 1.2; }
h2 { font-size: 2.2em; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.2em; }

/* Seções */
section {
    padding: 60px 0;
}
section h2 {
    color: var(--dark-color);
}
.bg-dark h2 {
    color: var(--white-color);
}


/* Header Principal */
.main-header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para mobile */
}
.main-header .logo img {
    height: 50px;
}
.main-nav ul {
    list-style: none;
    display: flex;
}
.main-nav ul li {
    margin-left: 30px;
}
.main-nav ul li a {
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav ul li a:hover::after {
    width: 100%;
}

.header-contact .btn-phone,
.header-contact .btn-whatsapp {
    margin-left: 15px;
    padding: 10px 18px;
    font-size: 0.95em;
    border-radius: 5px;
}
.header-contact .btn-phone {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.header-contact .btn-phone:hover {
    background-color: #1976D2;
}
.header-contact .btn-whatsapp {
    background-color: #25D366; /* Verde WhatsApp */
    color: var(--white-color);
}
.header-contact .btn-whatsapp:hover {
    background-color: #1DA851;
}

.menu-toggle {
    display: none; /* Esconde o botão de menu em telas grandes */
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.8em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white-color);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    position: relative;
    /* Overlay escuro para melhorar a leitura do texto */
    z-index: 1;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay escuro */
    z-index: -1;
}

.hero-content {
    text-align: left;
    max-width: 700px;
}
.hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
}
.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 400;
}
/* Altera a cor do botão primário para o destaque no hero */
.hero-content .btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
}
.hero-content .btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Seção "Guincho Perto de Mim" */
.section-guincho-perto .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap; /* Para responsividade */
}
.section-guincho-perto .content-wrapper p {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
}
.section-guincho-perto .image-wrapper {
    flex: 1;
    min-width: 300px; /* Garante que a imagem não fique muito pequena */
}
.section-guincho-perto .image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Seção "Nossos Serviços Especializados" (Cards) */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
/* Ajustes para imagens nos Service Cards */
.service-card .card-image {
    width: 100%; /* Garante que a imagem preencha a largura do card */
    height: 180px; /* Altura fixa para uniformidade */
    object-fit: cover; /* Corta a imagem para cobrir a área sem distorcer */
    border-radius: 5px; /* Cantos levemente arredondados para a imagem */
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Esconder os ícones Font Awesome, já que as imagens os substituem */
.service-card i.fas {
    display: none;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.service-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 3.5em; /* Aumenta o tamanho dos ícones */
}
.service-card h3 {
    color: var(--dark-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}
.service-card p {
    font-size: 0.95em;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

/* Seção "Outros Serviços" */
.section-other-services .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap-reverse; /* Imagem acima do texto em mobile */
}
.section-other-services .text-content {
    flex: 1;
    min-width: 300px;
}
.section-other-services .text-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}
.section-other-services .icon-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    display: grid; /* Para duas colunas se houver espaço */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.section-other-services .icon-list li {
    font-size: 1.1em;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}
.section-other-services .icon-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.3em;
}
.section-other-services .image-wrapper {
    flex: 1;
    min-width: 300px;
}
.section-other-services .image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Seção "Vantagens" */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.advantage-item {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
}
.advantage-item i {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 2.5em;
}
.advantage-item h3 {
    font-size: 1.3em;
    color: var(--dark-color);
    margin-bottom: 10px;
}
.advantage-item p {
    font-size: 0.95em;
    color: var(--gray-dark);
}
.advantages-image-bottom {
    margin-top: 60px;
    text-align: center;
}
.advantages-image-bottom img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 400px; /* Limita a altura da imagem */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
}

/* Seção "Por que Escolher" */
.section-why-choose {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 80px 0;
}
.section-why-choose h2 {
    color: var(--white-color);
}
.section-why-choose .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap; /* Para mobile */
}
.section-why-choose .text-content {
    flex: 1.5;
    min-width: 300px;
}
.section-why-choose .text-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
}
.section-why-choose .text-content h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.section-why-choose .image-wrapper {
    flex: 1;
    min-width: 300px;
}
.section-why-choose .image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Seção FAQ */
.section-faq .faq-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Para mobile */
}
.section-faq .faq-accordion {
    flex: 2;
    min-width: 300px;
}
.faq-item {
    background-color: var(--white-color);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '\2b'; /* Sinal de mais */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    content: '\2212'; /* Sinal de menos */
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 25px;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Valor arbitrário, pode ser ajustado */
    padding-bottom: 20px;
}
.faq-answer p {
    font-size: 1em;
    color: var(--gray-dark);
}
.section-faq .faq-image-wrapper {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-faq .faq-image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 500px;
    object-fit: cover;
}


/* Seção Depoimentos */
.section-testimonials {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 80px 0;
}
.section-testimonials h2 {
    color: var(--white-color);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background-color: var(--white-color);
    color: var(--text-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}
.testimonial-card h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}
.testimonial-card .stars {
    color: var(--primary-color);
    font-size: 1.1em;
}

/* Seção Contato */
.section-contact {
    padding: 80px 0;
}
.section-contact h2 {
    color: var(--white-color);
}
.section-contact .contact-grid {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.section-contact .contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}
.section-contact .contact-info p {
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--white-color);
}
.section-contact .contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5em;
}
.section-contact .contact-info a {
    color: var(--white-color);
    font-weight: 600;
}
.section-contact .contact-info a:hover {
    color: var(--primary-color);
}
.section-contact .contact-form {
    flex: 1.5;
    min-width: 300px;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}
.section-contact .contact-form .btn-primary {
    width: auto;
    display: inline-block;
    margin-right: 15px;
}
.section-contact .contact-image-mobile {
    display: none; /* Escondido por padrão, visível apenas em mobile */
    margin-top: 30px;
    text-align: center;
}
.section-contact .contact-image-mobile img {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Seção "Atendemos Toda a Região" */
.section-areas {
    padding: 60px 0;
    background-color: var(--gray-light);
}
.section-areas h2 {
    color: var(--dark-color);
}
.section-areas p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--gray-dark);
}
.bairros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.bairros-grid ul {
    list-style: none;
    padding: 0;
}
.bairros-grid li {
    background-color: var(--white-color);
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    font-size: 0.95em;
    color: var(--text-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Footer */
.main-footer {
    padding: 30px 0;
    font-size: 0.9em;
    border-top: 3px solid var(--primary-color);
}
.main-footer p {
    margin-bottom: 10px;
}
.main-footer .footer-links a {
    color: var(--white-color);
    margin: 0 10px;
}
.main-footer .footer-links a:hover {
    color: var(--primary-color);
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}


/* --- Responsividade --- */
@media (max-width: 992px) {
    .main-header .main-nav {
        order: 3; /* Move a navegação para baixo em telas menores */
        flex-basis: 100%;
        margin-top: 15px;
    }
    .main-header .main-nav ul {
        flex-direction: column;
        display: none; /* Esconde por padrão no mobile */
        width: 100%;
        text-align: center;
    }
    .main-header .main-nav ul.active {
        display: flex; /* Mostra quando o menu-toggle é clicado */
    }
    .main-header .main-nav ul li {
        margin: 10px 0;
    }
    .main-header .header-contact {
        order: 2;
        margin-top: 0;
    }
    .main-header .btn-phone, .main-header .btn-whatsapp {
        margin-left: 10px;
        padding: 8px 15px;
        font-size: 0.85em;
    }
    .menu-toggle {
        display: block; /* Mostra o botão de menu em telas menores */
        order: 2; /* Posiciona ao lado do logo ou outro */
        margin-left: auto;
    }
    .main-header .logo {
        order: 1;
    }
    .main-header .header-contact {
        display: none; /* Oculta os botões do header em mobile, confie no CTA do hero e do footer */
    }


    .hero-section {
        height: 500px;
        background-position: 30% center; /* Ajuste para mobile */
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-content .btn-lg {
        font-size: 1em;
        padding: 12px 25px;
    }

    .section-guincho-perto .content-wrapper,
    .section-other-services .content-wrapper,
    .section-why-choose .content-wrapper,
    .section-faq .faq-grid {
        flex-direction: column;
    }

    .section-guincho-perto .content-wrapper p,
    .section-other-services .text-content,
    .section-why-choose .text-content {
        order: 2;
    }
    .section-guincho-perto .image-wrapper,
    .section-other-services .image-wrapper,
    .section-why-choose .image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

    .faq-grid {
        flex-direction: column-reverse; /* Imagem do FAQ abaixo do acordeão em mobile */
    }
    .section-faq .faq-image-wrapper {
        margin-top: 30px;
    }

    .section-contact .contact-grid {
        flex-direction: column;
    }
    .section-contact .contact-info {
        text-align: center;
        padding-right: 0;
    }
    .section-contact .contact-info p {
        justify-content: center;
    }
    .section-contact .contact-image-mobile {
        display: block; /* Mostra a imagem de contato em mobile */
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    section {
        padding: 40px 0;
    }

    .service-cards-grid, .advantages-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas muito pequenas */
    }
    .section-other-services .icon-list {
        grid-template-columns: 1fr;
    }

    .main-header .header-contact { /* Garante que os botões do cabeçalho estejam ocultos em mobile */
        display: none;
    }

    .hero-section {
        height: 450px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .main-footer {
        text-align: center;
    }
    .main-footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }
    .main-footer .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 400px;
    }
    .hero-content h1 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 0.9em;
    }
    .hero-content .btn-lg {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .main-header .logo img {
        height: 40px;
    }

    .section-contact .contact-form {
        padding: 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        bottom: 15px;
        right: 15px;
    }
}