/* 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);
}
.cta-button:hover {
    background-color: var(--fundo-header-offwhite); 
    color: var(--cor-azul-noturno);
}

.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: all 0.3s ease !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important; 
    animation: none !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; }
}