/* ---- ESTILOS GERAIS ---- */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

/* ---- CABEÇALHO E NAVEGAÇÃO ---- */
header {
    background-color: #111;
    padding: 10px 50px;
    display: flex;
    justify-content: flex-end; /* Aligns nav/button to the right */
    align-items: center;
    border-bottom: 3px solid #FFC107;
    position: relative; 
    z-index: 1000;
    height: 120px; /* Gives the header a consistent height */
}

.hamburger-menu { 
    display: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-left: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: color 0.3s;
}

nav a:hover {
    color: #FFC107;
}

/* ---- CONTEÚDO PRINCIPAL ---- */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    padding: 30px 0;
    border-bottom: 1px solid #444;
}

section:last-child {
    border-bottom: none;
}

h2 {
    color: #FFC107;
    font-size: 28px;
    margin-bottom: 20px;
}

ul {
    line-height: 1.8;
}

address {
    font-style: normal;
    line-height: 1.6;
}

/* ---- Estilo para a Logo Circular ---- */
.logo-circular {
    width: 280px; 
    height: 280px;
    object-fit: contain;
    border-radius: 50%;
    background-color: black; /* Added to cover the line behind the logo */
    padding: 5px;
    border: 2px solid #FFC107;
    /* Precise positioning for the overlap effect */
    position: absolute;
    left: 50px;
    top: 100%;
    transform: translateY(-45%); /* Pulls the logo up by half its height */
}

/* ---- Estilos da Nova Seção de Serviços ---- */
#servicos {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 60px 40px;
    background-color: #1a1a1a;
}

#servicos h2 {
    text-align: center;
    margin-bottom: 40px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.servico-card {
    background-color: #f4f4f4;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.servico-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
}

.servico-card h3 {
    font-size: 22px;
    color: #002366;
    margin-top: 0;
}

.servico-card p {
    font-size: 15px;
    line-height: 1.6;
}

.btn-servico {
    display: inline-block;
    background-color: #FFC107;
    color: #111;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-servico:hover {
    background-color: #fdb813;
}

.servico-hidden {
    display: none;
}

.btn-ver-todos {
    display: block;
    margin: 40px auto 0 auto;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    color: #111;
    background-color: #FFC107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-ver-todos:hover {
    background-color: #fdb813;
    transform: scale(1.02);
}

/* ---- Estilos da Seção de Introdução (Hero) ---- */
#introducao {
    padding-top: 105px; /* Added to push content below the overlapping logo */
    height: 45rem;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('images/fundo-introducao.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* Ensures padding is included in the height */
}

.intro-content {
    max-width: 800px;
}

.intro-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 18px;
    max-width: 800px;
    margin-bottom: 45px;
}

.btn-intro {
    background-color: #FFC107;
    color: #111;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-intro:hover {
    background-color: #fdb813;
    transform: scale(1.05);
}

/* ---- Estilos da Nova Seção de Atendimento ---- */
#atendimento {
    padding: 50px 0;
}

.atendimento-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.atendimento-info {
    flex-basis: 40%;
    text-align: center;
}

.atendimento-info p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.atendimento-horarios {
    flex-basis: 60%;
}

.atendimento-horarios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atendimento-horarios li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #333;
    font-size: 18px;
}

.atendimento-horarios li:last-child {
    border-bottom: none;
}

.status-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    font-size: 18px;
    gap: 10px;
}

.status-badge {
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    text-transform: uppercase;
}

.status-badge.online {
    background-color: #2ECC71;
    color: #ffffff;
}

.status-badge.offline {
    background-color: #E74C3C;
    color: #ffffff;
}

/* ---- Estilos da Nova Seção de Contato ---- */
#contato {
    padding: 50px 0;
}

.contato-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.contato-info {
    flex-basis: 50%;
}

.contato-info p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.7;
    max-width: 450px;
}

.contato-links {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #f0f0f0;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.contato-item:hover {
    background-color: #333;
    transform: translateX(10px);
}

.contato-item svg {
    flex-shrink: 0;
}

/* ---- Estilos da Nova Seção de Localização ---- */
#localizacao-avaliacoes {
    background-color: #111;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding: 60px 40px;
}

.localizacao-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.mapa-wrapper {
    flex-basis: 50%;
    height: 450px;
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.localizacao-info {
    flex-basis: 50%;
}

.localizacao-info p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.endereco-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.endereco-box address {
    font-style: normal;
    line-height: 1.6;
}

.btn-mapa {
    display: inline-block;
    background-color: #FFC107;
    color: #111;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-mapa:hover {
    background-color: #fdb813;
}

/* ---- Estilos do Cabeçalho e Botão WhatsApp ---- */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-whatsapp-header {
    position: relative;
    display: flex; 
    align-items: center;
    gap: 10px;
    background-color: #FFC107;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
    border: 2px solid #FFC107;
}

.status-dot.online {
    background-color: #2ECC71;
}

.status-dot.offline {
    background-color: #E74C3C;
}

.btn-whatsapp-header:hover {
    transform: scale(1.05);
}

.btn-whatsapp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-whatsapp-text span {
    color: #5b4000;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.btn-whatsapp-text strong {
    color: #000000;
    font-size: 16px;
}

/* ---- Estilos do Novo Rodapé ---- */
footer {
    background-color: #111;
    color: #a0a0a0;
    padding-top: 60px;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col .footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.footer-about {
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: #FFC107;
    padding-left: 5px;
}

.footer-contact-link {
    display: block;
    margin-bottom: 12px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a svg {
    transition: fill 0.3s, transform 0.3s;
}

.social-icons a:hover svg {
    fill: #FFC107;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

.footer-logo {
    border-radius: 50%;
    border: 2px solid #FFC107;
    width: 70px;
    height: 70px;
    padding: 10px;
    margin-top: 20px;
}

/* ---- Estilos do Botão de Controle de Áudio ---- */
.mute-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background-color: #FFC107;
    color: #111;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.mute-button:hover {
    transform: scale(1.1);
}

/* ---- Estilos da Seção de Nova Avaliação ---- */
#nova-avaliacao {
    text-align: center;
    background-color: #111;
    padding: 60px 40px; 
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    border-bottom: none; 
}

#nova-avaliacao p {
    max-width: 600px;
    margin: 20px auto 30px auto;
    line-height: 1.7;
    color: #ccc;
    font-size: 16px;
}

.btn-avaliar {
    display: inline-block;
    background-color: #4285F4; 
    color: #ffffff;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-avaliar:hover {
    background-color: #5a95f5;
    transform: scale(1.05);
}

/* ---- Estilos da Seção de Avaliações de Clientes ---- */
#avaliacoes-clientes {
    padding: 60px 20px;
}

#avaliacoes-clientes h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* ---- Ajuste para o aviso de agendamento ---- */
.horario-detalhe {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.agendamento-aviso {
    font-size: 14px;
    font-style: italic;
    color: #FFC107;
    margin-top: 4px;
}

/* ---- Estilos do Pop-up (Modal) de WhatsApp ---- */
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.is-visible {
    display: flex; 
}

.modal-content {
    background: #2c2c2c;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 100%;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.modal-content h3 {
    color: #FFC107;
    margin-top: 0;
    font-size: 24px;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 30px;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-button {
    background-color: #25D366; 
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.modal-button:hover {
    background-color: #128C7E;
}

.modal-button strong {
    display: block;
    font-size: 16px;
}

.modal-button span {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.btn-header-destaque {
    background-color: #fff; /* Cor azul dos títulos dos cards para consistência */
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    white-space: nowrap; /* Impede que o texto quebre em duas linhas */
}

.btn-header-destaque:hover {
    background-color: gray; /* Um tom de azul um pouco mais claro ao passar o mouse */
    transform: scale(1.05);
}

/* --- SEÇÃO CTA OUTROS SERVIÇOS --- */
#outros-servicos {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0; /* Adiciona uma linha sutil de separação */
    width: 100%;
}

#outros-servicos h2 {
    color: #FFC107; /* Cor de destaque laranja/amarelo */
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
}

#outros-servicos p {
    max-width: 650px; /* Limita a largura do texto para melhor leitura */
    margin: 0 auto 30px auto; /* Centraliza o parágrafo e adiciona espaço abaixo */
    line-height: 1.7;
    color: #fff;
}

.btn-cta-principal {
    background-color: #FFC107; /* Cor de destaque */
    color: #111; /* Texto escuro para contraste */
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-cta-principal:hover {
    background-color: #fdb813; /* Tom mais escuro no hover */
    transform: scale(1.05); /* Efeito de crescimento sutil */
}

/* ############################################################### */
/* ############### INÍCIO DAS REGRAS PARA MOBILE ################# */
/* ############################################################### */

@media (max-width: 992px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* ---- AJUSTES GERAIS ---- */
    h2 {
        font-size: 24px;
    }

    /* ---- CABEÇALHO COM MENU HAMBÚRGUER ---- */
    header {
        padding: 15px 20px;
        margin-bottom: 0;
        justify-content: space-between;
        height: auto;
    }

    .logo-circular {
        position: static;
        transform: none;
        width: 70px;
        height: 70px;
    }
    
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .hamburger-menu .bar {
        height: 3px;
        width: 100%;
        background-color: #FFC107;
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }
    
    .header-right {
        display: none;
    }

    .header-right.is-active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        position: absolute;
        top: 101px; /* Ajustado para a nova altura do header mobile */
        left: 0;
        width: 100%;
        background-color: #1c1c1c;
        padding: 30px 0;
        border-bottom: 3px solid #FFC107;
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    nav li {
        margin: 0;
    }

    .hamburger-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ---- SEÇÃO DE INTRODUÇÃO ---- */
    #introducao {
        height: auto;
        padding-top: 0; /* Reseta o padding no mobile */
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 80px;
    }

    .intro-content h1 {
        font-size: 28px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .btn-intro {
        font-size: 16px;
        padding: 15px 20px;
    }
    
    /* ---- SEÇÕES DE 2 COLUNAS ---- */
    .atendimento-container,
    .contato-container,
    .localizacao-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .atendimento-horarios, .contato-links, .localizacao-info, .atendimento-info, .mapa-wrapper, .contato-info {
        flex-basis: 100%;
    }
    
    .status-wrapper {
        justify-content: center;
    }
    
    .atendimento-horarios li strong {
        flex-grow: 1;
        text-align: left;
        padding-right: 15px;
    }

    .contato-item:hover {
        transform: none;
    }
    
    /* ---- SEÇÃO DE SERVIÇOS ---- */
    #servicos, #localizacao-avaliacoes, #nova-avaliacao {
        width: 100%;
        padding: 40px 20px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
}