/* =====================================================================
   CARDÁPIO CASA DA PICANHA PENEDO — STYLES
   Mobile-first · Identidade fiel ao cardápio original
   ===================================================================== */

/* ----------- Reset & Base ----------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #F2F2F2;
  --bg-dark:      #0A0A0A;
  --bg-red:       #C8102E;
  --ink:          #1a1a1a;
  --ink-soft:     #2a2a2a;
  --ink-muted:    rgba(26, 26, 26, 0.72);
  --paper:        #FFFFFF;
  --rule:         rgba(0, 0, 0, 0.08);
  --rule-strong:  rgba(0, 0, 0, 0.18);
  --red:          #C8102E;
  --red-deep:     #A30C24;

  --font-display: "Bodoni Moda", "Bodoni 72", "Didot", "Times New Roman", serif;
  --font-body:    "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw:         1180px;
  --gutter:       clamp(20px, 5vw, 56px);
  --section-pad:  clamp(72px, 10vw, 140px);

  --header-h:     92px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ----------- Header ----------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 242, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand__logo { width: clamp(78px, 11vw, 108px); height: auto; }
.brand__name {
  display: flex; flex-direction: column; line-height: 1;
}
.brand__name b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__name span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-top: 4px;
}

/* Language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang button {
  appearance: none; border: 0; background: transparent;
  padding: 6px 14px; cursor: pointer; color: var(--ink-muted);
  border-radius: 999px; transition: color .2s, background .2s;
  font: inherit;
}
.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* ----------- Welcome / Hero ----------- */
.welcome {
  text-align: center;
  padding: clamp(80px, 14vw, 160px) var(--gutter) clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.welcome__logo { width: clamp(140px, 22vw, 220px); margin: 0 auto 28px; }
.welcome__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--red);
  margin-bottom: 18px;
  text-wrap: balance;
}
.welcome__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  color: var(--ink-muted);
  max-width: 540px; margin: 0 auto;
  text-wrap: balance;
}

/* ----------- About (dark block from original page 1) ----------- */
.about {
  background: var(--bg-dark);
  color: #f4f4f4;
  padding: clamp(72px, 12vw, 140px) var(--gutter);
}
.about__inner {
  max-width: 640px; margin: 0 auto;
}
.about__inner p {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 1.4em;
  text-indent: 2.6em;
  text-align: justify;
  hyphens: auto;
  text-wrap: pretty;
}
.about__inner p strong { color: #fff; font-weight: 700; }
.about__welcome {
  text-align: center !important;
  text-indent: 0 !important;
  font-weight: 700;
  margin-top: 2.5em;
}
.about__logo {
  width: 96px; margin: 56px auto 0; filter: invert(0);
  display: block;
}
.about__logo svg .st0 { fill: var(--red) !important; }
.about__logo svg .st1 { fill: #fff !important; }

/* ----------- Contents / Section index ----------- */
.contents {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) var(--gutter) 0;
  text-align: center;
}
.contents__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contents__rule {
  width: 56px; height: 1px; background: var(--rule-strong);
  margin: 0 auto 28px;
}
.contents__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px 28px;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}
.contents__list a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.contents__list a::before {
  content: ""; flex: 0 0 18px; height: 1px; background: var(--red); opacity: .6;
  transform: translateY(-4px);
}
.contents__list a:hover { color: var(--red); }

/* ----------- Sections / Categories ----------- */
.category {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.category__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.category__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  color: var(--red);
  font-size: clamp(2.4rem, 8.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.category__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--red);
  font-weight: 700;
  margin-top: 14px;
}
.category__intro {
  margin: 18px auto 0;
  max-width: 580px;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 2.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}
.category__intro strong { font-weight: 700; }

/* Sub-groups within a category (e.g. Saladas inside Clássicos da Casa) */
.group + .group { margin-top: clamp(44px, 6vw, 76px); }
.group__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 clamp(24px, 4vw, 40px);
}

/* Item grid */
.items {
  display: grid;
  gap: clamp(28px, 4vw, 44px) clamp(28px, 5vw, 64px);
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .items { grid-template-columns: 1fr 1fr; }
}
.item__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.item__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.18;
}
.item__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--red);
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.item__price .cur {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 1px;
}
.item__desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 44ch;
}

/* Multiple prices (Picanha, Carnes Premium) */
.item__prices {
  display: flex; flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
}
.item__prices .priceline {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--red);
  font-weight: 700;
}
.item__prices .priceline .plabel {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--red);
  opacity: 0.85;
}

/* ---- Layout: centered (picanha importada) ---- */
.category--centered .items {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
}
.category--centered .item__head { justify-content: center; }
.category--centered .item__prices { justify-content: center; }
.category--centered .item__desc { margin: 0 auto; max-width: 56ch; }

/* ---- Layout: compact (Bebidas, Whisky, Licor) ---- */
.category--compact .items {
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 6px 48px;
}
@media (min-width: 640px) {
  .category--compact .items { grid-template-columns: 1fr 1fr; }
}
.category--compact .item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--rule);
}
.category--compact .item__head { margin: 0; flex: 1; }
.category--compact .item__name { font-size: 1.04rem; }
.category--compact .item__price { font-size: 1.04rem; }

/* ---- Kids: items + central flat price ---- */
.kids-price {
  text-align: center;
  margin-top: 40px;
}
.kids-price .price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
}

/* ---- Novidade (badge highlight box) ---- */
.novidade-box {
  margin: 56px auto 0;
  max-width: 720px;
  border: 1.5px solid var(--red);
  border-radius: 22px;
  padding: 30px 36px;
  position: relative;
  text-align: center;
}
.novidade-box__label {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.36em;
  font-weight: 700;
  color: var(--red);
}
.novidade-box .item__head { justify-content: center; }
.novidade-box .item__desc { margin: 8px auto 0; max-width: 52ch; }
.novidade-box .portion {
  display: inline-block; margin-left: 6px;
  color: var(--red); font-weight: 700; font-size: 0.96rem;
}
/* freezer note variant (dessert) */
.novidade-note {
  margin: 56px auto 0;
  max-width: 560px;
  text-align: center;
}
.novidade-note h4 {
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem; color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.novidade-note p {
  font-family: var(--font-body);
  font-size: 1rem; color: var(--ink);
}
.novidade-note .new-label {
  font-weight: 700; color: var(--red); margin-bottom: 4px;
  display: block;
}

/* ---- Festival da Brasa ---- */
.festival {
  max-width: 760px; margin: 0 auto;
}
.festival__includes {
  display: grid; gap: 20px 40px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}
@media (min-width: 720px) { .festival__includes { grid-template-columns: max-content 1fr; } }
.festival__label {
  font-family: var(--font-body);
  font-size: 1.1rem; color: var(--red); font-weight: 700;
}
.festival__list { list-style: none; }
.festival__list li {
  padding: 4px 0; padding-left: 18px;
  position: relative;
  font-size: 1rem;
}
.festival__list li::before {
  content: "—"; position: absolute; left: 0; color: var(--ink-muted);
}
.festival__portions {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1.1rem;
}
.festival__portions .row {
  display: inline-flex; align-items: baseline; gap: 14px;
}
.festival__portions .row .price { color: var(--red); }
.festival__divider {
  border: 0; border-top: 1px solid var(--red);
  margin: 48px auto;
  max-width: 460px;
}
.extras { text-align: center; max-width: 440px; margin: 0 auto; }
.extras h3 {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 700; color: var(--red);
}
.extras .sub {
  font-family: var(--font-body); font-size: 0.92rem; color: var(--ink-muted);
  margin-bottom: 20px;
}
.extras__list { list-style: none; }
.extras__list li {
  padding: 6px 0; font-size: 1rem;
  display: flex; justify-content: center; align-items: baseline; gap: 12px;
}
.extras__list .ename { color: var(--ink); }
.extras__list .eprice { color: var(--red); font-weight: 700; }

/* ---- Fondue ---- */
.fondue {
  max-width: 860px; margin: 0 auto;
}
.fondue__etapas {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .fondue__etapas { grid-template-columns: 1fr 1fr; align-items: start; }
}
.etapa h3 {
  font-family: var(--font-body);
  color: var(--red);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 16px;
}
.etapa h3 .num { display: block; font-size: 0.95em; }
.etapa ul, .etapa .molhos { list-style: none; }
.etapa ul li {
  padding: 3px 0; padding-left: 18px;
  position: relative; font-size: 0.98rem;
}
.etapa ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--ink-muted);
}
.etapa .molhos { margin-top: 24px; font-size: 0.98rem; }
.etapa .molhos .lbl { font-weight: 700; color: var(--ink); margin-bottom: 4px; display: block; }
.etapa .intro-line { font-size: 0.98rem; margin-bottom: 12px; color: var(--ink); }
.fondue__pricing {
  margin: 48px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.fondue__pricing .pricerow {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.15rem;
}
.fondue__pricing .pricerow .price { color: var(--red); }
.fondue__pricing .note {
  font-size: 0.85rem; color: var(--ink-muted); font-weight: 500;
  display: block; margin-top: -10px;
}

/* Special offers (inside fondue) */
.ofertas {
  margin-top: 64px; text-align: center;
}
.ofertas h3 {
  font-family: var(--font-body);
  font-weight: 700; color: var(--red);
  letter-spacing: 0.06em;
  font-size: 1rem; margin-bottom: 28px;
}
.ofertas__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .ofertas__grid { grid-template-columns: 1fr 1fr; } }
.oferta .day {
  font-family: var(--font-body); font-weight: 700; color: var(--red);
  margin-bottom: 10px;
}
.oferta .oname {
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 8px; line-height: 1.25;
}
.oferta .pricing {
  font-family: var(--font-body); font-weight: 700; color: var(--red);
  font-size: 0.98rem;
}
.oferta .pricing .from {
  font-size: 0.82em; color: var(--red); opacity: 0.7;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; margin-right: 4px;
}
.oferta .pricing .for {
  font-size: 0.82em; color: var(--red); opacity: 0.7;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; margin: 0 4px;
}
.ofertas__note {
  margin: 36px auto 0; max-width: 560px;
  font-size: 0.92rem; color: var(--ink-muted); text-align: center;
}
.ofertas__note strong { color: var(--ink); font-weight: 700; }

/* ----------- Featured image strip (between sections) ----------- */
.featured-image {
  margin: var(--section-pad) calc(-1 * var(--gutter)) 0;
  height: clamp(220px, 38vw, 480px);
  background: #111 center/cover no-repeat;
  position: relative;
}
.featured-image__inner {
  max-width: var(--maxw); height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: flex-end;
  position: relative;
}
.featured-image__caption {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55);
  text-align: right;
  max-width: 460px;
}

/* ----------- Footer ----------- */
.site-footer {
  margin-top: var(--section-pad);
  background: var(--bg-red);
  color: #fff;
  padding: clamp(80px, 12vw, 140px) var(--gutter) clamp(48px, 7vw, 80px);
  text-align: center;
}
.site-footer__logo {
  width: clamp(110px, 18vw, 180px);
  margin: 0 auto 32px;
}
.site-footer__logo .st0 { fill: #fff !important; }
.site-footer__logo .st1 { fill: #fff !important; }
.site-footer__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.site-footer__note {
  font-family: var(--font-body); font-size: 0.86rem;
  opacity: 0.75; max-width: 480px; margin: 24px auto 0;
}

/* ----------- Utilities ----------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Print */
@media print {
  .site-header, .lang { display: none; }
  body { background: #fff; }
  .category { page-break-inside: avoid; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
