/* =========================================================
   BIGORNA · direção 5 · BRASA — "Do fogo ao copo."
   Proposta conceitual MABI. Static CSS, no build step.
   ========================================================= */

:root {
  /* palette roles */
  --charcoal: #1D1B19;
  --charcoal-2: #2A2724;
  --charcoal-line: #3A3632;
  --terracotta: #B4532A;      /* white text on it: 4.99:1 */
  --terracotta-deep: #9E4421; /* small terracotta text on cream: 5.5:1 */
  --cream: #F5EEE3;
  --cream-2: #EDE2D1;
  --cream-line: #DCCDB6;
  --gold: #E9B44C;
  --gold-hover: #F2C566;
  --white: #FFFFFF;
  --ink: #1D1B19;
  --ink-muted: #5E554B;        /* on cream: 6.3:1 */
  --on-dark-muted: #C3B8AA;    /* on charcoal: 8.6:1 */
  --on-terra-soft: #FFFFFF;    /* body text on terracotta stays pure white */

  /* type */
  --f-sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --fs-hero: clamp(3.2rem, 6.5vw, 6.2rem);
  --fs-display: clamp(2.6rem, 5.2vw, 5rem);
  --fs-h2: clamp(2.1rem, 4vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 1.5vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-tiny: .8125rem;
  --fs-note: clamp(1.15rem, 1.4vw, 1.35rem);

  /* rhythm (8 px base) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 5.5rem;
  --section-y: clamp(3.5rem, 6.5vw, 5.5rem);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1320px;

  --bar-h: 72px;
  --bar-h-small: 56px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .cream :focus-visible { outline-color: var(--terracotta-deep); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 200; background: var(--gold); color: var(--charcoal); padding: var(--s3) var(--s4); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s3); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type primitives ---------- */
.display, h1, h2 { font-weight: 800; letter-spacing: -0.025em; line-height: .95; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.note { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: var(--fs-note); line-height: 1.3; letter-spacing: 0; }
.kicker {
  font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.3;
}
.lead { font-size: clamp(1.0625rem, 1.25vw, 1.2rem); line-height: 1.55; max-width: 36em; }
.muted { color: var(--ink-muted); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
  transition: background-color .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease), color .15s;
}
.btn-gold { background: var(--gold); color: var(--charcoal); box-shadow: 0 3px 0 var(--charcoal); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 0 0 var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--white); box-shadow: 0 3px 0 rgba(0,0,0,.35); }
.btn-dark:hover { background: #34302C; }
.btn-dark:active { transform: translateY(3px); box-shadow: none; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.on-light .btn-line:hover, .cream .btn-line:hover { background: rgba(29,27,25,.06); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--terracotta-deep); }

/* =========================================================
   CHROME — charcoal bar that condenses + mobile tab bar
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--charcoal); color: var(--white);
  border-bottom: 1px solid #000;
}
.bar {
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s5);
  transition: height .22s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; justify-self: start; }
.brand-stamp { width: 52px; height: 52px; transition: width .22s var(--ease), height .22s var(--ease); }
.brand-word { display: flex; flex-direction: column; font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand-word small { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--on-dark-muted); margin-top: 3px; }
.nav-desktop { display: flex; gap: var(--s2); }
.nav-desktop a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  text-decoration: none; font-weight: 600; color: var(--on-dark-muted); transition: color .15s;
}
.nav-desktop a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 4px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav-desktop a:hover { color: var(--white); }
.nav-desktop a:hover::after { transform: scaleX(.4); }
.nav-desktop a[aria-current="page"] { color: var(--white); }
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.kit-link {
  justify-self: end; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .45rem .55rem .45rem 1rem;
  border: 2px solid var(--gold); border-radius: var(--radius); color: var(--white); text-decoration: none; font-weight: 700;
  transition: background-color .15s;
}
.kit-link:hover { background: rgba(233,180,76,.14); }
.kit-link svg { width: 20px; height: 20px; color: var(--gold); }
.kit-count {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .4rem; border-radius: 99px;
  background: var(--gold); color: var(--charcoal); font-size: .9rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.kit-count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }

.site-header.is-condensed .bar { height: var(--bar-h-small); }
.site-header.is-condensed .brand-stamp { width: 38px; height: 38px; }
.site-header.is-condensed .brand-word small { display: none; }

/* mobile bottom tab bar */
.tabbar { display: none; }
@media (max-width: 899px) {
  :root { --bar-h: 56px; }
  html { scroll-padding-top: 64px; }
  .bar { grid-template-columns: 1fr auto; }
  .nav-desktop { display: none; }
  .brand-stamp, .site-header.is-condensed .brand-stamp { width: 40px; height: 40px; }
  .brand-word { font-size: 1.15rem; }
  .brand-word small { display: none; }
  .kit-link { padding-left: .8rem; }
  .site-footer { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }
  body.has-kitbar .site-footer { padding-bottom: calc(var(--tab-h) + 60px + var(--safe-b)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: var(--charcoal); border-top: 1px solid #000; box-shadow: 0 -6px 18px rgba(0,0,0,.18);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--on-dark-muted); text-decoration: none; font-size: .78rem; font-weight: 600; min-height: 48px;
  }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--gold); }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
  .tabbar a:focus-visible { outline-offset: -4px; }
  .tab-badge {
    position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
    display: grid; place-items: center; background: var(--gold); color: var(--charcoal); font-size: .72rem; font-weight: 800;
  }
  .tab-badge[hidden] { display: none; }
}
@media (max-width: 380px) {
  .brand-word { display: none; }
}

/* mobile kit bar (Início + Loja) */
.kit-bar { display: none; }
@media (max-width: 899px) {
  .kit-bar:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
    position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); z-index: 65;
    height: 60px; padding: 0 var(--gutter); background: var(--gold); color: var(--charcoal); text-decoration: none;
    border-top: 2px solid var(--charcoal);
  }
  .kit-bar strong { font-weight: 800; }
  .kit-bar [data-kb-text] { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kit-bar .kb-go { white-space: nowrap; flex: none; }
  .kit-bar .kb-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; }
  .kit-bar .kb-go svg { width: 18px; height: 18px; }
}

/* =========================================================
   HERO — Início (image bleeds left, terracotta panel right)
   ========================================================= */
.hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h));
  max-height: 940px;
  background: var(--terracotta);
}
.hero-media { position: relative; overflow: hidden; background: var(--charcoal); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 60%; }
.hero-panel {
  background: var(--terracotta); color: var(--white);
  padding: clamp(2rem, 4.2vw, 4rem) clamp(1.25rem, 3.6vw, 3.75rem);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s5);
}
.hero-panel .note { color: var(--white); font-size: 1.25rem; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -0.035em; line-height: .9; }
.hero h1 span { display: block; }
.hero-slogan { font-weight: 600; font-size: clamp(1.05rem, 1.35vw, 1.3rem); display: flex; align-items: center; gap: .6rem; }
.hero-slogan::before { content: ""; width: 28px; height: 3px; background: var(--gold); flex: none; }

/* pairing selector */
.pairing { margin-top: var(--s2); border-top: 1px solid rgba(255,255,255,.35); padding-top: var(--s5); display: grid; gap: var(--s4); }
.pairing legend { font-weight: 700; font-size: 1rem; margin-bottom: var(--s3); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 99px;
  border: 2px solid rgba(255,255,255,.7); color: var(--white); font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip label:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.chip input:checked + label { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold); }
.chip input:checked + label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .5rem; }
.chip input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

.pairing-result { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center; }
.pairing-result .swap { transition: opacity .18s var(--ease), transform .18s var(--ease); }
.pairing-result.is-swapping .swap { opacity: 0; transform: translateY(8px); }
.disc { position: relative; width: clamp(150px, 13vw, 196px); aspect-ratio: 1; flex: none; }
.disc::before {
  content: ""; position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,180,76,.55) 0%, rgba(233,180,76,.18) 45%, rgba(233,180,76,0) 70%);
  animation: glow 8s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.disc-inner { position: relative; width: 100%; height: 100%; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 -6px 0 rgba(0,0,0,.06); }
.disc-inner img { position: absolute; top: 11%; left: 50%; height: 76%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; transform: translateX(-50%); }
.pairing-text { display: grid; gap: var(--s2); min-width: 0; }
.pairing-text .note { font-size: 1.15rem; }
.pairing-beer { font-weight: 800; font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; }
.pairing-why { font-size: var(--fs-small); line-height: 1.45; }
.pairing-buy { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s2); }
.pairing-buy .price { font-size: 1.25rem; }
.pairing-foot { font-size: var(--fs-tiny); opacity: .92; }

@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; max-height: none; }
  .hero-panel { order: 1; padding: 1.4rem var(--gutter) 1.6rem; gap: var(--s4); justify-content: flex-start; }
  .hero-media { order: 2; height: 62vw; min-height: 230px; max-height: 460px; }
  .hero h1 { font-size: clamp(3.2rem, 14vw, 4.6rem); }
  .hero-panel > .note { font-size: 1.1rem; }
  .pairing { padding-top: var(--s4); gap: var(--s3); margin-top: 0; }
  .pairing legend { margin-bottom: var(--s2); }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px;
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; flex: none; }
  .pairing-result { gap: var(--s4); align-items: start; }
  .disc { width: 112px; }
  .pairing-beer { font-size: 1.6rem; }
  .pairing-text .note { font-size: 1.05rem; }
  .pairing-why { font-size: .9rem; }
  .pairing-buy { margin-top: var(--s1); }
  .pairing-buy .btn { min-height: 46px; padding: .6rem 1rem; }
}

/* =========================================================
   Sections — shared
   ========================================================= */
.section { padding-block: var(--section-y); }
.cream { background: var(--cream); color: var(--ink); }
.paper { background: #FBF7F0; color: var(--ink); }
.dark { background: var(--charcoal); color: var(--white); }
.terra { background: var(--terracotta); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5) var(--s8); align-items: end; margin-bottom: var(--s7); }
.section-head .note { color: var(--terracotta-deep); }
.dark .section-head .note { color: var(--gold); }
.section-head p:not(.note) { max-width: 34em; }
.dark .muted { color: var(--on-dark-muted); }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; margin-bottom: var(--s6); align-items: start; }
}

/* ---------- kit builder ---------- */
.kit { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s7); align-items: start; }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-bottom: var(--s6); }
.preset {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "imgs name" "imgs desc" "imgs total"; column-gap: var(--s4); row-gap: 2px;
  align-items: center; text-align: left; padding: var(--s4); background: var(--white); border: 2px solid var(--cream-line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.preset:hover { border-color: var(--charcoal); }
.preset:active { transform: translateY(1px); }
.preset[aria-pressed="true"] { border-color: var(--terracotta); box-shadow: inset 0 0 0 2px var(--terracotta); }
.preset-imgs { grid-area: imgs; display: flex; }
.preset-imgs img { width: 64px; height: 64px; object-fit: contain; background: var(--white); border-radius: 50%; border: 2px solid var(--cream-2); }
.preset-imgs img + img { margin-left: -18px; }
.preset-name { grid-area: name; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: .5rem; }
.preset[aria-pressed="true"] .preset-name::after { content: "no kit"; font-family: var(--f-sans); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--terracotta-deep); color: var(--white); padding: 2px 7px; border-radius: 99px; }
.preset-desc { grid-area: desc; color: var(--ink-muted); font-size: var(--fs-small); line-height: 1.35; }
.preset-total { grid-area: total; font-weight: 700; margin-top: 4px; }

.kit-groups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.kit-group h3 { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--s3); border-bottom: 2px solid var(--charcoal); margin-bottom: var(--s2); }
.kit-group h3 .note { font-size: 1.05rem; color: var(--terracotta-deep); font-weight: 400; }
.kit-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--cream-line); }
.kit-row img { width: 56px; height: 56px; object-fit: contain; background: var(--white); border-radius: var(--radius); }
.kit-row img.is-bottle { object-fit: cover; }
.kit-row-name { font-weight: 600; line-height: 1.2; font-size: 1rem; }
.kit-row-price { color: var(--ink-muted); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }

/* quantity control (add button ⇄ stepper) */
.qty { display: inline-flex; justify-content: flex-end; min-width: 132px; }
.qty .btn-add {
  min-height: 44px; padding: 0 .95rem; border-radius: var(--radius); border: 2px solid var(--charcoal); background: transparent; color: var(--charcoal);
  font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background-color .15s, color .15s;
}
.qty .btn-add:hover { background: var(--charcoal); color: var(--white); }
.qty .btn-add .plus { font-size: 1.15rem; line-height: 0; margin-right: 2px; }
.stepper { display: inline-grid; grid-template-columns: 44px 40px 44px; align-items: center; border-radius: var(--radius); background: var(--charcoal); color: var(--white); }
.stepper button { height: 44px; border: 0; background: transparent; color: var(--gold); font-size: 1.35rem; font-weight: 700; line-height: 1; border-radius: var(--radius); }
.stepper button:hover { background: rgba(255,255,255,.1); }
.stepper output { text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper[hidden], .qty .btn-add[hidden] { display: none; }

/* kit summary (sticky) */
.kit-summary { position: sticky; top: calc(var(--bar-h-small) + 20px); background: var(--charcoal); color: var(--white); border-radius: var(--radius); padding: var(--s5); }
.kit-summary h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; }
.kit-summary h3 img { width: 40px; height: 40px; }
.ks-empty { color: var(--on-dark-muted); margin-top: var(--s4); font-size: var(--fs-small); }
.ks-lines { margin-top: var(--s4); max-height: 300px; overflow-y: auto; }
.ks-line { display: grid; grid-template-columns: auto 1fr auto auto; gap: var(--s3); align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--charcoal-line); font-size: var(--fs-small); }
.ks-line .q { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.ks-line .n { line-height: 1.25; }
.ks-line .p { font-variant-numeric: tabular-nums; }
.ks-remove { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--on-dark-muted); border-radius: var(--radius); }
.ks-remove:hover { color: var(--white); background: var(--charcoal-2); }
.ks-remove svg { width: 16px; height: 16px; }
.ks-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-top: var(--s4); padding-top: var(--s3); }
.ks-total span { font-weight: 600; color: var(--on-dark-muted); }
.ks-total strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--gold); line-height: 1; }
.ks-count { color: var(--on-dark-muted); font-size: var(--fs-tiny); text-align: right; }
.kit-summary .btn { margin-top: var(--s4); }
.kit-summary .btn[aria-disabled="true"] { opacity: .45; box-shadow: none; cursor: not-allowed; }
.ks-note { margin-top: var(--s3); font-size: var(--fs-tiny); color: var(--on-dark-muted); line-height: 1.45; }
.ks-clear { margin-top: var(--s3); background: none; border: 0; color: var(--on-dark-muted); text-decoration: underline; font-size: var(--fs-tiny); padding: .5rem 0; min-height: 44px; }
.ks-clear:hover { color: var(--white); }
.ks-status { margin-top: var(--s3); font-size: var(--fs-small); color: var(--gold); font-weight: 600; }
.ks-status:empty { display: none; }
.ks-status a { color: var(--white); }

@media (max-width: 1099px) {
  .kit { grid-template-columns: 1fr; }
  .kit-summary { position: static; }
}
@media (max-width: 760px) {
  .presets, .kit-groups { grid-template-columns: 1fr; }
  .presets { gap: var(--s3); }
  .preset-imgs img { width: 54px; height: 54px; }
  .qty { min-width: 0; }
}

/* ---------- ritual strip ---------- */
.ritual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.ritual figure { display: grid; gap: var(--s4); align-content: start; }
.ritual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--charcoal-2); }
.ritual figcaption { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s1) var(--s4); }
.ritual .num { grid-row: span 2; font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: .9; color: var(--gold); }
.ritual .t { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.1; }
.ritual .d { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.45; }
.ritual .d em { font-family: var(--f-serif); font-size: 1.05em; }
@media (max-width: 760px) {
  .ritual { grid-template-columns: 1fr; gap: var(--s6); }
  .ritual figure { grid-template-columns: clamp(96px, 30vw, 128px) minmax(0, 1fr); align-items: center; gap: var(--s3); }
  .ritual .num { font-size: 2rem; }
  .ritual img { aspect-ratio: 4 / 5; }
}

/* ---------- cardápio (menu list) ---------- */
.menu-head { text-align: center; display: grid; justify-items: center; gap: var(--s3); margin-bottom: var(--s7); }
.menu-head img { width: 76px; height: 76px; }
.menu-head .note { color: var(--terracotta-deep); }
.menu-head p:not(.note) { max-width: 40em; color: var(--ink-muted); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); position: relative; }
.menu-cols::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--cream-line); }
.menu-group + .menu-group { margin-top: var(--s6); }
.menu-group-title { display: flex; align-items: baseline; gap: var(--s3); padding-bottom: var(--s3); border-bottom: 2px solid var(--charcoal); }
.menu-group-title h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.menu-group-title .note { font-size: 1.05rem; color: var(--ink-muted); }
.menu-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--cream-line); }
.menu-thumb { width: 64px; height: 86px; background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-thumb.square img { object-fit: contain; }
.menu-line { display: flex; align-items: baseline; gap: var(--s3); }
.menu-name { font-weight: 800; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1; }
.menu-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted #B9A98F; transform: translateY(-6px); }
.menu-line .price { font-size: 1.15rem; }
.menu-full { font-size: var(--fs-tiny); color: var(--ink-muted); margin-top: 2px; }
.menu-desc { font-size: var(--fs-small); line-height: 1.5; margin-top: var(--s2); color: #3B3530; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s3); flex-wrap: wrap; }
.menu-pair { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--terracotta-deep); line-height: 1.2; }
.menu-pair b { font-family: var(--f-sans); font-style: normal; font-weight: 700; font-size: .95rem; }
.menu-foot .qty { min-width: 0; }
.menu-sign { margin-top: var(--s6); text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--ink-muted); }
@media (max-width: 899px) {
  .menu-cols { grid-template-columns: 1fr; }
  .menu-cols::before { display: none; }
  .menu-group + .menu-group, .menu-col + .menu-col { margin-top: var(--s6); }
}
@media (max-width: 420px) {
  .menu-item { grid-template-columns: 52px minmax(0, 1fr); gap: var(--s3); }
  .menu-thumb { width: 52px; height: 70px; }
  .menu-name { font-size: 1.3rem; }
}

/* ---------- accessories ---------- */
.acc-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s8); align-items: center; margin-bottom: var(--s7); }
.acc-top .text { display: grid; gap: var(--s4); }
.acc-top .note { color: var(--terracotta-deep); }
.acc-photo img { width: 100%; aspect-ratio: 821 / 600; object-fit: cover; border-radius: var(--radius); }
.acc-photo figcaption { margin-top: var(--s2); font-size: var(--fs-tiny); color: var(--ink-muted); }
.acc-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: var(--s3); }
.acc-item { display: grid; gap: var(--s2); text-decoration: none; align-content: start; }
.acc-item .im { background: var(--white); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--cream-line); transition: border-color .15s, transform .2s var(--ease); }
.acc-item img { width: 100%; height: 100%; object-fit: contain; }
.acc-item:hover .im { border-color: var(--charcoal); transform: translateY(-3px); }
.acc-item .n { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.acc-item .price { font-size: .92rem; color: var(--terracotta-deep); }
@media (max-width: 1099px) { .acc-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .acc-top { grid-template-columns: 1fr; }
  .acc-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s3); }
  .acc-item { flex: 0 0 138px; scroll-snap-align: start; }
}

/* ---------- events band (Início) ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--charcoal); color: var(--white); }
.band-media { position: relative; min-height: 520px; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-text { padding: var(--section-y) var(--gutter); display: grid; gap: var(--s5); align-content: center; max-width: 680px; }
.band-text .note { color: var(--gold); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.facts li { padding: .45rem .8rem; border: 1px solid var(--charcoal-line); border-radius: 99px; font-size: var(--fs-small); font-weight: 600; background: var(--charcoal-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
@media (max-width: 899px) {
  .band { grid-template-columns: 1fr; }
  .band-media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Zona Norte story ---------- */
.zn { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5) var(--s8); align-items: center; }
.zn figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.zn figcaption { margin-top: var(--s2); font-size: var(--fs-tiny); color: var(--ink-muted); }
.zn .text { display: grid; gap: var(--s4); }
.zn .note { color: var(--terracotta-deep); }
.zn .slogan-big { font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; margin-top: var(--s3); display: flex; align-items: center; gap: var(--s4); }
.zn .slogan-big img { width: 64px; height: 64px; flex: none; }
@media (max-width: 899px) { .zn { grid-template-columns: 1fr; } }

/* ---------- Clube (interest list) ---------- */
.clube { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6) var(--s8); align-items: start; }
.clube-intro { display: grid; gap: var(--s4); }
.clube-intro .note { color: var(--white); }
.tag-soon { display: inline-flex; width: fit-content; align-items: center; gap: .4rem; background: var(--charcoal); color: var(--gold); font-weight: 700; font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: .14em; padding: .35rem .7rem; border-radius: 99px; }
.perks { display: grid; gap: var(--s3); margin-top: var(--s2); }
.perks li { display: grid; grid-template-columns: 30px 1fr; gap: var(--s3); align-items: start; }
.perks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9B44C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.clube-small { font-size: var(--fs-tiny); }
@media (max-width: 899px) { .clube { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.form-card.on-white { background: var(--white); box-shadow: none; border: 1px solid var(--cream-line); }
.form-card h3 { margin-bottom: var(--s2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field > legend, .field-label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: var(--fs-tiny); color: var(--ink-muted); font-weight: 400; }
.input {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font-size: 1rem; /* ≥16px: no iOS zoom */
  background: var(--white); color: var(--ink); border: 2px solid #B8A991; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1B19' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.6rem; }
.input:hover { border-color: var(--charcoal); }
.input:focus { outline: none; border-color: var(--charcoal); box-shadow: 0 0 0 3px var(--gold); }
.input[aria-invalid="true"] { border-color: #A3261A; background: #FFF6F3; }
.err { color: #A3261A; font-size: .9rem; font-weight: 600; display: flex; gap: .4rem; align-items: flex-start; }
.err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #A3261A; color: #fff; font-size: .75rem; font-weight: 800; }
.err:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: var(--s2); }
.check-chip { position: relative; }
.check-chip input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.check-chip label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 2px solid #B8A991; border-radius: 99px; background: var(--white); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.check-chip label::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 3px; flex: none; }
.check-chip label:hover { border-color: var(--charcoal); }
.check-chip input:checked + label { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.check-chip input:checked + label::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1B19' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--gold); }
.check-chip input:focus-visible + label { outline: 3px solid var(--terracotta-deep); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; font-size: .95rem; line-height: 1.4; cursor: pointer; padding: .4rem 0; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--charcoal); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s2); }
.form-actions .hint { font-size: var(--fs-tiny); color: var(--ink-muted); max-width: 26em; }
.success {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); align-items: start; margin-top: var(--s4);
  padding: var(--s4); border-radius: var(--radius); background: #EAF3E6; border: 2px solid #2F6B3A; color: #173D1F;
}
.success[hidden] { display: none; }
.success .ic { width: 44px; height: 44px; border-radius: 50%; background: #2F6B3A; display: grid; place-items: center; }
.success .ic svg { width: 22px; height: 22px; color: #fff; }
.success strong { display: block; font-size: 1.05rem; }
.success p { font-size: var(--fs-small); }
.success a { color: #173D1F; font-weight: 700; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Inner-page heroes
   ========================================================= */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - var(--bar-h)), 880px); }
.page-hero-panel { padding: clamp(2rem, 5vw, 4.5rem) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: var(--s5); }
.page-hero-panel h1 { max-width: 11em; }
.page-hero-panel .note { font-size: 1.25rem; }
.page-hero-media { position: relative; overflow: hidden; background: var(--charcoal); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.terra .note, .page-hero-panel.terra .note { color: var(--white); }
.dark .page-hero-panel .note, .page-hero-panel.dark .note { color: var(--gold); }
.page-hero-panel.dark .lead { color: #E9E1D6; }
@media (max-width: 899px) {
  .page-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .page-hero-panel { padding: 1.5rem var(--gutter) 1.75rem; gap: var(--s4); }
  .page-hero-media { aspect-ratio: 4 / 3; }
  .page-hero-panel .lead { font-size: 1rem; }
}

/* ---------- Loja ---------- */
.shop-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--terracotta); color: var(--white); }
.shop-hero .page-hero-panel { padding-block: clamp(1.75rem, 3.6vw, 3.25rem); }
.shop-hero .page-hero-media { min-height: 340px; }
.jump { display: flex; flex-wrap: wrap; gap: var(--s2); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 2px solid rgba(255,255,255,.75); border-radius: 99px; text-decoration: none; font-weight: 600; transition: background-color .15s, color .15s; }
.jump a:hover { background: var(--white); color: var(--terracotta-deep); }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; }
.shop-group { scroll-margin-top: 80px; }
.shop-group + .shop-group { margin-top: var(--s8); }
.shop-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); padding-bottom: var(--s3); border-bottom: 3px solid var(--charcoal); }
.shop-group-head h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.shop-group-head .note { color: var(--terracotta-deep); }
.product { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--cream-line); align-items: start; scroll-margin-top: 90px; }
.product:target { background: linear-gradient(90deg, rgba(233,180,76,.18), transparent 70%); }
.product-img { width: 132px; height: 160px; background: var(--white); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-img.bottle img { width: 120px; height: 160px; object-fit: cover; }
.product-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.15; }
.product-tag { font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-muted); margin-bottom: 4px; }
.product-pair { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--terracotta-deep); margin-top: 4px; }
.product-desc { margin-top: var(--s2); font-size: var(--fs-small); color: #3B3530; line-height: 1.5; max-width: 40em; }
.product details { margin-top: var(--s2); font-size: var(--fs-small); }
.product summary { cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; color: var(--terracotta-deep); }
.product summary:hover { text-decoration: underline; }
.product details p { color: #3B3530; line-height: 1.55; max-width: 44em; padding-bottom: var(--s2); }
.product-buy { display: grid; justify-items: end; gap: var(--s3); min-width: 140px; }
.product-buy .price { font-size: 1.35rem; }
@media (max-width: 1099px) {
  .shop { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .shop-hero { grid-template-columns: minmax(0, 1fr); }
  .shop-hero .page-hero-media { display: none; }
}
@media (max-width: 640px) {
  .product { grid-template-columns: 92px minmax(0, 1fr); gap: var(--s3) var(--s4); }
  .product-img { width: 92px; height: 112px; }
  .product-img.bottle img { width: 84px; height: 112px; }
  .product-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; min-width: 0; }
  .product-buy .qty { justify-self: end; }
  .product-name { font-size: 1.15rem; }
}

/* ---------- Eventos ---------- */
.choose { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6) var(--s8); align-items: center; }
.choose figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.choose figcaption, .figcap { margin-top: var(--s2); font-size: var(--fs-tiny); color: var(--ink-muted); }
.dark .figcap { color: var(--on-dark-muted); }
.opt-list + .opt-list { margin-top: var(--s6); }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--cream-line); }
.opt .menu-line { grid-column: 1 / -1; }
.opt p { grid-column: 1 / -1; font-size: var(--fs-small); color: #3B3530; }
.sob { font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--terracotta-deep); white-space: nowrap; }
.min-note { margin-top: var(--s5); display: flex; gap: var(--s3); align-items: center; padding: var(--s4); background: var(--charcoal); color: var(--white); border-radius: var(--radius); font-weight: 600; }
.min-note strong { white-space: nowrap; color: var(--gold); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.occasions { display: flex; flex-wrap: wrap; gap: .2em .5em; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.12; }
.occasions li:not(:last-child)::after { content: "·"; color: var(--gold); margin-left: .45em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s7); }
.duo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6) var(--s8); align-items: center; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split .text { display: grid; gap: var(--s4); }
.split .note { color: var(--terracotta-deep); }
.quote-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--s6) var(--s8); align-items: start; }
.quote-wrap .text { display: grid; gap: var(--s4); }
.channels { display: grid; gap: var(--s2); margin-top: var(--s2); }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); align-items: center; min-height: 56px; padding: .5rem 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.cream .channel, .on-light .channel { border-bottom-color: var(--cream-line); }
.channel .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); color: var(--gold); }
.channel .ic svg { width: 22px; height: 22px; }
.channel .lbl { display: block; font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; opacity: .85; }
.channel .val { display: block; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
a.channel:hover .val { text-decoration: underline; }
@media (max-width: 899px) {
  .choose, .split, .quote-wrap { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .split figure { order: -1; }
}

/* ---------- Contato ---------- */
.contact-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-hero .page-hero-panel { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: stretch; }
@media (max-width: 899px) {
  .contact-hero { grid-template-columns: minmax(0, 1fr); }
  .contact-hero .page-hero-media { order: 2; aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--charcoal); color: var(--white); padding-top: var(--s8); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--s6); padding-bottom: var(--s7); border-bottom: 1px solid var(--charcoal-line); }
.footer-brand { display: flex; gap: var(--s5); align-items: center; }
.footer-brand img { width: 112px; height: 112px; flex: none; }
.footer-brand p { font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: .98; letter-spacing: -0.03em; }
.footer-brand small { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: var(--on-dark-muted); margin-top: var(--s2); }
.footer-col h2 { font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--gold); margin-bottom: var(--s3); line-height: 1.3; }
.footer-col a, .footer-col p { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: #E9E1D6; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { padding-block: var(--s5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); font-size: var(--fs-tiny); color: var(--on-dark-muted); }
.footer-legal p { line-height: 1.5; }
.footer-legal .age { color: var(--white); font-weight: 600; }
.back-hub { color: var(--gold); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.back-hub:hover { text-decoration: underline; }
@media (max-width: 899px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 84px; height: 84px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--s5); }
}

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

/* Loja: the whole side column travels with the catalogue */
.shop-side { position: sticky; top: calc(var(--bar-h-small) + 20px); }
.shop-side .kit-summary { position: static; }
@media (max-width: 1099px) { .shop-side { position: static; } }
@media (max-width: 899px) {
  .shop-hero .page-hero-panel { gap: var(--s3); padding-bottom: 1.25rem; }
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; }
  .shop-group-head { padding-bottom: var(--s2); }
  .product { padding: var(--s4) 0; }
}

/* Início hero on small laptops / landscape tablets */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-panel { gap: var(--s4); padding-block: 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 6.4vw, 4.6rem); }
  .disc { width: 128px; }
  .pairing-result { gap: var(--s4); }
  .pairing { padding-top: var(--s4); gap: var(--s3); }
}
