
/* Top bar */
header .top {
    background: linear-gradient(90deg, #f5de8d 80%, #fffbe6 100%);
    color: #333;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 1.05rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0e3b2;
}
header .top p {
    margin-right: auto;
}
header .top a {
    color: #333;
    text-decoration: none;
    margin-left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 8px;
    transition:
        background 0.2s,
        color 0.2s;
}
/* header .top a:hover {
    background: #fffbe6;
    color: #e6c97a;
} */
header .top img {
    height: 20px;
    width: 20px;
}

/* Main header */
header .main {
    background: #fff;
    color: #333;
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* Navigation */
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    width: 100%;
}
header .logo {
    height: 48px;
    width: auto;
    transition: filter 0.2s;
}
header .logo:hover {
    filter: brightness(0.95) drop-shadow(0 2px 8px #f5de8d55);
}

/* Menu */
header .menu {
    list-style: none;
    display: flex;
    gap: 36px;
    transition: right 0.3s;
    align-items: center;
}
header .menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    padding: 8px 14px;
    transition:
        background 0.2s,
        color 0.2s;
}
header .menu li a:hover,
header .menu li a:focus {
    background: #f5de8d;
    color: #222;
    outline: none;
}

/* Orçamento button */
header .orcamento-btn {
    background: linear-gradient(90deg, #25d366 80%, #128c7e 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition:
        background 0.2s,
        box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 8px rgba(18, 140, 126, 0.08);
    margin: 0 auto;
    max-width: 320px;
    justify-content: center;
}
header .orcamento-btn:hover,
header .orcamento-btn:focus {
    background: linear-gradient(90deg, #128c7e 80%, #25d366 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(18, 140, 126, 0.16);
    outline: none;
}
/* WhatsApp ícone branco dentro do botão orçamento */
header .orcamento-btn img {
    filter: brightness(0) invert(1);
    height: 20px;
    width: 20px;
}

/* Menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    margin-left: 18px;
    color: #333;
    transition: color 0.2s;
}
.menu-toggle:focus {
    color: #e6c97a;
    outline: none;
}

/* Overlay para menu mobile */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(40, 30, 10, 0.25);
    z-index: 9;
    transition: opacity 0.3s;
}

/* Responsividade: Tablet e Mobile */
@media (max-width: 900px) {
    header nav {
        padding: 0 16px;
        max-width: 100%;
    }
    header .menu {
        gap: 22px;
    }
    header .main {
        padding: 14px 0;
    }
    header .top {
        padding: 12px 16px;
        font-size: 0.98rem;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    header .top {
        display: none;
    }
    header .main {
        padding: 10px 0;
        flex-direction: column;
        align-items: stretch;
    }
    header nav {
        flex-direction: row;
        align-items: center;
        padding: 0 20px;
        gap: 0;
        width: 100%;}

    header .logo {
        height: 38px;
        margin-bottom: 8px;
    }
    .menu-toggle {
        display: block;
        align-self: flex-end;
        margin-bottom: 8px;
    }
    header .menu {
        position: fixed;
        top: 0;
        right: -100vw;
        height: 100vh;
        width: 70vw;
        max-width: 340px;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
        z-index: 10;
        transition: right 0.3s;
        align-items: flex-start;
    }
    header .menu.open {
        right: 0;
    }
    header .menu li {
        width: 100%;
    }
    header .menu li a {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.08rem;
        border-radius: 0;
        border-bottom: 1px solid #f5de8d33;
    }
    .menu-overlay {
        display: block;
        opacity: 0;
        pointer-events: none;
    }
    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    header .menu {
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    }
    header .orcamento-btn {
        margin: 12px 10px 0 10px;
        width: calc(100% - 20px);
        justify-content: center;
        font-size: 1.05rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    header .top {
        display: none;
    }
    header .main {
        padding: 8px 0;
    }
    header nav {
        padding: 0 4px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    header .logo {
        height: 30px;
        margin-bottom: 6px;
    }
    .menu-toggle {
        margin-bottom: 6px;
    }
    header .menu {
        width: 90vw;
        max-width: 98vw;
        padding-top: 60px;
    }
    header .orcamento-btn {
        padding: 10px 10px;
        font-size: 1rem;
        width: calc(100% - 8px);
        margin: 10px 4px 0 4px;
        max-width: none;
    }
}


/* Footer styles */
footer {
    background: linear-gradient(90deg, #fffbe6 70%, #f5de8d 100%);
    color: #222;
    padding: 40px 0 18px 0;
    font-size: 1rem;
    border-top: 1px solid #f0e3b2;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 180px;
}

.footer-logo {
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px #f5de8d55);
    transition: filter 0.2s;
}
.footer-logo:hover {
    filter: brightness(1.1) drop-shadow(0 4px 16px #e6c97a55);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
}

.footer-links h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: #b48a00; /* contraste melhorado */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 6px;
    background: transparent;
}
.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
    background: #b48a00; /* contraste melhorado */
    outline: none;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 120px;
}

.footer-social h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: #b48a00; /* contraste melhorado */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-social-row {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffbe6;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 8px rgba(245, 222, 141, 0.12);
    transition: background 0.2s, transform 0.2s;
    margin-right: 0;
}
.footer-social a:hover,
.footer-social a:focus {
    background: #b48a00; /* contraste melhorado */
    transform: scale(1.08);
    outline: none;
}
.footer-social img {
    height: 22px;
    width: 22px;
    transition: filter 0.2s, transform 0.2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
    filter: brightness(0.9) sepia(1) hue-rotate(-30deg) saturate(2);
    transform: scale(1.12);
}

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    font-size: 0.98rem;
    color: #444; /* contraste melhorado */
    padding: 0 12px;
}

.footer-bottom a {
    color: #b48a00; /* contraste melhorado */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #222;
    outline: none;
}

/* Decorative gradient bar */
footer::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 6px;
    background: linear-gradient(90deg, #b48a00 0%, #fffbe6 100%);
    opacity: 0.7;
}

/* Responsive footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .footer-logo {
        height: 32px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 5%;
        font-size: 0.97rem;
    }
    .footer-content {
        padding: 0 8px;
        gap: 16px;
    }
    .footer-logo {
        height: 100%;
    }
    .footer-bottom {
        font-size: 0.93rem;
        margin-top: 18px;
        padding: 0 4px;
    }
    .footer-social-row {
        gap: 10px;
    }
    .footer-social a {
        width: 32px;
        height: 32px;
    }
    .footer-social img {
        height: 18px;
        width: 18px;
    }
}