/* ARQUIVO ATUALIZADO (WebP): css/style.css */

:root {
    --cor-azul-noturno: #2C3E50;
    --cor-dourado-queimado: #C9A96E;
    --fundo-bege-areia: #F2E9E4;
    --fundo-header-offwhite: #FDFBF9;
    --cor-texto-cinza: #555555;
    --fundo-branco-puro: #FFFFFF;
    --texto-branco-puro: #FFFFFF;
    --borda-suave: #dee2e6;
    --cor-azul-overlay: rgba(44, 62, 80, 0.85); 
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--fundo-bege-areia); 
    color: var(--cor-texto-cinza);
    line-height: 1.6;
}
body.menu-open {
    overflow: hidden; 
}

h1, h2, h3, h4, h5, h6, .page-title, .nav-logo {
    color: var(--cor-azul-noturno);
    font-weight: 700;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--fundo-header-offwhite);
    padding: 15px 0;
    border-bottom: 1px solid var(--borda-suave);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative; 
    z-index: 1001; 
}
.nav-logo img {
    height: 50px; 
    margin-right: 10px;
}
.desktop-nav {
    display: block; 
}
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-menu li {
    margin-left: 25px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--cor-azul-noturno);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cor-dourado-queimado);
}

.mobile-menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 1.6rem; 
    color: var(--cor-azul-noturno); 
    cursor: pointer;
    z-index: 1001; 
    position: fixed; 
    top: 25px; 
    right: 20px; 
    padding: 10px; 
    border-radius: 5px; 
}
.mobile-menu-toggle .icon-close {
    display: none; 
}
.mobile-menu-toggle.active .icon-open {
    display: none; 
}
.mobile-menu-toggle.active .icon-close {
    display: block; 
    color: var(--fundo-bege-areia); 
    font-size: 2rem; 
}

.cta-button, .form-button {
    background-color: var(--cor-dourado-queimado);
    color: var(--texto-branco-puro);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}
.cta-button:hover, .form-button:hover {
    background-color: var(--cor-azul-noturno);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-image {
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--texto-branco-puro);
    position: relative; 
    overflow: hidden; 
}
.hero-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* MUDANÇA AQUI: Apontando para o .webp leve */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/projeto-cozinha.webp');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none; 
    z-index: 1; 
    transition: transform 0.4s ease;
}
.hero-image:hover::before {
    transform: scale(1.03);
}
.hero-content {
    max-width: 500px;
    margin-left: 10%;
    position: relative; 
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    color: var(--texto-branco-puro);
    margin: 0 0 15px 0;
    line-height: 1.1;
}
.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.content-section {
    padding: 80px 0;
    background-color: var(--fundo-bege-areia);
}
.content-section.white-bg {
    background-color: var(--fundo-branco-puro);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--cor-azul-noturno);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}
.feature-item i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--cor-dourado-queimado);
}
.feature-item h3 {
    margin-bottom: 10px;
    color: var(--cor-dourado-queimado);
    font-size: 1.3rem;
}
.feature-item p {
    font-size: 1rem;
    color: var(--cor-texto-cinza);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.project-card {
    background-color: var(--fundo-branco-puro);
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: relative; 
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(1);
    opacity: 1;
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block; 
    transition: transform 0.4s ease; 
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--cor-azul-overlay); 
    color: var(--texto-branco-puro);
    padding: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-overlay h3 {
    color: var(--texto-branco-puro);
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}
.project-overlay p {
    color: var(--texto-branco-puro);
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
}
.project-card:hover .project-overlay {
    opacity: 1; 
    transform: translateY(0); 
}
.project-card:hover img {
    transform: scale(1.1); 
}
.project-card-content {
    padding: 20px; 
}

.page-header {
    padding: 40px 0;
    background-color: var(--fundo-branco-puro);
    text-align: center;
}
.page-content-container {
    padding: 60px 0;
    background-color: var(--fundo-bege-areia);
}
.page-content-wrapper {
    background-color: var(--fundo-branco-puro); 
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}
.page-content-wrapper h1, .page-content-wrapper h2, .page-content-wrapper h3 {
    color: var(--cor-azul-noturno);
    margin-top: 0;
}
.page-content-wrapper ul {
    list-style: none;
    padding-left: 0;
}
.page-content-wrapper ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.page-content-wrapper ul li::before {
    content: '•';
    color: var(--cor-dourado-queimado);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--cor-azul-noturno);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--borda-suave);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.service-row {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--fundo-branco-puro);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 40px;
}
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}
.service-image {
    flex-basis: 50%;
    min-width: 50%;
}
.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.service-text {
    flex-basis: 50%;
    padding: 40px;
}
.service-text h2 {
    margin-top: 0;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--cor-dourado-queimado);
    padding-bottom: 10px;
    display: inline-block;
}
.service-text p {
    font-size: 1rem;
    line-height: 1.7;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}
.process-step {
    padding: 20px;
}
.process-step i {
    font-size: 3rem;
    color: var(--cor-dourado-queimado);
    margin-bottom: 15px;
}
.process-step h4 {
    margin: 10px 0;
    color: var(--cor-azul-noturno);
    font-size: 1.2rem;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    background-color: var(--fundo-branco-puro);
    border: 1px solid var(--borda-suave);
    color: var(--cor-texto-cinza);
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: var(--fundo-header-offwhite);
    border-color: var(--cor-dourado-queimado);
}
.filter-btn.active {
    background-color: var(--cor-azul-noturno);
    color: var(--texto-branco-puro);
    border-color: var(--cor-azul-noturno);
}
.project-card.hide {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.footer {
    background-color: var(--cor-azul-noturno);
    color: #bdc3c7; 
    padding: 60px 0 30px 0; 
    margin-top: 0; 
    position: relative;
    z-index: 50; 
}
.footer-cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.footer-cta-grid .cta-banner-icon img {
     max-height: 120px; 
     opacity: 0.7; 
}
.footer-cta-grid .cta-banner-text h2 {
    color: var(--texto-branco-puro);
    font-size: 2.2rem;
    margin: 0 0 10px 0;
}
.footer-cta-grid .cta-banner-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    color: #bdc3c7; 
}
.footer-cta-grid .cta-banner-action .cta-button {
    white-space: nowrap; 
}
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.footer-contact-info p {
    margin: 0;
    font-size: 1rem;
    color: #bdc3c7;
}
.footer-contact-info a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-info a:hover {
    color: var(--cor-dourado-queimado);
}
.footer-social-icons {
    display: flex;
    gap: 20px; 
}
.footer-social-icons a {
    color: var(--fundo-bege-areia);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.footer-social-icons a:hover {
    color: var(--cor-dourado-queimado);
}
.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 30px;
    color: #aaa;
}
.footer-copyright p {
    margin: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 993px) {
    .desktop-nav {
        display: block;
    }
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 992px) {
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: auto; 
        padding-bottom: 40px; 
        border-radius: 0 0 0 10px; 
        width: 70%; 
        max-width: 280px;
        z-index: 1000; 
        background-color: rgba(44, 62, 80, 0.9); 
        display: flex; 
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        padding-left: 40px;
        padding-right: 40px;
        transform: translateX(100%); 
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    }

    .nav-menu.active {
        transform: translateX(0); 
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    .nav-menu a {
        color: var(--texto-branco-puro); 
        display: block;
        width: 100%; 
        padding: 15px 0;
        font-size: 1.2rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu a.active {
        color: var(--cor-dourado-queimado); 
    }

    .hero-content { margin-left: 5%; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }

    .footer-cta-grid { flex-direction: column; text-align: center; }
    .cta-banner-icon { margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    .cta-banner-text h2 { font-size: 1.8rem; }
    .cta-banner-text p { font-size: 1rem; }

    .contact-container {
        grid-template-columns: 1fr;
    }
    .service-row, .service-row:nth-child(even) {
        flex-direction: column; 
    }
    .service-image img { height: 250px; } 
    .service-text { padding: 30px; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-contact-info {
        text-align: center;
        order: -1; 
    }
    .footer-text { order: 3; }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .cta-button { padding: 10px 20px; font-size: 0.9rem; }

    .feature-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
}

/* =============================================== */
/* ESTILOS DA PÁGINA DE DETALHE DO PROJETO
/* =============================================== */

.project-detail-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-card .card-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card .card-header h2,
.detail-card .card-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.detail-card .card-header i {
    color: #c5a47e;
}

.detail-card .card-body {
    padding: 20px;
}

/* Linha do Tempo */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    position: relative;
    color: #aaa;
}
.progress-dot {
    height: 20px;
    width: 20px;
    background-color: #e0e0e0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e0e0e0;
    border-radius: 50%;
    margin-bottom: 10px;
    z-index: 2;
}
.progress-label {
    font-size: 0.8em;
}
.progress-line {
    flex-grow: 1;
    height: 4px;
    background-color: #e0e0e0;
    margin-top: 11px;
}

/* Status da Linha do Tempo */
.progress-step.completed .progress-dot {
    background-color: #28a745; /* Verde */
    box-shadow: 0 0 0 3px #28a745;
}
.progress-step.completed {
    color: #28a745;
    font-weight: bold;
}
.progress-step.current .progress-dot {
    background-color: #007bff; /* Azul */
    box-shadow: 0 0 0 3px #007bff;
}
.progress-step.current {
    color: #007bff;
    font-weight: bold;
}

/* Grid de Detalhes */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
.left-column, .right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.full-height {
    height: 100%;
}

/* Lista de Arquivos */
.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.file-list li:last-child {
    border-bottom: none;
}
.btn-visualizar {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s;
}
.btn-visualizar:hover {
    background-color: #e0e0e0;
}

/* Histórico */
.history-feed {
    display: flex;
    flex-direction: column;
}
.history-item {
    display: flex;
    padding-bottom: 25px;
    position: relative;
}
.history-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 7px;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
}
.history-dot {
    width: 16px;
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
    z-index: 1;
    margin-right: 20px;
    flex-shrink: 0;
}
.history-content .history-date {
    font-size: 0.8em;
    color: #888;
}
.history-content .history-status {
    margin: 5px 0;
}
.history-content .history-notes {
    font-size: 0.9em;
    color: #555;
    background-color: #f8f9fa;
    border-left: 3px solid #c5a47e;
    padding: 10px;
    margin: 10px 0 0 0;
}
.history-gallery {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.history-gallery img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}


/* =============================================== */
/* ESTILOS PARA A PÁGINA DE LOGIN DO CLIENTE
/* =============================================== */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.login-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.login-card h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
    color: #444;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #c5a47e;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #b39169;
}

.login-alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}


/* =============================================== */
/* CSS DE RESPONSIVIDADE PARA TELAS PEQUENAS
/* =============================================== */

@media (max-width: 992px) {
    /* Em telas menores, faz o layout principal virar uma coluna só */
    .detail-grid {
        grid-template-columns: 1fr;
    }

    /* Transforma a linha do tempo em vertical */
    .progress-tracker {
        flex-direction: column;
        align-items: flex-start; /* Alinha os itens à esquerda */
    }

    .progress-step {
        flex-direction: row; /* Ícone e texto ficam lado a lado */
        width: 100%;
        text-align: left;
        padding-bottom: 25px; /* Aumenta o espaço vertical entre os itens */
        padding-left: 5px;
    }

    .progress-dot {
        margin-right: 20px; /* Espaço entre o ícone e o texto */
        margin-bottom: 0;
        flex-shrink: 0; /* Impede que o ícone encolha */
    }

    .progress-line {
        display: none; /* Esconde as linhas horizontais que conectavam os passos */
    }

    /* Adiciona uma nova linha vertical para conectar os pontos */
    .progress-step:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 11px; /* Posição X para centralizar com o ponto */
        top: 25px;  /* Posição Y para começar abaixo do ponto */
        width: 2px;
        height: 100%;
        background-color: #e0e0e0;
        z-index: 1; /* Fica atrás do ponto */
    }

    /* Colore a linha vertical para os passos já completados */
    .progress-step.completed:not(:last-child)::before {
        background-color: #28a745;
    }
}

/* =============================================== */
/* ESTILOS PARA O DASHBOARD DO CLIENTE
/* =============================================== */

.dashboard-container {
    width: 100%;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.dashboard-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 900px;
    padding: 40px;
}

.welcome-header h1 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.welcome-header p {
    font-size: 1.1em;
    color: #666;
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.projects-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #c5a47e;
    padding-bottom: 10px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background-color: #fafafa;
    flex-wrap: wrap;
}

.project-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.project-info p {
    margin: 5px 0;
    color: #555;
}

.project-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.btn-details {
    display: inline-block;
    background-color: #c5a47e;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-details:hover {
    background-color: #b39169;
    color: white;
}

.no-projects-alert {
    background-color: #e9f7ff;
    border: 1px solid #bce8f1;
    color: #31708f;
    padding: 15px;
    border-radius: 4px;
}

/* =============================================== */
/* CORREÇÕES E MELHORIAS ADICIONAIS
/* =============================================== */

/* Corrige a especificidade do hover do CTA button */
.cta-button:hover {
    background-color: var(--fundo-header-offwhite);
    color: var(--cor-azul-noturno);
}

/* Melhoria na acessibilidade para foco */
.cta-button:focus,
.form-button:focus,
.filter-btn:focus,
.btn-details:focus,
.btn-visualizar:focus {
    outline: 2px solid var(--cor-dourado-queimado);
    outline-offset: 2px;
}

/* Garante que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Melhora a usabilidade em dispositivos touch */
@media (max-width: 768px) {
    .cta-button, 
    .form-button, 
    .btn-details, 
    .btn-visualizar {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 12px 16px;
        margin: 4px;
    }
    
    .project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .project-status {
        text-align: left;
        width: 100%;
    }
}

/* Corrige problemas de sobreposição no mobile */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        position: fixed;
        top: 25px;
        right: 20px;
    }
    
    .nav-logo {
        position: relative;
        z-index: 1001;
    }
}

/* Garante consistência nas transições */
.project-card.hide {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Corrige problema de seleção de texto */
.nav-menu a,
.cta-button,
.filter-btn {
    user-select: none;
    -webkit-user-select: none;
}

/* Garante que os botões tenham aparência consistente */
button, 
input[type="button"], 
input[type="submit"] {
    font-family: 'Montserrat', sans-serif;
}

/* =============================================== */
/* ESTILOS PARA O DASHBOARD DO CLIENTE (FALTANDO)  */
/* =============================================== */

.dashboard-container {
    width: 100%;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.dashboard-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 900px;
    padding: 40px;
}
.welcome-header h1 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}
.welcome-header p {
    font-size: 1.1em;
    color: #666;
}
.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}
.projects-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #c5a47e;
    padding-bottom: 10px;
}
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background-color: #fafafa;
    flex-wrap: wrap;
}
.project-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}
.project-info p {
    margin: 5px 0;
    color: #555;
}
.project-status {
    text-align: right;
}
.status-badge {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-bottom: 15px;
}
.btn-details {
    display: inline-block;
    background-color: #c5a47e;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn-details:hover {
    background-color: #b39169;
    color: white;
}
.no-projects-alert {
    background-color: #e9f7ff;
    border: 1px solid #bce8f1;
    color: #31708f;
    padding: 15px;
    border-radius: 4px;
}

.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    color: white;
}
