body {
    margin: 0;
    font-family: serif;
}

.navbox {
    width: 100%;
    background: #EAEAEA;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.navbox nav {
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.navbox nav a {
    text-decoration: none;
    color: #101010;
    font-size: 18px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    position: relative;
    transition: color 0.3s ease;
}

.nav-top {
    display: contents;
}

.navbox nav a:hover,
.navbox nav a.active {
    color: #734230;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #101010;
}

@media (max-width: 1200px) {

    .navbox nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-top {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 20px;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }
}

.btn-contato {
    background-color: #734230;
    color: #FFFFFF !important;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    border-radius: 13px;
    width: 155px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;

}

.btn-contato:hover {
    background-color: #2f535b;
    transform: translateY(-1px);
}

.brand {
    font-size: 16px;
    font-weight: 700;
}

.hero {
    margin-top: 87px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 2;
}

.carousel {
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide,
.carousel {
    width: 100%;
    height: relative;
}

.slide a {
    display: block;
    width: 100%;
}


@media (max-width: 768px) {
    .hero {
        max-height: 420px;
    }

    .slide {
        position: absolute;
        inset: 0;
    }

    .slide img {
        height: 100%;
        object-fit: contain;
        background: #EAEAEA;
    }
}

.rustico {
    width: 100%;
    background-color: #EAEAEA;
    display: flex;
    justify-content: center;
}

.rustico-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.rustico-container h1 {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #1F1F1F;
    margin-bottom: 40px;
    margin-top: 60px;
}

.rustico-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.item {
    width: 398px;
    height: 244px;
    background-color: #EAEAEA;
    border-radius: 10px;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-grande img {
    transition: transform 0.4s ease;
}

.item:hover img,
.item-grande:hover img {
    transform: scale(1.05);
}

.item-grande {
    width: 398px;
    height: 504px;
    border-radius: 10px;
    overflow: hidden;
    grid-row: span 2;
}

.rustico-btn {
    width: 418px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #734230;
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 400;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 35px;
}

.rustico-btn:hover {
    background-color: #5e3424;
    transform: translateY(-2px);
}

@media (max-width: 1325px) {
    .rustico-grid {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 30px;
    }

    .item,
    .item-grande {
        width: 100%;
        height: auto;
    }

    .item img {
        aspect-ratio: 2;
    }
}

@media (max-width: 600px) {
    .rustico-grid {
        grid-template-columns: 1fr;
    }

    .rustico-container h3 {
        font-size: 32px;
    }

    .rustico-btn {
        width: 100%;
        max-width: 292px;
        font-size: 18px;
        height: 56px;
    }
}

.consultoria {
    width: 100%;
    height: 520px;
    background-image: url("../../imagens/home/consultoria/bck.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.consultoria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultoria-content {
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    font-family: "Poppins", sans-serif;
}

.consultoria-content h3 {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
}

.consultoria-content p {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

.consultoria-btn {
    width: 440px;
    height: 75px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #EAEAEA;
    color: #101010;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 400;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.consultoria-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .consultoria {
        height: auto;
    }

    .consultoria-overlay {
        position: relative;
        inset: unset;
        min-height: auto;
        padding: 60px 20px;
        align-items: center;
    }

    .consultoria-content {
        max-width: 520px;
    }

    .consultoria-content h3 {
        font-size: 22px;
        line-height: 1.3;
    }

    .consultoria-content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .consultoria-btn {
        width: 100%;
        max-width: 300px;
        height: 56px;
        font-size: 16px;
    }

    .rustico-container h1 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

.tapetes-section {
    width: 100%;
}

.tapetes-container {
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.tapetes-container h3 {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #1F1F1F;
    margin-bottom: 16px;
    margin-top: 50px;
}

.tapetes-container p {
    font-size: 25px;
    color: #1F1F1F;
    margin-bottom: 50px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
}

.tapetes-grid {
    display: grid;
    grid-template-columns: repeat(3, 398px);
    gap: 24px;
    justify-content: center;
    margin-bottom: 50px;
}

.tapete-card {
    width: 398px;
    height: 504px;
    border-radius: 10px;
    overflow: hidden;
}

.tapete-card img {
    width: 45dvh;
    height: 57dvh;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tapete-card:hover img {
    transform: scale(1.05);
}

.tapetes-btn {
    width: 420px;
    height: 75px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #7a4632;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 400;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tapetes-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 45px;
}

.tapetes-btn:hover {
    background-color: #633626;
    transform: translateY(-2px);
}

@media (max-width: 1280px) {
    .tapetes-grid {
        grid-template-columns: repeat(2, 398px);
    }
}

@media (max-width: 860px) {
    .tapetes-grid {
        grid-template-columns: 1fr;
    }

    .tapete-card {
        width: 100%;
        max-width: 398px;
        margin: 0 auto;
        height: 23.125rem;
    }
}

@media (max-width: 768px) {
    .tapetes-container h3 {
        font-size: 30px;
    }

    .tapetes-container p {
        font-size: 18px;
    }

    .tapetes-btn {
        width: 100%;
        max-width: 292px;
        font-size: 18px;
        height: 56px;
    }
}

.visita {
    width: 100%;
    height: 420px;
    background-image: url("../../imagens/home/visita/bck.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.visita-overlay {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visita-content {
    text-align: center;
    color: #ffffff;
    margin-top: 110px;
}

.visita-content h3 {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 16px;
}

.visita-content p {
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

.visita-endereco {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-family: "Poppins", sans-serif;
}

.visita-endereco-wrapper {
    margin-top: 70px;
}

.visita-endereco:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 1300px) {
    .visita {
        height: auto;
        padding: 60px 0;
    }

    .visita-content {
        margin-top: 0;
    }

    .visita-content h3 {
        font-size: 1.25rem;
    }

    .visita-content p {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .visita-endereco {
        font-size: 0.9375rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .visita-endereco-wrapper {
        margin-top: 32px;
    }
}

.footer {
    background-color: #7a4632;
    padding: 40px 20px;
    margin-top: 55px;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    color: #ffffff;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-col ul li a:hover {
    color: #DBC385;
    opacity: 1;
}

.footer-text {
    font-size: 18px;
    margin-bottom: 16px;
    line-height: 1.4;
    font-family: "Poppins", sans-serif;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social img {
    width: 28px;
    height: 28px;
}

.footer-col>*:first-child {
    margin-top: 0;
}

.footer-col h4 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #A6A693;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.footer-col ul li {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-col p {
    font-size: 22px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-contato p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 14px;
    font-family: "Poppins", sans-serif;
}

.footer-contato .contato-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
}

.footer-contato .contato-link img {
    width: 18px;
}

.contato-link :hover {
    color: #DBC385;
    opacity: 1;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
        .visita-content {
        margin-top: 0;
    }
}


@media (max-width: 550px) {

    .footer {
        padding: 50px 20px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        text-align: left;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 120px;
        margin: 0 auto 12px;
    }

    .footer-text {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .footer-social {
        justify-content: center;
        gap: 18px;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        grid-column: span 1;
    }

    .footer-col h4 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .footer-col ul li a {
        font-size: 17px;
    }

    .footer-contato {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-contato .contato-link {
        justify-content: center;
        font-size: 17px;
    }
}