/* =====================================================================
   DOCE PIMENTA — folha de estilo do site público
   Paleta extraída da marca: chocolate, massa de cookie, creme e pimenta.
   ===================================================================== */

/* ------------------------------- tokens ---------------------------- */
:root {
  /* chocolate */
  --choc-950: #1c0d05;
  --choc-900: #2a1409;
  --choc-800: #3b1d0e;
  --choc-700: #5a2d18;
  --choc-600: #7a4222;
  --choc-500: #9a5a2e;

  /* massa / caramelo */
  --cookie-700: #a96a24;
  --cookie-600: #c9822f;
  --cookie-500: #e0a044;
  --cookie-400: #efc077;
  --cookie-300: #f6dcae;

  /* creme e blush (referência visual) */
  --cream-50:  #fefaf4;
  --cream-100: #fdf4e8;
  --cream-200: #f8e7d3;
  --blush-200: #f3d9c6;
  --blush-300: #e9c3ac;

  /* pimenta */
  --chili-700: #94161d;
  --chili-600: #b81d24;
  --chili-500: #d6202b;
  --chili-400: #e8503a;
  --leaf: #4f9a34;

  /* texto */
  --ink: #2a1409;
  --ink-soft: #6b4a33;
  --ink-muted: #91705a;
  --on-dark: #fdf4e8;
  --on-dark-soft: #d9bda3;

  /* superfícies */
  --surface: var(--cream-50);
  --surface-alt: var(--cream-100);
  --card: #ffffff;
  --line: rgba(42, 20, 9, .1);
  --line-soft: rgba(42, 20, 9, .06);

  /* sombras — quentes, nunca cinza puro */
  --shadow-xs: 0 1px 2px rgba(58, 28, 12, .06);
  --shadow-sm: 0 4px 14px rgba(58, 28, 12, .07);
  --shadow-md: 0 14px 34px -12px rgba(58, 28, 12, .22);
  --shadow-lg: 0 30px 60px -22px rgba(58, 28, 12, .32);
  --shadow-xl: 0 48px 90px -30px rgba(58, 28, 12, .4);
  --shadow-glow: 0 18px 44px -14px rgba(214, 32, 43, .38);

  /* forma e ritmo */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 132px);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-script: "Parisienne", "Snell Roundhand", cursive;

  --ease-out: cubic-bezier(.22, .68, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .48, 1);
  --t-fast: .18s var(--ease-out);
  --t-base: .32s var(--ease-out);
  --t-slow: .6s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

::selection { background: var(--cookie-400); color: var(--choc-900); }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--choc-900); color: var(--on-dark);
  padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--t-base);
}
.skip-link:focus { top: 16px; }

/* ------------------------------ estrutura -------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.scroll-progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 90;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cookie-500), var(--chili-500));
  transform-origin: left;
  box-shadow: 0 0 12px rgba(214, 32, 43, .5);
}

/* ----------------------------- tipografia -------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: "opsz" 40, "SOFT" 20;
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  color: var(--choc-900);
}
.section-title-light { color: var(--cream-100); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  color: var(--chili-500);
  letter-spacing: 0;
  font-size: 1.12em;
  padding-inline: .04em;
}
.section-title-light .script { color: var(--cookie-400); }

.hot { color: var(--chili-500); position: relative; white-space: nowrap; }
.hot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em;
  background: var(--cookie-400); border-radius: var(--r-pill); z-index: -1; opacity: .55;
  transform: scaleX(0); transform-origin: left;
  animation: underline-in 1s .7s var(--ease-out) forwards;
}
@keyframes underline-in { to { transform: scaleX(1); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--choc-600); margin: 0 0 18px;
}
.eyebrow-light { color: var(--cookie-400); }
.eyebrow-mark {
  width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--chili-500), var(--cookie-500));
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 52ch;
}

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-sub { color: var(--ink-soft); max-width: 42ch; margin: 0; }

/* ------------------------------- botões ---------------------------- */
.btn {
  --btn-bg: var(--choc-900);
  --btn-fg: var(--cream-50);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  isolation: isolate; overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), background-color var(--t-base), color var(--t-base);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at 50% 120%, var(--chili-500) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--t-base);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(-1px) scale(.985); }

.btn-primary { --btn-bg: var(--chili-500); --btn-fg: #fff; box-shadow: var(--shadow-glow); }
.btn-primary::before { background: radial-gradient(120% 140% at 50% 120%, var(--chili-400) 0%, transparent 72%); }
.btn-primary:hover { box-shadow: 0 24px 50px -16px rgba(214, 32, 43, .5); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--choc-800);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { --btn-fg: var(--choc-900); box-shadow: inset 0 0 0 1.5px var(--choc-600), var(--shadow-sm); }
.btn-ghost::before { display: none; }

.btn-cream { --btn-bg: var(--cream-100); --btn-fg: var(--choc-900); }
.btn-cream::before { background: radial-gradient(120% 140% at 50% 120%, #fff 0%, transparent 70%); }

.btn-outline-light {
  --btn-bg: transparent; --btn-fg: var(--cream-100);
  box-shadow: inset 0 0 0 1.5px rgba(253, 244, 232, .35);
}
.btn-outline-light::before { display: none; }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px rgba(253, 244, 232, .8); }

.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-spinner {
  width: 17px; height: 17px; border-radius: 50%; display: none;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-label { opacity: .55; }
.btn.is-loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-btn {
  color: var(--chili-600); font-weight: 700; padding: 0;
  border-bottom: 1.5px solid currentColor; line-height: 1.2;
  transition: color var(--t-fast);
}
.link-btn:hover { color: var(--chili-500); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-pill); color: var(--choc-800);
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: background-color var(--t-fast), transform var(--t-fast), color var(--t-fast);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: #fff; transform: translateY(-2px); color: var(--chili-600); }

/* ----------------------------- cabeçalho --------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(254, 250, 244, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base), border-color var(--t-base), background-color var(--t-base);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -20px rgba(58, 28, 12, .45);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 78px;
  transition: min-height var(--t-base);
}
.site-header.is-stuck .header-inner { min-height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: auto;
  filter: drop-shadow(0 6px 12px rgba(58, 28, 12, .22));
  transition: transform var(--t-slow) var(--ease-spring);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--choc-900); letter-spacing: -.02em;
}
.brand-text small {
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: .92rem; font-weight: 600; color: var(--choc-800);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--chili-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base);
}
.nav-link:hover { color: var(--chili-600); }
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-current { color: var(--chili-600); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--choc-900); color: var(--cream-50);
  transition: transform var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn:hover { transform: translateY(-2px); background: var(--chili-500); box-shadow: var(--shadow-glow); }
.cart-btn.is-bumped { animation: bump .45s var(--ease-spring); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.16); } }

.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 6px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--chili-500); color: #fff; font-size: .7rem; font-weight: 800;
  box-shadow: 0 0 0 2.5px var(--surface);
  transition: transform var(--t-base), opacity var(--t-base);
}
.cart-count[data-empty="true"] { opacity: 0; transform: scale(.4); }

.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-pill); }
.burger span {
  display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px;
  background: var(--choc-900); transition: transform var(--t-base), opacity var(--t-fast);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------- hero ---------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 90px) clamp(64px, 8vw, 110px);
  background:
    radial-gradient(120% 90% at 85% 10%, var(--blush-200) 0%, transparent 58%),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -8vw; top: -12vw;
  background: radial-gradient(circle, var(--blush-300) 0%, transparent 70%);
}
.blob-2 {
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  left: -10vw; bottom: -12vw;
  background: radial-gradient(circle, var(--cookie-300) 0%, transparent 70%);
}
.grain {
  position: absolute; inset: 0; opacity: .28; mix-blend-mode: multiply;
  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 type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-copy {
  /* recuo do bloco inteiro (selo, título, texto e botões) em direção à
     borda esquerda — .hero-copy não tem data-reveal, então o transform
     não é resetado pela animação de entrada dos filhos */
  transform: translateX(clamp(-48px, -4vw, -20px));
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--choc-900);
}
.hero-title em { font-style: normal; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 46px);
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700; color: var(--choc-900); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: .82rem; color: var(--ink-muted); margin-top: 6px; }

/* palco 3D do herói */
.hero-visual { display: grid; align-items: center; justify-items: end; }
.hero-stage {
  position: relative;
  width: min(100%, 520px); aspect-ratio: 1;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
  /* mesmo recuo do .hero-title (espelhado), pra manter a mesma distância
     da borda direita que o título tem da borda esquerda */
  margin-right: clamp(-48px, -4vw, -20px);
}
.hero-disc {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0%, var(--blush-200) 55%, var(--blush-300) 100%);
  box-shadow: var(--shadow-xl), inset 0 -20px 60px rgba(122, 66, 34, .16);
}
.hero-ring {
  position: absolute; inset: -2%;
  border-radius: 50%;
  border: 1.5px dashed rgba(122, 66, 34, .28);
  animation: slow-spin 46s linear infinite;
}
@keyframes slow-spin { to { transform: rotate(360deg); } }

.hero-cookie {
  position: relative; width: 76%; height: auto;
  filter: drop-shadow(0 40px 50px rgba(58, 28, 12, .35));
  animation: float-soft 7s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2.4deg); }
}

.hero-chili {
  position: absolute; width: 44%; right: -9%; bottom: 2%;
  filter: drop-shadow(0 18px 26px rgba(148, 22, 29, .4));
  animation: float-soft 6s ease-in-out infinite reverse;
}
.hero-drop {
  position: absolute; width: 22%; left: 2%; top: 16%;
  filter: drop-shadow(0 12px 20px rgba(58, 28, 12, .35));
  animation: float-soft 5.2s ease-in-out infinite .6s;
}

.hero-card {
  position: absolute; margin: 0;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-card-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 700; }
.hero-card-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--choc-900); }
.hero-card-price { left: -4%; bottom: 20%; animation: float-soft 8s ease-in-out infinite .3s; }
.hero-card-rating {
  right: -6%; top: 10%; flex-direction: row; align-items: center; gap: 10px;
  animation: float-soft 7.4s ease-in-out infinite 1.1s;
}
.hero-card-rating strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--choc-900); }
.stars { color: var(--cookie-500); letter-spacing: .08em; font-size: .84rem; }

.hero-scroll {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: clamp(36px, 5vw, 64px);
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.hero-scroll-line {
  width: 1.5px; height: 46px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--choc-600));
  animation: scroll-hint 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleY(.35); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------------------------- card de produto ---------------------- */
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  will-change: transform;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.product-media {
  position: relative; aspect-ratio: 4 / 3.2; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--cream-100) 0%, var(--cream-200) 100%);
  display: grid; place-items: center;
}
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(122, 66, 34, .16), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
}
.product-card:hover .product-media::after { opacity: 1; }
.product-media img {
  width: 78%; height: auto;
  filter: drop-shadow(0 20px 26px rgba(58, 28, 12, .24));
  transition: transform .55s var(--ease-spring);
}
.product-card:hover .product-media img { transform: scale(1.09) rotate(-4deg); }

.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--chili-500); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.product-badge[data-tone="soft"] { background: var(--choc-900); }
.product-badge[data-tone="out"] { background: var(--ink-muted); }

.product-quick {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .9); color: var(--choc-800);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base), background-color var(--t-fast);
}
.product-quick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.product-card:hover .product-quick, .product-quick:focus-visible { opacity: 1; transform: translateY(0); }
.product-quick:hover { background: #fff; color: var(--chili-600); }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; gap: 8px; }
.product-cat {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700;
}
.product-name { font-size: 1.2rem; color: var(--choc-900); line-height: 1.2; }
.product-desc {
  margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.product-price { display: flex; flex-direction: column; line-height: 1.15; }
.product-price strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--choc-900); }
.product-price s { font-size: .8rem; color: var(--ink-muted); }
.product-stock { font-size: .72rem; color: var(--chili-600); font-weight: 700; }

.add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--choc-900); color: var(--cream-50);
  font-size: .86rem; font-weight: 700;
  transition: transform var(--t-base), background-color var(--t-base), box-shadow var(--t-base);
}
.add-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.add-btn:hover { background: var(--chili-500); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.add-btn:disabled { background: var(--cream-200); color: var(--ink-muted); pointer-events: none; box-shadow: none; }
.add-btn.is-added { background: var(--leaf); }

/* --------------------------- faixa dividida ------------------------ */
.split-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--choc-900) 0%, var(--choc-800) 55%, var(--choc-700) 100%);
  color: var(--on-dark);
  padding-block: clamp(64px, 8vw, 118px);
}
.split-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 15% 30%, rgba(224, 160, 68, .22), transparent 62%);
}
.split-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.split-media { position: relative; min-height: 340px; display: grid; place-items: center; }
.split-shape {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(253, 244, 232, .16), rgba(253, 244, 232, .04));
  border: 1px solid rgba(253, 244, 232, .12);
}
.split-img { position: relative; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .45)); }
.split-img-a { width: 66%; }
.split-img-b { position: absolute; width: 36%; right: 4%; bottom: 6%; }

.split-copy p { color: var(--on-dark-soft); max-width: 46ch; }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li {
  position: relative; padding-left: 32px; color: var(--on-dark-soft); font-size: .96rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cookie-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ------------------------------ cardápio --------------------------- */
/* O cardápio abre a página logo abaixo do herói: um véu quente separa
   as duas áreas sem cortar o creme contínuo da marca. */
.menu { position: relative; background: var(--surface-alt); overflow: hidden; }
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 12% 0%, rgba(243, 217, 198, .6), transparent 62%);
}
.menu > .container { position: relative; }

.menu-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 34px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 20px; border-radius: var(--r-pill);
  background: var(--card); color: var(--choc-800);
  font-size: .88rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: background-color var(--t-base), color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip.is-active {
  background: var(--choc-900); color: var(--cream-50);
  box-shadow: var(--shadow-md);
}

.menu-search {
  position: relative; display: flex; align-items: center;
  background: var(--card); border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 0 18px; min-width: 240px;
  transition: box-shadow var(--t-base);
}
.menu-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--choc-600), var(--shadow-sm); }
.menu-search svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-muted); stroke-width: 2; stroke-linecap: round; }
.menu-search input {
  border: 0; background: none; padding: 13px 10px; width: 100%; outline: none; font-size: .92rem;
}

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.card-skeleton {
  height: 400px; border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--cream-200) 30%, #fff 50%, var(--cream-200) 70%);
  background-size: 220% 100%; animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.menu-empty { text-align: center; color: var(--ink-soft); margin-top: 40px; }

/* ------------------------------- sobre ----------------------------- */
.about { background: var(--surface-alt); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 84px); align-items: center;
}
.about-media { position: relative; }
.about-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(circle at 40% 34%, #fff, var(--blush-200));
  padding: 12%;
  box-shadow: var(--shadow-lg);
}
.about-frame img { filter: drop-shadow(0 26px 32px rgba(58, 28, 12, .28)); }
.about-frame-sm {
  position: absolute; right: -6%; bottom: -10%; width: 46%;
  border-radius: var(--r-lg); padding: 9%;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface-alt);
}
.about-badge {
  position: absolute; left: -4%; top: 6%;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--chili-500); color: #fff;
  display: grid; place-content: center; text-align: center; gap: 0;
  box-shadow: var(--shadow-glow);
  animation: float-soft 6.5s ease-in-out infinite;
}
.about-badge strong { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.about-badge em { font-family: var(--font-display); font-style: normal; font-size: 1.55rem; line-height: 1; }

.about-copy p { color: var(--ink-soft); }
.about-copy .section-title { margin-bottom: 20px; }
.about-pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line);
}
.about-pillars h3 {
  font-size: 1.02rem; color: var(--choc-900); margin-bottom: 6px;
  display: flex; align-items: center; gap: 9px;
}
.about-pillars h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--chili-500); flex: none;
}
.about-pillars p { margin: 0; font-size: .88rem; }

/* ---------------------------- depoimentos -------------------------- */
/* Mesmo brilho de fundo da faixa "Receita da casa": chocolate com um
   halo quente no canto superior esquerdo. Sem elementos desenhados. */
.testimonials {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--choc-950), var(--choc-800));
  color: var(--on-dark);
}
.testimonials::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 15% 30%, rgba(224, 160, 68, .22), transparent 62%);
}

/* O conteúdo precisa ficar acima do brilho absoluto. */
.testimonials > .container { position: relative; z-index: 1; }

/* Trilho do carrossel: os depoimentos originais seguidos de cópias
   (criadas em JS) numa linha só, mais larga que o viewport. */
.testimonial-grid {
  position: relative;
  display: flex; flex-wrap: nowrap; gap: 22px;
  width: max-content;
}
.testimonial {
  flex: 0 0 360px;
  margin: 0; padding: 34px 30px;
  background: rgba(253, 244, 232, .05);
  border: 1px solid rgba(253, 244, 232, .1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
  transition: transform var(--t-base), border-color var(--t-base), background-color var(--t-base);
}
.testimonial:hover {
  transform: translateY(-8px);
  background: rgba(253, 244, 232, .08);
  border-color: rgba(224, 160, 68, .38);
}
.testimonial .stars { font-size: 1rem; }
.testimonial blockquote {
  margin: 16px 0 22px; font-family: var(--font-display); font-size: 1.12rem;
  line-height: 1.5; color: var(--cream-100);
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { color: var(--cookie-400); font-size: .95rem; }
.testimonial figcaption span { font-size: .8rem; color: var(--on-dark-soft); }

/* Sem JS (ou com movimento reduzido) o trilho não tem cópias e não anda:
   o viewport vira uma faixa rolável no dedo/trackpad, então nenhum
   depoimento fica inacessível. A barra some porque o gesto já é óbvio.
   O padding vertical é a folga que o recorte precisa pra não decepar o
   card que sobe 8px no hover; a margem negativa devolve o espaço, então o
   espaçamento da seção continua o mesmo de antes. */
.testimonial-viewport {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  padding: 12px 0; margin: -12px 0;
}
.testimonial-viewport::-webkit-scrollbar { display: none; }

/* Com o carrossel montado (classe posta pelo JS), o viewport passa a
   recortar o trilho e dissolve as duas bordas, pra os cards entrarem e
   saírem de cena em vez de aparecerem cortados na guilhotina. */
.testimonial-viewport.is-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.testimonial-viewport.is-marquee .testimonial-grid {
  animation: testimonial-marquee var(--marquee-duration, 42s) linear infinite;
}
/* .is-paused = toque do visitante; .is-offscreen = seção fora de cena,
   posta pelo observador do JS (não gasta CPU animando o que ninguém vê, e
   os cards só começam a andar depois do fade-in de entrada). */
.testimonial-grid.is-paused,
.testimonial-grid.is-offscreen { animation-play-state: paused; }

/* No mouse, parar ao passar por cima é o que deixa ler o depoimento
   inteiro; no toque quem pausa é o pointerdown tratado no JS. */
@media (hover: hover) {
  .testimonial-viewport.is-marquee:hover .testimonial-grid { animation-play-state: paused; }
}

/* ------------------------------ passos ----------------------------- */
.step-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px; counter-reset: step;
}
.step {
  position: relative; padding: 34px 28px 30px;
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.6px var(--blush-300);
  line-height: 1; display: block; margin-bottom: 14px;
  transition: color var(--t-base), -webkit-text-stroke-color var(--t-base);
}
.step:hover .step-num { color: var(--cookie-400); -webkit-text-stroke-color: transparent; }
.step h3 { font-size: 1.14rem; color: var(--choc-900); margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* -------------------------------- CTA ------------------------------ */
.cta-final {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--chili-700), var(--chili-500) 55%, var(--chili-400));
  color: #fff;
  padding-block: clamp(60px, 8vw, 108px);
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 80% 20%, rgba(255, 255, 255, .18), transparent 60%);
}
.cta-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.cta-cookie {
  width: min(100%, 340px); justify-self: center;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .38));
  animation: float-soft 8s ease-in-out infinite;
}
.cta-copy p { color: rgba(255, 255, 255, .88); max-width: 46ch; margin: 18px 0 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------- rodapé ---------------------------- */
.site-footer {
  background: var(--choc-950); color: var(--on-dark-soft);
  padding-top: clamp(56px, 7vw, 84px);
  font-size: .92rem;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 48px;
}
.footer-brand img { width: 112px; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 22px; max-width: 34ch; line-height: 1.6; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: rgba(253, 244, 232, .07); color: var(--cream-100);
  transition: background-color var(--t-base), transform var(--t-base), color var(--t-base);
}
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { background: var(--chili-500); transform: translateY(-3px); color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-col h3 {
  font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cookie-400); font-weight: 800; margin-bottom: 4px;
}
.footer-col a, .footer-col p, .footer-col address { margin: 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--cookie-400); }
.footer-col .link-btn { color: var(--on-dark-soft); border-bottom-color: rgba(217, 189, 163, .4); }
.footer-col .link-btn:hover { color: var(--cookie-400); }
.footer-note { color: rgba(217, 189, 163, .7); font-size: .84rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(253, 244, 232, .09);
  font-size: .82rem; color: rgba(217, 189, 163, .72);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--cookie-400); }
.footer-bottom p { margin: 0; }

/* ------------------------- overlay / carrinho ---------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(28, 13, 5, .55);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity var(--t-base);
}
.overlay.is-open { opacity: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(430px, 100vw);
  background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 70px -30px rgba(28, 13, 5, .6);
  transform: translateX(102%);
  transition: transform .42s var(--ease-out);
  visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px 26px 20px; border-bottom: 1px solid var(--line-soft);
}
.drawer-head h2 { font-size: 1.4rem; color: var(--choc-900); }
.drawer-head p { margin: 4px 0 0; font-size: .84rem; color: var(--ink-muted); }

.cart-body { flex: 1; overflow-y: auto; padding: 20px 26px; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty img { width: 84px; margin: 0 auto 20px; opacity: .5; }
.cart-empty h3 { font-size: 1.2rem; color: var(--choc-900); margin-bottom: 8px; }
.cart-empty p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 22px; }

.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--card); border-radius: var(--r-md); padding: 12px;
  box-shadow: var(--shadow-xs);
  animation: item-in .35s var(--ease-out) backwards;
}
@keyframes item-in { from { opacity: 0; transform: translateX(24px); } }
.cart-item.is-leaving { animation: item-out .28s var(--ease-out) forwards; }
@keyframes item-out { to { opacity: 0; transform: translateX(40px); height: 0; padding-block: 0; margin-bottom: -14px; } }

.cart-thumb {
  width: 68px; height: 68px; border-radius: var(--r-sm);
  background: radial-gradient(circle at 50% 45%, var(--cream-100), var(--cream-200));
  display: grid; place-items: center; overflow: hidden;
}
.cart-thumb img { width: 82%; }
.cart-info { min-width: 0; }
.cart-info h4 { font-size: .96rem; color: var(--choc-900); margin: 0 0 4px; line-height: 1.25; }
.cart-info span { font-size: .82rem; color: var(--ink-muted); }
.cart-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty {
  display: flex; align-items: center; gap: 2px;
  background: var(--cream-100); border-radius: var(--r-pill); padding: 3px;
}
.qty button {
  width: 26px; height: 26px; border-radius: var(--r-pill); display: grid; place-items: center;
  color: var(--choc-800); font-weight: 800; font-size: 1rem; line-height: 1;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.qty button:hover { background: var(--choc-900); color: var(--cream-50); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; }
.cart-remove { font-size: .76rem; color: var(--ink-muted); border-bottom: 1px solid transparent; }
.cart-remove:hover { color: var(--chili-600); border-bottom-color: currentColor; }

.cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line-soft); background: var(--card); }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .92rem; color: var(--ink-soft); }
.cart-line strong { color: var(--choc-900); font-variant-numeric: tabular-nums; }
.cart-total { padding-top: 12px; margin-top: 8px; border-top: 1px dashed var(--line); font-size: 1.02rem; }
.cart-total strong { font-family: var(--font-display); font-size: 1.5rem; }
.cart-foot .btn { margin-top: 14px; }

/* -------------------------------- modais --------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 110;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(28, 13, 5, .6);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative; width: min(560px, 100%);
  background: var(--surface); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-xl);
  transform: translateY(26px) scale(.97);
  transition: transform .4s var(--ease-spring);
  max-height: min(92vh, 900px); overflow-y: auto;
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-card-wide { width: min(940px, 100%); }
.modal-card-center { text-align: center; }

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: var(--cream-100); color: var(--choc-800);
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-close:hover { background: var(--chili-500); color: #fff; transform: rotate(90deg); }

.modal-head { margin-bottom: 24px; }
.modal-head h2 { font-size: 1.7rem; color: var(--choc-900); }

/* checkout em duas colunas */
#checkoutModal .modal-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0; padding: 0; overflow-y: auto; overflow-x: hidden; }
.checkout-panel { padding: 36px; }
.checkout-summary {
  background: linear-gradient(165deg, var(--choc-900), var(--choc-800));
  color: var(--on-dark-soft); padding: 36px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.checkout-summary h3 { color: var(--cream-100); font-size: 1.15rem; margin-bottom: 4px; }
.summary-item { display: flex; justify-content: space-between; gap: 14px; font-size: .88rem; padding: 9px 0; border-bottom: 1px solid rgba(253, 244, 232, .08); }
.summary-item span { color: var(--on-dark-soft); }
.summary-item strong { color: var(--cream-100); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-total { margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(253, 244, 232, .2); display: flex; justify-content: space-between; align-items: baseline; }
.summary-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--cookie-400); }
.summary-note { font-size: .78rem; color: rgba(217, 189, 163, .75); line-height: 1.5; margin: 0; }

/* -------------------------------- forms ---------------------------- */
.field { margin-bottom: 18px; border: 0; padding: 0; }
.field label, .field legend {
  display: block; font-size: .82rem; font-weight: 700; color: var(--choc-800);
  margin-bottom: 7px; letter-spacing: .01em;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); outline: none;
  font-size: .95rem; color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 62px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); opacity: .65; }
.field input:focus, .field textarea:focus {
  border-color: var(--choc-600); box-shadow: 0 0 0 4px rgba(122, 66, 34, .1);
}
.field.has-error input { border-color: var(--chili-500); box-shadow: 0 0 0 4px rgba(214, 32, 43, .1); }
.field-error { display: none; font-size: .78rem; color: var(--chili-600); font-weight: 600; margin-top: 6px; }
.field.has-error .field-error { display: block; }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card span {
  display: flex; flex-direction: column; gap: 2px;
  padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--card); border: 1.5px solid var(--line);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}
.radio-card strong { font-size: .9rem; color: var(--choc-900); }
.radio-card small { font-size: .76rem; color: var(--ink-muted); }
.radio-card input:checked + span {
  border-color: var(--chili-500); background: rgba(214, 32, 43, .05); transform: translateY(-2px);
}
.radio-card input:focus-visible + span { outline: 3px solid var(--chili-500); outline-offset: 2px; }

.form-error {
  background: rgba(214, 32, 43, .08); border: 1px solid rgba(214, 32, 43, .25);
  color: var(--chili-700); border-radius: var(--r-sm); padding: 12px 16px;
  font-size: .88rem; font-weight: 600; margin-bottom: 16px;
}
.form-legal { font-size: .76rem; color: var(--ink-muted); text-align: center; margin: 14px 0 0; line-height: 1.55; }
.form-legal a { color: var(--chili-600); font-weight: 600; text-decoration: underline; }

/* --------------------------- pedido confirmado --------------------- */
.success-mark { display: block; width: 76px; margin: 8px auto 20px; color: var(--leaf); }
.success-mark svg { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .6s var(--ease-out) forwards; opacity: .3; }
.success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal-card-center h2 { font-size: 1.9rem; color: var(--choc-900); margin-bottom: 8px; }
.success-code { font-size: .95rem; color: var(--ink-muted); margin: 0 0 14px; }
.success-code strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--chili-600); letter-spacing: .04em; }
.success-text { color: var(--ink-soft); margin: 0 auto 26px; max-width: 42ch; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ------------------------- acompanhar pedido ----------------------- */
.track-result { margin-top: 22px; padding: 20px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-xs); }
.track-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed var(--line-soft); }
.track-row:last-child { border-bottom: 0; }
.track-row span { color: var(--ink-muted); }
.track-row strong { color: var(--choc-900); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 800; letter-spacing: .03em;
}
.pill-good { background: rgba(12, 163, 12, .13); color: #0a7d0a; }
.pill-warn { background: rgba(250, 178, 25, .18); color: #96650a; }
.pill-bad { background: rgba(208, 59, 59, .13); color: var(--chili-700); }
.pill-info { background: rgba(42, 120, 214, .13); color: #1c5cab; }

/* ---------------------------- visão rápida ------------------------- */
.quick-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.quick-media {
  background: radial-gradient(circle at 46% 40%, var(--cream-100), var(--blush-200));
  display: grid; place-items: center; padding: 46px 30px; min-height: 320px;
}
.quick-media img { width: 84%; filter: drop-shadow(0 30px 36px rgba(58, 28, 12, .3)); animation: float-soft 6s ease-in-out infinite; }
.quick-info { padding: 44px 40px; display: flex; flex-direction: column; gap: 12px; }
.quick-info h2 { font-size: 1.8rem; color: var(--choc-900); }
.quick-info p { color: var(--ink-soft); margin: 0; }
.quick-price { font-family: var(--font-display); font-size: 2.1rem; color: var(--choc-900); }
.quick-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick-actions { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }

/* -------------------------------- toasts --------------------------- */
.toast-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  display: flex; flex-direction: column-reverse; gap: 10px;
  pointer-events: none; max-width: min(360px, calc(100vw - 40px));
}
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--choc-900); color: var(--cream-100);
  padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
  animation: toast-in .38s var(--ease-spring);
  pointer-events: auto;
}
.toast.is-leaving { animation: toast-out .3s var(--ease-out) forwards; }
.toast-icon { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: #fff; font-size: .72rem; }
.toast[data-tone="error"] .toast-icon { background: var(--chili-500); }
.toast[data-tone="info"] .toast-icon { background: var(--cookie-500); color: var(--choc-900); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.94); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }

/* ------------------------- revelações no scroll -------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

/* ------------------------------ responsivo ------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  /* o recuo negativo de .hero-copy existe só pro layout de 2 colunas do
     desktop; empilhado, ele cola o texto na borda — desliga aqui */
  .hero-copy { transform: none; }
  .hero-visual { order: -1; justify-items: center; }
  .hero-stage { width: min(78vw, 420px); margin-right: 0; }
  .split-grid, .about-grid, .cta-inner { grid-template-columns: 1fr; }
  .split-media { order: -1; min-height: 280px; }
  .about-frame-sm { width: 40%; right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #checkoutModal .modal-card { grid-template-columns: 1fr; }
  .checkout-summary { order: -1; padding: 28px 30px; }
  .quick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    height: 100dvh; padding: 96px 32px 40px;
    background: var(--surface);
    transform: translateY(-102%);
    transition: transform .45s var(--ease-out);
    z-index: -1;
  }
  .nav.is-open { transform: translateY(0); box-shadow: var(--shadow-xl); }
  .nav-link { font-family: var(--font-display); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 20px; align-self: flex-start; }
  .burger { display: block; }
  .hero-card-rating { right: -2%; }
  .hero-card-price { left: 0; }
  /* O carrossel em si já vem do CSS base; no mobile muda só a medida —
     card acompanhando a largura da tela e respiro menor entre eles. */
  .testimonial-grid { gap: 16px; }
  .testimonial { flex: 0 0 min(86vw, 360px); }
  .about-badge { width: 78px; height: 78px; left: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .radio-row { grid-template-columns: 1fr; }
  .checkout-panel { padding: 28px 24px; }
  .modal-card { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* O passo é a largura de UM conjunto de depoimentos (--marquee-shift,
   medida em JS), não uma fração do trilho: o trilho pode ter 2, 3 ou mais
   conjuntos, conforme o necessário pra cobrir a tela. Ao andar um conjunto
   exato, a cópia está no lugar do original — o corte é invisível. */
@keyframes testimonial-marquee {
  to { transform: translateX(calc(var(--marquee-shift, 0px) * -1)); }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .lead { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero-stats li { flex: 1 1 30%; }
  .cart-drawer { width: 100vw; }
  /* auto-fill deixa de caber 2 colunas em telas bem estreitas (~320px) e
     cai pra 1 sozinho — fixando 2 colunas explícitas, cada uma só encolhe
     (o conteúdo do card já é todo fluido nesse breakpoint). */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-body { padding: 16px 16px 18px; }
  .product-name { font-size: 1rem; }
  .product-desc { display: none; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .add-btn { justify-content: center; }
  .toast-stack { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

/* --------------------- preferências de movimento ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-cookie, .hero-chili, .hero-drop, .hero-card, .cta-cookie, .about-badge { animation: none; }

  /* Aqui os depoimentos não precisam de regra: com movimento reduzido o JS
     nem monta o carrossel (sem cópias, sem classe .is-marquee), então o
     viewport já é a faixa rolável do CSS base. */
}

/* ------------------------------ impressão -------------------------- */
@media print {
  .site-header, .cart-drawer, .overlay, .modal, .toast-stack, .cta-final, .hero-scroll { display: none !important; }
  body { background: #fff; }
}
