/* CASA MINEIRA — IDENTIDADE COMPARTILHADA | todas as páginas públicas */
.cm-site .cm-header,
.cm-site .cm-header.scrolled {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    z-index: 110;
    background: #171613 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
}

.cm-site .cm-header .header-inner {
    min-height: 72px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.cm-site .cm-header .brand {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center;
    flex-shrink: 0;
    gap: 4px;
    line-height: 1.1;
    text-decoration: none !important
}

.cm-site .cm-header .brand-name {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 24px !important;
    letter-spacing: -.04em !important;
    font-weight: 400 !important;
    color: #fff !important;
    line-height: 1.15 !important
}

.cm-site .cm-header .brand-name strong {
    color: #d7bd87 !important;
    font-weight: 600 !important
}

.cm-site .cm-header .brand-description {
    font-family: "DM Sans", Arial, sans-serif !important;
    font-size: 7px !important;
    font-weight: 700 !important;
    letter-spacing: .21em !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    color: #fff !important
}

.cm-site .cm-header .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.6vw, 25px)
}

.cm-site .cm-header .main-nav>a {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, .83);
    text-decoration: none;
    white-space: nowrap
}

.cm-site .cm-header .main-nav>a.active,
.cm-site .cm-header .main-nav>a:hover {
    color: #fff
}

.cm-site .cm-header .main-nav>a.active:not(.nav-order):after {
    background: #b99a60
}

.cm-site .cm-header .main-nav .nav-order {
    display: inline-flex !important;
    align-items: center;
    gap: 13px;
    padding: 13px 17px !important;
    border: 1px solid #b99a60 !important;
    color: #d7bd87 !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    text-decoration: none !important
}

.cm-site .cm-header .main-nav .nav-order:hover {
    background: #b99a60 !important;
    color: #171613 !important
}

.cm-site .cm-header .main-nav .nav-order:after {
    display: none !important
}

.cm-site .cm-footer {
    background: #171613;
    color: #f4f0e8;
    padding: 52px 0 26px
}

.cm-site .cm-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 35px;
    flex-wrap: wrap
}

.cm-site .cm-footer-brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    line-height: 1.2;
    color: #fff;
    text-decoration: none
}

.cm-site .cm-footer-brand strong {
    color: #d7bd87;
    font-weight: 600
}

.cm-site .cm-footer-top p {
    font-size: 12px;
    color: #b4aaa0;
    margin-top: 9px
}

.cm-site .cm-footer-top nav {
    display: flex;
    gap: 23px;
    flex-wrap: wrap;
    align-items: center
}

.cm-site .cm-footer-top nav a {
    font-size: 12px;
    color: #e9e1d7;
    text-decoration: none
}

.cm-site .cm-footer-top nav a:hover {
    color: #d7bd87
}

.cm-site .cm-footer-bottom {
    border-top: 1px solid #38332c;
    padding-top: 22px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #a89d92;
    font-size: 11px
}

.cm-site .cm-floating-order {
    position: fixed;
    z-index: 105;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #207b4c;
    color: #fff;
    padding: 12px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 28px #0003;
    text-decoration: none
}

.cm-site .cm-floating-order span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #fff9;
    border-radius: 50%
}

.cm-site .cm-offering-typographic {
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #eee6d8, #ded2bf);
    height: 230px;
    overflow: hidden
}

.cm-site .cm-offering-ornament {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(90px, 11vw, 160px);
    font-style: italic;
    color: #b99a60;
    opacity: .65;
    line-height: 1
}

.cm-site .cm-location-art,
.cm-site .cm-contact-art {
    display: grid;
    place-items: center;
    min-height: 270px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e4d8c4, #b99a60);
    font-family: "Playfair Display", Georgia, serif;
    color: #3b3026;
    letter-spacing: .12em;
    text-align: center;
    padding: 25px;
    font-size: clamp(18px, 2.2vw, 30px)
}

/* Intro spacing follows same visual rhythm on all internal pages */
.cm-site .menu-intro {
    padding-top: 82px;
    padding-bottom: 78px
}

.cm-site .pratos-intro {
    padding-top: 82px;
    padding-bottom: 83px
}

.cm-site .hero {
    min-height: calc(100svh - 72px)
}

.cm-site .hero-background {
    background-size: auto 84%;
    background-position: right center
}

@media(max-width:850px) {
    .cm-site .cm-header .header-inner {
        min-height: 72px !important
    }

    .cm-site .cm-header .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: relative;
        z-index: 120;
        width: 42px;
        height: 42px;
        background: none;
        border: 0;
        padding: 8px;
        cursor: pointer
    }

    .cm-site .cm-header .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: #fff
    }

    .cm-site .cm-header .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 24px max(22px, 6vw);
        background: #171613;
        box-shadow: 0 15px 30px #0004;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        max-height: calc(100svh - 72px);
        overflow-y: auto
    }

    .cm-site .cm-header .main-nav.open {
        display: flex !important
    }

    .cm-site .cm-header .main-nav>a {
        font-size: 14px
    }

    .cm-site .cm-header .main-nav .nav-order {
        justify-content: center
    }

    .cm-site .hero {
        min-height: calc(100svh - 72px)
    }

    .cm-site .hero-background {
        background-size: cover;
        background-position: 60% center
    }

    .cm-site .menu-intro,
    .cm-site .pratos-intro {
        padding-top: 66px;
        padding-bottom: 65px
    }

    .cm-site .cm-footer-top {
        flex-direction: column
    }

    .cm-site .cm-footer-bottom {
        flex-direction: column
    }

    .cm-site .cm-floating-order {
        right: 14px;
        bottom: 14px
    }
}

@media(max-width:380px) {
    .cm-site .cm-header .brand-name {
        font-size: 22px !important
    }

    .cm-site .cm-header .brand-description {
        font-size: 6px !important
    }
}

/* Banners internos não reutilizam a fotografia da fachada ou da home. */
.cm-site .sobre-banner .page-banner-background,
.cm-site .contato-banner .page-banner-background {
    background-image: none !important;
    filter: none !important;
    background: radial-gradient(circle at 85% 50%, #41352a 0%, #171613 55%) !important
}