/* Case See — identidade da loja.
   Um acento laranja sobre neutro quente; verde-azulado reservado
   exclusivamente para a linha inclusiva. Fraunces (display, variavel) traz
   o toque editorial/boutique; Work Sans (texto) mantem a leitura limpa. */

@font-face {
  font-family: "Fraunces Var";
  src: url("../fonts/fraunces-variable.069cb90e11a3.woff2") format("woff2-variations"),
       url("../fonts/fraunces-variable.069cb90e11a3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans Var";
  src: url("../fonts/worksans-variable.97b33529e13b.woff2") format("woff2-variations"),
       url("../fonts/worksans-variable.97b33529e13b.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta alinhada ao case-see.css (loja publica) — Painel usa os mesmos tokens de cor/fonte. */
  --ground: #F1F3F6;
  --paper: #ffffff;
  --surface: #F1F3F6;
  --surface-2: #E3E6EB;
  --line: #E3E6EB;
  --line-soft: #E3E6EB;
  --ink: #101319;
  /* Tres niveis reais de tinta. Antes --ink-3 era identico a --ink-2, entao
     rotulo, ajuda e cabecalho de tabela saiam todos no mesmo peso otico.
     Contraste sobre --paper: ink 16:1, ink-2 7.2:1, ink-3 4.6:1 (AA). */
  --ink-2: #4E5666;
  --ink-3: #666D7B;
  /* Tons escuros para texto sobre os fundos *-soft (badges, alertas):
     as cores cheias reprovavam AA em texto pequeno. */
  --warn-ink: #7A5300;
  --good-ink: #0A6244;
  --accent-ink-soft: #9E3610;
  --accent: #F05A22;
  --accent-deep: #D94D18;
  --accent-soft: #fbe6dc;
  --accent-ink: #ffffff;
  --incl: #6E56CF;
  --incl-soft: #ece7fb;
  --good: #0E8A5F;
  --good-soft: #dff3ec;
  --warn: #B07800;
  --warn-soft: #f8ecd9;
  --crit: #a32b22;
  --shadow-s: 0 1px 2px rgba(16, 19, 25, .04);
  --shadow-m: 0 1px 2px rgba(16, 19, 25, .04), 0 10px 30px rgba(16, 19, 25, .07);
  --shadow-l: 0 24px 60px rgba(16, 19, 25, .16);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 20px;
  /* Escala tipografica: o painel tinha 18 tamanhos distintos, 11 deles
     espremidos entre .62 e .88rem — diferencas invisiveis que so
     desalinhavam. Seis passos cobrem tudo. */
  --fs-2xs: .6875rem;  /* 11px — eyebrow, badge, tag */
  --fs-xs: .75rem;     /* 12px — hint, cabecalho de tabela, meta */
  --fs-sm: .8125rem;   /* 13px — celula de tabela, chip, botao pequeno */
  --fs-md: .875rem;    /* 14px — corpo: nav, links, campos, rotulos */
  --fs-lg: 1rem;       /* 16px — titulo de card */
  --fs-xl: 1.5rem;     /* 24px — titulo de pagina */
  --fs-2xl: 1.75rem;   /* 28px — numero de KPI */
  /* Espacamento base 4pt: antes eram 24 paddings e 12 gaps sem sistema
     (9px, 11px, 13px, 15px, 26px...). */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
  --t: .16s var(--ease);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* segunda cor de marca — linha inclusiva e PIX, terracota fica reservado para CTA primario */
  --accent-2: #6E56CF;
  --accent-2-deep: #5B45B0;
  --accent-2-soft: #ece7fb;

  /* escala fluida de tipografia editorial */
  --step--1: clamp(.8rem, .77rem + .15vw, .9rem);
  --step-0: clamp(.95rem, .92rem + .15vw, 1rem);
  --step-1: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.4rem + 2vw, 2.4rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.2rem);
  --step-5: clamp(2.75rem, 1.7rem + 4.5vw, 4.5rem);

  /* ritmo de espacamento 4/8px */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 56px;
  --space-9: 72px; --space-10: 96px; --space-11: 112px; --space-12: 128px;

  --container-narrow: 720px;
  --container-wide: 1440px;

  --shadow-sticky: 0 -4px 20px rgba(23, 18, 16, .12);
  --z-header: 40; --z-sticky-atc: 45; --z-toast: 1000; --z-modal: 60;
}

* { box-sizing: border-box; }

.sr-only-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.sr-only-focusable:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, .9rem + 1.5vw, 1.9rem); }

p { margin: 0; line-height: 1.62; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; width: 100%; }
.scroll-x {
  overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.scroll-x::-webkit-scrollbar-track { background: transparent; }
.eyebrow { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
main { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* barra de anuncio */
.announce { background: var(--ink); color: var(--ground); }
.announce-inner {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  padding: 8px 0; font-size: .72rem; font-weight: 650; letter-spacing: .03em;
}
.announce-inner span { white-space: nowrap; opacity: .92; }

/* off-canvas mobile nav */
.nav-toggle {
  display: none; border: 0; background: none; color: var(--ink); padding: 6px; margin-right: 4px;
}
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(23, 18, 16, .45); z-index: var(--z-header);
}
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 320px); background: var(--paper);
  z-index: calc(var(--z-header) + 1); transform: translateX(-100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column; gap: 2px; padding: 84px 20px 24px; overflow-y: auto;
  box-shadow: var(--shadow-l);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav .navlink { padding: 13px 10px; border-bottom: 1px solid var(--line-soft); }

/* cabecalho */
.storebar {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: var(--z-header);
  box-shadow: 0 1px 3px rgba(23, 18, 16, .08);
  transition: box-shadow .2s var(--ease);
}
.storebar.is-scrolled { box-shadow: var(--shadow-m); }
.sb-top { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; transition: transform .2s var(--ease); }
.logo:hover { transform: translateY(-1px); }
.logo .mk {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none;
  box-shadow: 0 2px 8px rgba(23, 18, 16, .12);
  border: 1px solid var(--line-soft);
}
.logo b { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.045em; display: block; }
.logo small { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.logo-stacked { flex-direction: column; align-items: center; gap: 2px; }
.logo-icon-only .mk { width: 84px; height: 84px; border-radius: 0; border: none; box-shadow: none; object-fit: contain; }
.logo-stacked b { font-size: 1.1rem; }
.logo-stacked span { text-align: center; }
.searchbox {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 20px;
  transition: all .2s var(--ease);
}
.searchbox:focus-within { border-color: var(--accent); box-shadow: 0 2px 8px rgba(217, 83, 30, .12); }
.pfilter-search { max-width: 280px; flex: 1; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; outline: none; }
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox button { border: 0; background: none; color: var(--ink-3); display: grid; place-items: center; padding: 0; transition: color .2s var(--ease); }
.searchbox button:hover { color: var(--accent); }
.buy-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(217, 83, 30, .2);
  transition: all .2s var(--ease);
}
.buy-btn:hover { background: var(--accent-deep); box-shadow: 0 6px 16px rgba(166, 58, 17, .3); transform: translateY(-2px); }
.buy-btn .pill { background: rgba(0, 0, 0, .15); border-radius: 999px; padding: 2px 8px; font-size: .75rem; font-weight: 800; }
.navbar-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.navbar-row-utility { padding: 9px 0; }
.breadcrumb-home {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 650;
  color: var(--ink-3); transition: color .2s var(--ease);
}
.breadcrumb-home:hover { color: var(--accent); }
.breadcrumb-home-badge {
  color: var(--accent-2); background: var(--accent-2-soft); border-radius: 999px;
  padding: 6px 12px 6px 10px; font-weight: 700;
}
.breadcrumb-home-badge:hover { color: var(--accent-2); background: var(--surface-2); }
.navrow-fade { position: relative; min-width: 0; flex: 0 1 auto; }
.navrow-fade::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 24px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--paper));
}
.navrow {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; min-width: 0;
  cursor: grab; -ms-overflow-style: none;
}
.navrow::-webkit-scrollbar { display: none; }
.navrow:active { cursor: grabbing; }
.navutil { display: flex; gap: 4px; flex: none; padding: 10px 0; margin-left: auto; }
.navutil a { padding: 8px 12px; font-size: .84rem; font-weight: 650; color: var(--ink-3); white-space: nowrap; border-radius: 999px; transition: all .2s var(--ease); }
.navutil a:hover { color: var(--ink); background: var(--surface); }
.navutil a.incl { color: var(--accent-2); }
.navutil a.incl:hover { background: var(--accent-2-soft); }
.navutil a.incl.on { background: var(--accent-2); color: #fff; }
.navlink { padding: 8px 14px; font-size: .84rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; transition: all .2s var(--ease); border-radius: 999px; }
.navlink:hover { color: var(--ink); background: var(--surface); }
.navlink.on { color: var(--ground); background: var(--ink); }
.navdrop { position: relative; }
.navdrop-trigger { display: inline-flex; align-items: center; gap: 4px; }
.navdrop-trigger svg { transition: transform .2s var(--ease); }
.navdrop:hover .navdrop-trigger svg, .navdrop:focus-within .navdrop-trigger svg { transform: rotate(180deg); }
.navdrop-menu {
  position: absolute; top: 100%; left: 0; margin-top: 6px; min-width: 200px; z-index: 40;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m);
  box-shadow: var(--shadow-l); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s var(--ease);
}
.navdrop:hover .navdrop-menu, .navdrop:focus-within .navdrop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.navdrop-menu a { padding: 8px 12px; font-size: .84rem; font-weight: 600; color: var(--ink-2); border-radius: var(--r-s); white-space: nowrap; }
.navdrop-menu a:hover { color: var(--ink); background: var(--surface); }
.navdrop-menu a.on { color: var(--accent); background: var(--accent-soft); }
.navlink.incl { color: var(--accent-2); }
.navlink.incl:hover { background: var(--accent-2-soft); }
.navlink.incl.on { background: var(--accent-2); color: #fff; }
.navlink-more { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); color: var(--ink-3); cursor: pointer; }
.navlink-more:hover { border-color: var(--ink-3); background: var(--surface); }
.navmore { position: relative; flex: none; }
.navmore-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: calc(var(--z-header) + 1);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-l);
  padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 2px;
  max-height: 60vh; overflow-y: auto; width: max-content; max-width: 480px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.navmore-panel::-webkit-scrollbar { width: 6px; }
.navmore-panel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.navmore-panel::-webkit-scrollbar-track { background: transparent; }
.navmore-link { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); font-size: .84rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.navmore-link:hover { background: var(--surface); color: var(--ink); }
.navmore-link.on { background: var(--ink); color: var(--ground); }
.navmore-link .c { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: .78rem; }
.buy-btn .buy-label { display: inline; }

/* botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: var(--r-s); padding: 12px 22px; font-weight: 650; font-size: .9rem;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.btn:hover { border-color: var(--ink); box-shadow: var(--shadow-m); transform: translateY(-2px); }
.btn:active { transform: translateY(0px); box-shadow: var(--shadow-s); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(217, 83, 30, .25); }
.btn.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 8px 24px rgba(166, 58, 17, .35); }
.btn.teal { background: var(--incl-soft); border-color: transparent; color: var(--incl); }
.btn.tealsolid { background: var(--incl); border-color: var(--incl); color: #fff; box-shadow: 0 4px 12px rgba(29, 107, 102, .2); }
.btn.tealsolid:hover { box-shadow: 0 8px 20px rgba(29, 107, 102, .3); }
.btn.wide { width: 100%; }
.btn.wa { background: var(--good); border-color: var(--good); color: #fff; box-shadow: 0 4px 12px rgba(44, 115, 67, .2); }
.btn.wa:hover { box-shadow: 0 8px 20px rgba(44, 115, 67, .3); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 14px 28px; font-size: 1rem; font-weight: 700; }

/* hero */
.hero { padding: 60px 0 48px; }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--good); flex: none; }

/* hero-modern: redesign visual profissional */
.hero-modern { position: relative; padding: 68px 0 52px; overflow: visible; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); pointer-events: none; }
.hero-gradient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, var(--accent-soft) 0%, transparent 40%), radial-gradient(circle at 15% 85%, var(--incl-soft) 0%, transparent 45%); opacity: .6; }
.hero-gradient::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: overlay;
}
.hero-slider { padding-bottom: 40px; }
.hero-slides { position: relative; min-height: 1px; }
.hero-slide { display: none; animation: hero-slide-in .5s var(--ease); }
.hero-slide.is-active { display: block; }

/* composição assimétrica: texto sobrepondo pilha solta de fotos, sem grid uniforme */
.hero-comp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 8px; align-items: center; position: relative; z-index: 1; min-height: 480px; }
.hero-copy { position: relative; z-index: 4; display: flex; flex-direction: column; gap: 22px; max-width: 46ch; }
.hero-photo-stack { position: relative; height: 460px; margin-left: -24px; }
.hero-photo {
  position: absolute; display: block; border-radius: var(--r-l); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-l); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo:hover { transform: scale(1.035) rotate(0deg) !important; box-shadow: 0 24px 48px -12px rgba(23, 18, 16, .3); z-index: 5 !important; }
.hero-photo-1 { width: 60%; height: 82%; top: 4%; left: 4%; z-index: 3; transform: rotate(-3deg); }
.hero-photo-2 { width: 42%; height: 50%; top: -2%; right: 0; z-index: 2; transform: rotate(5deg); }
.hero-photo-3 { width: 34%; height: 38%; bottom: -3%; right: 22%; z-index: 1; transform: rotate(-7deg); }
.hero-empty { position: absolute; inset: 0; border-radius: var(--r-l); background: var(--surface); display: grid; place-items: center; color: var(--accent); }
.hero-empty svg { width: 40%; height: 40%; }
.hero-banner-img-link { display: block; border-radius: var(--r-l); overflow: hidden; }
.hero-banner-img { width: 100%; height: auto; display: block; aspect-ratio: 3/1; object-fit: cover; }
.hero-empty-teal { color: var(--accent-2); }
.hero-empty-green { color: #2c7343; }
.hero-badge-teal { color: var(--accent-2); }
.hero-badge-green { color: #2c7343; }
.pulse-teal { background: var(--accent-2); }
.pulse-green { background: #2c7343; }
.btn-teal { background: var(--accent-2); border-color: var(--accent-2); }
.btn-teal:hover { background: var(--accent-2-deep); border-color: var(--accent-2-deep); }
.btn-green { background: #2c7343; border-color: #2c7343; }
.btn-green:hover { background: #1c522f; border-color: #1c522f; }
@keyframes hero-slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-arrow {
  position: absolute; top: 38%; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-soft); box-shadow: var(--shadow-m);
  display: grid; place-items: center; color: var(--ink); transition: all .2s var(--ease);
}
.hero-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.hero-arrow-prev { left: -4px; }
.hero-arrow-next { right: -4px; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; position: relative; z-index: 1; }
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0;
  transition: all .2s var(--ease); cursor: pointer;
}
.hero-dots button.is-active { background: var(--accent); width: 22px; border-radius: 999px; }
@media (max-width: 780px) {
  .hero-arrow { display: none; }
}
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px; padding: 10px 18px; font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.hero-modern h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 4.8rem); letter-spacing: -.045em; line-height: 1.04; }
.hero-modern h1 em { font-style: normal; color: var(--accent); font-weight: 800; }
.hero-modern > .wrap > .hero-left > p { font-size: 1.05rem; color: var(--ink-2); max-width: 52ch; line-height: 1.6; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(217, 83, 30, .25); transition: all .24s var(--ease); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 8px 24px rgba(166, 58, 17, .35); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ground); }
/* hero trust cards — organizados com cores por tipo */
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; perspective: 1000px; }
.trust-item {
  display: flex; gap: 16px; padding: 24px;
  border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line-soft);
  box-shadow: 0 4px 12px rgba(23, 18, 16, .08);
  transition: all .4s cubic-bezier(.23, 1, .32, 1);
  will-change: transform, box-shadow;
  animation: float-item 4s ease-in-out infinite;
}
@keyframes float-item { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.trust-item-1 { animation-delay: 0s; border-left: 4px solid var(--accent); }
.trust-item-2 { animation-delay: 0.2s; border-left: 4px solid #2c7343; }
.trust-item-3 { animation-delay: 0.4s; border-left: 4px solid var(--accent-2); }
.trust-item:hover { animation: none; transform: translateY(-12px) rotateX(4deg); box-shadow: 0 20px 40px rgba(23, 18, 16, .15); }
.trust-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.trust-item-1 .trust-icon { color: var(--accent); }
.trust-item-2 .trust-icon { color: #2c7343; }
.trust-item-3 .trust-icon { color: var(--accent-2); }
.trust-icon svg { width: 100%; height: 100%; }
.trust-icon-3d {
  width: 52px; height: 52px;
  filter: drop-shadow(0 6px 8px rgba(23, 18, 16, .22));
  transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}
.trust-item:hover .trust-icon-3d { transform: rotateY(-14deg) rotateX(6deg) translateY(-2px); }
.trust-emoji {
  font-size: 40px; line-height: 1; display: flex; align-items: center; justify-content: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.card-rating { display: flex; align-items: center; gap: 5px; margin: 1px 0; }
.card-stars { position: relative; display: inline-block; font-size: .82rem; line-height: 1; letter-spacing: 1px; color: var(--line); }
.card-stars::before { content: "★★★★★"; }
.card-stars::after {
  content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--fill) / 5 * 100%);
  overflow: hidden; white-space: nowrap; color: #e0a72e;
}
.card-rating-count { font-size: .74rem; color: var(--ink-3); }
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-header);
  background: var(--ink); color: var(--ground); padding: 16px;
}
.cookie-consent-inner {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-consent-inner p { margin: 0; font-size: .86rem; color: rgba(250, 247, 243, .8); max-width: 62ch; }
.cookie-consent-inner .btn-primary { flex: none; }
.trust-text { display: flex; flex-direction: column; gap: 4px; }
.trust-item strong { font-family: var(--display); font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.trust-item span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 1024px) { .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 640px) { .hero-trust { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; } .trust-item { padding: 16px; gap: 12px; } }
.hero-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 32px; background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border-radius: var(--r-l); margin-top: 24px; perspective: 1200px; }
.benefit-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; box-shadow: 0 2px 8px rgba(23, 18, 16, .06); transition: all .32s var(--ease); cursor: default; }
.benefit-card:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 12px 32px rgba(23, 18, 16, .15); border-color: var(--accent-soft); }
.benefit-card.accent { background: linear-gradient(135deg, var(--accent-2-soft) 0%, var(--incl-soft) 100%); border-color: var(--accent-2); }
.benefit-card.accent:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 12px 32px rgba(29, 107, 102, .2); }
.benefit-icon { font-size: 2.4rem; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1)); }
.benefit-content { display: flex; flex-direction: column; gap: 6px; }
.benefit-card strong { font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1.2; }
.benefit-card.accent strong { color: var(--accent-2); }
.benefit-card span { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
@supports (backdrop-filter: blur(10px)) {
  .benefit-card { backdrop-filter: blur(4px); }
}
.hero-right { position: relative; aspect-ratio: 1/1.2; }
.hero-gallery { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; perspective: 1200px; }
.gallery-item { border-radius: var(--r-m); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-m); transition: all .28s var(--ease); display: grid; place-items: center; position: relative; will-change: transform; }
.gallery-item:nth-child(1) { animation: float-gallery-1 5s ease-in-out infinite; animation-delay: 0s; }
.gallery-item:nth-child(2) { animation: float-gallery-2 5s ease-in-out infinite; animation-delay: .3s; }
.gallery-item:nth-child(3) { animation: float-gallery-3 5.4s ease-in-out infinite; animation-delay: .6s; }
.gallery-item:nth-child(4) { animation: float-gallery-4 5.4s ease-in-out infinite; animation-delay: .9s; }
@keyframes float-gallery-1 {
  0%, 100% { transform: translateX(8px) translateY(-6px) rotate(-1.5deg) scale(1); box-shadow: var(--shadow-m); }
  50% { transform: translateX(10px) translateY(-17px) rotate(-2.3deg) scale(1.015); box-shadow: var(--shadow-l); }
}
@keyframes float-gallery-2 {
  0%, 100% { transform: translateX(-6px) translateY(4px) rotate(1.2deg) scale(1); box-shadow: var(--shadow-m); }
  50% { transform: translateX(-8px) translateY(-7px) rotate(1.9deg) scale(1.015); box-shadow: var(--shadow-l); }
}
@keyframes float-gallery-3 {
  0%, 100% { transform: translateX(4px) translateY(6px) rotate(0.8deg) scale(1); box-shadow: var(--shadow-m); }
  50% { transform: translateX(6px) translateY(-5px) rotate(1.4deg) scale(1.015); box-shadow: var(--shadow-l); }
}
@keyframes float-gallery-4 {
  0%, 100% { transform: translateX(-8px) translateY(-4px) rotate(-0.6deg) scale(1); box-shadow: var(--shadow-m); }
  50% { transform: translateX(-10px) translateY(-15px) rotate(-1.1deg) scale(1.015); box-shadow: var(--shadow-l); }
}
.gallery-item:hover { animation-play-state: paused; transform: rotate(0deg) translateY(-8px) scale(1.05) rotateX(4deg); box-shadow: var(--shadow-l); }
.gallery-img { width: 100%; height: 100%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-img svg { width: 56%; height: 56%; }

/* value props */
.valueprops { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.valueprops-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  padding: var(--space-5) 0;
}
.vprop { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.vprop svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.vprop.pix svg { color: var(--accent-2); }

.stat-num { font-family: var(--display); font-size: 1em; font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; }

.strip-incl { border-color: var(--accent-2); background: linear-gradient(135deg, var(--accent-2-soft) 0%, #eef5f2 100%); box-shadow: 0 4px 16px rgba(44, 95, 111, .1); }
.strip-incl h3 { color: var(--accent-2); }

.locator { padding-bottom: var(--space-10); }
.locator-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items: center; }
.locator h2 { margin-top: 8px; }
.locator-card {
  display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: var(--space-6); box-shadow: var(--shadow-m);
}
.locator-card b { display: block; font-family: var(--display); font-size: 1.1rem; }
.locator-card span { font-size: .82rem; color: var(--ink-3); }
.locator-card .dot { width: 12px; height: 12px; flex: none; }

@media (max-width: 640px) {
  .valueprops-inner { grid-template-columns: 1fr 1fr; }
  .locator-inner { grid-template-columns: 1fr; }
}

/* faixas */
.band {
  padding: 56px 0; position: relative;
}
.band-alt { background: var(--surface); margin: 0 calc(-50vw + 50%); padding: 56px 50vw; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.band-head h2 { font-size: 1.85rem; letter-spacing: -.03em; }
.band-head .eyebrow { margin-bottom: 8px; display: block; }
.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 24px;
}
.chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px;
  padding: 7px 15px; font-size: .8rem; font-weight: 600; white-space: nowrap; display: inline-block;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.chip.teal.on { background: var(--incl); border-color: var(--incl); color: #fff; }
.chip .c { opacity: .62; margin-left: 5px; font-variant-numeric: tabular-nums; }
.spacer { flex: 1; }

/* drawer de filtros deslizante (padrao Mous) */
.filters-toolbar { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 24px; }
.filters-btn { display: inline-flex; align-items: center; gap: 8px; }
.filters-btn .pill { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 7px; font-size: .7rem; font-weight: 800; }
.sort-form select {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--r-s);
  padding: 10px 14px; font: inherit; font-size: .85rem; font-weight: 600;
}
.filters-backdrop { position: fixed; inset: 0; background: rgba(23, 18, 16, .45); z-index: var(--z-header); }
.filters-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--paper);
  z-index: calc(var(--z-header) + 1); transform: translateX(100%); transition: transform .28s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-l);
}
.filters-drawer.is-open { transform: translateX(0); }
.filters-drawer form { display: flex; flex-direction: column; height: 100%; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.filters-head b { font-family: var(--display); font-size: 1.1rem; }
.filters-close { border: 0; background: none; font-size: 1.1rem; color: var(--ink-2); padding: 4px; }
.filters-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.filter-group { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.filter-group summary { cursor: pointer; font-weight: 700; font-size: .92rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "▾"; color: var(--ink-3); font-size: .8rem; }
.filter-group[open] summary::after { content: "▴"; }
.filter-options { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.filter-radio { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.filter-radio:hover { color: var(--ink); }
.filter-radio.incl { color: var(--accent-2); }
.filter-radio .c { font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: .78rem; }
.filter-radio input { accent-color: var(--accent); }
.filter-price { display: flex; gap: 12px; margin-top: 14px; }
.filter-price label { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .74rem; font-weight: 650; color: var(--ink-2); }
.filter-price input {
  border: 1px solid var(--line); background: var(--ground); color: var(--ink); border-radius: var(--r-s);
  padding: 9px 11px; font: inherit; font-size: .85rem;
}
.filters-submit { margin: 16px 22px 22px; width: auto; }
.catalog-layout-full { display: block; }

/* barra lateral de categorias — legado, mantido para paineis internos */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; min-width: 0; }
.catalog-layout > * { min-width: 0; }
.cat-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 10px; }
.cat-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-price .filter-price { margin-top: 10px; }
.cat-sep { height: 1px; background: var(--line-soft); margin: 8px 0; }
.cat-link {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--r-s);
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.cat-link:hover { background: var(--surface); color: var(--ink); }
.cat-link.on { background: var(--ink); color: var(--ground); }
.cat-link.on .c { color: var(--ground); opacity: .7; }
.cat-link.incl { color: var(--accent-2); }
.cat-link.incl.on { background: var(--accent-2); color: #fff; }
.cat-link .c { font-variant-numeric: tabular-nums; opacity: .55; font-weight: 650; }

/* cards "blob" de categoria — foto + botao Confira, estilo vitrine promocional */
.cat-promo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px;
}
.cat-promo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4/5; border-radius: 32px 120px 32px 32px; overflow: hidden;
  box-shadow: var(--shadow-m); transition: all .3s var(--ease);
}
.cat-promo:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.cat-promo-blob { position: absolute; inset: 0; z-index: 1; }
.cat-promo-a .cat-promo-blob { background: linear-gradient(150deg, var(--accent-deep), var(--accent)); }
.cat-promo-b .cat-promo-blob { background: linear-gradient(150deg, var(--accent-2-deep), var(--accent-2)); }
.cat-promo-c .cat-promo-blob { background: linear-gradient(150deg, #1c522f, #2c7343); }
.cat-promo-d .cat-promo-blob { background: linear-gradient(150deg, var(--ink), var(--ink-2)); }
.cat-promo-img {
  position: absolute; z-index: 2; right: -6%; top: 8%; width: 68%; height: 68%;
  object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .25));
  transition: transform .3s var(--ease);
}
.cat-promo:hover .cat-promo-img { transform: scale(1.06) rotate(-2deg); }
.cat-promo-icon { padding: 14%; color: #fff; opacity: .85; }
.cat-promo-text { position: relative; z-index: 3; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.cat-promo-eyebrow { font-size: .74rem; font-weight: 650; color: rgba(255, 255, 255, .8); }
.cat-promo-text strong { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.1; }
.cat-promo-btn {
  align-self: flex-start; margin-top: 10px; padding: 9px 20px; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700;
  transition: all .2s var(--ease);
}
.cat-promo:hover .cat-promo-btn { background: var(--accent-soft); color: var(--accent-deep); }

.split-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-promo {
  position: relative; display: flex; align-items: center; gap: 20px; padding: 24px 28px;
  border-radius: var(--r-l); background: var(--surface); overflow: hidden;
  transition: all .3s var(--ease);
}
.split-promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.split-promo-img { width: 96px; height: 96px; object-fit: contain; flex: none; filter: drop-shadow(0 8px 12px rgba(23, 18, 16, .15)); }
.split-promo-icon { padding: 18%; color: var(--accent); background: var(--paper); border-radius: var(--r-m); }
.split-promo-text { display: flex; flex-direction: column; gap: 4px; }
.split-promo-eyebrow { font-size: .74rem; font-weight: 650; color: var(--ink-3); }
.split-promo-text strong { font-family: var(--display); font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.split-promo .cat-promo-btn { margin-top: 8px; background: var(--ink); color: var(--ground); }
.split-promo:hover .cat-promo-btn { background: var(--accent); color: #fff; }
@media (max-width: 780px) { .split-promo-grid { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .cat-promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cat-promo-grid { grid-template-columns: 1fr; gap: 14px; } .cat-promo { aspect-ratio: 16/10; } }

/* vitrine de categorias na home — cartao com foto real em vez de chip de texto */
.cat-showcase {
  display: grid; grid-auto-flow: column; grid-auto-columns: 160px; gap: 16px;
  overflow-x: auto; padding-bottom: 8px; scrollbar-width: none;
}
.cat-showcase::-webkit-scrollbar { display: none; }
.cat-card { display: flex; flex-direction: column; gap: 12px; }
.cat-card-shot {
  aspect-ratio: 1/1; border-radius: var(--r-m); overflow: hidden; background: var(--surface);
  display: grid; place-items: center; box-shadow: var(--shadow-m);
  transition: all .26s var(--ease);
  border: 1px solid var(--line-soft);
}
.cat-card:hover .cat-card-shot {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.cat-card-shot img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-shot svg { width: 48%; height: 48%; color: var(--accent); transition: all .26s var(--ease); }
.cat-card:hover .cat-card-shot svg { transform: scale(1.1); }
.cat-card-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.cat-card-label .c { font-size: .74rem; font-weight: 650; color: var(--accent); font-variant-numeric: tabular-nums; }

/* grade de produtos */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 22px; }
.catalog-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 248px);
  gap: 18px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none;
}
.catalog-scroll::-webkit-scrollbar { display: none; }
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-s);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--accent-soft); }
.card:hover .shot img, .card:hover .shot svg { transform: scale(1.08); }
.shot { position: relative; aspect-ratio: 1/1; background: var(--surface); display: grid; place-items: center; color: var(--ink-2); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.shot svg { width: 58%; height: 58%; transition: transform .35s var(--ease); }
.tag {
  position: absolute; top: 12px; left: 12px; font-size: .62rem; font-weight: 750; letter-spacing: .09em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--ink); color: var(--ground);
}
.tag.incl { background: var(--accent-2); color: #fff; }
.tag.low { background: var(--warn-soft); color: var(--warn); }
.tag.off { background: var(--accent); color: var(--accent-ink); }
.tag.out { background: var(--surface-2); color: var(--crit); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body form { margin-top: auto; }
.kicker { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; color: var(--ink-3); }
.pname { font-size: .95rem; font-weight: 640; line-height: 1.32; }
.subline { font-size: .72rem; color: var(--ink-3); font-family: var(--mono); }
.stockline { font-size: .73rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stockline.ok { color: var(--good); }
.stockline.low { color: var(--warn); }
.stockline.out { color: var(--crit); }
.priceblock { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font-family: var(--display); font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; }
.was { font-size: .75rem; color: var(--ink-3); text-decoration: line-through; }
.pix { font-size: .7rem; color: var(--good); font-weight: 650; }
.qty-input {
  width: 62px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px;
  text-align: center; font: inherit; font-size: .85rem; font-variant-numeric: tabular-nums;
  background: var(--paper); color: var(--ink);
}
.variant-select {
  width: 100%; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-s);
  padding: 9px 10px; font: inherit; font-size: .82rem; background: var(--paper); color: var(--ink);
}
.variant-select:invalid { color: var(--ink-3); }
.addbtn { margin-top: 12px; width: 100%; border: 1px solid var(--ink); background: transparent; color: var(--ink); border-radius: var(--r-s); padding: 10px; font-weight: 650; font-size: .83rem; }
.addbtn:hover { background: var(--ink); color: var(--ground); }
.addbtn:disabled { border-color: var(--line); color: var(--ink-3); background: var(--surface); cursor: not-allowed; }

/* faixa inclusiva */
.strip {
  background: linear-gradient(135deg, var(--incl-soft) 0%, #e8f7f5 100%);
  border-radius: var(--r-l); padding: 44px 48px; display: grid;
  grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  border: 1px solid var(--incl); box-shadow: 0 4px 16px rgba(29, 107, 102, .1);
}
.strip h3 { font-size: 1.6rem; color: var(--incl); margin-top: 10px; letter-spacing: -.03em; }
.strip p { color: var(--ink-2); max-width: 58ch; margin-top: 12px; font-size: .95rem; line-height: 1.62; }
.strip .btn { flex-shrink: 0; }

/* pagina de produto */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 40px 0; align-items: start; }
.stage { aspect-ratio: 1/1; background: var(--surface); border-radius: var(--r-m); display: grid; place-items: center; color: var(--ink); overflow: hidden; }
.stage svg { width: 56%; height: 56%; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 74px; aspect-ratio: 1/1; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-s); overflow: hidden; display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .76rem; color: var(--ink-3); display: flex; gap: 7px; flex-wrap: wrap; }
.pdp h1 { font-size: 2rem; }
.pdp-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-3); font-family: var(--mono); }
.pricepanel { background: var(--surface); border-radius: var(--r-m); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.pricepanel .big { font-family: var(--display); font-size: 2.2rem; font-weight: 770; letter-spacing: -.035em; }
.pricepanel .alt { font-size: .86rem; color: var(--ink-2); }
.badge-save { align-self: flex-start; background: var(--good-soft); color: var(--good); border-radius: 6px; padding: 4px 10px; font-size: .75rem; font-weight: 700; }
.buyrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust div { background: var(--surface); border-radius: var(--r-s); padding: 14px; font-size: .76rem; color: var(--ink-2); text-align: center; }
.trust b { display: block; color: var(--ink); font-size: .82rem; margin-bottom: 3px; }
.desc { font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; }

.pix-alt { display: flex; align-items: center; gap: 8px; }
.stock-urgency { color: var(--crit); font-size: .82rem; font-weight: 700; }
.rating-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rating-stars { color: var(--accent); font-size: 1rem; letter-spacing: 1px; }

.variant-picker { display: flex; flex-direction: column; gap: 8px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-chip {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: var(--r-s); padding: 8px 16px; font-size: .85rem; font-weight: 650;
  transition: all .2s var(--ease);
}
.variant-chip:hover:not(:disabled) { border-color: var(--ink); }
.variant-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.variant-chip:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.variant-note { font-size: .78rem; color: var(--ink-3); min-height: 1em; }

.thumb { cursor: pointer; border: 1.5px solid var(--line-soft); padding: 0; transition: border-color .2s var(--ease); }
.thumb.is-active { border-color: var(--accent); }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-atc);
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow-sticky);
  transform: translateY(100%); transition: transform .25s var(--ease);
  display: none;
}
.sticky-atc.is-visible { transform: translateY(0); }
.sticky-atc-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.sticky-atc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-atc-info b { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.sticky-atc-info .num { font-family: var(--display); font-weight: 750; }
.sticky-atc form { display: flex; gap: 8px; align-items: center; }
@media (min-width: 641px) { .sticky-atc { display: block; } }
@media (max-width: 640px) { .sticky-atc { display: block; } .sticky-atc-info b { max-width: 30vw; } }

/* carrinho e checkout */
.co { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; padding: 36px 0; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: 24px; box-shadow: var(--shadow-s); }
.panel + .panel { margin-top: 18px; }
.panel h3 { font-size: 1.05rem; margin-bottom: 16px; }
.lineitem { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: center; flex-wrap: wrap; }
.lineitem:last-child { border-bottom: 0; }
.lineitem .im { width: 66px; height: 66px; border-radius: var(--r-s); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); flex: none; overflow: hidden; }
.lineitem .im img { width: 100%; height: 100%; object-fit: cover; }
.lineitem .im svg { width: 58%; height: 58%; }
.lineitem .info { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 3px; }
.lineitem .info b { font-size: .9rem; font-weight: 640; }
.lineitem .amt { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linkbtn { border: 0; background: none; color: var(--ink-3); font-size: .75rem; text-decoration: underline; padding: 0; text-align: left; }
.linkbtn:hover { color: var(--crit); }
.fieldgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1/-1; }
.field label { font-size: .74rem; font-weight: 650; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: var(--r-s); padding: 11px 13px; font: inherit; font-size: .88rem; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
/* Teclado ganha anel solido alem do halo — o halo sozinho (3px de
   --accent-soft) e fraco demais pra sinalizar posicao ao navegar por Tab. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--crit); font-size: .74rem; }

/* input[type=file] vem cru do navegador (botao cinza do sistema) e destoa
   de tudo — estiliza o botao interno pra casar com .btn do painel. */
input[type="file"] {
  font: inherit; font-size: .85rem; color: var(--ink-2); max-width: 100%;
}
input[type="file"]::file-selector-button {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: var(--r-s); padding: 9px 14px; margin-right: 12px;
  font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
input[type="file"]::file-selector-button:hover {
  background: var(--surface); border-color: var(--ink-3);
}
.coupon-disclosure { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.coupon-disclosure summary { cursor: pointer; font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.coupon-disclosure summary:hover { color: var(--accent); }

.summary { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.summary-head { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.summary-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 11px; }
.srow { display: flex; justify-content: space-between; font-size: .87rem; color: var(--ink-2); gap: 12px; }
.srow span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.srow.good span:last-child { color: var(--good); font-weight: 650; }
.stotal { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.stotal .lbl { font-weight: 700; }
.stotal .val { font-family: var(--display); font-size: 1.7rem; font-weight: 770; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.summary-foot { padding: 0 20px 20px; font-size: .72rem; color: var(--ink-3); text-align: center; }
.summary .btn { margin: 0 20px 14px; width: calc(100% - 40px); }

/* avisos */
.alert { border-radius: var(--r-m); padding: 14px 18px; font-size: .87rem; display: flex; gap: 10px; align-items: flex-start; }
.alert.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); }
.alert.good { background: var(--good-soft); color: var(--good); border: 1px solid var(--good); }
.alert.info { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }

/* pedido confirmado */
.receipt { max-width: 640px; margin: 48px auto; }
.thank-you { text-align: center; padding: 12px 0 8px; }
.thank-you-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 999px;
  background: var(--good-soft); color: var(--good); font-size: 1.6rem; font-weight: 800;
  margin-bottom: 14px;
}
.receipt .code { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.status-pill.pago, .status-pill.entregue { background: var(--good-soft); color: var(--good); }
.status-pill.enviado { background: var(--accent-soft); color: var(--accent-deep); }

/* paginacao */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 34px; }
.pager .page-info { font-size: .82rem; color: var(--ink-3); }

/* rodape */
.site-footer {
  background: var(--ink); color: var(--ground); padding: var(--space-10) 0 var(--space-6); margin-top: 64px;
}
.fstatement {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap;
  padding-bottom: var(--space-8); margin-bottom: var(--space-8); border-bottom: 1px solid rgba(250, 247, 243, .14);
}
.fstatement h2 {
  font-size: var(--step-3); color: var(--ground); letter-spacing: -.03em; max-width: 20ch;
}
.wa-cta {
  display: inline-flex; align-items: center; gap: 10px; background: var(--good); color: #fff;
  border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: .92rem; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(44, 115, 67, .3); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 115, 67, .38); }
.fnewsletter {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap;
  padding-bottom: var(--space-8); margin-bottom: var(--space-8); border-bottom: 1px solid rgba(250, 247, 243, .14);
}
.fnewsletter b { display: block; font-size: 1.05rem; color: var(--ground); margin-bottom: 4px; }
.fnewsletter span { font-size: .86rem; color: rgba(250, 247, 243, .68); }
.fnewsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.fnewsletter-form input {
  min-width: 240px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(250, 247, 243, .22);
  background: rgba(250, 247, 243, .08); color: var(--ground); font-size: .88rem;
}
.fnewsletter-form input::placeholder { color: rgba(250, 247, 243, .5); }
.fnewsletter-form input:focus { outline: none; border-color: var(--accent); background: rgba(250, 247, 243, .12); }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.fgrid p { font-size: .86rem; color: rgba(250, 247, 243, .68); margin-top: 12px; max-width: 42ch; line-height: 1.58; }
.fgrid .logo { margin-bottom: 6px; }
.fgrid .logo b { color: var(--ground); }
.fgrid .eyebrow { color: rgba(250, 247, 243, .5); }
.flist { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: .85rem; }
.flist a { color: rgba(250, 247, 243, .78); transition: color .2s var(--ease); display: flex; align-items: center; gap: 8px; }
.flist a svg { flex: none; opacity: .7; }
.flist a:hover { color: var(--accent); font-weight: 600; }
.flist span { color: rgba(250, 247, 243, .68); display: flex; align-items: center; gap: 8px; }
.flist span svg { flex: none; opacity: .7; }
.eyebrow { display: block; margin-bottom: 12px; }
.fbottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(250, 247, 243, .14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .77rem; color: rgba(250, 247, 243, .5); font-weight: 600; }
.pay-row { display: flex; align-items: center; gap: 8px; }
.pay-chip { border: 1px solid rgba(250, 247, 243, .22); border-radius: 6px; padding: 4px 10px; font-size: .72rem; font-weight: 700; color: rgba(250, 247, 243, .8); background: transparent; }
.pay-chip.pix { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

@media (max-width: 640px) {
  .fstatement { flex-direction: column; align-items: flex-start; }
  .fstatement h2 { font-size: var(--step-2); }
}

.empty { text-align: center; padding: 64px 24px; color: var(--ink-2); }
.empty h2 { font-size: 1.4rem; margin-bottom: 10px; }

@media (max-width: 1000px) {
  .hero-comp { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero-copy { max-width: none; }
  .hero-photo-stack { height: 320px; margin-left: 0; order: -1; }
  .hero-benefits { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .co { grid-template-columns: 1fr; }
  .summary { position: static; }
  .strip { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
  .cat-sidebar nav { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .cat-sidebar nav::-webkit-scrollbar { display: none; }
  .cat-link { flex-direction: row; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
  .cat-sep { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .navrow { display: none; }
  .navutil { display: none; }
  .announce-inner span:not(:first-child) { display: none; }
}

@media (max-width: 640px) {
  .sb-top { flex-wrap: wrap; gap: 12px; }
  .searchbox { order: 3; flex-basis: 100%; }
  .buy-btn .buy-label { display: none; }
  .fieldgrid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .hero-modern { padding: 48px 0 40px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-benefits { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; }
  .cat-showcase { grid-auto-columns: 124px; gap: 12px; }
  .strip { padding: 32px 24px; gap: 20px; }
  .panel-main { padding: 18px 16px 44px; gap: 16px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .logo small { display: none; }
  .buy-btn { padding: 10px 14px; font-size: .82rem; gap: 6px; }
  .kpis { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}

/* painel */
.panel-topbar {
  position: sticky; top: 0; z-index: 70;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 24px; background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.marca { display: flex; align-items: center; gap: 11px; flex: none; }
.marca-simbolo { width: 38px; height: 38px; border-radius: var(--r-s); background: var(--accent); display: grid; place-items: center; color: #fff; flex: none; font-size: 1rem; font-weight: 800; }
.marca-nome { font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.03em; line-height: 1; display: block; }
.marca-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; margin-top: 3px; display: block; }
.panel-topbar-right { display: flex; align-items: center; gap: 12px; }
.ptb-link { border: 0; background: none; font: inherit; font-size: var(--fs-md); font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 8px 12px; border-radius: var(--r-s); text-decoration: none; }
.ptb-link:hover { background: var(--surface); color: var(--ink); }
.who-mini { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.who-mini .av { width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: var(--fs-xs); }
.panel-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 232px 1fr; background: var(--paper); }
.panel-shell > * { min-width: 0; }
.panel-side { background: var(--paper); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.panel-side .who { display: flex; gap: 10px; align-items: center; padding: 6px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.panel-side .who .av { width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 750; font-size: var(--fs-sm); flex: none; }
.panel-side .who b { font-size: var(--fs-md); display: block; }
.panel-side .who span { font-size: var(--fs-xs); color: var(--ink-3); }
.panel-side a, .panel-side button.plink { display: flex; align-items: center; gap: 10px; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-s); font-size: var(--fs-md); color: var(--ink-2); font-weight: 600; border: 0; background: none; width: 100%; text-align: left; font: inherit; cursor: pointer; }
.panel-side a svg { flex: none; opacity: .78; }
/* --crit sobre o item ativo (fundo --ink) dava 1.9:1 — ilegivel. */
.panel-side a.on .badge { background: #E5564B; color: #1a0a08; }
/* .pfilter so existia dentro de media query e como style= inline nos templates. */
.pfilter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* checkbox + rotulo na mesma linha: dentro de .field o input herda
   width:100%, o que jogava o texto pra fora. */
.check-inline { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.check-inline input[type="checkbox"] { width: auto; flex: none; margin: 0; }
.panel-side a.on svg, .panel-side a:hover svg { opacity: 1; }
.panel-side a:hover, .panel-side button.plink:hover { background: var(--surface); color: var(--ink); }
.panel-side a.on { background: var(--ink); color: var(--paper); }
.panel-side .grp { margin-top: 14px; padding: 0 11px 6px; }
.panel-side .badge { margin-left: auto; background: var(--crit); color: #fff; border-radius: 999px; font-size: var(--fs-2xs); padding: 1px 7px; font-weight: 700; }
/* Fundo levemente distinto do branco dos cards — sem isso tudo vira
   branco-sobre-branco e o painel parece "cru", sem profundidade. */
.panel-main { padding: var(--sp-8) var(--sp-8) 64px; display: flex; flex-direction: column; gap: var(--sp-6); min-width: 0; background: var(--ground); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 4px; }
.panel-head h1 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.panel-head .muted { display: block; margin-top: 3px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.kpi {
  border: 1px solid var(--line-soft); border-radius: var(--r-m); padding: var(--sp-4);
  display: flex; flex-direction: column; gap: 6px; background: var(--paper);
  box-shadow: var(--shadow-s); position: relative; overflow: hidden;
  transition: box-shadow .18s var(--ease), transform .18s var(--ease);
}
/* faixa de cor no topo do card: dá identidade sem poluir */
.kpi::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent); opacity: .9;
}
.kpi:nth-child(2)::before { background: var(--incl); }
.kpi:nth-child(3)::before { background: var(--warn); }
.kpi:nth-child(4)::before { background: var(--good); }
/* Sem hover: o KPI e uma <div> inerte, nao um link. Levantar o card
   prometia clique onde nao ha nenhum. */
.kpi .k { font-family: var(--display); font-size: var(--fs-2xl); font-weight: 760; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }

.pbox {
  border: 1px solid var(--line-soft); border-radius: var(--r-m); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-s);
}
.pbox-head { padding: var(--sp-4); border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--paper); }
/* Titulo de card: antes .pbox-head b era <b> do navegador (--body) e
   .panel h3 era --display/770 — duas tipografias pra mesma funcao. */
.pbox-head b, .panel h3, .empty-state b {
  font-family: var(--display); font-weight: 750;
  font-size: var(--fs-lg); letter-spacing: -.015em;
}
table.ptable { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
table.ptable th { text-align: left; padding: var(--sp-3) var(--sp-4); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; background: var(--surface); }
table.ptable td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.ptable tr:last-child td { border-bottom: 0; }
table.ptable tr:hover td { background: var(--surface); }
.ptable .right { text-align: right; font-variant-numeric: tabular-nums; }
.ptable-actions { display: flex; gap: 8px; }
.ptable-actions a, .ptable-actions button { font-size: var(--fs-sm); padding: 5px 10px; }
.btn.sm { padding: 6px var(--sp-3); font-size: var(--fs-sm); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); color: var(--ink); border-color: transparent; box-shadow: none; transform: none; }
/* Dentro da tabela o botao nao levanta: a linha ja tem hover de fundo, e
   deslocar 2px numa grade densa vira tremor sob o mouse. */
.ptable .btn:hover { transform: none; box-shadow: var(--shadow-s); }
/* Os hovers mais frequentes do painel trocavam de cor instantaneamente
   enquanto os cards ao lado faziam fade — mesma duracao pra todos. */
.chip, .ptb-link, .panel-side a, .panel-side button.plink, table.ptable td {
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.ptable-pagination { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: var(--fs-sm); color: var(--ink-2); }
.tbl-wrap { overflow-x: auto; }
/* estado vazio: sem isso a tabela só mostrava um "Nada cadastrado" cinza */
.empty-state { padding: var(--sp-8) var(--sp-4); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-state b { font-size: var(--fs-lg); color: var(--ink); }
.empty-state p { margin: 0; font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
.empty-state .btn { margin-top: 8px; }
.mono { font-family: var(--mono); font-size: var(--fs-sm); }
.hint { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 2px; }
select.select {
  border: 1px solid var(--line); background: var(--ground); color: var(--ink);
  border-radius: var(--r-s); padding: 9px 12px; font: inherit; font-size: var(--fs-md);
}
/* Antes: outline:none trocando so a cor da borda — um select focado por Tab
   ficava praticamente identico a um nao-focado. */
select.select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
  border-color: var(--accent);
}
/* outline-offset negativo onde o pai tem overflow:hidden (.pbox) ou
   overflow-x:auto (.panel-side no mobile), senao o anel some cortado. */
.chip:focus-visible, .ptb-link:focus-visible,
.panel-side a:focus-visible, .panel-side button.plink:focus-visible,
.ptable-actions a:focus-visible, .ptable-actions button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -2px;
}
.pform { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }

/* tela de integrações (tokens/chaves) */
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.int-card { border-left: 3px solid var(--line); }
.int-card.on { border-left-color: var(--good); }
.int-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.int-toggle { display: flex; align-items: center; gap: 9px; font-size: var(--fs-md); font-weight: 600; color: var(--ink); cursor: pointer; }
.int-toggle input { width: auto; margin: 0; }
.int-secret { display: flex; gap: 8px; }
.int-secret input { flex: 1; min-width: 0; }
.int-secret .btn { flex: none; padding: 8px 12px; font-size: var(--fs-sm); }
.tag-secret {
  display: inline-block; background: var(--warn-soft); color: var(--warn);
  font-size: var(--fs-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 999px; margin-left: 5px; vertical-align: middle;
}
.btn.ok { background: var(--good-soft); border-color: var(--good); color: var(--good); }
.btn.fail { background: var(--accent-soft); border-color: var(--crit); color: var(--crit); }
.plogin { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.plogin .panel { width: 100%; max-width: 360px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: var(--fs-xs); font-weight: 700; }
/* Texto escurecido: --warn/--good/--accent-deep sobre os proprios tons soft
   davam ~3.3-3.8:1 em texto de 11px — reprovava AA (exige 4.5:1). */
.status-badge.pendente { background: var(--warn-soft); color: var(--warn-ink); }
.status-badge.pago, .status-badge.entregue { background: var(--good-soft); color: var(--good-ink); }
.status-badge.enviado { background: var(--accent-soft); color: var(--accent-ink-soft); }
.status-badge.cancelado { background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 860px) {
  .panel-shell { grid-template-columns: 1fr; grid-auto-rows: min-content; align-content: start; }
  .panel-side {
    flex-direction: row; align-items: center; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line);
    scrollbar-width: none; -ms-overflow-style: none; gap: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
    mask-image: linear-gradient(to right, #000 92%, transparent);
  }
  .panel-side::-webkit-scrollbar { display: none; }
  .panel-side a, .panel-side button.plink { width: auto; white-space: nowrap; }
  .panel-side .who, .panel-side .grp { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }

  /* topbar: "Ver a loja" + nome completo + "Sair" nao cabiam lado a lado
     e quebravam em 3 linhas — some com o texto do nome (fica so o avatar) e
     aperta os espacos. */
  .panel-topbar { padding: 0 14px; gap: 8px; }
  .marca-tag { display: none; }
  .panel-topbar-right { gap: 4px; }
  .ptb-link { white-space: nowrap; padding: 6px 8px; font-size: var(--fs-sm); }
  .who-mini b { display: none; }

  /* filtro de produtos: searchbox com flex:1 encolhia pra um icone (~68px)
     em vez de quebrar linha, porque os selects ao lado nao cediam espaco.
     Empilha tudo em largura total. */
  .pfilter-search { flex-basis: 100%; max-width: none; }
  .pfilter select.select { flex: 1; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


/* toasts */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  max-width: 340px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--r-s);
  font-size: var(--fs-md); font-weight: 650;
  box-shadow: var(--shadow-l);
  animation: toast-in .25s var(--ease);
  transition: opacity .2s, transform .2s;
}
.toast.toast-hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }
.toast-info { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.toast-info::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.toast-good { background: var(--good-soft); border: 1px solid var(--good); color: var(--good); }
.toast-good::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.toast-warn { background: var(--warn-soft); border: 1px solid var(--warn); color: var(--warn); }
.toast-warn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==== Sidebar accordion (painel) ==== */
.panel-side { padding: 20px 14px; gap: 0; }
.panel-nav { display: flex; flex-direction: column; gap: 2px; }
.panel-side .nav-pill, .panel-side .nav-cta {
  display: flex; align-items: center; gap: 10px;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-s);
  font-size: var(--fs-md); font-weight: 700; color: var(--ink);
  border: 0; background: none; width: 100%; text-align: left;
  text-decoration: none; cursor: pointer; font: inherit;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.panel-side .nav-pill svg, .panel-side .nav-cta svg,
.panel-side .nav-group-btn svg, .panel-side .nav-sub svg { flex: none; opacity: .78; }
.panel-side .nav-pill:hover { background: var(--surface); color: var(--ink); }
.panel-side .nav-pill.on { background: var(--ink); color: var(--paper); }
.panel-side .nav-pill.on svg { opacity: 1; }

/* CTA Nova venda */
.panel-side .nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink); font-weight: 700; justify-content: center;
  margin: 6px 0 10px; box-shadow: var(--shadow-s);
  border: 1px solid rgba(0,0,0,.05);
}
.panel-side .nav-cta:hover { background: linear-gradient(135deg, var(--accent-deep), var(--accent-deep)); color: var(--accent-ink); }
.panel-side .nav-cta.on svg { opacity: 1; }

/* Grupo */
.panel-side .nav-group { margin: 1px 0; }
.panel-side .nav-group-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-s);
  font-size: var(--fs-md); font-weight: 700; color: var(--ink); font-family: inherit;
  border: 0; background: none; cursor: pointer; text-align: left;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.panel-side .nav-group-btn:hover { background: var(--surface); color: var(--ink); }
.panel-side .nav-group-btn:hover > svg:first-child { opacity: 1; }
.panel-side .nav-group-btn > span { flex: 1; }
.panel-side .nav-group-btn .chev { width: 14px; opacity: .55; transition: transform .22s var(--ease), opacity .2s; }
.panel-side .nav-group-btn > svg:first-child { opacity: .95; }
.panel-side .nav-group.open > .nav-group-btn { color: var(--ink); }
.panel-side .nav-group.open > .nav-group-btn > svg:first-child { opacity: 1; }
.panel-side .nav-group.open .chev { transform: rotate(90deg); opacity: .9; }
.panel-side .nav-group.has-active > .nav-group-btn { background: var(--accent-soft); color: var(--accent-deep); }
.panel-side .nav-group.has-active > .nav-group-btn > svg:first-child { opacity: 1; }
.panel-side .nav-group.has-active .chev { color: var(--accent-deep); opacity: .9; }

.panel-side .nav-group-body { overflow: hidden; max-height: 0; transition: max-height .28s var(--ease); }
.panel-side .nav-group.open .nav-group-body { max-height: 600px; }
.panel-side .nav-sub {
  display: flex; align-items: center; gap: 10px;
  margin-left: 10px; padding: 7px 12px; border-radius: var(--r-s);
  font-size: var(--fs-md); font-weight: 700; color: var(--ink);
  border-left: 2px solid var(--line); text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.panel-side .nav-sub:hover { background: var(--surface); color: var(--ink); }
.panel-side .nav-sub:hover > svg:first-child { opacity: 1; }
.panel-side .nav-sub.on { background: var(--accent-soft); color: var(--accent-ink-soft); border-left-color: var(--accent); font-weight: 700; }
.panel-side .nav-sub.on > svg:first-child { opacity: 1; }

/* Footer usuario */
.panel-side .panel-side-user {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 14px 6px 2px;
}
.panel-side .panel-side-user .av {
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 750; font-size: var(--fs-sm); flex: none;
}
.panel-side .panel-side-user b { font-size: var(--fs-md); display: block; }
.panel-side .panel-side-user span { font-size: var(--fs-xs); color: var(--ink-3); }

@media (max-width: 860px) {
  .panel-side .grp { display: block; }
  .panel-side .nav-group-body { max-height: 600px; }
  .panel-side .nav-group { width: 100%; }
  .panel-side .nav-pill, .panel-side .nav-cta, .panel-side .nav-group-btn, .panel-side .nav-sub { white-space: nowrap; }
  .panel-side .panel-side-user { display: flex; }
}
