/* ==========================================================================
   Mesa do Capim — folha de estilos principal
   Poker presencial, sala de cartas e cozinha no Alto da XV, Curitiba.
   Direção: lounge urbano refinado, linhas retas, contraste arquitetônico.
   ========================================================================== */

:root {
  /* Paleta */
  --paper: #f2ede3;
  --paper-2: #e8e0d1;
  --surface: #fbf8f1;
  --graphite-950: #151719;
  --graphite-900: #1c1f21;
  --graphite-800: #262a2d;
  --graphite-700: #33383b;
  --ink: #1b1d1e;
  --ink-soft: #4b4e4b;
  --ink-muted: #6d6f69;
  --olive: #5e6a46;
  --olive-deep: #465033;
  --olive-soft: #9da784;
  --terra: #b2684c;
  --terra-deep: #8c4c35;
  --brass: #a47c3b;
  --brass-light: #cbb07b;
  --cream: #f4efe5;
  --line: rgba(27, 29, 30, 0.16);
  --line-soft: rgba(27, 29, 30, 0.09);
  --line-light: rgba(244, 239, 229, 0.2);
  --shadow: 0 22px 60px rgba(21, 23, 25, 0.16);

  /* Tipografia */
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  /* Métricas */
  --wrap: 1240px;
  --wrap-narrow: 900px;
  --radius: 2px;
  --header-h: 82px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.015rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27, 29, 30, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 29, 30, 0.032) 1px, transparent 1px);
  background-size: 148px 148px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--terra-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }

ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

strong { font-weight: 700; }

::selection { background: var(--brass-light); color: var(--graphite-950); }

/* ---------- Acessibilidade ---------- */
:focus-visible {
  outline: 2px solid var(--terra-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(203, 176, 123, 0.55);
}

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

.skip-link {
  position: fixed;
  left: 1rem; top: -100px;
  z-index: 2000;
  background: var(--graphite-950);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.container--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(4rem, 7vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.75rem, 5vw, 4.5rem) 0; }
.section--paper { background: var(--paper-2); }
.section--surface { background: var(--surface); }
.section--graphite {
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(94, 106, 70, 0.38), transparent 64%),
    radial-gradient(700px 420px at -8% 108%, rgba(178, 104, 76, 0.16), transparent 62%),
    var(--graphite-950);
  color: var(--cream);
}
.section--olive {
  background:
    radial-gradient(760px 420px at 12% -10%, rgba(203, 176, 123, 0.16), transparent 62%),
    linear-gradient(155deg, #3d472d, #55613f 72%);
  color: var(--cream);
}
.section--graphite h1,
.section--graphite h2,
.section--graphite h3,
.section--graphite h4,
.section--olive h1,
.section--olive h2,
.section--olive h3,
.section--olive h4 { color: var(--cream); }
.section--graphite p,
.section--olive p { color: rgba(244, 239, 229, 0.83); }
.section--graphite a,
.section--olive a { color: var(--brass-light); }
.section--graphite .eyebrow,
.section--olive .eyebrow { color: var(--brass-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section--graphite .section-head p,
.section--olive .section-head p { color: rgba(244, 239, 229, 0.8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ink-soft); }
.section--graphite .lede,
.section--olive .lede { color: rgba(244, 239, 229, 0.82); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}
.section--graphite .rule,
.section--olive .rule { border-color: var(--line-light); }

/* Marcação arquitetônica: número de seção */
.index-mark {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
}
.section--graphite .index-mark,
.section--olive .index-mark { color: var(--brass-light); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--graphite-900); color: var(--cream); }
.btn--solid:hover { background: var(--olive-deep); color: var(--cream); }

.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-deep); color: #fff; }

.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { background: var(--graphite-900); color: var(--cream); border-color: var(--graphite-900); }

.btn--light { background: var(--cream); color: var(--graphite-950); }
.btn--light:hover { background: var(--brass-light); color: var(--graphite-950); }

.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(244, 239, 229, 0.5); }
.btn--ghost:hover { background: var(--cream); color: var(--graphite-950); border-color: var(--cream); }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Barra de utilidade ---------- */
.utility-bar {
  background: var(--graphite-950);
  color: rgba(244, 239, 229, 0.66);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(244, 239, 229, 0.12);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding: 0.35rem 0;
}
.utility-inner a { color: var(--brass-light); text-decoration: none; }
.utility-inner a:hover { color: var(--cream); text-decoration: underline; }
.utility-group { display: inline-flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.utility-sep { opacity: 0.45; }
.utility-badge {
  border: 1px solid rgba(203, 176, 123, 0.5);
  color: var(--brass-light);
  padding: 0.15rem 0.42rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(242, 237, 227, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 48px; height: 48px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-top: 0.2rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list > li { position: relative; margin: 0; }
.nav-list a,
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-list a:hover,
.nav-drop-toggle:hover { color: var(--terra-deep); }
.nav-list a[aria-current="page"] { color: var(--terra-deep); border-bottom-color: var(--terra); }
.nav-drop-toggle svg { width: 11px; height: 11px; transition: transform 0.18s ease; }
.has-dropdown.is-open > .nav-drop-toggle svg { transform: rotate(180deg); }

.nav-drop {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 260px;
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 64px rgba(21, 23, 25, 0.2);
  display: none;
}
.has-dropdown.is-open > .nav-drop,
.has-dropdown:hover > .nav-drop { display: block; }
.nav-drop li { margin: 0; }
.nav-drop a {
  display: block;
  width: 100%;
  padding: 0.68rem 0.8rem;
  border: 0;
  border-left: 2px solid transparent;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
}
.nav-drop a:hover { background: var(--paper); border-left-color: var(--terra); }
.nav-drop a[aria-current="page"] { background: var(--paper-2); border-left-color: var(--terra); color: var(--terra-deep); }

.nav-cta { flex: 0 0 auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.75rem, 5.5vw, 5rem) 0 clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(2.25rem, 5vw, 4.75rem);
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero h1 { margin-bottom: 1.05rem; text-wrap: balance; }
.hero__lead {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  max-width: 545px;
}
.hero__actions { margin-top: 1.9rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta-item { display: flex; align-items: baseline; gap: 0.55rem; }
.hero__meta-item span:first-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brass);
}
.hero__meta-item span:last-child {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__media { position: relative; z-index: 0; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--brass);
  z-index: -1;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
}
.hero__index {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--graphite-950);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 0.9rem;
}
.hero__stamp {
  position: absolute;
  top: 0; right: 0;
  background: var(--terra);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
}

.hero__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat { padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Herói de páginas internas ---------- */
.page-hero {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(3rem, 5.5vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background: var(--graphite-950);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.92) 0%, rgba(21, 23, 25, 0.7) 52%, rgba(21, 23, 25, 0.4) 100%),
    linear-gradient(180deg, rgba(21, 23, 25, 0.35), rgba(21, 23, 25, 0.62));
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { color: #fff; text-wrap: balance; margin-bottom: 0.7rem; }
.page-hero p { color: rgba(244, 239, 229, 0.88); max-width: 620px; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--brass-light); }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.7);
  margin-bottom: 1.4rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: 0.45rem; opacity: 0.5; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: rgba(244, 239, 229, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Mídia ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite-900);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ratio-16-9 { aspect-ratio: 16 / 9; }
.media--ratio-3-2 { aspect-ratio: 3 / 2; }
.media--ratio-4-3 { aspect-ratio: 4 / 3; }
.media--ratio-1-1 { aspect-ratio: 1 / 1; }
.media--ratio-3-4 { aspect-ratio: 3 / 4; }
.media--framed::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(244, 239, 229, 0.38);
  pointer-events: none;
}
.media--rule::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--brass);
  z-index: -1;
}
.media-caption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section--graphite .media-caption,
.section--olive .media-caption { color: rgba(244, 239, 229, 0.6); }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: 0.75rem; }
.split__body p { color: var(--ink-soft); }
.section--graphite .split__body p,
.section--olive .split__body p { color: rgba(244, 239, 229, 0.83); }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brass); }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--terra-deep);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__index {
  position: absolute;
  top: 1.45rem; right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.card__link { margin-top: 1rem; display: inline-flex; }

.card--dark {
  background: rgba(244, 239, 229, 0.055);
  border-color: rgba(244, 239, 229, 0.16);
  color: var(--cream);
}
.card--dark:hover { border-color: var(--brass-light); background: rgba(244, 239, 229, 0.08); }
.card--dark h3 { color: var(--cream); }
.card--dark p { color: rgba(244, 239, 229, 0.76); }
.card--dark .card__icon { background: rgba(203, 176, 123, 0.12); border-color: rgba(203, 176, 123, 0.3); color: var(--brass-light); }
.card--dark .card__index { color: rgba(203, 176, 123, 0.7); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section--graphite .feature-list li,
.section--olive .feature-list li { color: rgba(244, 239, 229, 0.85); }
.feature-list svg {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 4px;
  color: var(--terra);
}
.section--graphite .feature-list svg,
.section--olive .feature-list svg { color: var(--brass-light); }

/* Lista numerada editorial */
.number-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.section--graphite .number-list,
.section--olive .number-list { border-color: var(--line-light); }
.number-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.section--graphite .number-list li,
.section--olive .number-list li { border-color: var(--line-light); color: rgba(244, 239, 229, 0.85); }
.number-list li span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}
.section--graphite .number-list li span,
.section--olive .number-list li span { color: var(--brass-light); }

/* ---------- Faixa de dados ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}
.stat-strip > div { background: var(--surface); padding: 1.4rem; }
.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--graphite-900);
  letter-spacing: -0.02em;
}
.stat-strip span { font-size: 0.78rem; color: var(--ink-muted); }
.section--graphite .stat-strip,
.section--olive .stat-strip { background: var(--line-light); border-color: var(--line-light); }
.section--graphite .stat-strip > div,
.section--olive .stat-strip > div { background: rgba(21, 23, 25, 0.28); }
.section--graphite .stat-strip strong,
.section--olive .stat-strip strong { color: var(--brass-light); }
.section--graphite .stat-strip span,
.section--olive .stat-strip span { color: rgba(244, 239, 229, 0.68); }

/* ---------- Destaques do menu ---------- */
.dish-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.dish-card:hover { transform: translateY(-3px); border-color: var(--brass); }
.dish-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.dish-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.dish-card:hover .dish-card__media img { transform: scale(1.04); }
.dish-card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.dish-card__tag {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terra-deep);
}
.dish-card__body h3 { margin: 0; font-size: 1.24rem; }
.dish-card__body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; flex: 1; }
.dish-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--graphite-900);
  font-size: 1.06rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.25rem;
}

/* ---------- Página de menu ---------- */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2.75rem;
}
.menu-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.menu-nav a:hover { background: var(--graphite-900); color: var(--cream); border-color: var(--graphite-900); }

.menu-category { padding-top: 2.75rem; }
.menu-category:first-of-type { padding-top: 0; }
.menu-category__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.85rem;
  margin-bottom: 1.85rem;
}
.menu-category__head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.menu-category__head span {
  font-size: 0.68rem;
  color: var(--terra-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 3rem;
}
.menu-item { margin: 0; }
.menu-item__head { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-item__name { font-weight: 700; font-size: 1.01rem; color: var(--ink); }
.menu-item__dots { flex: 1 1 auto; border-bottom: 1px dotted var(--line); transform: translateY(-0.22em); }
.menu-item__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terra-deep);
  white-space: nowrap;
  font-size: 1rem;
}
.menu-item__desc { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--ink-muted); line-height: 1.5; }
.menu-item__note { display: block; margin-top: 0.25rem; font-size: 0.74rem; color: var(--terra-deep); font-weight: 600; }

.menu-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.menu-feature__body .lede { margin-bottom: 0.6rem; }
.menu-note {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 0.6rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.2rem 1.35rem;
}
.faq details[open] { border-color: var(--brass); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--terra);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); font-size: 0.94rem; padding-bottom: 1.1rem; margin: 0; }

/* ---------- Contato ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--terra);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-card + .contact-card { margin-top: 1.25rem; border-top-color: var(--brass); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.contact-list svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--terra); margin-top: 2px; }
.contact-list strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--terra-deep); text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.field label .req { color: var(--terra-deep); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.78rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 145px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(94, 106, 70, 0.16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9d3520;
  background: #fbf1ec;
}
.field-error { font-size: 0.78rem; color: #9d3520; font-weight: 600; min-height: 0; }
.field-hint { font-size: 0.76rem; color: var(--ink-muted); }
.form-status { font-size: 0.88rem; font-weight: 600; color: #9d3520; margin-top: 0.5rem; }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.9) 0%, rgba(21, 23, 25, 0.72) 48%, rgba(21, 23, 25, 0.5) 100%),
    linear-gradient(180deg, rgba(21, 23, 25, 0.35), rgba(21, 23, 25, 0.55));
}
.cta-band__inner { max-width: 720px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(244, 239, 229, 0.85); max-width: 560px; }
.cta-band .eyebrow { color: var(--brass-light); }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--graphite-950);
  color: rgba(244, 239, 229, 0.74);
  padding: clamp(3.25rem, 6vw, 5rem) 0 1.5rem;
  border-top: 1px solid var(--brass);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(244, 239, 229, 0.14);
}
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-tag { color: rgba(244, 239, 229, 0.55); }
.footer-about p { margin-top: 1rem; font-size: 0.92rem; color: rgba(244, 239, 229, 0.7); max-width: 340px; }
.footer-about .index-mark { display: block; margin-top: 1.25rem; color: var(--brass-light); }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brass-light);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col li { margin: 0; }
.footer-col a { color: rgba(244, 239, 229, 0.78); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { font-size: 0.9rem; margin: 0 0 0.65rem; color: rgba(244, 239, 229, 0.78); }
.footer-contact a { color: var(--brass-light); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .index-mark { display: block; margin-top: 1rem; color: rgba(203, 176, 123, 0.8); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(244, 239, 229, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }
.footer-legal a, .footer-legal button {
  color: rgba(244, 239, 229, 0.65);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(100% - 2rem, 940px);
  background: var(--graphite-950);
  color: rgba(244, 239, 229, 0.9);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.86rem; flex: 1 1 320px; }
.cookie-banner a { color: var(--brass-light); }
.cookie-actions { display: flex; gap: 0.6rem; flex: 1 1 auto; justify-content: flex-end; }
.btn--cookie {
  min-width: 128px;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 229, 0.5);
}
.btn--cookie:hover { background: var(--cream); color: var(--graphite-950); border-color: var(--cream); }

/* ---------- Faixa etária 18+ ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 12, 13, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.age-gate[hidden] { display: none; }
.age-gate__card {
  width: min(100%, 470px);
  background: var(--surface);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.6rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.age-gate__mark { width: 62px; height: 62px; margin: 0 auto 1rem; }
.age-gate h2 { font-size: clamp(1.55rem, 4vw, 2rem); margin-bottom: 0.45rem; }
.age-gate p { color: var(--ink-soft); font-size: 0.93rem; }
.age-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1.5rem; }
.age-gate__actions .btn { min-width: 0; padding-inline: 0.7rem; }
.age-gate__note { margin-top: 1rem; font-size: 0.73rem; color: var(--ink-muted); }

body.is-locked { overflow: hidden; }

/* ---------- Páginas legais ---------- */
.legal { max-width: 830px; margin-inline: auto; }
.legal h2 { margin-top: 2.25rem; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.3rem; }
.legal .legal-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}
.legal a { color: var(--terra-deep); }

/* ---------- Thank you ---------- */
.thanks { min-height: 62vh; display: flex; align-items: center; padding: 4.5rem 0; }
.thanks__card {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}
.thanks__icon {
  width: 68px; height: 68px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--olive-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks__icon svg { width: 34px; height: 34px; }
.thanks__card p { color: var(--ink-soft); }

/* ---------- Página editorial ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.editorial-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
.editorial-aside h2 { font-size: 1.55rem; }
.editorial-aside p { font-size: 0.92rem; color: var(--ink-muted); }
.editorial-body > p:first-child { font-size: 1.16rem; color: var(--ink); }
.pull-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 2rem;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--graphite .pull-quote,
.section--olive .pull-quote { color: var(--cream); border-left-color: var(--brass-light); }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

section[id],
.menu-category[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(21, 23, 25, 0.16);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .nav-list a, .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 0.7rem;
    font-size: 0.8rem;
  }
  .nav-drop {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--brass);
    border-radius: 0;
    margin: 0 0 0.35rem 0.7rem;
    padding: 0.15rem 0 0.15rem 0.5rem;
    min-width: 0;
  }
  .has-dropdown.is-open > .nav-drop { display: block; }
  .has-dropdown:hover > .nav-drop { display: none; }
  .has-dropdown.is-open:hover > .nav-drop { display: block; }
  .nav-cta { justify-content: center; margin-top: 0.5rem; }
  .header-inner { position: relative; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__media { max-width: 640px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .menu-feature { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-aside { position: static; }
  .brand-tag { display: none; }
}

@media (max-width: 820px) {
  .utility-inner { justify-content: center; }
  .utility-place { display: none; }
  .hero__rail { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stat:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 0.75rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; min-width: 0; }
  .age-gate__actions { grid-template-columns: 1fr; }
  .hero__media::before { inset: 10px -10px -10px 10px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.16rem; }
  .menu-category__head { flex-direction: column; gap: 0.2rem; }
  .grid--4 { grid-template-columns: 1fr; }
  .hero__meta { gap: 0.7rem 1.2rem; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .age-gate, .menu-nav, .btn-row, .utility-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 1rem 0; }
  .menu-grid { gap: 0.75rem 2rem; }
}
