/* Beer+ — folha de estilo do site público. Sem build step.
   Tokens, escala tipográfica e raios vêm de
   .claude/design-system/design-system.md (§2.2, §3.2, §4) — este arquivo é
   a implementação do §7.1 daquele documento, não uma paleta nova.

   Regra tipográfica do site, seguida em todo lugar abaixo:
   Poppins fala com gente (títulos, prosa, botões); Azeret Mono só aparece
   onde o valor é medido pela máquina (mililitros, pulsos, reais, id de tag,
   eyebrows). Se um número não sai de um sensor ou de um saldo, ele é
   Poppins. É essa divisão que dá ao módulo da torneira cara de instrumento
   sem espalhar "estética de terminal" pelo resto da página.
   ------------------------------------------------------------------ */

/* --- Fontes auto-hospedadas ------------------------------------------
   Poppins (a mesma do app Flutter, ver design-system §3.1) e Azeret Mono,
   ambas SIL OFL 1.1. Subset latin, nenhuma requisição a CDN.
   -------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("/assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens: tema claro (default, sem media query) — §2.2 ------------- */
:root {
  --bg: #ffffff;
  --bg-elevated: #f7f2e6;
  --bg-sunk: #f1ead9;
  --border: #e6dcc8;
  --border-soft: #efe7d6;
  --text: #1c130a;
  --text-muted: #5c4d3c;

  --accent: #9c5000;
  --accent-strong: #7a3f00;
  --accent-contrast: #ffffff;

  --gold: #ffc928;
  --copper: #a85000;
  --foam: #f8f0e0;
  --ink: #1c130a; /* tinta escura sobre ouro/gradiente, nos dois temas */

  --gradient-brand: linear-gradient(135deg, #e88a00 0%, #ffc928 100%);
  --glass-tint: rgba(28, 19, 10, 0.05);
  --glass-edge: rgba(28, 19, 10, 0.24);
  --glass-mark: rgba(28, 19, 10, 0.16);
  --shadow: 0 2px 12px rgba(28, 19, 10, 0.08);
  --shadow-lift: 0 18px 40px -28px rgba(28, 19, 10, 0.55);
  --hero-wash: radial-gradient(80% 60% at 78% 12%, rgba(255, 201, 40, 0.22), transparent 70%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --max-width: 1080px;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --- Tokens: tema escuro — §2.2. Atenção à inversão de --accent-contrast:
       no escuro o acento é claro, então o texto por cima é escuro (§2.3). */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --bg-elevated: #1c1a17;
    --bg-sunk: #171512;
    --border: #332b20;
    --border-soft: #262019;
    --text: #f5efe4;
    --text-muted: #b7ab98;

    --accent: #ffc928;
    --accent-strong: #ffd65c;
    --accent-contrast: #1c130a;

    --gold: #ffc928;
    --copper: #e88a00;
    --foam: #2a251c;

    --glass-tint: rgba(255, 255, 255, 0.07);
    --glass-edge: rgba(255, 255, 255, 0.32);
    --glass-mark: rgba(255, 255, 255, 0.20);
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    --shadow-lift: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
    --hero-wash: radial-gradient(80% 60% at 78% 10%, rgba(232, 138, 0, 0.20), transparent 68%);
  }
}

/* --- Base ------------------------------------------------------------ */
* { box-sizing: border-box; }

html {
  color-scheme: light dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6; /* Poppins tem x-height alta — §3.2 */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Eyebrow: mono, porque é rótulo de sistema, não prosa. O traço curto à
   esquerda é o único adorno — carrega o gradiente da marca. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  flex: none;
}

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Cabeçalho ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  font-family: var(--font-num);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  text-decoration: none;
}
.lang-switch a[aria-current] {
  background: var(--text);
  color: var(--bg);
}

/* --- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 96px);
  background-image: var(--hero-wash);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.hero-copy { padding-top: clamp(0px, 2vw, 24px); }

.hero-title {
  margin: 18px 0 20px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.ht-line { display: block; }

/* O único gesto tipográfico ousado da página: o verbo preenchido com o
   gradiente da marca e tinta escura por cima — a mesma construção do "+"
   do logo, e o único par que passa contraste nos dois temas (§2.3). */
.ht-mark {
  font-style: normal;
  display: inline-block;
  padding: 0.04em 0.26em 0.1em;
  border-radius: 0.3em;
  background: var(--gradient-brand);
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45);
}

.hero-copy .lead { max-width: 46ch; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.button-primary:hover { background: var(--accent-strong); }
.button-ghost {
  border-color: var(--border);
  color: var(--text);
}
.button-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-note {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Módulo da torneira (a peça-assinatura) -------------------------- */
.tapmodule {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.tm-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tm-step span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  flex: none;
}

.tm-rail {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sunk);
}

.tm-taps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.tap {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tap:hover { border-color: var(--accent); }
.tap.is-on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--gold) 14%, var(--bg));
}
.tap-name { font-weight: 600; font-size: 0.98rem; }
.tap-note { font-size: 0.74rem; color: var(--text-muted); line-height: 1.35; }
.tap-price {
  margin-top: 4px;
  font-family: var(--font-num);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent);
}

.tm-body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 18px;
}

/* Copo: o único lugar da página onde o gradiente da marca preenche uma
   superfície grande — é literalmente o chopp. */
.tm-pour {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
}

/* A caneca do logo, redesenhada em CSS: parede reta, alça à direita e
   graduação — é o mesmo objeto da marca, não um copo genérico. */
.glass-wrap {
  position: relative;
  width: 132px;
  margin-right: 34px; /* espaço da alça, que avança 30px para fora */
}

.glass-handle {
  position: absolute;
  right: -30px;
  top: 26%;
  width: 34px;
  height: 84px;
  border: 9px solid var(--glass-edge);
  border-left-color: transparent;
  border-radius: 0 40px 40px 0 / 0 50% 50% 0;
}

.glass {
  position: relative;
  width: 132px;
  height: 224px;
  border: 2px solid var(--glass-edge);
  border-radius: 7px 7px 16px 16px;
  background:
    linear-gradient(100deg,
      var(--glass-tint) 0%,
      transparent 24%,
      var(--glass-tint) 50%,
      transparent 76%,
      var(--glass-tint) 100%);
  overflow: hidden;
}

.glass-liquid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, #ffc928 0%, #f0a800 45%, #d97a00 100%);
  transition: height 0.1s linear;
}

.glass-foam {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0;
  height: 13px;
  border-radius: 50% 50% 40% 40% / 75% 75% 25% 25%;
  background: linear-gradient(180deg, #fffbf2 0%, #f8f0e0 60%, #efdfc0 100%);
  opacity: 0;
  transition: bottom 0.1s linear, opacity 0.2s ease;
}
.glass.is-wet .glass-foam { opacity: 1; }

.glass-marks { position: absolute; inset: 0; pointer-events: none; }
.glass-marks i {
  position: absolute;
  right: 8%;
  width: 18%;
  height: 1px;
  background: var(--glass-mark);
}
.glass-marks i:nth-child(1) { top: 25%; }
.glass-marks i:nth-child(2) { top: 50%; width: 26%; }
.glass-marks i:nth-child(3) { top: 75%; }

.bubble {
  position: absolute;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 251, 242, 0.75);
  opacity: 0;
}
.glass.is-pouring .bubble { animation: rise 1.6s linear infinite; }
.bubble:nth-child(1) { left: 18%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 34%; animation-delay: 0.35s; width: 4px; height: 4px; }
.bubble:nth-child(3) { left: 50%; animation-delay: 0.7s; }
.bubble:nth-child(4) { left: 66%; animation-delay: 0.2s; width: 3px; height: 3px; }
.bubble:nth-child(5) { left: 78%; animation-delay: 0.95s; }
.bubble:nth-child(6) { left: 26%; animation-delay: 1.25s; width: 3px; height: 3px; }

@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translateY(-120px); opacity: 0; }
}

.ro-volume {
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ro-volume i {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.ro-total {
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.tm-panel { display: grid; align-content: start; gap: 12px; }

.reader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-sunk);
}
.reader.is-live { border-style: solid; border-color: var(--accent); }

.reader-eye {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
}
.reader-eye i {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.reader-eye i:nth-child(1) { width: 6px; height: 6px; background: var(--accent); border: 0; }
.reader-eye i:nth-child(2) { width: 16px; height: 16px; opacity: 0.55; }
.reader-eye i:nth-child(3) { width: 26px; height: 26px; opacity: 0.25; }
.reader.is-reading .reader-eye i:nth-child(2),
.reader.is-reading .reader-eye i:nth-child(3) { animation: ping 1.1s ease-out infinite; }
.reader.is-reading .reader-eye i:nth-child(3) { animation-delay: 0.35s; }

@keyframes ping {
  0% { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.reader-state { font-size: 0.9rem; font-weight: 500; }

.tm-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tagchip {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tagchip:hover { border-color: var(--accent); }
.tagchip.is-on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--gold) 14%, var(--bg));
}
.tagchip-name { font-size: 0.85rem; font-weight: 600; }
.tagchip-holder { font-size: 0.68rem; color: var(--text-muted); line-height: 1.25; text-align: center; }

/* Os três formatos desenhados em CSS: mesma tag, embalagens diferentes. */
.tagchip-art { display: block; background: var(--gradient-brand); box-shadow: var(--shadow); }
.tagchip-card { width: 34px; height: 22px; border-radius: 4px; }
.tagchip-fob { width: 20px; height: 28px; border-radius: 10px 10px 8px 8px; }
.tagchip-band { width: 34px; height: 12px; border-radius: var(--radius-pill); }

.session {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2px 0 0;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.session > div { background: var(--bg); padding: 9px 12px; }
.session dt {
  font-family: var(--font-num);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.session dd {
  margin: 2px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.session dd.num {
  font-family: var(--font-num);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.pour {
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}
.pour:disabled {
  background: none;
  background-color: var(--bg-sunk);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
}
.pour.is-held { filter: brightness(0.94); }

.ledger {
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
}
.ledger-title {
  font-family: var(--font-num);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ledger ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.ledger li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
.ledger li b { color: var(--text); font-weight: 600; }
.ledger-empty { justify-content: flex-start; }

.tapmodule figcaption {
  padding: 12px 18px 14px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-sunk);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* --- Seções ---------------------------------------------------------- */
.section {
  padding-block: clamp(64px, 9vw, 108px);
  scroll-margin-top: 72px;
}
.section + .section { border-top: 1px solid var(--border-soft); }

.section-head { max-width: 48ch; }
.section-head h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* Como funciona — a régua horizontal é a linha do chopp: cada passo é um
   ponto sobre ela, na ordem em que a sessão acontece. */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--border);
}
.step { position: relative; padding-top: 26px; }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}
.step-n {
  font-family: var(--font-num);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step h3 {
  margin: 8px 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
}
.step p { color: var(--text-muted); font-size: 0.94rem; }

/* Tags — três objetos físicos, desenhados em CSS. */
.tagcards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tagcard {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tagcard h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.tagcard p { color: var(--text-muted); font-size: 0.94rem; }

.tagcard-art {
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.obj {
  position: relative;
  display: block;
  background: var(--gradient-brand);
  box-shadow: var(--shadow);
}
.obj i {
  position: absolute;
  background: var(--ink);
  opacity: 0.42;
}
.obj-card { width: 116px; height: 74px; border-radius: 9px; }
.obj-card i { width: 20px; height: 15px; border-radius: 3px; left: 14px; top: 20px; }
.obj-fob { width: 56px; height: 84px; border-radius: 26px 26px 16px 16px; }
.obj-fob i { width: 13px; height: 13px; border-radius: 50%; left: 21.5px; top: 12px; }
.obj-band { width: 148px; height: 26px; border-radius: var(--radius-pill); }
.obj-band i { width: 26px; height: 14px; border-radius: 4px; left: 61px; top: 6px; }

.tags-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* No balcão — deliberadamente quieto: só fios de 1px e hierarquia. */
.opsgrid {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.op { background: var(--bg); padding: 24px 22px; }
.op dt { font-size: 1.02rem; font-weight: 600; margin-bottom: 7px; }
.op dd { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.closing { text-align: center; }
.closing-inner { display: grid; justify-items: center; gap: 0; }
.closing .eyebrow { justify-content: center; }
.closing h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.closing .lead { max-width: 52ch; }
.closing .cta-row { justify-content: center; }

/* --- Rodapé ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-sunk);
  padding-block: 36px;
}
.site-footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { font-size: 0.92rem; color: var(--text-muted); max-width: 38ch; }
.footer-meta {
  font-family: var(--font-num);
  font-size: 0.74rem;
  color: var(--text-muted);
}
.footer-meta a { color: var(--text-muted); }
.footer-meta a:hover { color: var(--accent); }

/* --- Aviso de analytics ---------------------------------------------- */
/* O `hidden` do markup precisa deste par explícito: `display: flex` numa
   regra de autor vence o `[hidden] { display: none }` da folha do browser,
   então sem isto a faixa aparece sempre e o botão não fecha nada. */
.analytics-notice[hidden] { display: none; }
.analytics-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  max-width: 720px;
  margin-inline: auto;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lift);
}
.analytics-notice p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.analytics-notice .button-ghost {
  flex: 0 0 auto;
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Responsivo ------------------------------------------------------ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .tapmodule { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .opsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tagcards { grid-template-columns: minmax(0, 1fr); }
  .tagcard { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 22px; }
  .tagcard-art { margin-bottom: 0; }
  .tagcard h3 { grid-column: 2; margin-bottom: 6px; }
  .tagcard p { grid-column: 2; }
  .tagcard-art { grid-row: span 2; }
}

@media (max-width: 760px) {
  .nav-link { display: none; }
  .site-nav { gap: 12px; }
  .tm-body { grid-template-columns: minmax(0, 1fr); }
  .tm-pour {
    grid-template-columns: 120px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 6px 20px;
  }
  .glass-wrap { grid-row: span 2; width: 108px; margin-right: 30px; }
  .glass { width: 108px; height: 180px; }
  .glass-handle { right: -26px; width: 28px; height: 68px; border-width: 8px; }
  .ro-volume { align-self: end; }
  .ro-total { align-self: start; }
  .tagcard { grid-template-columns: minmax(0, 1fr); }
  .tagcard-art { grid-row: auto; margin-bottom: 14px; }
  .tagcard h3, .tagcard p { grid-column: 1; }
}

@media (max-width: 560px) {
  .steps, .opsgrid { grid-template-columns: minmax(0, 1fr); }
  .tm-taps { grid-template-columns: minmax(0, 1fr); }
  .session { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { align-items: flex-start; }
}

@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;
  }
}
