/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cinza-claro: #cececf;
    --cinza-escuro: #82878d;
    --laranja: #d57d30;
    --azul-escuro: #16324e;
    --branco: #ffffff;
    --preto: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--preto);
    background: linear-gradient(135deg, var(--cinza-claro), var(--cinza-escuro));
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--branco);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

.botao-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--azul-escuro);
    cursor: pointer;
    padding: 5px 10px;
}

.navegacao {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--branco);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
}

.navegacao.ativo {
    right: 0;
}

.navegacao ul {
    list-style: none;
    padding: 20px;
}

.navegacao ul li {
    margin-bottom: 15px;
}

.navegacao ul li a {
    text-decoration: none;
    color: var(--azul-escuro);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navegacao ul li a:hover {
    background-color: var(--laranja);
    color: var(--branco);
}

/* Destaque Section */
.destaque {
    height: 100vh;
    position: relative;
    margin-top: 80px;
}

.carrossel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.ativo {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conteudo-destaque {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--branco);
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.conteudo-destaque h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.conteudo-destaque p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
.secao {
    padding: 60px 0;
    background-color: var(--branco);
}

.secao h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--azul-escuro);
    font-size: 2rem;
}

.conteudo-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.conteudo-texto {
    flex: 1;
}

.conteudo-texto p {
    margin-bottom: 20px;
}

.conteudo-texto ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.conteudo-texto ul li {
    margin-bottom: 10px;
}

.conteudo-imagem {
    flex: 1;
    text-align: center;
}

.conteudo-imagem img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.conteudo-imagem img:hover {
    transform: scale(1.02);
}

.info-contato {
    margin-top: 20px;
}

.info-contato p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-contato i {
    margin-right: 10px;
    color: var(--laranja);
}

/* Botões */
.botao {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--laranja);
    color: var(--branco);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.botao:hover {
    background-color: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Formulário */
.formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grupo-formulario {
    width: 100%;
}

.grupo-formulario input,
.grupo-formulario select,
.grupo-formulario textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.grupo-formulario textarea {
    resize: vertical;
    min-height: 120px;
}

/* Rodapé */
.rodape {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 40px 0 20px;
}

.conteudo-rodape {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.logo-rodape img {
    height: 60px;
    width: auto;
}

.links-rodape h3,
.redes-sociais h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--laranja);
}

.links-rodape ul {
    list-style: none;
}

.links-rodape ul li {
    margin-bottom: 10px;
}

.links-rodape ul li a {
    color: var(--branco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-rodape ul li a:hover {
    color: var(--laranja);
}

.icones-sociais {
    display: flex;
    gap: 15px;
}

.icones-sociais a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    font-size: 18px;
    transition: all 0.3s ease;
}

.icones-sociais a:hover {
    background-color: var(--laranja);
    transform: translateY(-3px);
}

.rodape-inferior {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botão do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 200px;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.whatsapp-box.ativo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-box p {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.whatsapp-send {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 8px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.whatsapp-send:hover {
    background-color: #128C7E;
}

/* Galeria de Imagens */
.galeria-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.galeria-conteudo {
    position: relative;
    margin: auto;
    padding: 70px 20px 20px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titulo-galeria {
    color: white;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.8rem;
    width: 100%;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.imagem-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.imagem-galeria {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    display: block;
}

.fechar-galeria {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fechar-galeria:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--laranja);
}

.controle-galeria {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controle-galeria:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.anterior {
    left: 10px;
}

.proximo {
    right: 10px;
}

.galeria-miniaturas-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.galeria-miniaturas {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
    width: max-content;
    margin: 0 auto;
}

.galeria-miniaturas img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 4px;
}

.galeria-miniaturas img:hover,
.galeria-miniaturas img.ativa {
    opacity: 1;
    border: 2px solid var(--laranja);
}

/* Media Queries para tablets */
@media (min-width: 768px) {
    .conteudo-destaque h1 {
        font-size: 3.5rem;
    }

    .conteudo-destaque p {
        font-size: 1.5rem;
    }

    .conteudo-flex {
        flex-direction: row;
        align-items: center;
    }

    .invertido {
        flex-direction: row-reverse;
    }

    .conteudo-rodape {
        flex-direction: row;
        justify-content: space-between;
    }

    .links-rodape,
    .redes-sociais {
        flex: 1;
    }

    .titulo-galeria {
        font-size: 2.2rem;
    }
}

/* Media Queries para desktops */
@media (min-width: 992px) {
    .botao-menu {
        display: none;
    }

    .navegacao {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }

    .navegacao ul {
        display: flex;
        padding: 0;
    }

    .navegacao ul li {
        margin-bottom: 0;
        margin-left: 20px;
    }

    .navegacao ul li a {
        padding: 5px 10px;
    }

    .secao h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .galeria-conteudo {
        max-width: 95%;
    }
    
    .imagem-galeria {
        max-height: 50vh;
    }
    
    .galeria-miniaturas img {
        width: 60px;
        height: 45px;
    }
    
    .controle-galeria {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .fechar-galeria {
        top: 15px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .galeria-conteudo {
        padding-top: 50px;
    }
}