/* =========================================================
   LUCINI ALIMENTOS — site (antes Ki Massa)
   ========================================================= */
:root {
  /* paleta da marca Lucini Alimentos (logo nova, 2026-12-02): azul confiança + laranja alimento */
  --navy: #002f5a;        /* azul da logo: botões principais, faixas e cartões de destaque */
  --navy-2: #0d4a85;      /* azul mais claro: botão escuro ao passar o mouse */
  --orange: #e48313;      /* laranja da logo: selos, contadores e botões laranja */
  --orange-2: #c96a08;    /* laranja mais escuro: texto de destaque sobre fundo claro (lê melhor) */
  --orange-soft: #f5a524; /* laranja claro: destaque sobre fundo escuro */
  --cream: #faf7f2;
  --cream-2: #f1eadf;
  --ink: #0c1e35;         /* texto e botões escuros (azul quase preto) */
  --ink-2: #2c3d55;
  --muted: #687385;
  --night: #03203d;       /* fundo das seções escuras (indústria, Instagram); o degradê das bordas usa rgba(3, 32, 61) */
  --line: rgba(12, 30, 53, .12);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.intro-lock, html.intro-lock body { overflow: hidden; }
body {
  font-family: var(--display);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange-2); letter-spacing: -.01em; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------------- INTRO ---------------- */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(120% 80% at 50% 70%, #0d2f57 0%, #020c1a 70%);
  color: #fff; overflow: hidden;
}
#introCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
#intro.playing #introCanvas { opacity: 1; }
.intro-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%); }
#introLoader { position: absolute; inset: 0; display: grid; place-content: center; gap: 22px; justify-items: center; transition: opacity .6s ease, visibility .6s; }
#introLoader img { width: min(300px, 60vw); animation: bob 1.6s ease-in-out infinite; }
#introLoader .bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
#introLoader .bar i { display: block; height: 100%; width: 40%; background: var(--orange); animation: load 1.1s ease-in-out infinite; }
#introLoader.done { opacity: 0; visibility: hidden; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
.intro-logo { position: absolute; top: 22px; left: 26px; width: 150px; opacity: 0; transition: opacity .8s .6s; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }
#intro.playing .intro-logo { opacity: 1; }
.intro-caption {
  position: absolute; left: 0; right: 0; top: 14vh; text-align: center; padding: 0 20px;
  font-size: clamp(30px, 5.6vw, 82px); font-weight: 700; letter-spacing: -.035em; line-height: 1;
  pointer-events: none;
  /* sombra no bloco inteiro (fora do recorte das palavras), sem formar "tarja" */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
}
.intro-caption .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .04em .1em; margin: -.06em -.04em -.1em; }
.intro-caption .w > span { display: inline-block; will-change: transform; }
.intro-hint {
  position: absolute; left: 50%; bottom: 13vh; transform: translate(-50%, 20px);
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.1; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .5s, transform .6s var(--ease);
  box-shadow: 0 20px 60px rgba(228, 131, 19, .35);
}
.intro-hint.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.intro-hint:hover { transform: translate(-50%, 0) scale(1.06); }
.intro-hint .lbl { position: relative; padding: 0 18px; }
.intro-hint .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 1.8s ease-out infinite; }
.intro-hint .r2 { animation-delay: .9s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.intro-skip {
  position: absolute; right: 22px; bottom: 22px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 14px; font-weight: 600;
  background: rgba(0,0,0,.25); backdrop-filter: blur(8px); transition: background .3s;
}
.intro-skip:hover { background: rgba(255,255,255,.15); }
#introFlash { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, #fff 0%, var(--cream) 45%, var(--cream) 100%); }

/* ---------------- CURSOR / GRAIN ---------------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 900; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--orange); }
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid rgba(228, 131, 19, .55);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-label { font-size: 13px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--orange); border-color: var(--orange); }
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.grain {
  position: fixed; inset: -50%; z-index: 899; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,3%); } 80% { transform: translate(3%,1%); } }

/* ---------------- HEADER ---------------- */
.top {
  position: fixed; top: 14px; left: 50%; z-index: 500; transform: translateX(-50%);
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 20px; padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  box-shadow: 0 10px 40px rgba(5, 25, 50, .1);
  transition: transform .5s var(--ease), box-shadow .3s;
}
.top.hide { transform: translate(-50%, -140%); }
.brand img { height: 44px; width: auto; }
/* os links se espalham pela barra toda (sem espaço vazio entre a logo e os links) */
.nav { display: flex; gap: 4px; flex: 1; justify-content: space-evenly; margin-left: 12px; }
/* letras dos links um pouco maiores (mais visíveis); em telas menores voltam ao tamanho antigo para caber na barra */
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: clamp(15px, calc(4px + 1.1vw), 17.5px); color: var(--ink-2); transition: color .25s, background .25s; }
.nav a:hover { background: rgba(228, 131, 19, .1); color: var(--orange-2); }
.nav a.active { color: var(--orange-2); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.cart-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 22px rgba(0, 47, 90, .3);
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn b { min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 13px; }
.cart-btn b.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
/* lupa no fim da barra: leva direto ao campo de busca do catálogo */
.search-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .25s, transform .25s var(--ease); }
.search-btn svg { width: 20px; height: 20px; }
.search-btn:hover { background: var(--navy-2); transform: scale(1.06); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
body.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------- BUTTONS ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1;
  transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn svg { width: 20px; height: 20px; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 30px rgba(0, 47, 90, .28); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; border-color: var(--ink); }
.btn-ghost-dark { border: 1.5px solid var(--ink); }
.btn-ghost-dark::before { background: var(--ink); }
.btn-ghost-dark:hover { color: #fff; }
.btn-yellow { background: var(--orange); color: var(--ink); }
.btn-yellow::before { background: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: var(--navy-2); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.link-btn { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.link-btn:hover { opacity: 1; color: var(--orange-soft); }

/* ---------------- COMMON ---------------- */
section { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(228, 131, 19, .18); animation: pulse 2s infinite; }
.eyebrow.light { color: var(--orange-soft); }
.eyebrow.light .dot { box-shadow: 0 0 0 4px rgba(245, 165, 36, .22); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(228, 131, 19, 0); } }
.big-title { font-size: clamp(40px, 7vw, 108px); line-height: .92; letter-spacing: -.045em; font-weight: 800; margin-top: 14px; }
.big-title em { font-size: 1.08em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); max-width: 520px; opacity: .8; }
.muted { color: var(--muted); max-width: 420px; }
.section-head { padding: 0 var(--pad); max-width: 1400px; margin: 0 auto 48px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.reveal-up { will-change: transform, opacity; }

/* ---------------- HERO ---------------- */
.hero {
  min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding: 130px var(--pad) 90px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px;
  max-width: 1500px; margin: 0 auto;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg .b1 { width: 46vw; height: 46vw; right: -10vw; top: -8vw; background: #ffc27a; }
.hero-bg .b2 { width: 34vw; height: 34vw; right: 18vw; bottom: -14vw; background: #7fb0e6; opacity: .35; }
.hero-bg .b3 { width: 26vw; height: 26vw; left: -8vw; top: 30%; background: #ffe7c2; }
.hero-title { font-size: clamp(56px, 10.5vw, 168px); line-height: .86; letter-spacing: -.055em; font-weight: 800; margin: 22px 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .split { display: inline-block; }
.hero-title em { font-size: 1.05em; padding-right: .04em; }
.hero-sub { font-size: clamp(17px, 1.6vw, 22px); max-width: 560px; color: var(--ink-2); }
.hero-sub b { color: var(--orange-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stack { position: relative; height: min(620px, 70vh); perspective: 1200px; }
.hero-card {
  position: absolute; width: 46%; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px rgba(8, 30, 60, .22); border: 6px solid #fff; will-change: transform;
}
.hero-card img { width: 100%; height: 78%; object-fit: contain; padding: 14px; background: radial-gradient(circle at 50% 40%, #fff, #f4ece2); }
.hero-card figcaption { padding: 10px 14px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.hero-card figcaption small { display: block; color: var(--orange-2); font-size: 15px; margin-top: 3px; }
.hero-card:nth-child(1) { left: 2%; top: 6%; --r: -8deg; }
.hero-card:nth-child(2) { left: 30%; top: 22%; --r: 4deg; z-index: 2; width: 50%; }
.hero-card:nth-child(3) { right: 0; top: 0; --r: 10deg; }
.hero-card:nth-child(4) { left: 6%; bottom: -4%; --r: 6deg; width: 38%; }
.hero-card:nth-child(5) { right: 4%; bottom: 0; --r: -6deg; width: 38%; }
.hero-badge {
  position: absolute; right: 8%; top: 46%; z-index: 3; width: 128px; height: 128px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.1;
  box-shadow: 0 20px 40px rgba(0, 47, 90, .35);
}
.hero-badge svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.hero-badge text { fill: #fff; font-size: 8.4px; letter-spacing: 0; font-weight: 700; } /* o espaçamento é ajustado pelo textLength para fechar o círculo certinho */
.hero-badge b { font-size: 34px; display: block; color: var(--orange-soft); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--ink); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: cue 1.6s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: translateY(0); opacity: 0; } }

/* ---------------- MARQUEE ---------------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.6deg); margin: 10px -2vw; position: relative; z-index: 2; box-shadow: 0 16px 40px rgba(0,47,90,.22); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marq 28s linear infinite; align-items: center; }
.marquee span { font-size: clamp(30px, 4.5vw, 64px); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--orange-soft); }
.marquee i { font-style: normal; color: var(--orange-soft); font-size: 28px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------- STATS ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1400px; margin: 110px auto; padding: 0 var(--pad); }
.stat { padding: 26px 22px; border-left: 2px solid var(--line); }
.stat b { display: block; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.05em; font-weight: 800; color: var(--orange-2); }
.stat span { font-weight: 600; color: var(--muted); }

/* ---------------- INDÚSTRIA ---------------- */
.industry { background: var(--night); color: #fff; overflow: hidden; }
.industry-pin { height: 100vh; display: flex; align-items: center; gap: 60px; padding-left: var(--pad); }
.industry-head {
  flex: 0 0 min(460px, 40vw); position: relative; z-index: 2; align-self: stretch;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  background: var(--night); padding: 70px 20px 60px 0; /* folga em cima (barra do topo) e embaixo (botão não encosta na borda) */
}
/* centraliza na altura com margens automáticas: quando a tela é baixa, o texto começa no topo
   em vez de "vazar" para cima (antes o "Feito aqui" ficava cortado) */
.industry-head > :first-child { margin-top: auto; }
.industry-head > :last-child { margin-bottom: auto; }
.industry-head::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 80px; background: linear-gradient(90deg, var(--night), transparent); pointer-events: none; }
.industry-head .big-title em { color: var(--orange-soft); }
.industry-head .lead { margin: 22px 0 30px; }
.industry-track { display: flex; gap: 26px; padding-right: 10vw; will-change: transform; }
.flavor {
  flex: 0 0 clamp(250px, 24vw, 340px); aspect-ratio: 3/4; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0c2b4f, #051a31); border: 1px solid rgba(255,255,255,.08);
  transition: transform .5s var(--ease);
}
.flavor:hover { transform: translateY(-10px) rotate(-1deg); }
.flavor .ph { position: absolute; inset: 0 0 32% 0; display: grid; place-items: center; perspective: 900px; background: radial-gradient(circle at 50% 55%, rgba(245,165,36,.2), transparent 65%); }
/* sombra no "chão" do cartão, embaixo do produto recortado */
.flavor .ph::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); filter: blur(5px); pointer-events: none; }
/* produto com volume: inclina de leve para o mouse (--rx / --ry vêm do site.js) */
.flavor .tilt { position: relative; z-index: 1; width: 82%; height: 82%; display: grid; place-items: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.flavor img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)) drop-shadow(0 22px 24px rgba(0,0,0,.45)); transition: transform .6s var(--ease); }
.flavor:hover img { transform: scale(1.08) rotate(3deg); }
.flavor .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.flavor .num { font-family: var(--serif); font-style: italic; color: var(--orange-soft); font-size: 22px; }
.flavor h3 { font-size: 22px; line-height: 1.1; letter-spacing: -.02em; margin-top: 4px; }
.flavor .cat { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.flavor.end { display: grid; place-content: center; text-align: center; gap: 18px; padding: 30px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.flavor.end h3 { font-size: 34px; }
/* notebook com tela baixa: título e cartões um pouco menores para tudo caber na altura */
@media (min-width: 1001px) and (max-height: 760px) {
  .industry-head .big-title { font-size: clamp(36px, 5.2vw, 80px); }
  .industry-head .lead { margin: 14px 0 22px; }
  .flavor { flex-basis: clamp(220px, min(24vw, 62vh), 340px); }
}

/* ---------------- CATEGORIAS ---------------- */
.cats { padding: 140px 0 80px; }
.cat-list { list-style: none; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); border-top: 1px solid var(--line); }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list button {
  width: 100%; display: grid; grid-template-columns: 60px 1fr auto 50px; align-items: center; gap: 20px; text-align: left;
  padding: 26px 8px; position: relative; overflow: hidden; isolation: isolate;
}
.cat-list button::before { content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.cat-list button:hover::before { transform: scaleY(1); }
.cat-list button:hover { color: #fff; }
.cat-list .idx { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--orange-2); transition: color .3s; }
.cat-list button:hover .idx { color: var(--orange-soft); }
.cat-list .name { font-size: clamp(28px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; transition: transform .45s var(--ease); }
.cat-list button:hover .name { transform: translateX(16px); }
.cat-list .n { font-weight: 700; color: var(--muted); transition: color .3s; }
.cat-list button:hover .n { color: #fff; }
.cat-list .go { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 20px; transition: transform .45s var(--ease), background .3s, color .3s; }
.cat-list button:hover .go { transform: rotate(-45deg); background: var(--orange); color: var(--ink); border-color: var(--orange); }
.cat-float {
  position: fixed; left: 0; top: 0; width: 240px; height: 240px; border-radius: 24px; overflow: hidden; pointer-events: none; z-index: 50;
  background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.25); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
.cat-float.show { opacity: 1; transform: scale(1); }
.cat-float img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.cat-float { transition: opacity .3s, transform .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
/* banners: mesmo quadro das outras, a foto preenche o quadro (recorte central) */
.cat-float.wide img { object-fit: cover; padding: 0; }

/* ---------------- CATÁLOGO ---------------- */
.catalog { padding: 100px 0 120px; background: linear-gradient(var(--cream), var(--cream-2)); }
.toolbar, .chips, .result-info, .grid, .age-note { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: var(--pad); padding-right: var(--pad); }
.toolbar { display: flex; gap: 12px; position: sticky; top: 86px; z-index: 20; }
.search { flex: 1; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 0 22px; box-shadow: 0 10px 30px rgba(8,30,60,.08); border: 1.5px solid transparent; transition: border-color .3s; }
.search:focus-within { border-color: var(--orange); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: none; padding: 17px 0; font-size: 17px; min-width: 0; }
#sort { border: 0; border-radius: 999px; padding: 0 22px; background: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(8,30,60,.08); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chips button { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.chips button:hover { border-color: var(--orange); color: var(--orange-2); }
.chips button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips .n { margin-left: 7px; font-size: 12px; opacity: .55; }
.result-info { margin-top: 18px; color: var(--muted); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 18px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px rgba(8,30,60,.06);
  transition: box-shadow .4s, transform .4s var(--ease); transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 30px 60px rgba(8,30,60,.16); }
/* pastel clicado na vitrine da indústria: entra em primeiro no catálogo, com contorno amarelo piscando 3 vezes */
.card.focus { box-shadow: 0 0 0 3px var(--orange), 0 18px 40px rgba(228, 131, 19, .35); animation: cardFocus 1.1s ease-in-out 3; }
@keyframes cardFocus { 50% { box-shadow: 0 0 0 7px var(--orange), 0 24px 54px rgba(228, 131, 19, .5); } }
.flavor[data-go-cat] { cursor: pointer; }
.flavor[data-go-cat]:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 4px; }
.card .photo { position: relative; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(circle at 50% 45%, #fff, #f5ede4); display: grid; place-items: center; overflow: hidden; }
.card .photo img { width: 84%; height: 84%; object-fit: contain; transition: transform .6s var(--ease); pointer-events: none; } /* a foto não "rouba" o toque do ♥ */
@media (hover: hover) { .card:hover .photo img { transform: scale(1.08); } }
.card .photo.no-photo > span:not(.code) { font-size: 54px; filter: grayscale(.2); } /* (o "Cód." do canto fica pequeno) */
.card .code { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--muted); }
.card h4 { font-size: 15px; line-height: 1.25; font-weight: 700; min-height: 2.5em; padding: 0 4px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 4px; min-height: 4px; }
.badges .b { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--cream-2); color: var(--ink-2); }
.badges .b.own { background: var(--navy); color: #fff; }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 0 4px; margin-top: auto; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.price.consult { font-size: 16px; letter-spacing: -.01em; } /* item do catálogo sem preço na lista */
.qty { display: flex; align-items: center; background: var(--cream); border-radius: 999px; }
.qty button { width: 30px; height: 32px; font-size: 18px; font-weight: 700; color: var(--orange-2); }
.qty input { width: 34px; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add { margin-top: 4px; width: 100%; padding: 13px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; transition: background .3s, transform .2s; }
.add:hover { background: var(--navy-2); }
.add:active { transform: scale(.97); }
.add.added { background: var(--orange); color: var(--ink); }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--muted); font-size: 18px; }
.age-note { margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------------- INSTAGRAM ---------------- */
.insta { background: var(--night); color: #fff; padding: 130px 0; overflow: hidden; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.insta-head { padding: 0 var(--pad); display: grid; justify-items: center; }
.insta-head .lead { margin: 16px auto 0; }
.insta-handle { color: var(--orange-soft); font-family: var(--serif); font-style: italic; font-weight: 400; display: inline-block; transition: transform .4s var(--ease); }
.insta-handle:hover { transform: rotate(-2deg) scale(1.03); }
.insta-wall { display: flex; flex-direction: column; gap: 18px; margin: 60px 0 50px; width: 100%; min-width: 0; overflow: hidden; }
.insta-row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.insta-tile {
  width: clamp(170px, 18vw, 250px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; position: relative; background: #fff;
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
}
.insta-tile img { width: 100%; height: 100%; object-fit: contain; padding: 18px; background: radial-gradient(circle at 50% 45%, #fff, #f4ece2); }
.insta-tile::after { content: "♥"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: #fff; background: rgba(0,47,90,.78); opacity: 0; transition: opacity .3s; }
.insta-tile:hover { transform: scale(1.04) rotate(-1.5deg); border-radius: 50%; }
.insta-tile:hover::after { opacity: 1; }
.insta-tile.red { background: var(--navy-2); display: grid; place-items: center; padding: 20px; }
.insta-tile.red span { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.insta-tile.yellow { background: var(--orange); display: grid; place-items: center; padding: 20px; }
.insta-tile.yellow span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--ink); }

/* ---------------- CONTATO ---------------- */
.contact { padding: 140px 0; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); perspective: 1400px; }
.unit { background: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 12px; align-content: start; box-shadow: 0 20px 60px rgba(8,30,60,.08); transform-style: preserve-3d; will-change: transform; }
.unit.dark { background: var(--navy); color: #fff; }
.unit .tag { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--cream-2); color: var(--navy); }
.unit.dark .tag { background: rgba(255,255,255,.16); color: #fff; }
.unit h3 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1; margin: 10px 0 6px; }
.unit p { font-size: 17px; opacity: .85; }
.unit .phone { font-weight: 700; font-size: 20px; opacity: 1; }
.unit-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.unit.dark .btn-ghost:hover { color: var(--navy); }
.unit.dark .btn-ghost::before { background: #fff; }

/* ---------------- FOOTER ---------------- */
.foot { background: var(--ink); color: #e6edf5; padding: 60px var(--pad) 40px; overflow: hidden; }
.foot-big { font-size: clamp(80px, 21vw, 360px); font-weight: 800; letter-spacing: -.02em; line-height: .8; color: var(--orange); text-align: center; white-space: nowrap; }
/* "ALIMENTOS" embaixo do LUCINI, com risquinhos laranja, igual à logo (fica dentro do .foot-big para deslizar junto) */
.foot-sub { display: flex; align-items: center; justify-content: center; gap: .9em; margin-top: .55em; font-size: clamp(16px, 3.1vw, 52px); font-weight: 700; letter-spacing: .55em; line-height: 1; color: #e6edf5; }
.foot-sub::before, .foot-sub::after { content: ""; width: 2.2em; height: 3px; border-radius: 2px; background: var(--orange); }
.foot-sub span { margin-right: -.55em; } /* compensa o espaço depois da última letra */
.foot-row { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; margin-top: 40px; font-size: 14px; }
.foot-logo { height: 54px; width: auto; }
.foot .small a { text-decoration: underline; }

/* ---------------- DRAWER ---------------- */
.backdrop { position: fixed; inset: 0; background: rgba(2, 14, 28, .5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 600; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100% - 20px)); z-index: 610;
  background: var(--cream); border-radius: 28px; display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(110%); transition: transform .55s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.25);
}
body.cart-open .backdrop { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; letter-spacing: -.03em; }
.drawer-head .x { width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 16px; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 26px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart-group h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin: 6px 0 10px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-item .n { font-weight: 700; font-size: 15px; line-height: 1.25; }
.cart-item .p { grid-column: 1/-1; font-size: 13px; color: var(--muted); }
.cart-item .qty { background: #fff; }
.drawer-foot { padding: 20px 26px 24px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fields input { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--cream); outline: 0; min-width: 0; }
.fields input:focus { border-color: var(--orange); }
/* forma de pagamento (2026-12-05): o cliente escolhe, paga na entrega; a escolha vai na mensagem do WhatsApp */
.pay { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.pay legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.pay legend small { font-weight: 500; color: var(--muted); }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-opts label { position: relative; cursor: pointer; }
.pay-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pay-opts span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font-weight: 700; font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.pay-opts input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pay-opts input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.pay-note { margin: 0; font-size: 13px; color: var(--muted); }
.pay-note[hidden] { display: none; }
.pay.need .pay-opts span { border-color: var(--orange); background: #fff4e6; }
.pay.need legend { color: #b45f00; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 28px; letter-spacing: -.03em; }
.send-btns { display: grid; gap: 8px; }
.btn-wa { background: #1fa855; color: #fff; width: 100%; }
.btn-wa::before { background: #148a43; }
.btn-link { color: var(--muted); padding: 8px; text-decoration: underline; font-size: 14px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 400; width: 60px; height: 60px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(31,168,85,.4); transition: transform .3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
/* o botão do WhatsApp só aparece lá embaixo (contato e rodapé): antes disso o pedido é pelo site */
.wa-float { opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .4s ease, visibility .4s; }
.wa-float.show { opacity: 1; visibility: visible; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 700; transform: translate(-50%, calc(100% + 60px)); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; transition: transform .45s var(--ease); max-width: calc(100% - 40px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------------- RESPONSIVO ---------------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-stack { height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .industry-pin { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 36px; padding-top: 80px; padding-bottom: 30px; }
  .industry-head { padding-top: 0; padding-bottom: 0; }
  /* mesma ideia: centraliza sem cortar o topo; e os cartões se ajustam à altura da tela para caber */
  .industry-pin > :first-child { margin-top: auto; }
  .industry-pin > :last-child { margin-bottom: auto; }
  .flavor { flex-basis: clamp(190px, calc((100vh - 370px) * .75), 260px); flex-basis: clamp(190px, calc((100svh - 370px) * .75), 260px); }
  .industry-head { flex: none; max-width: 560px; padding-right: var(--pad); align-self: auto; background: none; }
  .industry-head::after { display: none; }
  .units { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; justify-content: flex-start; margin-left: 0; background: #fff; border-radius: 24px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.15); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all .35s var(--ease); }
  body.menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 20px; padding: 14px 16px; }
  .menu-btn { display: block; }
  .top-actions { margin-left: auto; }
  .cart-btn span { display: none; }
  .brand img { height: 36px; }
  .industry-head .lead { display: none; }
  .cat-list button { grid-template-columns: 36px 1fr 40px; }
  .cat-list .n { display: none; }
  .cat-list .go { width: 38px; height: 38px; }
  .toolbar { top: 74px; flex-direction: column; }
  #sort { padding: 14px 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 8px; border-radius: 18px; }
  .card h4 { font-size: 13px; }
  .card-bottom { flex-direction: column; align-items: flex-start; }
  .price { font-size: 19px; }
  .hero-badge { width: 100px; height: 100px; font-size: 12px; }
  .hero-badge b { font-size: 26px; }
  .intro-logo { width: 110px; }
  .wa-float { width: 54px; height: 54px; }
}
/* celular (pedido do dono, 2026-12-03): pastéis da indústria um pouco menores.
   (O catálogo chegou a ter 3 colunas, mas o dono preferiu manter 2 no celular.) */
@media (max-width: 560px) {
  .flavor { flex-basis: clamp(160px, calc((100vh - 400px) * .6), 210px); flex-basis: clamp(160px, calc((100svh - 400px) * .6), 210px); border-radius: 22px; }
  .industry-track { gap: 16px; }
  .flavor .meta { padding: 14px; }
  .flavor .num { font-size: 17px; }
  .flavor h3 { font-size: 17px; }
  .flavor .cat { margin-top: 6px; font-size: 11px; }
  .flavor.end h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* =========================================================
   ARMAZÉM 3D (versão TESTE): a cena da entrada continua como
   fundo e a rolagem anda pelos corredores do baú
   ========================================================= */
.armazem { display: none; }
/* (2026-12-03, pedido do dono) a abertura do caminhão termina no site; o armazém só aparece quando o
   cliente aperta "Entrar no atacado 3D" no rodapé (classe arm-open, posta pelo intro3d.js) */
html.arm-open .armazem { display: block; position: relative; height: calc(var(--arm-n, 10) * 75vh + 100vh); }
/* arrastar para olhar: mão no cursor; no celular, deslizar na horizontal vira o olhar e na vertical rola */
html.arm-open .armazem { cursor: grab; touch-action: pan-y; }
body.arm-dragging, body.arm-dragging .armazem { cursor: grabbing !important; user-select: none; }
html.has-world main { position: relative; z-index: 1; }

/* botão "Entrar no atacado 3D": no começo do rodapé, no degradê escuro acima do LUCINI grande.
   Só aparece quando o 3D está pronto (classe has-3d). */
/* (2026-12-03) o dono pediu o botão 2x maior; no celular fica do maior tamanho que cabe na largura */
.foot-3d { display: none; position: relative; z-index: 3; justify-content: center; margin: -10px 0 80px; }
html.has-3d .foot-3d { display: flex; }
.open-3d {
  display: flex; align-items: center; gap: 32px; padding: 24px 28px 24px 24px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 2.5px solid rgba(245,165,36,.55); color: #fff; text-align: left;
  box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .35s var(--ease), background .3s, border-color .3s;
}
.open-3d:hover { transform: translateY(-3px); background: rgba(245,165,36,.12); border-color: var(--orange); }
.open-3d .o3-ico { width: 108px; height: 108px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; animation: o3Spin 6s ease-in-out infinite; }
.open-3d .o3-ico svg { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.open-3d .o3-txt { display: flex; flex-direction: column; line-height: 1.1; }
.open-3d .o3-txt b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.open-3d .o3-txt small { font-size: 27px; color: rgba(255,255,255,.7); margin-top: 6px; }
.open-3d .o3-go { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 40px; font-weight: 700; color: var(--orange-soft); transition: transform .3s var(--ease); flex: none; }
.open-3d:hover .o3-go { transform: translateX(6px); }
@keyframes o3Spin { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-12deg) scale(1.06); } 90% { transform: rotate(8deg); } }
/* telas médias: um pouco menor para caber */
@media (max-width: 1000px) {
  .open-3d { gap: 22px; padding: 18px 22px 18px 18px; }
  .open-3d .o3-ico { width: 84px; height: 84px; }
  .open-3d .o3-ico svg { width: 44px; height: 44px; }
  .open-3d .o3-txt b { font-size: 30px; }
  .open-3d .o3-txt small { font-size: 19px; }
  .open-3d .o3-go { width: 68px; height: 68px; font-size: 30px; }
}
@media (max-width: 560px) {
  .foot-3d { margin: -20px 0 56px; }
  .open-3d { gap: 14px; padding: 14px 14px 14px 14px; border-radius: 34px; max-width: 100%; }
  .open-3d .o3-ico { width: 68px; height: 68px; }
  .open-3d .o3-ico svg { width: 36px; height: 36px; }
  .open-3d .o3-txt b { font-size: 23px; }
  .open-3d .o3-txt small { font-size: 14.5px; }
  .open-3d .o3-go { width: 52px; height: 52px; font-size: 24px; }
}

/* intro vira o "mundo": fica atrás da página */
#intro.world { z-index: 0; background: #020d1a; transition: opacity .5s linear; }
#intro.world .intro-logo, #intro.world .intro-caption, #intro.world .intro-skip, #intro.world #introLoader { display: none; }
#intro.world .intro-vignette { background: radial-gradient(ellipse at center, transparent 55%, rgba(1,8,18,.55) 100%); }
#intro.world.gone { visibility: hidden; }

.arm-ui { position: sticky; top: 0; height: 100vh; height: 100svh; pointer-events: none; color: #fff; }
/* sombra suave à esquerda/embaixo para o texto sempre ter contraste com o 3D */
.arm-ui::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,14,28,.62) 0%, rgba(2,14,28,.25) 38%, rgba(2,14,28,0) 62%), linear-gradient(0deg, rgba(2,14,28,.35), rgba(2,14,28,0) 30%); }
.arm-ui a, .arm-ui button { pointer-events: auto; }
.arm-card {
  position: absolute; left: var(--pad); bottom: clamp(90px, 14vh, 150px); max-width: min(560px, calc(100% - 2 * var(--pad)));
  opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.arm-card.on { opacity: 1; transform: none; }
.arm-card.on a, .arm-card.on button { pointer-events: auto; }
.arm-card:not(.on) a, .arm-card:not(.on) button { pointer-events: none; }
.arm-card .eyebrow { margin-bottom: 12px; }
.arm-title { font-size: clamp(44px, 7.4vw, 108px); line-height: .92; letter-spacing: -.045em; font-weight: 800; text-shadow: 0 8px 40px rgba(0,0,0,.5); }
.arm-title em { color: var(--orange-soft); }
.arm-sub { margin: 18px 0 22px; font-size: clamp(16px, 1.4vw, 19px); max-width: 440px; color: rgba(255,255,255,.88); text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.arm-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.arm-welcome { bottom: auto; top: 50%; transform: translateY(-40%); }
.arm-welcome.on { transform: translateY(-50%); }

/* cartão de cada corredor */
.arm-aisle {
  background: rgba(3, 26, 50, .8); /* sem desfoque de fundo: pesava muito sobre o 3D em movimento */
  border: 1px solid rgba(255,255,255,.14); border-radius: 26px; padding: 22px 24px 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.arm-aisle .num { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); font-weight: 700; }
.arm-aisle h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.04em; margin: 8px 0 6px; }
.arm-aisle p { color: rgba(255,255,255,.78); margin-bottom: 16px; }
.arm-aisle .btn { font-size: 15px; }

.arm-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.85);
  transition: opacity .5s;
}
.arm-scroll span { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.8); border-radius: 14px; position: relative; }
.arm-scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: armWheel 1.6s ease-in-out infinite; }
@keyframes armWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.arm-scroll.hide { opacity: 0; }

/* mapa de corredores (lateral) */
.arm-map { position: absolute; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; transition: opacity .5s; }
.arm-map button {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 4px 0;
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.arm-map button i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: all .3s var(--ease); flex: none; }
.arm-map button span { opacity: 0; transform: translateX(6px); transition: all .3s var(--ease); white-space: nowrap; background: rgba(2,16,32,.72); padding: 3px 10px; border-radius: 999px; }
.arm-map:hover button span, .arm-map button.on span { opacity: 1; transform: none; }
.arm-map button.on { color: #fff; }
.arm-map button.on i { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.arm-hint3d { position: fixed; z-index: 450; left: 0; top: 0; pointer-events: none; padding: 8px 14px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.arm-hint3d.show { opacity: 1; }
@media (max-width: 760px) {
  .arm-map { display: none; }
  .arm-card { bottom: 84px; }
  /* celular (pedido do dono, 2026-12-03): cartão do corredor menor e mais embaixo, para mostrar mais das prateleiras */
  .arm-aisle { bottom: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); max-width: min(300px, calc(100% - 2 * var(--pad))); padding: 12px 14px; border-radius: 18px; }
  .arm-aisle .num { font-size: 10.5px; }
  .arm-aisle h2 { font-size: 22px; margin: 4px 0 3px; }
  .arm-aisle p { font-size: 13px; line-height: 1.35; margin-bottom: 10px; }
  .arm-aisle .btn { font-size: 13px; padding: 9px 15px; }
  body.cart-bar-on .arm-aisle { bottom: 96px; bottom: calc(96px + env(safe-area-inset-bottom)); } /* acima da barra "Ver pedido" */
}

/* =========================================================
   Slogan: "Confiança que abastece." (mesmo estilo dos títulos:
   parte em letra forte + palavra final em itálico)
   ========================================================= */
.loader-slogan { margin-top: -6px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #e6edf5; text-align: center; }
.loader-slogan em { color: var(--orange-soft); font-size: 1.15em; }
.intro-caption em { color: var(--orange-soft); }
.intro-caption .ln.sub { display: inline-block; margin-top: .32em; font-size: .52em; letter-spacing: -.025em; }
.intro-caption .ln.sub .w > span { text-shadow: 0 2px 14px rgba(0,0,0,.7), 0 0 3px rgba(0,0,0,.45); } /* legível mesmo sobre o baú branco */
.intro-caption .ln.sub em { font-size: 1.15em; }
.foot-slogan { text-align: center; margin-top: 26px; font-size: clamp(28px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #e6edf5; }
.foot-slogan em { color: var(--orange-soft); font-size: 1.12em; }

/* =========================================================
   Valor do pedido sempre à vista (as duas formas, aprovadas pelo dono):
   1) no botão "Pedido" do topo, embaixo da palavra (no celular, só o valor)
   2) barra do pedido embaixo da tela: aparece no 1º produto e vai somando
      (o topo some ao rolar para baixo; a barra continua lá)
   ========================================================= */
#cartSum { display: none; }
.cart-btn .cb-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.cart-btn.has-items .cb-lbl { font-size: 12.5px; font-weight: 600; opacity: .9; }
.cart-btn.has-items #cartSum { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 820px) {
  .cart-btn:not(.has-items) .cb-txt { display: none; }
  .cart-btn .cb-lbl { display: none; }
}

.cart-bar {
  display: flex; align-items: center; gap: 12px;
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 520;
  width: min(520px, calc(100% - 24px)); padding: 9px 9px 9px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; text-align: left;
  box-shadow: 0 18px 44px rgba(12, 30, 53, .38), 0 0 0 1px rgba(255,255,255,.06) inset;
  transform: translate(-50%, 170%); transition: transform .55s var(--ease);
}
.cart-bar.show { transform: translate(-50%, 0); }
body.cart-open .cart-bar.show { transform: translate(-50%, 170%); }
.cart-bar .cbar-ico { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--navy-2); display: grid; place-items: center; }
.cart-bar .cbar-ico svg { width: 22px; height: 22px; }
.cart-bar .cbar-ico b { position: absolute; top: -5px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink); }
.cart-bar .cbar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.cart-bar .cbar-txt strong { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.cart-bar .cbar-txt small { font-size: 12.5px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.cart-bar .cbar-txt small.flash { color: var(--orange-soft); font-weight: 600; }
.cart-bar .cbar-go { flex: none; padding: 13px 20px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 15px; transition: transform .25s var(--ease); }
.cart-bar:hover .cbar-go { transform: translateX(3px); }
.cart-bar.pulse { animation: barPulse .6s var(--ease); }
@keyframes barPulse { 35% { scale: 1.045; } }
body.cart-bar-on .toast { bottom: 96px; }
body.cart-bar-on .toast:not(.show) { transform: translate(-50%, calc(100% + 200px)); } /* escondido de verdade (não aparece atrás da barra) */
body.cart-bar-on .foot { padding-bottom: 120px; }
@media (max-width: 820px) {
  body.cart-bar-on .wa-float { bottom: 92px; }
  body.cart-bar-on .foot { padding-bottom: 190px; } /* a última linha do rodapé fica acima da barra e do WhatsApp */
  .cart-bar .cbar-go { padding: 12px 16px; font-size: 14px; }
}

/* =========================================================
   Busca no topo: no computador fica aberta na barra; em telas menores abre pela lupa,
   logo abaixo da barra. Mostra até 6 produtos enquanto o cliente digita.
   ========================================================= */
.top-search { position: relative; flex: 0 1 280px; min-width: 190px; }
.ts-field { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(12,30,53,.06); border: 1.5px solid transparent; transition: border-color .25s, background .25s; }
.ts-field:focus-within { background: #fff; border-color: var(--orange); }
.ts-field svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.ts-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.ts-panel { position: absolute; top: calc(100% + 12px); right: 0; width: max(100%, 380px); z-index: 30; background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 24px 60px rgba(12,30,53,.22); max-height: min(70vh, 540px); overflow: auto; overscroll-behavior: contain; }
.ts-panel[hidden] { display: none; }
.ts-item { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 14px; text-align: left; }
.ts-item:hover, .ts-item:focus-visible { background: var(--cream); }
.ts-item img, .ts-noimg { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: var(--cream); display: grid; place-items: center; font-size: 24px; }
.ts-n { font-size: 14px; font-weight: 600; line-height: 1.25; }
.ts-n i { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.ts-item b { font-size: 14px; white-space: nowrap; }
.ts-all { display: block; width: 100%; margin-top: 6px; padding: 13px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; transition: background .25s; }
.ts-all:hover { background: var(--navy-2); }
.ts-hint, .ts-none { padding: 10px 12px; font-size: 14px; color: var(--muted); }
#searchBtn { display: none; }
@media (max-width: 1180px) {
  #searchBtn { display: grid; }
  /* abre como uma barra logo abaixo da barra do topo */
  .top-search { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 0; }
  body.search-open .top-search { display: block; }
  .top-search .ts-field { height: 56px; padding: 0 20px; background: #fff; border-color: var(--orange); box-shadow: 0 18px 44px rgba(12,30,53,.2); }
  .top-search .ts-field input { font-size: 17px; }
  .ts-panel { left: 0; width: auto; }
}

/* ♥ favoritos (no canto da foto de cada produto) */
/* área de toque grande (o ::before estende 12px em volta do botão), por cima da foto, sem atraso de toque */
.card .fav { position: absolute; right: 8px; top: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.96); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(8,30,60,.14); transition: transform .2s var(--ease), background .2s; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.card .fav::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
@media (hover: hover) { .card .fav:hover { transform: scale(1.1); } }
.card .fav svg { position: relative; width: 21px; height: 21px; fill: none; stroke: var(--ink-2); stroke-width: 1.9; transition: fill .2s, stroke .2s; pointer-events: none; }
.card .fav.on { background: #fff1e0; }
.card .fav.on svg { fill: var(--orange); stroke: var(--orange); }
.card .fav.pop { animation: favPop .45s var(--ease); }
@keyframes favPop { 40% { transform: scale(1.35); } }
.info-btn { margin-left: 10px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.info-btn:hover { background: var(--navy-2); }

/* 🔁 último pedido (no carrinho) */
.reorder { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream-2); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; }
.reorder b { display: block; font-size: 15px; }
.reorder small { color: var(--muted); font-size: 13px; }
.reorder-btn { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.reorder-btn:hover { background: var(--navy-2); }
/* no pedido: dia de entrega da cidade do cliente */
.cust-deliv { font-size: 14px; line-height: 1.35; background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.cust-deliv[hidden] { display: none; }

/* =========================================================
   Entregas: o cliente digita a cidade e vê quando o caminhão passa
   ========================================================= */
.deliv { padding: 130px 0 30px; }
.deliv .section-head { text-align: center; margin-bottom: 34px; }
.deliv .lead { margin: 16px auto 0; }
.deliv-box { position: relative; max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.deliv-field { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 0 26px; box-shadow: 0 18px 50px rgba(8,30,60,.12); border: 2px solid transparent; transition: border-color .3s; }
.deliv-field:focus-within { border-color: var(--orange); }
.deliv-field svg { width: 30px; height: 30px; flex: none; color: var(--orange); }
.deliv-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 21px 0; font-size: clamp(18px, 2vw, 21px); font-weight: 600; }
.deliv-sug { position: absolute; left: var(--pad); right: var(--pad); top: calc(100% + 8px); z-index: 25; background: #fff; border-radius: 22px; padding: 8px; box-shadow: 0 24px 60px rgba(12,30,53,.2); }
.deliv-sug[hidden] { display: none; }
.deliv-sug button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: left; font-weight: 700; }
.deliv-sug button:hover, .deliv-sug button:focus-visible { background: var(--cream); }
.deliv-sug small { color: var(--muted); font-weight: 600; font-size: 12px; }
.deliv-sug span { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--orange-2); text-align: right; }
.deliv-result { margin-top: 22px; }
.dr-card { background: var(--ink); color: #fff; border-radius: 30px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px rgba(12,30,53,.25); }
.dr-top { display: flex; align-items: center; gap: 16px; }
.dr-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.dr-ico svg { width: 30px; height: 30px; color: #fff; }
.dr-card h3 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; line-height: 1; }
.dr-card h3 small { font-size: .42em; color: var(--orange-soft); letter-spacing: .1em; vertical-align: middle; margin-left: 4px; }
.dr-freq { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.4vw, 28px); color: var(--orange-soft); margin-top: 4px; line-height: 1.1; }
.dr-lbl { margin-top: 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.dr-dates { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dr-dates li { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 700; }
.dr-dates li.next { background: var(--orange); color: var(--ink); }
.dr-note { margin: 16px 0 18px; font-size: 14px; opacity: .75; }
.dr-none { background: #fff; border-radius: 24px; padding: 22px 26px; font-size: 17px; box-shadow: 0 18px 50px rgba(8,30,60,.08); }
.dr-none a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.deliv-all { max-width: 1200px; margin: 36px auto 0; padding: 0 var(--pad); text-align: center; }
.deliv-all summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); transition: background .25s, color .25s; }
.deliv-all summary:hover { background: var(--ink); color: #fff; }
.deliv-all summary::-webkit-details-marker { display: none; }
.deliv-all summary::after { content: "↓"; transition: transform .3s; }
.deliv-all[open] summary::after { transform: rotate(180deg); }
.deliv-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 22px; text-align: left; }
.dd-day { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px rgba(8,30,60,.06); }
.dd-day h4 { font-size: 21px; letter-spacing: -.02em; }
.dd-route { margin-top: 14px; }
.dd-freq { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--orange-2); }
.dd-cities { margin-top: 4px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.dd-cities button { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(12,30,53,.2); text-underline-offset: 3px; }
.dd-cities button:hover { color: var(--orange-2); text-decoration-color: currentColor; }

/* =========================================================
   Degradê suave onde o site muda de cor (creme <-> escuro):
   faixa de 220 px com curva suave (a cor entra devagar, sem marcar onde começa),
   nascendo fora da seção escura, no espaço vazio da seção vizinha (não cobre texto)
   ========================================================= */
.industry, .insta, .foot { position: relative; overflow: visible; overflow-x: clip; }
.industry::before, .industry::after, .insta::before, .insta::after, .foot::before {
  content: ""; position: absolute; left: 0; right: 0; height: 220px; pointer-events: none; z-index: 2;
}
.industry::before, .insta::before { bottom: calc(100% - 2px); background: linear-gradient(to bottom, rgba(3, 32, 61, 0) 0%, rgba(3, 32, 61, 0.013) 8%, rgba(3, 32, 61, 0.049) 15%, rgba(3, 32, 61, 0.104) 22%, rgba(3, 32, 61, 0.175) 29%, rgba(3, 32, 61, 0.259) 35%, rgba(3, 32, 61, 0.352) 41%, rgba(3, 32, 61, 0.45) 47%, rgba(3, 32, 61, 0.55) 53%, rgba(3, 32, 61, 0.648) 59%, rgba(3, 32, 61, 0.741) 65%, rgba(3, 32, 61, 0.825) 71%, rgba(3, 32, 61, 0.896) 78%, rgba(3, 32, 61, 0.951) 85%, rgba(3, 32, 61, 0.987) 92%, rgba(3, 32, 61, 1) 100%); }
.industry::after, .insta::after { top: calc(100% - 2px); background: linear-gradient(to bottom, rgba(3, 32, 61, 1) 0%, rgba(3, 32, 61, 0.987) 8%, rgba(3, 32, 61, 0.951) 15%, rgba(3, 32, 61, 0.896) 22%, rgba(3, 32, 61, 0.825) 29%, rgba(3, 32, 61, 0.741) 35%, rgba(3, 32, 61, 0.648) 41%, rgba(3, 32, 61, 0.55) 47%, rgba(3, 32, 61, 0.45) 53%, rgba(3, 32, 61, 0.352) 59%, rgba(3, 32, 61, 0.259) 65%, rgba(3, 32, 61, 0.175) 71%, rgba(3, 32, 61, 0.104) 78%, rgba(3, 32, 61, 0.049) 85%, rgba(3, 32, 61, 0.013) 92%, rgba(3, 32, 61, 0) 100%); }
.foot::before { bottom: calc(100% - 2px); background: linear-gradient(to bottom, rgba(12, 30, 53, 0) 0%, rgba(12, 30, 53, 0.013) 8%, rgba(12, 30, 53, 0.049) 15%, rgba(12, 30, 53, 0.104) 22%, rgba(12, 30, 53, 0.175) 29%, rgba(12, 30, 53, 0.259) 35%, rgba(12, 30, 53, 0.352) 41%, rgba(12, 30, 53, 0.45) 47%, rgba(12, 30, 53, 0.55) 53%, rgba(12, 30, 53, 0.648) 59%, rgba(12, 30, 53, 0.741) 65%, rgba(12, 30, 53, 0.825) 71%, rgba(12, 30, 53, 0.896) 78%, rgba(12, 30, 53, 0.951) 85%, rgba(12, 30, 53, 0.987) 92%, rgba(12, 30, 53, 1) 100%); }
/* mais espaço vazio nas seções vizinhas, para o degradê longo não encostar em texto */
.stats { margin-bottom: 240px; }
.cats { padding-top: 260px; }
.catalog { padding-bottom: 240px; }
.deliv { padding-top: 260px; }
.contact { padding-bottom: 250px; }