
:root {
    --bg: #f8f3ea;
    --bg-2: #fffaf2;
    --card: rgba(255, 255, 255, .82);
    --card-solid: #fffdf8;
    --green: #415522;
    --green-2: #62753f;
    --orange: #b85c38;
    --orange-2: #ce7045;
    --brown: #6b341f;
    --text: #2a221b;
    --muted: #6f665b;
    --border: #ead9c1;
    --shadow: 0 18px 45px rgba(80, 46, 26, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(206,112,69,.07), transparent 24%),
        radial-gradient(circle at bottom right, rgba(65,85,34,.06), transparent 28%),
        var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 250, 242, .95);
    border-bottom: 1px solid rgba(234, 217, 193, .95);
    backdrop-filter: blur(12px);
}
.header-inner {
    min-height: 88px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 10px 0;
}
.brand img { width: 250px; height: auto; }
.top-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.top-links a {
    padding: 12px 16px; border-radius: 999px; font-weight: 800; color: var(--green);
    transition: .2s ease; font-size: 15px;
}
.top-links a:hover { background: #f3e9d9; }
.login-link { background: var(--green); color: #fff !important; }

.hero {
    padding: 56px 0 48px;
    background:
        radial-gradient(circle at 20% 20%, rgba(206,112,69,.12), transparent 26%),
        radial-gradient(circle at 80% 30%, rgba(65,85,34,.11), transparent 26%),
        linear-gradient(180deg, #fff9f0, #f9f2e8);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.eyebrow {
    margin: 0 0 12px; color: var(--orange); font-size: 13px; font-weight: 900;
    letter-spacing: .12em; text-transform: uppercase;
}
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: .98; margin-bottom: 18px; color: var(--green); }
h1 span { color: var(--orange); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; color: var(--brown); margin-bottom: 12px; }
h3 { margin-bottom: 4px; color: var(--brown); }
.lead, .section-title p, .section-copy { color: var(--muted); line-height: 1.6; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.btn {
    min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 22px; border-radius: 999px; font-weight: 900;
    box-shadow: 0 10px 22px rgba(80,46,26,.08);
}
.btn.primary { background: var(--orange); color: #fff; }
.btn.secondary { background: #efe2ce; color: var(--brown); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pills span {
    padding: 10px 12px; background: rgba(255,255,255,.75); border: 1px solid var(--border);
    border-radius: 999px; color: var(--green); font-weight: 800;
}
.hero-showcase { display: flex; justify-content: center; }
.hero-card {
    width: min(100%, 460px); padding: 22px; border-radius: 30px; background: rgba(255,255,255,.65);
    border: 1px solid rgba(234,217,193,.95); box-shadow: var(--shadow);
}

.section { padding: 66px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,244,228,.95), rgba(248,243,234,.98)); }
.section-title { max-width: 760px; margin-bottom: 26px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }

.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.menu-card {
    position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--border);
    border-radius: 28px; padding: 24px; box-shadow: var(--shadow); isolation: isolate;
}
.menu-card::before {
    content: ''; position: absolute; right: -24px; bottom: -24px; width: 180px; height: 180px; opacity: .10;
    background-size: contain; background-repeat: no-repeat; background-position: center; z-index: 0;
}
.menu-card-marmita::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='12' y='18' width='40' height='30' rx='6' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M18 18c1-6 4-9 14-9s13 3 14 9' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M18 30h28M18 38h24' stroke='%23b85c38' stroke-width='3'/%3E%3C/svg%3E"); }
.menu-card-lanche::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 28c1-9 8-15 16-15s15 6 16 15H16Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M13 33h38c0 7-6 12-12 12H25c-6 0-12-5-12-12Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M18 33h28M19 39h26' stroke='%23b85c38' stroke-width='3'/%3E%3Ccircle cx='24' cy='22' r='1.6' fill='%23b85c38'/%3E%3Ccircle cx='31' cy='20' r='1.6' fill='%23b85c38'/%3E%3Ccircle cx='39' cy='23' r='1.6' fill='%23b85c38'/%3E%3C/svg%3E"); }
.menu-card-porcao::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M19 16h26v13c0 10-7 18-13 18s-13-8-13-18V16Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M23 15l5-7M31 15l1-8M39 15l6-7' stroke='%23b85c38' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.menu-card-dog::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 35c3-6 8-9 18-9s15 3 18 9c-3 6-8 9-18 9s-15-3-18-9Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M20 26c1-6 5-10 12-10s11 4 12 10' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3C/svg%3E"); }
.menu-card-pastel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M15 40 32 18l17 22H15Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M22 34h20' stroke='%23b85c38' stroke-width='3'/%3E%3C/svg%3E"); }
.menu-card-wide { grid-column: span 2; }
.menu-card-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.menu-card-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(80,46,26,.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    line-height: 1;
}
.menu-card-head h3 { font-size: 30px; margin: 0 0 4px; }
.menu-card-head p { margin: 0; color: var(--muted); }
.menu-items { position: relative; z-index: 1; display: grid; gap: 12px; }
.menu-item {
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
    padding: 16px 18px; background: rgba(255,255,255,.68); border: 1px solid rgba(234,217,193,.9);
    border-radius: 20px;
}
.menu-item-featured,
.menu-item-special {
    background: linear-gradient(135deg, rgba(255,246,231,.98), rgba(255,255,255,.92));
    border-color: #ecd7b2;
}
.menu-item-special { box-shadow: inset 0 0 0 1px rgba(206,112,69,.10); }
.menu-item-text strong { display: block; font-size: 22px; margin-bottom: 3px; }
.menu-item-text small { display: block; color: var(--muted); font-size: 15px; line-height: 1.48; margin-top: 6px; }
.price { white-space: nowrap; color: var(--orange); font-size: 28px; font-weight: 900; padding-left: 8px; }
.flavor-list { position: relative; z-index: 1; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.flavor-list span {
    padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
    color: var(--green); font-size: 14px; font-weight: 800;
}

.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promo-card {
    background: rgba(255,255,255,.84); border: 1px solid var(--border); border-radius: 24px;
    padding: 24px; box-shadow: var(--shadow);
}
.promo-badge {
    width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 14px;
}

.loyalty-grid { display: grid; grid-template-columns: 1fr 390px; gap: 30px; align-items: center; }
.check-list { padding-left: 20px; color: var(--muted); line-height: 1.85; font-size: 17px; }
.loyalty-card {
    background: rgba(255,255,255,.88); border: 1px solid var(--border); border-radius: 28px;
    padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.loyalty-card img { border-radius: 20px; }
.loyalty-stamp {
    margin: 16px auto 14px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 14px 28px rgba(184,92,56,.25);
}
.loyalty-stamp strong { font-size: 44px; line-height: 1; }
.loyalty-stamp span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.contact-card {
    background: linear-gradient(135deg, var(--green), #2b3d14); color: #fff; border-radius: 30px; padding: 34px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow);
}
.contact-card h2, .contact-card .eyebrow { color: #fff; }
.contact-card p { color: rgba(255,255,255,.9); }

.site-footer { padding: 26px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer a { color: var(--green); font-weight: 800; }

@media (max-width: 1020px) {
    .hero-grid, .loyalty-grid, .contact-card { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card-wide { grid-column: auto; }
}
@media (max-width: 880px) {
    .header-inner { flex-direction: column; align-items: center; }
    .top-links { justify-content: center; }
    .brand img { width: 220px; }
    .hero-card { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
    .wrap { width: min(100% - 20px, 1180px); }
    .section { padding: 44px 0; }
    .top-links {
        width: 100%;
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    }
    .top-links a { width: 100%; text-align: center; padding: 12px 10px; font-size: 14px; }
    .login-link { grid-column: 1 / -1; }
    .hero-actions .btn { width: 100%; }
    .hero-pills span { font-size: 14px; }
    .menu-card { padding: 18px; border-radius: 22px; }
    .menu-card-head h3 { font-size: 24px; }
    .menu-item { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
    .menu-item-text strong { font-size: 20px; }
    .price { padding-left: 0; font-size: 24px; }
    .contact-card { padding: 24px; border-radius: 24px; align-items: flex-start; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}


/* V12.6 - Otimização mobile, fidelidade e WhatsApp */
.site-header,
.header-inner,
.brand,
.brand img,
.top-links,
.top-links a {
    transition:
        min-height .2s ease,
        padding .2s ease,
        width .2s ease,
        opacity .2s ease,
        gap .2s ease,
        font-size .2s ease;
}

#cardapio,
#promocoes,
#fidelidade,
#contato {
    scroll-margin-top: 86px;
}

.loyalty-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.loyalty-highlight {
    display: grid;
    gap: 5px;
    width: 100%;
    margin: 8px 0 22px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,246,231,.96), rgba(255,255,255,.86));
    box-shadow: 0 10px 24px rgba(80,46,26,.06);
}

.loyalty-highlight strong {
    color: var(--brown);
    font-size: 18px;
}

.loyalty-highlight span {
    color: var(--muted);
    line-height: 1.5;
}

.loyalty-card {
    overflow: visible;
}

.whatsapp-round-button {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 14px 28px rgba(37,211,102,.25);
    transition: transform .18s ease, filter .18s ease;
}

.whatsapp-round-button:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.03);
}

.whatsapp-round-button svg {
    width: 38px;
    height: 38px;
    fill: #fff;
}

@media (max-width: 880px) {
    .site-header.is-compact .header-inner {
        min-height: 58px;
        flex-direction: row;
        align-items: center;
        padding: 6px 0;
        gap: 0;
    }

    .site-header.is-compact .brand {
        width: 0;
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .site-header.is-compact .brand img {
        width: 0;
    }

    .site-header.is-compact .top-links {
        display: flex;
        flex: 1;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        padding: 1px 0 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .site-header.is-compact .top-links::-webkit-scrollbar {
        display: none;
    }

    .site-header.is-compact .top-links a {
        flex: 0 0 auto;
        width: auto;
        min-height: 38px;
        padding: 9px 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    .site-header.is-compact .login-link {
        grid-column: auto;
    }

    #cardapio,
    #promocoes,
    #fidelidade,
    #contato {
        scroll-margin-top: 66px;
    }
}

@media (max-width: 560px) {
    .loyalty-copy .btn {
        width: 100%;
    }

    .whatsapp-round-button {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .contact-card {
        flex-direction: row;
        align-items: center;
    }

    .contact-card > div {
        flex: 1;
        min-width: 0;
    }
}


/* V12.7 - Cardápio oficial atualizado */
.menu-note {
    position: relative;
    z-index: 1;
    margin: -2px 0 16px;
    padding: 12px 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, #b85c38, #cc7045);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 22px rgba(184,92,56,.16);
}

.menu-card-bebida::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M21 18h22l-3 34H24L21 18Z' fill='none' stroke='%23b85c38' stroke-width='3'/%3E%3Cpath d='M25 18 33 8h10' fill='none' stroke='%23b85c38' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M24 29h16' stroke='%23b85c38' stroke-width='3'/%3E%3C/svg%3E");
}

.menu-card-bebida .menu-item-text strong {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .menu-note {
        text-align: left;
        font-size: 13px;
    }
}


/* V13 - Cardápio dinâmico e ordenação para o visitante */
.menu-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 17px 19px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,246,231,.92));
    box-shadow: 0 12px 28px rgba(80,46,26,.07);
}

.menu-toolbar > div {
    display: grid;
    gap: 4px;
}

.menu-toolbar strong {
    color: var(--brown);
    font-size: 18px;
}

.menu-toolbar > div span {
    color: var(--muted);
    font-size: 14px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-weight: 800;
}

.sort-control select {
    min-height: 46px;
    padding: 10px 38px 10px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.product-name-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.public-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.public-product-badge.novidade {
    background: #fce8c6;
    color: #8a5100;
    border: 1px solid #efd49b;
}

.public-product-badge.mais-pedido {
    background: #dcefd9;
    color: #2d6732;
    border: 1px solid #bfdcbd;
}

.menu-public-message {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    color: var(--muted);
    text-align: center;
    box-shadow: var(--shadow);
}

.menu-item {
    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.menu-item:hover {
    transform: translateY(-1px);
    border-color: #dfc8a9;
    box-shadow: 0 10px 22px rgba(80,46,26,.06);
}

.menu-card-sobremesa::before,
.menu-card-outro::before {
    background-image: radial-gradient(circle, rgba(184,92,56,.45) 0 2px, transparent 3px);
    background-size: 18px 18px;
}

@media (max-width: 700px) {
    .menu-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .sort-control {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
    }

    .sort-control select {
        width: 100%;
        font-size: 16px;
    }
}
