/* Penedo: catálogo B2B. HTML, CSS e JS puros. */

:root {
  /* Cores da marca, tiradas do arquivo oficial da logo:
     laranja #a25517 e escuro #230d0e */
  --ink: #a25517;          /* blocos e elementos fortes, no laranja da marca */
  --ink-2: #8d4712;        /* cartão dentro de bloco laranja */
  --ink-3: #7a3c0e;        /* rodapé */
  --terra: #a25517;        /* acento sobre fundo claro */
  --terra-deep: #7e400f;   /* acento pressionado */
  --terra-soft: #ffeedd;   /* acento sobre fundo laranja */
  --clay: #230d0e;
  --sand: #fbf3e9;         /* fundo claro principal */
  --sand-2: #f4e5d4;       /* fundo claro alternado */
  --paper: #fffcf7;        /* cartões */
  --stone: #6f5a4b;
  --line: rgba(35, 13, 14, .14);
  --line-light: rgba(255, 246, 236, .26);
  --text: #2b1410;
  --text-soft: rgba(43, 20, 16, .74);
  --on-dark: #fff6ec;      /* texto sobre laranja */
  --on-dark-soft: rgba(255, 246, 236, .84);
  --escuro: #230d0e;       /* escuro oficial, só em texto e véu de foto */
  --wa: #1fae57;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
  --nav-h: 84px;
  --radius: 8px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --nav-h: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--terra); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* Grão de papel + pó, camada fixa de ambiente */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .06  0 0 0 0 .04  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 55; }
.ambient__dust { width: 100%; height: 100%; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra-deep);
  font-weight: 500;
}
.eyebrow--light { color: var(--terra-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px;
  padding: 0 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--terra); color: var(--on-dark); box-shadow: 0 10px 26px -12px rgba(162, 85, 23, .6); }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(241, 232, 218, .5); color: var(--on-dark); background: rgba(28, 14, 11, .2); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(241, 232, 218, .1); }
.btn--wa { background: var(--wa); color: var(--paper); }
.btn--wa:hover { background: #178f47; transform: translateY(-2px); }
.btn[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
.badge {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  transition: transform .4s var(--ease-out);
}
.badge.is-bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 70;
  height: var(--nav-h);
  color: var(--on-dark);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -30px;
  background: linear-gradient(180deg, rgba(28, 14, 11, .55), rgba(28, 14, 11, 0));
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.nav.is-solid { background: rgba(162, 85, 23, .97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.nav.is-solid::before { opacity: 0; }
.nav__inner { position: relative; height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 66px; width: auto; }
@media (min-width: 720px) { .nav__logo img { height: 86px; } }
.nav__links { display: none; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--on-dark-soft); position: relative; transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--on-dark); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__quote {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(241, 232, 218, .35);
  background: rgba(35, 13, 14, .18);
  color: var(--on-dark);
  font-weight: 600;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav__quote:hover { border-color: var(--terra); background: rgba(192, 88, 31, .15); }
.nav__quote svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav__quote-label { display: none; }
.nav__menu { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 6px; padding: 0; }
.nav__menu span { display: block; width: 24px; height: 2px; background: var(--on-dark); transition: transform .35s var(--ease); }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); padding: 8px var(--gutter) 20px; display: grid; }
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 14px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; }
/* Menu Produtos */
.navdrop { position: relative; display: flex; align-items: center; }
.navdrop__btn { display: inline-flex; align-items: center; line-height: 1; gap: 6px; background: none; border: 0; padding: 0; color: var(--on-dark-soft); font-weight: 500; font-size: .98rem; font-family: inherit; transition: color .3s var(--ease); }
.navdrop__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .35s var(--ease); }
.navdrop__btn:hover, .navdrop.is-open .navdrop__btn { color: var(--on-dark); }
.navdrop.is-open .navdrop__btn svg { transform: rotate(180deg); }
.navdrop__panel {
  position: absolute; top: calc(100% + 14px); left: -24px;
  width: 560px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  box-shadow: 0 30px 70px -20px rgba(35, 13, 14, .45);
  animation: drop-in .35s var(--ease-out);
}
.navdrop__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.navdrop__panel[hidden] { display: none; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.navdrop__title { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); margin: 0 0 10px 8px; }
.navdrop__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.navdrop__list button {
  width: 100%;
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--on-dark); text-align: left;
  transition: background-color .3s var(--ease);
}
.navdrop__list button:hover { background: rgba(255, 246, 236, .14); }
.navdrop__list img { width: 40px; height: 52px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.navdrop__list b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; line-height: 1.05; }
.navdrop__list small { display: block; font-size: .8rem; color: var(--on-dark-soft); line-height: 1.3; margin-top: 2px; }
.navdrop__all { display: block; width: 100%; margin-top: 10px; padding: 12px 8px 4px; border: 0; border-top: 1px solid var(--line-light); background: none; color: var(--terra-soft); text-align: left; font-weight: 600; }
.navdrop__all:hover { color: var(--on-dark); }
.mnav-prod { border-bottom: 1px solid var(--line-light); }
.mnav-prod summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; }
.mnav-prod summary::-webkit-details-marker { display: none; }
.mnav-prod summary::after { content: "+"; font-family: var(--f-body); font-weight: 400; color: var(--terra-soft); transition: transform .3s var(--ease); }
.mnav-prod[open] summary::after { transform: rotate(45deg); }
.mnav-prod .navdrop__list { grid-template-columns: 1fr; padding-bottom: 4px; }
.mnav-prod .navdrop__list button { padding: 8px 0; }
.mnav-prod .navdrop__all { margin: 4px 0 10px; padding: 10px 0 4px; }
.nav__mobile { max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
@media (min-width: 560px) { .nav__quote-label { display: inline; } }
@media (min-width: 1020px) {
  .nav__links { display: flex; }
  .nav__quote { margin-left: 8px; }
  .nav__menu, .nav__mobile { display: none !important; }
}

/* ---------- HERO ---------- */
.hero { position: relative; height: 360vh; background: var(--ink); }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  container-type: size;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; }
.hero__cam {
  --w: max(100cqw, 178.7cqh);
  --h: max(100cqh, 55.96cqw);
  --cx: .5;
  position: absolute;
  width: var(--w); height: var(--h);
  left: calc((100cqw - var(--w)) * var(--cx));
  top: calc((100cqh - var(--h)) * .5);
  transform-origin: 67% 50%;
  will-change: transform;
}
@supports not (width: 1cqw) {
  .hero__cam {
    --w: max(100vw, 178.7vh);
    --h: max(100vh, 55.96vw);
    left: calc((100vw - var(--w)) * var(--cx));
    top: calc((100vh - var(--h)) * .5);
  }
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__sun {
  position: absolute;
  left: 18%; top: 43%;
  width: 70vmax; height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 150, .75) 0%, rgba(255, 158, 80, .32) 16%, rgba(230, 110, 50, .1) 34%, rgba(230, 110, 50, 0) 58%);
  mix-blend-mode: screen;
  opacity: .3;
  will-change: transform, opacity;
  pointer-events: none;
}
.hero__mist {
  position: absolute;
  width: 90vmax; height: 16vmax;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(250, 226, 196, .55) 0%, rgba(250, 226, 196, .18) 45%, rgba(250, 226, 196, 0) 70%);
  filter: blur(14px);
  mix-blend-mode: screen;
  opacity: .35;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero__mist--a { left: -10%; top: 46%; animation: drift-a 38s ease-in-out infinite alternate; }
.hero__mist--b { left: 30%; top: 55%; width: 70vmax; height: 12vmax; animation: drift-b 46s ease-in-out infinite alternate; }
@keyframes drift-a { from { translate: -4vw 0; } to { translate: 6vw -1vh; } }
@keyframes drift-b { from { translate: 5vw 0; } to { translate: -6vw .8vh; } }
/* Logo grande no topo. Na primeira rolagem ela encolhe e vai
   assumir o lugar da logo pequena da barra, que entra no lugar dela. */
.hero__logo { position: absolute; inset: 0 0 auto; z-index: 4; pointer-events: none; }
/* o 9px é o mesmo recuo da logo pequena na barra: assim, no fim do encolhimento,
   uma cai exatamente em cima da outra e a troca não aparece */
.hero__logo-box { max-width: 1240px; margin: 0 auto; padding: 9px var(--gutter) 0; }
.hero__logo img {
  display: block;
  width: auto;
  height: 240px; /* o javascript acerta para a logo encostar no texto */
  max-width: 44vw;
  transform-origin: left top;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 20px rgba(28, 14, 11, .5));
}
/* a logo grande só existe quando há a jornada de rolagem para encolher ela;
   sem isso (tela estreita, movimento reduzido, sem javascript) fica só a da barra */
.hero__logo { display: none; }
.hero[data-mode="cinematic"] .hero__logo { display: block; }
.hero__grade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(224, 120, 50, .5) 0%, rgba(160, 60, 25, .35) 55%, rgba(80, 25, 15, .4) 100%);
  mix-blend-mode: soft-light;
  opacity: 0;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 14, 11, .86) 0%, rgba(28, 14, 11, .66) 26%, rgba(28, 14, 11, .18) 44%, rgba(28, 14, 11, 0) 56%),
    linear-gradient(0deg, rgba(28, 14, 11, .9) 0%, rgba(28, 14, 11, 0) 26%);
  opacity: .92;
}
.hero__copy {
  position: absolute; inset: 0;
  max-width: 1240px; margin: 0 auto;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 90px;
  display: grid;
  align-items: center;
  color: var(--on-dark);
  pointer-events: none;
}
.hero__copy > * { grid-area: 1 / 1; }
.beat, .settle { max-width: 40rem; text-shadow: 0 2px 28px rgba(28, 14, 11, .45); }
.beat { opacity: 0; will-change: opacity, transform; }
.beat .eyebrow { margin-bottom: 18px; }
.beat__title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.beat__line { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 500; color: var(--on-dark-soft); max-width: 30rem; text-wrap: pretty; }
.settle { opacity: 0; pointer-events: none; }
.settle.is-live { pointer-events: auto; }
.settle .eyebrow { margin-bottom: 16px; }
.settle__title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  line-height: .92;
  text-wrap: balance;
}
.settle__line { font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 500; color: var(--on-dark-soft); max-width: 32rem; }
.settle__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero__hint i { display: block; width: 1.5px; height: 42px; background: linear-gradient(var(--on-dark), transparent); transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(241, 232, 218, .08); }
.hero__progress i { display: block; height: 100%; width: 100%; background: var(--terra); transform-origin: left; transform: scaleX(0); }

/* Hero estático (celular, movimento reduzido, economia de dados) */
.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; height: 100svh; min-height: 600px; max-height: 1000px; }
.hero.is-static .hero__cam { --cx: .72; transform: scale(1.04); animation: settle-zoom 2.4s var(--ease-out) both; }
.hero.is-static .hero__sun { opacity: .55; }
.hero.is-static .hero__grade { opacity: .25; }
.hero.is-static .beat, .hero.is-static .hero__hint, .hero.is-static .hero__progress { display: none; }
.hero.is-static .settle { opacity: 1; pointer-events: auto; }
.hero.is-static .hero.is-static .hero__copy { align-items: end; padding-bottom: 56px; }
.hero.is-static .hero__scrim {
  opacity: 1;
  background:
    linear-gradient(0deg, rgba(28, 14, 11, .97) 0%, rgba(28, 14, 11, .84) 32%, rgba(28, 14, 11, .3) 56%, rgba(28, 14, 11, 0) 76%);
}
@media (min-width: 900px) {
  .hero.is-static .hero__scrim {
    background:
      linear-gradient(90deg, rgba(28, 14, 11, .85) 0%, rgba(28, 14, 11, .55) 34%, rgba(28, 14, 11, 0) 64%),
      linear-gradient(0deg, rgba(28, 14, 11, .9) 0%, rgba(28, 14, 11, 0) 30%);
  }
  .hero.is-static .hero__cam { --cx: .5; }
  .hero.is-static .hero__copy { align-items: center; padding-bottom: 90px; }
}
@media (max-width: 599px) {
    .settle__ctas .btn { flex: 1 1 100%; }
}
@keyframes settle-zoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .hero.is-static .hero__cam { animation: none; }
  .hero__mist { animation: none; }
}

/* ---------- Números ---------- */
.stats { background: var(--ink); color: var(--on-dark); padding: 10px 0 64px; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 30px 14px 6px 0; border-bottom: 1px solid var(--line-light); }
.stat:nth-child(odd) { padding-right: 18px; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--on-dark); }
.stat__num span { font-variant-numeric: tabular-nums; }
.stat__num--word { color: var(--terra-soft); }
.stat__label { margin: 8px 0 22px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-soft); max-width: 16rem; }
.stat__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em; font-size: clamp(2.2rem, 4vw, 3.6rem); }
@media (min-width: 880px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .stat { border-bottom: 0; border-left: 1px solid var(--line-light); padding: 34px 24px 0; }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--sand { background: var(--sand); }
.section--sand2 { background: var(--sand-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head .eyebrow { margin-bottom: 14px; }
.head__title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: .93;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.head__lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--text-soft); max-width: 40rem; text-wrap: pretty; }
.head__sub { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; text-transform: uppercase; color: var(--terra-deep); }
.head--light .head__sub { color: var(--terra-soft); }
.head--light .head__lead { color: var(--on-dark-soft); }

/* Revelação no scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity .4s linear; }
}

/* Ranhuras de desempenadeira */
.comb { background: var(--sand); padding: 0 var(--gutter); }
.comb svg { width: 100%; max-width: 1240px; height: 44px; margin: 0 auto; }
.comb path { fill: none; stroke: rgba(138, 124, 112, .45); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.js .comb path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease); }
.js .comb path:nth-child(2) { transition-delay: .12s; }
.js .comb path:nth-child(3) { transition-delay: .24s; }
.js .comb path:nth-child(4) { transition-delay: .36s; }
.js .comb.is-in path { stroke-dashoffset: 0; }

/* ---------- Catálogo ---------- */
.section--catalog { padding-top: clamp(2.5rem, 5vw, 4rem); }
.toolbar {
  position: sticky; top: var(--nav-h); z-index: 20;
  display: grid; gap: 12px;
  padding: 14px 0;
  margin: 0 calc(var(--gutter) * -1) 8px;
  padding-left: var(--gutter); padding-right: var(--gutter);
  background: rgba(251, 243, 233, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.toolbar.is-stuck { border-bottom-color: var(--line); }
@media (min-width: 1000px) { .toolbar { grid-template-columns: 1fr 320px; align-items: center; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600; font-size: .93rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip small { font-family: var(--f-mono); font-size: .72rem; color: var(--stone); }
.chip:hover { border-color: var(--terra); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: var(--terra-soft); }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--stone); stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; height: 44px;
  padding: 0 14px 0 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.search input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(162, 85, 23, .2); }
.result-count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin: 8px 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 238px), 1fr)); gap: 16px; }
@media (max-width: 519px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s var(--ease);
  animation: card-in .6s var(--ease-out) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -26px rgba(35, 13, 14, .28); border-color: rgba(162, 85, 23, .45); }
.card__media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border: 0;
  background: radial-gradient(ellipse at 50% 78%, rgba(162, 85, 23, .14), rgba(162, 85, 23, 0) 62%), linear-gradient(180deg, #f6e7d6, #fffbf5);
}
.card__media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; filter: drop-shadow(0 16px 16px rgba(28, 14, 11, .25)); transition: transform .6s var(--ease-out); }
.card:hover .card__media img { transform: translateY(-6px) rotate(-1.5deg); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.card__name { font-family: var(--f-display); font-weight: 700; font-size: 1.38rem; line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; }
.card__pack { margin-top: 6px; font-family: var(--f-mono); font-size: .72rem; color: var(--stone); letter-spacing: .03em; }
.card__resume { margin-top: 8px; font-size: .93rem; color: var(--text-soft); line-height: 1.42; flex: 1; }
.card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.card__actions button { flex: 1; height: 40px; border-radius: 6px; font-weight: 600; font-size: .9rem; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-sheet { border: 1px solid var(--line); background: transparent; }
.btn-sheet:hover { border-color: var(--ink); }
.btn-add { border: 1px solid var(--terra); background: var(--terra); color: var(--paper); }
.btn-add:hover { background: var(--terra-deep); border-color: var(--terra-deep); }
.btn-add.is-added { background: var(--ink); border-color: var(--ink); }
@media (max-width: 519px) {
  .card__media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .card__body { padding: 10px 10px 12px; }
  .card__name { font-size: 1.12rem; }
  .card__resume { display: none; }
  .card__actions { flex-direction: column; gap: 6px; }
  .card__actions button { height: 36px; font-size: .84rem; }
}
.empty { padding: 40px 0; font-size: 1.1rem; color: var(--text-soft); }

/* ---------- A empresa ---------- */
.empresa { display: grid; gap: 16px; }
@media (min-width: 940px) { .empresa { grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; } }
.empresa__historia {
  display: grid; gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(162, 85, 23, .08), rgba(162, 85, 23, 0) 55%), var(--paper);
  color: var(--text-soft);
}
.empresa__historia p + p { margin-top: 0; }
.empresa__pilares { display: grid; gap: 12px; align-content: start; }
.pilar { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); color: var(--text-soft); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.pilar:hover { border-color: rgba(162, 85, 23, .5); box-shadow: 0 18px 34px -26px rgba(35, 13, 14, .4); }
.pilar__tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.empresa__historia .pilar__tag { margin-bottom: 2px; }
.empresa__ambiente { margin-top: 16px; padding: 22px clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px dashed rgba(162, 85, 23, .4); color: var(--text-soft); }
.empresa__ambiente p + p { margin-top: 8px; }

/* ---------- Calculadora ---------- */
.calc__box { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--paper); padding: clamp(18px, 3vw, 32px); display: grid; gap: 22px; box-shadow: 0 30px 60px -40px rgba(28, 14, 11, .45); }
@media (min-width: 900px) { .calc__box { grid-template-columns: 1fr 1.1fr; column-gap: 40px; } .calc__disclaimer { grid-column: 1 / -1; } }
.calc__inputs { display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.field__label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--sand);
  font-size: 1.05rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a7c70' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(162, 85, 23, .2); }
.field__unit { position: relative; display: block; }
.field__unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--f-mono); font-size: .85rem; color: var(--stone); pointer-events: none; }
.field__unit input { padding-right: 48px; font-variant-numeric: tabular-nums; }
.calc__out { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: var(--radius); background: radial-gradient(ellipse at 20% 80%, rgba(162, 85, 23, .12), rgba(162, 85, 23, 0) 60%), var(--sand); }
.calc__img { width: clamp(90px, 14vw, 150px); height: auto; filter: drop-shadow(0 16px 16px rgba(28, 14, 11, .25)); transition: opacity .3s var(--ease), transform .5s var(--ease-out); }
.calc__img.is-swap { opacity: 0; transform: translateY(8px); }
.calc__big { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.calc__big #calc-sug { font-variant-numeric: tabular-nums; }
.calc__big #calc-unit { font-size: .5em; color: var(--text-soft); letter-spacing: .02em; }
.calc__range { margin-top: 8px; font-family: var(--f-mono); font-size: .82rem; color: var(--text-soft); }
.calc__note { margin: 6px 0 16px; font-size: .92rem; color: var(--text-soft); }
.calc__disclaimer { font-size: .85rem; color: var(--stone); }
@media (max-width: 519px) { .calc__out { grid-template-columns: 1fr; text-align: left; } .calc__img { width: 96px; } }

/* ---------- Para lojistas ---------- */
.why { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .why { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.reasons { display: grid; gap: 14px; }
@media (min-width: 640px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons li { padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255, 246, 236, .08); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.reasons li:hover { border-color: rgba(255, 246, 236, .55); background: rgba(255, 246, 236, .14); }
.reasons__n { font-family: var(--f-mono); font-size: .8rem; color: var(--terra-soft); }
.reasons h3 { margin: 8px 0 8px; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.reasons p { color: var(--on-dark-soft); font-size: .98rem; }
.why__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.why__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.why__img.is-in img { transform: scale(1); }
.why__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 14, 11, .35), rgba(28, 14, 11, 0) 40%); }

/* ---------- Como comprar ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 24px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.step__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.step__icon path { fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.js .step__icon path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.js .step.is-in .step__icon path { stroke-dashoffset: 0; }
.step__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.step h3 { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.step p { color: var(--text-soft); }
@media (min-width: 820px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -14px; width: 14px; height: 1.5px; background: var(--terra); }
}

/* ---------- Perguntas ---------- */
.faq-wrap { display: grid; gap: 10px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .3s var(--ease); }
.faq details[open] { border-color: rgba(192, 88, 31, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--terra), var(--terra)) center / 100% 2px no-repeat, linear-gradient(var(--terra), var(--terra)) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-soft); max-width: 44rem; }

/* ---------- Contato ---------- */
.section--contact { background: radial-gradient(ellipse at 90% 0%, rgba(162, 85, 23, .12), rgba(162, 85, 23, 0) 45%), var(--sand-2); }
.depts { display: grid; gap: 16px; }
@media (min-width: 820px) { .depts { grid-template-columns: 1fr 1fr; } .depts--uma { grid-template-columns: minmax(0, 720px); } }
.dept { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(31, 174, 87, .09), rgba(31, 174, 87, 0) 55%), var(--paper); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.dept:hover { border-color: rgba(31, 174, 87, .5); box-shadow: 0 18px 34px -26px rgba(35, 13, 14, .4); }
.dept__tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.dept__title { margin: 8px 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.dept__text { color: var(--text-soft); max-width: 34rem; }
.dept__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; padding-top: 20px; }
.dept__phone { display: grid; text-decoration: none; color: var(--text); font-size: .98rem; }
.dept__phone span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.dept__phone:hover { color: var(--terra); }
.contact__sub { margin: clamp(3rem, 6vw, 4.5rem) 0 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__subtitle { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.contact { display: grid; gap: 28px; }
@media (min-width: 980px) { .contact { grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; } }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field--dark .field__label { color: var(--on-dark-soft); }
.field--dark input, .field--dark select, .field--dark textarea { background: rgba(241, 232, 218, .06); border-color: rgba(241, 232, 218, .2); color: var(--on-dark); }
.field--dark input::placeholder, .field--dark textarea::placeholder { color: rgba(241, 232, 218, .38); }
.field--dark select option { color: var(--ink); background: var(--sand); }
.field--dark .is-invalid, .field--dark input:user-invalid, .field--dark select:user-invalid { border-color: #e0714b; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__micro { font-size: .88rem; color: var(--text-soft); }
.form__done { padding: 14px 16px; border-radius: var(--radius); background: rgba(31, 174, 87, .1); border: 1px solid rgba(31, 174, 87, .45); color: var(--text); }
.form__done[hidden] { display: none; }
.summary { display: grid; gap: 16px; }
@media (max-width: 979px) {
  .summary { display: contents; }
  .summary__box { order: -1; }
  .direct { order: 2; }
}
.summary__box { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.summary__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 12px; }
.summary__list { display: grid; gap: 8px; margin-bottom: 12px; max-height: 280px; overflow-y: auto; }
.summary__list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; font-size: .93rem; }
.summary__list img { width: 40px; height: 40px; object-fit: contain; }
.summary__list small { display: block; font-family: var(--f-mono); font-size: .7rem; color: var(--stone); }
.summary__list b { font-family: var(--f-mono); font-weight: 500; color: var(--terra); }
.summary__empty { color: var(--text-soft); font-size: .95rem; margin-bottom: 10px; }
.summary__empty[hidden] { display: none; }
.summary .link-btn { color: var(--text); }
.direct { display: grid; gap: 2px; padding: 8px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.direct__title { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); padding: 12px 0 6px; }
.direct__item { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); transition: color .3s var(--ease); overflow-wrap: anywhere; }
.direct__item[hidden] { display: none; }
.direct__item span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.direct__item b { font-weight: 400; }
.direct__item:hover { color: var(--terra); }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink-3); color: var(--on-dark-soft); padding: 64px 0 28px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand img { width: 150px; height: auto; margin-bottom: 14px; }
.footer__brand p { max-width: 22rem; font-size: .95rem; }
.footer__title { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); margin-bottom: 12px; }
/* Horário de atendimento e selo do Inmetro */
.dept__horario { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--text); }
.dept__horario span { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.footer__horario { color: var(--on-dark-soft); line-height: 1.45; }
.footer__selo {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 14px; font-size: .92rem; color: var(--on-dark);
}
.footer__selo svg {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.footer__list { display: grid; gap: 8px; font-size: .95rem; }
.footer__list a, .footer__list button { text-decoration: none; background: none; border: 0; padding: 0; text-align: left; color: var(--on-dark-soft); transition: color .3s var(--ease); overflow-wrap: anywhere; }
.footer__list a:hover, .footer__list button:hover { color: var(--on-dark); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: .82rem; }

/* ---------- Flutuantes ---------- */
.floaters { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 65; display: grid; gap: 10px; justify-items: end; }
.floater { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; box-shadow: 0 14px 30px -10px rgba(28, 14, 11, .55); transition: transform .45s var(--ease-out), opacity .45s var(--ease), visibility .45s; }
.floater svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.floater--wa { background: var(--wa); color: var(--paper); }
.floater--wa[hidden] { display: none; }
.floater--quote { background: var(--ink); color: var(--on-dark); border: 1px solid rgba(241, 232, 218, .2); }
.floater--quote .badge { position: absolute; top: -4px; right: -4px; }
.floater:hover { transform: translateY(-3px) scale(1.04); }
.floaters.is-hidden .floater--quote { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* ---------- Ficha (dialog) ---------- */
dialog { padding: 0; border: 0; color: var(--text); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(35, 13, 14, .6); backdrop-filter: blur(3px); }
.sheet {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(35, 13, 14, .8);
}
.sheet[open] { animation: sheet-in .5s var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in .4s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet__inner { display: grid; grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 860px) { .sheet__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; } }
.sheet__media { position: relative; display: grid; place-items: center; padding: 40px 28px 24px; background: radial-gradient(ellipse at 50% 80%, rgba(162, 85, 23, .18), rgba(162, 85, 23, 0) 62%), linear-gradient(180deg, #f6e7d6, #fffbf5); }
.sheet__media img { max-height: 46vh; width: auto; filter: drop-shadow(0 24px 22px rgba(28, 14, 11, .3)); animation: float-in .8s var(--ease-out) both .1s; }
.sheet__media img.is-swap { opacity: 0; transform: translateY(8px); }
.sheet__media img { transition: opacity .16s var(--ease), transform .16s var(--ease); }
@keyframes float-in { from { opacity: 0; transform: translateY(20px) rotate(-2deg); } to { opacity: 1; transform: none; } }
@media (min-width: 860px) { .sheet__media img { max-height: 64vh; } }
.sheet__content { padding: 28px clamp(20px, 3vw, 36px) 24px; }
@media (min-width: 860px) { .sheet__content { overflow-y: auto; max-height: calc(100dvh - 48px); overscroll-behavior: contain; } }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(248, 242, 232, .9); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet__tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); }
.sheet__title { margin: 8px 0 12px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: .95; text-transform: uppercase; padding-right: 40px; }
.sheet__packs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pill { font-family: var(--f-mono); font-size: .74rem; padding: 5px 10px; border-radius: 14px; background: var(--sand-2); color: var(--text); }
.spec { padding: 14px 0; border-top: 1px solid var(--line); }
.spec h3 { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.spec p { font-size: 1rem; line-height: 1.55; }
.spec ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.spec li { position: relative; padding-left: 16px; font-size: .98rem; }
.spec li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--terra); transform: rotate(45deg); }
.addbox__full { grid-column: 1 / -1; }
.addbox.is-flash { animation: flash .7s var(--ease); }
@keyframes flash { 0% { background: var(--sand); } 30% { background: #f2d9c2; } 100% { background: var(--sand); } }
/* Cartela de cores na ficha do produto */
.colors { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.colors li { padding-left: 0; }
.colors li::before { content: none; }
.color {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line); border-radius: 22px;
  background: var(--paper); color: var(--text);
  font-family: inherit; font-size: .9rem; line-height: 1.2;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.color:hover { border-color: var(--terra); }
.color__dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(28, 14, 11, .22);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .5), inset 0 -1px 3px rgba(28, 14, 11, .12);
  flex: none;
}
.color[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.color[aria-pressed=true] .color__dot { border-color: rgba(255, 255, 255, .6); }
.colors__note { margin-top: 12px; font-size: .86rem !important; color: var(--text-soft); }

.spec--note { background: rgba(192, 88, 31, .08); border: 0; border-radius: var(--radius); padding: 12px 14px; margin: 6px 0 14px; }
.spec--note p { font-size: .95rem; }
.addbox { position: sticky; bottom: 0; margin: 8px calc(clamp(20px, 3vw, 36px) * -1) -24px; padding: 16px clamp(20px, 3vw, 36px) 20px; background: var(--sand); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.addbox__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.addbox .field input, .addbox .field select { background: var(--paper); min-height: 46px; }
.addbox__go { display: flex; gap: 10px; align-items: end; }
.addbox__go .btn { flex: 1; min-width: 0; padding: 0 1em; white-space: normal; line-height: 1.1; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); height: 50px; }
.stepper button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--text); }
.stepper button:hover { color: var(--terra); }
.stepper input { width: 52px; height: 100%; border: 0; background: none; text-align: center; font-family: var(--f-mono); font-size: 1rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm { height: 36px; }
.stepper--sm button { width: 32px; font-size: 1.1rem; }
.stepper--sm input { width: 40px; font-size: .9rem; }
@media (max-width: 859px) {
  .sheet { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .sheet__inner { max-height: 94dvh; }
  .sheet__media { padding: 28px 20px 12px; }
  .sheet__media img { max-height: 30vh; }
  .sheet[open] { animation: sheet-up .5s var(--ease-out); }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Gaveta da cotação ---------- */
.drawer {
  margin: 0 0 0 auto;
  height: 100dvh; max-height: 100dvh;
  width: min(440px, 100%);
  background: var(--paper);
  box-shadow: -30px 0 80px -30px rgba(35, 13, 14, .6);
}
.drawer[open] { animation: drawer-in .5s var(--ease-out); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.drawer__list { overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.drawer__list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: card-in .45s var(--ease-out) both; }
.drawer__list img { width: 56px; height: 56px; object-fit: contain; }
.drawer__list .it-name { font-weight: 600; line-height: 1.2; }
.drawer__list .it-opt { font-family: var(--f-mono); font-size: .72rem; color: var(--stone); margin-top: 3px; }
.drawer__list .it-ctl { display: grid; justify-items: end; gap: 6px; }
.drawer__list .it-rm { background: none; border: 0; padding: 0; font-size: .8rem; color: var(--stone); text-decoration: underline; }
.drawer__empty { padding: 28px 20px; color: var(--text-soft); align-self: start; }
.drawer__empty[hidden], .drawer__list:empty { display: none; }
.drawer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--sand); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 120px);
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-size: .95rem;
  box-shadow: 0 16px 40px -14px rgba(35, 13, 14, .7);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), transform .5s var(--ease-out), visibility .4s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast b { color: var(--terra-soft); font-weight: 600; }
