@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

/* ============ Cantina Brasa — editorial gastronômico ============ */

:root {
    --brand: #C4472B;
    --dark: #2B1D16;
    --cream: #FAF3E9;
    --ink: #3a2a20;
}

html { scroll-behavior: smooth; }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Fraunces', Georgia, serif; }

::selection { background: var(--brand); color: var(--cream); }

/* ---------- header ---------- */
.site-header {
    transition: background .35s ease, box-shadow .35s ease;
    background: linear-gradient(to bottom, rgba(24, 14, 9, .65), rgba(24, 14, 9, 0));
}
.site-header.scrolled {
    background: rgba(30, 19, 13, .96);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
    backdrop-filter: blur(8px);
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 243, 233, .35);
    color: var(--brand);
    background: rgba(250, 243, 233, .06);
}
.nav-link {
    position: relative;
    padding-bottom: 2px;
    transition: color .2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: -2px;
    height: 2px;
    background: var(--brand);
    transition: right .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }

/* ---------- botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: #a93b23; }
.btn-ghost {
    border: 1px solid rgba(250, 243, 233, .55);
    color: var(--cream);
    background: rgba(250, 243, 233, .04);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(250, 243, 233, .12); }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: #1d130d; }

/* ---------- hero ---------- */
.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(2.9rem, 9vw, 6.3rem);
    line-height: 1.02;
    letter-spacing: -.015em;
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
}
.kicker::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

/* ---------- cardápio: linhas pontilhadas ---------- */
.menu-row {
    display: flex;
    align-items: baseline;
    gap: .65rem;
}
.menu-dots {
    flex: 1 1 auto;
    min-width: 1.5rem;
    border-bottom: 2px dotted rgba(43, 29, 22, .32);
    transform: translateY(-.28em);
}
.menu-name {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.22rem;
    color: var(--dark);
}
.menu-price {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--brand);
    white-space: nowrap;
}
.menu-desc {
    margin-top: .3rem;
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(58, 42, 32, .78);
    max-width: 34rem;
}
.menu-item + .menu-item { margin-top: 1.9rem; }

/* menu escuro (destaques na home) */
.on-dark .menu-dots { border-color: rgba(250, 243, 233, .3); }
.on-dark .menu-name { color: var(--cream); }
.on-dark .menu-desc { color: rgba(250, 243, 233, .68); }
.on-dark .menu-price { color: #e8825f; }

/* ---------- molduras de foto ---------- */
.photo-frame {
    border-radius: 2px;
    outline: 1px solid rgba(43, 29, 22, .25);
    outline-offset: 10px;
    box-shadow: 0 30px 60px -30px rgba(43, 29, 22, .55);
}

/* ---------- formulário ---------- */
.field {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(43, 29, 22, .2);
    border-radius: .55rem;
    padding: .85rem 1rem;
    font-size: .95rem;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: rgba(58, 42, 32, .45); }
.field:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(196, 71, 43, .18);
}
.ok {
    background: #e8f4e4;
    border: 1px solid #9dc78f;
    color: #2f5f23;
    border-radius: .55rem;
    padding: .85rem 1.1rem;
    font-size: .95rem;
    margin-bottom: 1.1rem;
}

/* ---------- revelação ao rolar ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover { transform: none; }
}

/* ---------- detalhes ---------- */
.rule-star {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(43, 29, 22, .45);
}
.rule-star::before, .rule-star::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: .4;
}
.on-dark .rule-star { color: rgba(250, 243, 233, .45); }

iframe.map {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: .75rem;
    filter: sepia(.25) saturate(.9);
}
