/* ==========================================================================
   TANALATA Café — tanalata.com
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* cores da marca (tiradas do rótulo) */
  --green-950: #011a0b;
  --green-900: #023717;
  --green-850: #04421d;
  --green-800: #0a4d25;
  --green-700: #155f31;
  --sage: #97c383;
  --sage-ink: #1b3d25;
  --orange: #dc711a;
  --orange-hover: #e9822c;
  --orange-soft: #f0913f;
  --orange-ink: #a8520c;
  --mountain: #565f4d;

  /* neutros */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --on-dark-2: rgba(255, 255, 255, 0.7);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Quicksand", var(--font);

  --nav-h: 52px;
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1180px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

/* ---------- layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
.container--text { width: min(100% - 2 * var(--gutter), 980px); }
.center { text-align: center; }

.section { padding-block: clamp(96px, 12vw, 168px); }

/* ---------- tipografia ---------- */
.eyebrow {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow--dark { color: var(--orange-soft); }
.eyebrow--green { color: var(--green-900); }

.display {
  font-size: clamp(2.6rem, 0.9rem + 4.7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.title {
  font-size: clamp(2.5rem, 1.35rem + 4.2vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.title--md { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.75rem); }
.eyebrow + .title { margin-top: 14px; }

.lead {
  margin-top: 22px;
  font-size: clamp(1.19rem, 1.02rem + 0.62vw, 1.5rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.016em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lead strong { color: var(--ink); font-weight: 600; }
.lead--dark { color: var(--on-dark-2); }
.lead--dark strong { color: #fff; }
.lead--green { color: var(--sage-ink); }
.lead--green strong { color: var(--green-950); }

.accent { color: var(--orange); }

.section-head {
  max-width: 860px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  text-align: center;
}
.section-head .lead { margin-inline: auto; max-width: 36em; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--left .lead { margin-left: 0; }

/* ---------- botões e links ---------- */
.btn {
  --btn-bg: var(--green-900);
  --btn-fg: #fff;
  --btn-bg-hover: var(--green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: scale(0.97); }
.btn--accent { --btn-bg: var(--orange); --btn-fg: #011a0b; --btn-bg-hover: var(--orange-hover); }
.btn--sm { min-height: 30px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn__icon { width: 22px; height: 22px; fill: currentColor; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  color: var(--orange-ink);
  font-size: 17px;
  font-weight: 500;
}
.link-arrow::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.2em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) scale(0.85);
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg) scale(0.85); }
.link-arrow--dark { color: var(--orange-soft); }

/* ---------- navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: #f5f5f7;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(1, 26, 11, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: opacity 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav[data-top="true"]::before { opacity: 0; }
.nav[data-theme="light"] { color: var(--ink); }
.nav[data-theme="light"]::before {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  border-radius: 8px;
}
.nav__toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 17.5px; transform: rotate(-45deg); }

.nav__sheet {
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--ink);
  padding: 24px var(--gutter);
  overflow-y: auto;
  animation: sheet-in 0.35s var(--ease-out);
}
.nav__sheet nav { display: flex; flex-direction: column; }
.nav__sheet a {
  padding: 12px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
}
html.menu-open .nav { color: var(--ink); }
html.menu-open .nav::before { opacity: 1; background: rgba(255, 255, 255, 0.97); }
html.menu-open body { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--green-950);
  color: #fff;
}
html.js .hero { height: 300svh; }

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(20px, 4.5vh, 56px)) var(--gutter) 0;
  isolation: isolate;
  background:
    radial-gradient(ellipse 46% 52% at 50% 70%, rgba(32, 112, 60, 0.55), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 100%, #06381a, transparent 70%),
    linear-gradient(180deg, #011a0b 0%, #022510 55%, #011a0b 100%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  text-align: center;
  will-change: opacity, transform;
}
.hero__copy .display { margin-top: 14px; }
.hero__lead {
  max-width: 40em;
  margin: 18px auto 0;
  font-size: clamp(1.06rem, 0.95rem + 0.45vw, 1.31rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--on-dark-2);
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 30px;
  margin-top: 30px;
}

.hero__slot { position: relative; }
.hero__slot--can {
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin-top: clamp(12px, 3vh, 32px);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s var(--ease);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  touch-action: pan-y;
}
.hero__canvas.is-grabbable { cursor: grab; }
.hero__canvas.is-grabbing { cursor: grabbing; }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero.is-3d .hero__img { opacity: 0 !important; }

.hero__final {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4.5vh, 48px);
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
  pointer-events: none;
}
.hero__slot--label {
  width: min(100%, 1120px, (100svh - var(--nav-h) - 290px) * 1.789);
  aspect-ratio: 1920 / 1073;
}
.hero__img--label { opacity: 0; border-radius: 3px; }

.hero__caption {
  max-width: 820px;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}
.hero__caption-title {
  font-size: clamp(1.9rem, 1.15rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.hero__caption-text {
  margin-top: 14px;
  font-family: var(--font-brand);
  font-size: clamp(0.82rem, 0.75rem + 0.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.hero__caption-text i { font-style: normal; padding: 0 0.4em; opacity: 0.6; }

.hero__hint {
  position: relative;
  z-index: 3;
  flex: none;
  height: 28px;
  margin: 6px 0 clamp(12px, 2.6vh, 26px);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hero__hint span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__hint span::before,
.hero__hint span::after { content: "‹"; font-size: 15px; line-height: 1; opacity: 0.7; }
.hero__hint span::after { content: "›"; }
.hero.is-3d .hero__hint.is-on { opacity: 1; }
@media (hover: none) { .hero__hint span { background: rgba(255, 255, 255, 0.08); } }

/* ---------- faixa (marquee) ---------- */
.marquee {
  overflow: hidden;
  background: var(--green-950);
  color: var(--orange);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  font-family: var(--font-brand);
  font-size: clamp(14px, 0.8rem + 0.5vw, 19px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 1.1em; padding-right: 1.1em; }
.marquee i { font-style: normal; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.statement { padding-block: clamp(120px, 17vw, 230px); }
.statement__text {
  max-width: 22em;
  margin-inline: auto;
  font-size: clamp(1.85rem, 1rem + 3.1vw, 3.6rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
.statement__text em { font-style: normal; color: var(--orange-ink); }
html.js .statement__text .w { color: #d2d2d7; transition: color 0.4s var(--ease); }
html.js .statement__text .w.is-lit { color: var(--ink); }
html.js .statement__text em .w.is-lit { color: var(--orange-ink); }

/* ---------- produtos ---------- */
.products { background: var(--paper-2); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3.5vw, 48px) clamp(36px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: var(--paper);
  overflow: hidden;
}
.product__media {
  height: clamp(280px, 29vw, 400px);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.product__media img {
  height: 100%;
  width: auto;
  transition: transform 0.9s var(--ease-out);
}
.product:hover .product__media img { transform: translateY(-8px) scale(1.025); }
.product__meta {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.product__name {
  margin-top: 10px;
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.product__desc {
  max-width: 25em;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 17px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 32px;
}
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
}
.product__ctas {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
}

/* ---------- torra ---------- */
.roast .lead { margin-inline: auto; max-width: 34em; }
.roast-scale {
  max-width: 720px;
  margin: clamp(56px, 7vw, 96px) auto 0;
}
.roast-scale__beans {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1%;
}
.bean { width: 52px; height: auto; transition: transform 0.8s var(--ease-out); }
.bean--light { color: #c79c6c; }
.bean--medium { color: #7a4825; width: 84px; }
.bean--dark { color: #2a170c; }
.roast-scale__bar {
  position: relative;
  height: 10px;
  margin: 30px 0 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8b48a 0%, #b07a49 30%, #7a4825 50%, #4a2914 72%, #1f1109 100%);
}
.roast-scale__marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(122, 72, 37, 0.18), 0 2px 8px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: left 1.4s var(--ease-out) 0.2s;
}
html.js .roast-scale:not(.is-in) .roast-scale__marker { left: 6%; }
.roast-scale__tag {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.roast-scale__labels {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--ink-2);
}
.roast-scale__labels .is-active { color: var(--ink); font-weight: 600; }

/* ---------- por que lata ---------- */
.why {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #063a1b, transparent 70%), var(--green-950);
  color: #fff;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.tile {
  position: relative;
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tile p { margin-top: 10px; color: var(--on-dark-2); font-size: 17px; max-width: 30em; }
.tile__title {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.tile__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--orange-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile--feature {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-bottom: 0;
}
.tile--feature .tile__copy { align-self: center; padding-bottom: clamp(28px, 3.2vw, 44px); }
.tile--feature .tile__title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); }
.tile__media { align-self: end; display: flex; justify-content: center; }
.tile__media img { width: min(100%, 380px); transform: translateY(6%); }
.tile--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.tile--wide .tile__icon { margin-bottom: 0; flex: none; width: 56px; height: 56px; }

/* ---------- origem ---------- */
.origin {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  color: var(--green-950);
  padding-bottom: 0;
}
.origin .title { color: var(--green-950); max-width: 13em; }
.origin .section-head { max-width: 900px; }

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(1, 26, 11, 0.18);
}
.journey__num {
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-900);
}
.journey h3 {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.journey p { margin-top: 6px; color: var(--sage-ink); font-size: 16px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 8vw, 104px);
}
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd {
  font-size: clamp(3rem, 2rem + 3.6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--green-950);
}
.stats dd small { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 0.08em; }
.stats dt { margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--sage-ink); }

.origin__mountains {
  height: clamp(110px, 13vw, 230px);
  margin-top: clamp(40px, 6vw, 80px);
  background: url("../img/mountains.webp") center bottom / max(100%, 980px) auto no-repeat;
  transform: translateY(var(--parallax, 0px));
}

/* ---------- preparo ---------- */
.segmented-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: #ececf0;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented button {
  flex: none;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s, background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.brew__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  animation: panel-in 0.5s var(--ease-out);
}
.brew__panel:focus-visible { outline-offset: 8px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

.brew__steps { counter-reset: step; display: grid; gap: clamp(22px, 2.6vw, 32px); }
.brew__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
}
.brew__steps li > * { grid-column: 2; }
.brew__steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 17px;
  font-weight: 600;
}
.brew__steps h3 { margin-top: 3px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.brew__steps p { margin-top: 4px; color: var(--ink-2); }

.brew__card {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--paper-2);
}
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.specs dt { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.specs dd { margin-top: 4px; font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

.calc { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.calc__label { font-size: 15px; font-weight: 600; }
.stepper {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.stepper button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: background-color 0.2s;
}
.stepper button:hover { background: var(--paper-2); }
.stepper button:disabled { opacity: 0.3; cursor: default; background: none; }
.stepper output { min-width: 48px; text-align: center; font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__result { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.calc__result strong {
  display: block;
  font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__result span { display: block; margin-top: 4px; }
.calc__note { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.brew__tip { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); }

/* ---------- revenda ---------- */
.b2b { padding-top: 0; }
.b2b__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(120px, 12vw, 170px);
  border-radius: clamp(28px, 3vw, 40px);
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse 70% 80% at 85% 10%, #0b4f27, transparent 70%), var(--green-900);
}
.b2b__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(70px, 9vw, 130px);
  background: rgba(151, 195, 131, 0.22);
  -webkit-mask: url("../img/mountains.webp") center bottom / max(100%, 900px) auto no-repeat;
  mask: url("../img/mountains.webp") center bottom / max(100%, 900px) auto no-repeat;
  pointer-events: none;
}
.b2b__copy .lead { max-width: 30em; }
.b2b__copy .btn { margin-top: 32px; }
.b2b__list { display: grid; gap: 4px; }
.b2b__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.b2b__list li:last-child { border-bottom: 0; }
.b2b__list svg {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(220, 113, 26, 0.18);
  fill: none;
  stroke: var(--orange-soft);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- dúvidas ---------- */
.faq { padding-top: 0; }
.faq .title { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.8px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.8px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq__answer { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 46em; }
.faq__answer a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- comprar ---------- */
.cta {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 45% at 50% 28%, rgba(32, 112, 60, 0.6), transparent 70%),
    var(--green-950);
}
.cta__cans {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.cta__cans img { height: clamp(190px, 22vw, 300px); width: auto; }
.cta__cans img:first-child { transform: rotate(-6deg) translateX(5%); }
.cta__cans img:last-child { transform: rotate(6deg) translateX(-5%); }
.cta .lead { margin-inline: auto; max-width: 30em; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  margin-top: 40px;
}

/* ---------- rodapé ---------- */
.footer {
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.55;
  padding: 44px 0 30px;
}
.footer__top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 40px; width: auto; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}
.footer__cols h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.footer__cols li + li { margin-top: 6px; }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer__domain { margin-left: auto; }

/* ---------- aviso (toast) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  width: max-content;
  max-width: min(calc(100vw - 32px), 460px);
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(29, 29, 31, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- animações de entrada ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out) var(--delay, 0ms), transform 1s var(--ease-out) var(--delay, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / -1; grid-row: auto; }
  .journey, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { row-gap: 32px; }
  .b2b__card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .product__media { height: 300px; }
  .bento { grid-template-columns: 1fr; }
  .tile--feature { grid-template-columns: 1fr; padding-bottom: 0; }
  .tile--feature .tile__copy { padding-bottom: 0; }
  .tile__media img { width: min(78%, 320px); }
  .tile--wide { flex-direction: column; align-items: flex-start; }
  .brew__panel { grid-template-columns: 1fr; }
  .segmented-wrap { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .segmented-wrap::-webkit-scrollbar { display: none; }
  .segmented { overflow: visible; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__domain { margin-left: 0; }
  .hero__ctas .btn { min-height: 46px; }
}

@media (max-width: 420px) {
  .journey, .stats { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { transform: none; }
  .marquee__track { animation: none; }
}
