/* Reinício de box-sizing para garantir que padding e border não causem overflow */
* {
    box-sizing: border-box;
}
/* Definindo um limite máximo de largura para imagens e elementos de mídia por padrão */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto; /* Mantém proporções */
    display: block; /* Remove espaço extra abaixo de imagens em linha */
}

/* Estilos Gerais */
:root {
    /* Cores da Paleta baseadas na Logo */
    --cor-marrom-principal: #5C3D2E; /* Marrom mais rico da logo (ligeiramente escurecido) */
    --cor-bege-claro: #E0C2A6; /* Bege/Dourado mais quente da logo */
    --cor-marrom-escuro: #3A2A22; /* Um marrom bem escuro para contrastes fortes (header, footer, texto) */
    --cor-fundo-secao-clara: #F8F5F0; /* Um off-white/creme muito claro para fundos de seções */
    --cor-branco: #ffffff;
    --cor-cinza-neutro: #9E9E9E; /* Cinza para textos secundários e bordas */

    /* NOVAS CORES DE DESTAQUE VIVAS E SOFISTICADAS */
    --cor-destaque-principal-viva: #008080; /* Teal (Verde-azulado escuro) - para botões, títulos, ícones */
    --cor-destaque-secundaria: #DAA520; /* Goldenrod (Ouro suave) - para acentos, hovers, bordas */
    
    --cor-whatsapp: #25D366; /* Mantendo o verde do WhatsApp para reconhecimento */
    
    /* Cores de status de horário - AGORA USANDO A PALETA EXISTENTE PARA DISCREIÇÃO */
    --cor-fundo-status-barra: var(--cor-marrom-escuro); /* Fundo da barra de status igual ao marrom escuro */
    --cor-texto-status-barra: var(--cor-bege-claro); /* Texto da barra de status igual ao bege claro */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--cor-marrom-escuro); /* Texto principal em marrom escuro */
    background-color: var(--cor-branco);
    overflow-x: hidden;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4 {
    color: var(--cor-marrom-principal); /* Títulos em marrom principal */
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--cor-marrom-principal);
}

a:hover {
    text-decoration: underline;
    color: var(--cor-destaque-principal-viva); /* Hover dos links em Teal */
}

.btn {
    display: inline-block;
    background-color: var(--cor-destaque-principal-viva); /* Botões em Teal */
    color: var(--cor-branco); /* Texto dos botões em branco */
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    border: 2px solid var(--cor-destaque-principal-viva); /* Borda inicial Teal */
    cursor: pointer;
}

.btn:hover {
    background-color: #006666; /* Teal um pouco mais escuro no hover */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    border-color: #006666;
}

.btn-secundario {
    display: inline-block;
    background-color: var(--cor-cinza-neutro); /* Botão secundário em cinza */
    color: var(--cor-branco);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-top: 15px;
    border: 2px solid var(--cor-cinza-neutro);
    cursor: pointer;
}

.btn-secundario:hover {
    background-color: #757575; /* Cinza um pouco mais escuro */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    border-color: #757575;
}

/* TOP BAR (STATUS PARA DESKTOP) */
.top-bar {
    background-color: var(--cor-fundo-status-barra); /* Usando marrom escuro */
    color: var(--cor-texto-status-barra); /* Usando bege claro */
    padding: 8px 0;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1010;
    width: 100%;
}

.top-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.horario-cabecalho { /* Estilo para o status no desktop */
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
}

.horario-cabecalho i {
    margin-right: 8px;
    font-size: 1.1em;
}

.horario-cabecalho span {
    color: var(--cor-texto-status-barra);
}

/* Oculta o status mobile em desktop (para não duplicar) */
.horario-cabecalho-mobile {
    display: none;
}
/* FIM TOP BAR E ESTILOS DE STATUS PARA DESKTOP */


/* Header */
header {
    background-color: rgba(58, 42, 34, 0.85); /* Marrom escuro com 85% de opacidade */
    color: var(--cor-bege-claro); /* Texto dos links da navegação */
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    position: sticky;
    top: 0; /* Será ajustado pelo JS para ficar abaixo da top-bar */
    z-index: 1000; /* Abaixo da top-bar */
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Estilo do header quando a página é rolada */
header.scrolled {
    background-color: var(--cor-marrom-escuro); /* Fundo sólido ao rolar */
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Estilo para o logo no header */
.logo {
    display: flex; /* Para alinhar imagem e potencial texto da logo */
    align-items: center;
}

.logo img {
    height: 50px; /* Tamanho da logo em desktop */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 40px;
}

header h1 {
    display: none;
    margin: 0;
    font-size: 2.2em;
    color: var(--cor-bege-claro);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--cor-bege-claro); /* Links da navegação em bege/dourado */
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--cor-destaque-principal-viva); /* Hover do menu em Teal */
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('imagens/hero/assentamento-piso-porcelanato-sp.jpg') no-repeat center center/cover;
    color: var(--cor-branco);
    text-align: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero h2 {
    color: var(--cor-branco);
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Seções */
section {
    padding: 80px 0;
    max-width: 100%;
    overflow: hidden;
}

section:nth-of-type(even) {
    background-color: var(--cor-fundo-secao-clara); /* Fundo de seções claras em off-white */
}

section:nth-of-type(odd) {
    background-color: var(--cor-branco);
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
}

.servico-item {
    background-color: var(--cor-branco);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.servico-item h4 {
    color: var(--cor-marrom-principal);
    font-size: 1.6em;
    margin-bottom: 15px;
}

/* Portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
}

.portfolio-item {
    background-color: var(--cor-branco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item p {
    padding: 20px;
    font-size: 1em;
    margin-bottom: 0;
    color: var(--cor-cinza-neutro);
}

/* Depoimentos */
.depoimentos .depoimento-item {
    background-color: var(--cor-branco);
    padding: 35px;
    border-left: 6px solid var(--cor-destaque-secundaria); /* Borda em Ouro Suave */
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    max-width: 100%;
    overflow: hidden;
}

.depoimentos .depoimento-item p {
    font-style: italic;
    font-size: 1.2em;
    color: var(--cor-marrom-escuro);
    margin-bottom: 15px;
}

.depoimentos .depoimento-item span {
    display: block;
    text-align: right;
    font-weight: 700;
    color: var(--cor-marrom-principal);
}

/* Sobre Nós */
.sobre {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.sobre p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
}

/* FAQ Section - Acordeão */
.faq {
    background-color: var(--cor-fundo-secao-clara); /* Fundo da FAQ em off-white */
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.faq .faq-item {
    background-color: var(--cor-branco);
    margin: 20px auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    max-width: 800px;
    text-align: left;
    overflow: hidden;
}

.faq .faq-item h4.faq-pergunta {
    color: var(--cor-marrom-principal);
    font-size: 1.4em;
    margin-bottom: 0;
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cor-branco);
    transition: background-color 0.3s ease;
    min-width: 0;
}

.faq .faq-item h4.faq-pergunta:hover {
    background-color: #f0f0f0;
}

.faq .faq-item h4.faq-pergunta.active {
    background-color: var(--cor-marrom-principal);
    color: var(--cor-destaque-principal-viva); /* Teal na pergunta ativa */
}


.faq .faq-item h4.faq-pergunta.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
    color: var(--cor-destaque-principal-viva); /* Teal no ícone ativo */
}


.faq .faq-item .faq-icon {
    font-size: 1.2em;
    color: var(--cor-marrom-principal);
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 10px;
    display: inline-block;
    flex-shrink: 0;
}


.faq .faq-item p.faq-resposta {
    color: var(--cor-marrom-escuro);
    font-size: 1.05em;
    margin-bottom: 0;
    line-height: 1.7;
    padding: 0 30px 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.faq .faq-item p.faq-resposta.active {
    max-height: 200px;
    padding: 20px 30px 25px;
}


/* Contato */
.contato form {
    background-color: var(--cor-branco);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 650px;
    margin: 40px auto 0 auto;
}

.contato label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--cor-marrom-principal);
    font-size: 1.1em;
}

.contato input,
.contato select,
.contato textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--cor-branco);
}

.contato select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292%22%20height%3D%22292%22%3E%3Cpath%20fill%3D%22%235C3D2E%22%20d%3D%22M287%2069.4L146.6%20208.6%206.3%2069.4h280.7z%22%2F%3E%3C%2Fsvg%3E'); /* Seta em marrom principal */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}


.contato input:focus,
.contato select:focus,
.contato textarea:focus {
    border-color: var(--cor-marrom-principal);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(92, 61, 46, 0.25); /* Sombra de foco com cor primária */
}

.contato button.btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 15px;
}

.contato-direto {
    text-align: center;
    margin-top: 40px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--cor-marrom-principal);
}

.contato p a {
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

/* Footer - Reorganizado */
footer {
    background-color: var(--cor-marrom-escuro);
    color: var(--cor-bege-claro);
    padding: 30px 0; /* Aumentado um pouco o padding geral */
    font-size: 0.95em;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-align: center; /* Centraliza o texto por padrão */
}

footer .container.footer-content-grid {
    display: flex;
    flex-direction: column; /* Colunas empilhadas por padrão no mobile */
    align-items: center; /* Centraliza itens */
    gap: 25px; /* Espaço maior entre as seções */
    padding: 0 20px; /* Padding lateral */
}

.footer-section {
    width: 100%; /* Ocupa a largura total no mobile */
    text-align: center;
}

.footer-section h4 {
    color: var(--cor-bege-claro); /* Cor do título da seção */
    margin-bottom: 15px;
    font-size: 1.2em;
}

.social-links-footer a {
    color: var(--cor-bege-claro); /* Ícone social na cor principal do footer */
    font-size: 1.8em; /* Tamanho do ícone social */
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links-footer a:hover {
    color: var(--cor-destaque-secundaria); /* Ouro suave no hover */
    text-decoration: none;
}

/* Botão "Instalar App" no Rodapé - Centralizado e com estilo */
.install-app-section {
    order: -1; /* Coloca o botão no topo da ordem no mobile */
}

.install-app-btn {
    background-color: var(--cor-destaque-principal-viva); /* Teal */
    color: var(--cor-branco);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    border: 2px solid var(--cor-destaque-principal-viva);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.install-app-btn i {
    font-size: 1.2em;
}

.install-app-btn:hover {
    background-color: #006666;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.6);
    text-decoration: none;
    animation: none;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 128, 128, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 8px 15px rgba(0, 128, 128, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 128, 128, 0.4); }
}

/* Informações de Direitos Autorais e Crédito - Em destaque */
.copyright-credit {
    order: 1; /* Posiciona no final no mobile */
}

.copyright-text {
    font-size: 0.8em;
    color: var(--cor-bege-claro);
    margin: 0 0 5px 0; /* Pequena margem abaixo, para separar do crédito da Magnotizy */
}

.desenvolvido-por {
    font-size: 0.95em; /* Ligeiramente maior que o copyright */
    color: var(--cor-bege-claro); /* Cor base */
    font-weight: 600; /* Mais forte */
}

.desenvolvido-por a {
    color: var(--cor-destaque-secundaria); /* Ouro suave para o link Magnotizy */
    font-weight: 700; /* Negrito total */
    text-decoration: none; /* Sem sublinhado por padrão */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.desenvolvido-por a:hover {
    color: var(--cor-bege-claro); /* Bege claro no hover */
    text-decoration: underline; /* Sublinhado no hover */
}

/* Estilos do Lightbox (sem alterações) */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--cor-branco);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--cor-branco);
    font-size: 2.5em;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    color: var(--cor-destaque-principal-viva); /* Teal no 'X' */
}

/* ESTILOS PARA OS BOTÕES DE NAVEGAÇÃO DO LIGHTBOX */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
    color: var(--cor-branco);
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 2em;
    z-index: 2001; /* Acima da imagem, mas abaixo do X */
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px; /* Bordas arredondadas */
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Fundo mais escuro no hover */
    color: var(--cor-destaque-principal-viva); /* Teal no hover */
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* Ocultar botões de navegação em telas muito pequenas, se necessário */
@media (max-width: 480px) {
    .lightbox-nav {
        font-size: 1.5em;
        padding: 10px 5px;
    }
}
/* FIM DOS ESTILOS LIGHTBOX */


/* Estilo do Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cor-whatsapp);
    color: var(--cor-branco);
    border-radius: 50px;
    width: 60px;
    height: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-float .fab.fa-whatsapp {
    font-size: 2.2em;
    color: var(--cor-branco);
}

/* Menu Hambúrguer (menu-toggle) para mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--cor-bege-claro);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animação do ícone de hambúrguer para 'X' */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navegação em telas menores */
header nav {
    display: flex;
}

/* RESPONSIVIDADE APRIMORADA DO CABEÇALHO */
/* Estilos para telas maiores (desktop) */
@media (min-width: 769px) { 
    /* Top bar (status para desktop) - visível */
    .top-bar {
        display: block; 
        position: static; 
    }
    
    /* Header principal em desktop: Logo à esquerda, Navegação à direita */
    .header-container {
        display: flex;
        justify-content: space-between; 
        align-items: center; 
        padding: 0 20px; 
    }

    .logo {
        height: auto; 
    }

    /* Oculta o status mobile em desktop */
    .horario-cabecalho-mobile {
        display: none;
    }

    /* Oculta o menu sanduíche em desktop */
    .menu-toggle {
        display: none;
    }

    /* A navegação principal aparece */
    header nav {
        position: static; 
        width: auto;
        height: auto;
        background-color: transparent;
        padding-top: 0;
        box-shadow: none;
        z-index: auto;
    }

    header nav ul {
        flex-direction: row; 
        width: auto;
    }

    header nav ul li {
        border-bottom: none; 
    }

    header nav ul li a {
        padding: 0; 
        text-align: center;
        color: var(--cor-bege-claro); 
    }

    header nav ul li a:hover {
        background-color: transparent;
        color: var(--cor-destaque-principal-viva); 
    }

    /* Rodapé em Desktop (Grid de 3 Colunas) */
    footer .container.footer-content-grid {
        display: grid;
        grid-template-columns: 1fr auto 1fr; /* Coluna 1 (social), Coluna 2 (botão central), Coluna 3 (copyright/crédito) */
        align-items: center;
        justify-content: space-between;
        gap: 20px; /* Espaço entre as colunas */
    }

    .footer-section {
        width: auto; /* Deixa o grid controlar a largura */
        text-align: left; /* Alinhamento padrão */
    }

    .social-links-footer {
        text-align: left; /* Alinha à esquerda na coluna 1 */
    }

    .install-app-section {
        grid-column: 2; /* Garante que fique na coluna do meio */
        text-align: center; /* Centraliza o botão */
        order: 0; /* Volta à ordem padrão do grid */
    }

    .copyright-credit {
        text-align: right; /* Alinha à direita na coluna 3 */
        order: 0;
    }

    .copyright-text {
        margin-bottom: 0; /* Remove margem inferior para alinhar melhor */
    }
}

/* Estilos para telas menores (mobile e tablet) */
@media (max-width: 768px) { 
    /* Top bar (status para desktop) - oculto no mobile */
    .top-bar {
        display: none;
    }

    /* Header principal no mobile: Menu Sanduíche, Status Central, Logo */
    .header-container {
        display: flex; 
        justify-content: space-between; /* Espaça menu, status e logo */
        align-items: center; /* Alinha verticalmente no centro */
        width: 100%;
        padding: 15px 20px; /* Padding padrão para o cabeçalho mobile */
    }

    .logo {
        order: 3; /* Logo fica à direita */
        flex-grow: 0; 
    }

    .logo img {
        height: 40px; /* Tamanho da logo no mobile, como na imagem do Palma Gás */
        width: auto;
    }

    .menu-toggle {
        display: flex; /* Torna o menu sanduíche visível */
        order: 1; /* Menu sanduíche fica à esquerda */
    }
    
    /* STATUS DE HORÁRIO PARA MOBILE - Visível e centralizado entre menu e logo */
    .horario-cabecalho-mobile {
        display: flex; /* Torna o status visível no mobile */
        order: 2; /* Status de horário fica no meio */
        align-items: center;
        justify-content: center; /* Centraliza o conteúdo dentro dele */
        white-space: nowrap;
        font-size: 0.85em; /* Tamanho da fonte ajustado para ser discreto */
        font-weight: 600;
        color: var(--cor-bege-claro); /* Texto bege claro da paleta */
        background-color: var(--cor-marrom-principal); /* Fundo marrom principal da paleta */
        padding: 5px 10px; /* Padding interno para o visual de "tag" */
        border-radius: 5px; /* Cantos arredondados */
        flex-grow: 1; /* Permite que ele preencha o espaço entre menu e logo */
        margin: 0 10px; /* Espaço nas laterais para não colar no menu/logo */
    }
    .horario-cabecalho-mobile i {
        margin-right: 8px;
        font-size: 1em;
    }
    /* FIM STATUS DE HORÁRIO PARA MOBILE */


    /* A navegação principal fica oculta no mobile e é revelada pelo menu sanduíche */
    header nav {
        position: fixed;
        top: 0; 
        left: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--cor-marrom-escuro);
        padding-top: 80px;
        transition: left 0.3s ease-in-out;
        flex-direction: column;
        align-items: flex-start;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }

    header nav.active {
        left: 0;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    header nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    header nav ul li a {
        display: block;
        padding: 15px 25px;
        color: var(--cor-bege-claro);
        text-align: left;
    }

    header nav ul li a:hover {
        background-color: var(--cor-marrom-principal);
        color: var(--cor-branco);
    }


    /* Demais seções como estavam */
    .hero {
        padding: 80px 0;
        min-height: 400px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    section {
        padding: 50px 0;
        max-width: 100%;
        overflow: hidden;
    }

    .servicos-grid, .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .depoimentos .depoimento-item {
        padding: 25px;
    }

    .contato form {
        padding: 30px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-image {
        max-height: 70vh;
        max-width: 100%;
    }

    .lightbox-close {
        font-size: 2em;
        top: 5px;
        right: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float .fab.fa-whatsapp {
        font-size: 1.8em;
    }

    .install-app-btn {
        font-size: 0.9em;
        padding: 8px 15px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .servico-item, .portfolio-item, .depoimentos .depoimento-item, .contato form {
        padding: 20px;
    }

    .depoimentos .depoimento-item p {
        font-size: 1em;
    }

    .faq .faq-item h4.faq-pergunta {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .faq .faq-item p.faq-resposta {
        font-size: 0.9em;
        padding: 0 20px 18px;
    }
    .faq .faq-item p.faq-resposta.active {
        padding: 12px 20px 18px;
    }
    
    header nav {
        left: -100%; /* Oculta totalmente à esquerda */
        width: 100%; /* Ocupa 100% da tela */
    }
}