/* ==========================================================================
   Bora de Pastel — demonstração do portfólio de Igor Rendon
   Estilos isolados: toda classe começa com "bp-" e toda variável com "--bp-".
   Todos os caminhos são relativos a este arquivo (../fonts, ../img).
   ========================================================================== */

@font-face {
  font-family: "Lilita One";
  src: url("../fonts/lilita-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  /* arquivo variável reduzido ao eixo de peso 400–800 (largura normal fixa) */
  src: url("../fonts/nunito-sans-latin-var.woff2") format("woff2-variations"),
       url("../fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bp-red: #C52E35;
  --bp-red-deep: #A8262C;
  --bp-yellow: #FFD23F;
  --bp-yellow-hover: #FFDD66;
  --bp-cream: #FFF3DC;
  --bp-wine: #681C24;
  --bp-cocoa: #30201B;
  --bp-white: #FFFFFF;

  --bp-font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --bp-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bp-wrap: 1200px;
  --bp-gutter: 16px;
  --bp-header-h: 64px;
  --bp-radius: 24px;
  --bp-radius-lg: 36px;
  --bp-ease: cubic-bezier(.2, .7, .2, 1);
  --bp-shadow: 0 18px 40px -22px rgba(48, 32, 27, .45);
  --bp-focus: var(--bp-wine);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--bp-header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.bp {
  margin: 0;
  background: var(--bp-cream);
  color: var(--bp-cocoa);
  font-family: var(--bp-font-body);
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 960px) { body.bp { font-size: 1.0625rem; } }
:where(.bp) img { display: block; max-width: 100%; height: auto; }
:where(.bp) :where(h1, h2, h3, p, ul, dl, dd, figure, fieldset) { margin: 0; }
:where(.bp) ul { padding: 0; list-style: none; }
:where(.bp) fieldset { padding: 0; border: 0; min-width: 0; }
:where(.bp) :where(button, select, input) { font: inherit; color: inherit; }
:where(.bp) button { cursor: pointer; }
:where(.bp) a { color: inherit; }
.bp [hidden] { display: none !important; }
:where(.bp) :focus-visible { outline: 3px solid var(--bp-focus); outline-offset: 3px; }

.bp-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bp-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--bp-yellow); color: var(--bp-wine);
  font-weight: 800; text-decoration: none;
}
.bp-skip:focus { top: 12px; }

.bp-wrap { width: 100%; max-width: calc(var(--bp-wrap) + var(--bp-gutter) * 2); margin-inline: auto; padding-inline: var(--bp-gutter); }
@media (min-width: 640px) { :root { --bp-gutter: 24px; } }
@media (min-width: 960px) { :root { --bp-gutter: 40px; --bp-header-h: 76px; } }

/* Sem JavaScript: nada de botões falsos. Os controles da simulação somem. */
.no-js [data-requires-js] { display: none !important; }
.bp-nojs {
  margin: 0 0 24px; padding: 14px 18px; border-radius: 16px;
  background: var(--bp-white); border: 2px dashed var(--bp-wine); color: var(--bp-wine); font-weight: 700;
}

/* ---------- Tipografia ---------- */
.bp-title {
  font-family: var(--bp-font-display);
  font-weight: 400; /* Lilita já é pesada: sem negrito sintético */
  font-synthesis: none;
  color: var(--bp-wine);
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.bp-title--xl { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.25rem); }
.bp-title--md { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); }
.bp-title--cream { color: var(--bp-cream); }

.bp-kicker {
  display: inline-block;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  color: var(--bp-yellow);
}
.bp-kicker--red { color: var(--bp-red); }

.bp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: .875rem; font-weight: 800; line-height: 1.3;
}
.bp-pill--wine { background: var(--bp-wine); color: var(--bp-cream); }
.bp-pill--yellow { background: var(--bp-yellow); color: var(--bp-wine); }

/* ---------- Botões ---------- */
.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--bp-font-body); font-weight: 800; font-size: 1rem; line-height: 1.15;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--bp-ease), box-shadow .18s var(--bp-ease), background-color .18s var(--bp-ease), color .18s var(--bp-ease);
}
.bp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(48, 32, 27, .7); }
.bp-btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.bp-btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.bp-btn--block { width: 100%; }
.bp-btn--yellow { background: var(--bp-yellow); color: var(--bp-wine); }
.bp-btn--yellow:hover { background: var(--bp-yellow-hover); }
.bp-btn--red { background: var(--bp-red); color: var(--bp-white); }
.bp-btn--red:hover { background: var(--bp-red-deep); }
.bp-btn--wine { background: var(--bp-wine); color: var(--bp-cream); }
.bp-btn--wine:hover { background: #551620; }
.bp-btn--ghost { border-color: var(--bp-cream); color: var(--bp-cream); background: transparent; }
.bp-btn--ghost:hover { background: var(--bp-cream); color: var(--bp-red); }
.bp-btn--outline { border-color: var(--bp-red); color: var(--bp-red); background: transparent; }
.bp-btn--outline:hover { background: var(--bp-red); color: var(--bp-white); }
.bp-btn:disabled, .bp-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .bp-btn, .bp-btn:hover, .bp-btn:active { transform: none; } }

/* ---------- Wordmark ---------- */
.bp-wordmark {
  display: inline-flex; flex-direction: column;
  font-family: var(--bp-font-display); font-weight: 400; font-synthesis: none;
  line-height: .86; text-decoration: none;
}
.bp-wordmark__top { color: var(--bp-yellow); font-size: 1rem; letter-spacing: .01em; }
.bp-wordmark__main { color: var(--bp-cream); font-size: 1.75rem; letter-spacing: -.01em; }
.bp-wordmark--sm .bp-wordmark__top { font-size: .875rem; }
.bp-wordmark--sm .bp-wordmark__main { font-size: 1.5rem; }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.bp-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bp-red); color: var(--bp-cream);
  --bp-focus: var(--bp-yellow);
  transition: box-shadow .2s var(--bp-ease);
}
.bp-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(48, 32, 27, .9); }
.bp-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--bp-header-h); }
.bp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border-radius: 10px; }
.bp-demo {
  display: inline-block; padding: 3px 8px 2px; border-radius: 999px;
  border: 1.5px solid currentColor; color: var(--bp-cream);
  font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
}

.bp-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.bp-nav__list { display: flex; gap: 26px; }
.bp-nav__list a {
  position: relative; display: inline-block; padding: 8px 0;
  font-weight: 700; text-decoration: none; color: var(--bp-cream);
}
.bp-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--bp-yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--bp-ease);
}
.bp-nav__list a:hover::after { transform: scaleX(1); }
.bp-nav__cta { min-height: 44px; padding: 0 20px; }

.bp-header__actions { display: flex; align-items: center; gap: 8px; }
.bp-bagbtn, .bp-menubtn {
  position: relative; display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 243, 220, .55); background: transparent; color: var(--bp-cream);
  transition: background-color .18s var(--bp-ease), border-color .18s var(--bp-ease);
}
.bp-bagbtn:hover, .bp-menubtn:hover { background: var(--bp-red-deep); border-color: var(--bp-cream); }
.bp-bagbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bp-bagbtn__count {
  position: absolute; top: -6px; right: -6px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--bp-yellow); color: var(--bp-wine); border: 2px solid var(--bp-red);
  font-size: .75rem; font-weight: 800; line-height: 1;
}
.bp-bagbtn__count.is-empty { display: none; }
.bp-bagbtn__count.is-bump { animation: bp-bump .35s var(--bp-ease); }
@keyframes bp-bump { 50% { transform: scale(1.3); } }
.bp-menubtn { display: none; }
.bp-menubtn__bars, .bp-menubtn__bars::before, .bp-menubtn__bars::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .2s var(--bp-ease), opacity .2s var(--bp-ease);
}
.bp-menubtn__bars { position: relative; }
.bp-menubtn__bars::before, .bp-menubtn__bars::after { content: ""; position: absolute; left: 0; }
.bp-menubtn__bars::before { top: -6.5px; }
.bp-menubtn__bars::after { top: 6.5px; }
.bp-menubtn[aria-expanded="true"] .bp-menubtn__bars { background: transparent; }
.bp-menubtn[aria-expanded="true"] .bp-menubtn__bars::before { transform: translateY(6.5px) rotate(45deg); }
.bp-menubtn[aria-expanded="true"] .bp-menubtn__bars::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 959.98px) {
  .bp-header__actions { margin-left: auto; }
  .js .bp-menubtn { display: inline-grid; }
  .js .bp-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--bp-gutter) 24px;
    background: var(--bp-red); border-top: 1px solid rgba(255, 243, 220, .25);
    box-shadow: 0 18px 30px -18px rgba(48, 32, 27, .9);
    margin: 0;
    transition: opacity .2s var(--bp-ease), transform .24s var(--bp-ease), visibility 0s linear .24s;
  }
  .js .bp-nav:not(.is-open) { opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none; }
  .js .bp-nav.is-open { transition: opacity .2s var(--bp-ease), transform .24s var(--bp-ease), visibility 0s; }
  .js .bp-nav__list { flex-direction: column; gap: 0; }
  .js .bp-nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid rgba(255, 243, 220, .2); }
  .js .bp-nav__list a::after { display: none; }
  .js .bp-nav__cta { min-height: 52px; }
  /* Sem JS: links sempre visíveis, numa linha abaixo da marca */
  .no-js .bp-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .bp-nav { order: 3; width: 100%; margin: 0; flex-wrap: wrap; gap: 12px 20px; }
  .no-js .bp-nav__list { gap: 18px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.bp-hero {
  position: relative; isolation: isolate;
  background: var(--bp-red); color: var(--bp-cream);
  --bp-focus: var(--bp-yellow);
  display: flex; flex-direction: column;
}
.bp-hero__inner { position: relative; z-index: 1; }
.bp-hero__text { padding: 28px 0 8px; max-width: 640px; }
.bp-hero__title {
  margin-top: 10px;
  font-family: var(--bp-font-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.25rem);
  line-height: .98; letter-spacing: -.01em;
  color: var(--bp-cream);
  text-wrap: balance;
}
.bp-hl { display: block; color: var(--bp-yellow); }
.bp-hero__lead { margin-top: 18px; max-width: 34em; font-size: 1.0625rem; font-weight: 500; }
@media (min-width: 960px) { .bp-hero__lead { font-size: 1.1875rem; } }
.bp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bp-hero__note {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: .875rem; font-weight: 600; color: var(--bp-cream);
}
.bp-hero__note svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--bp-yellow); stroke-width: 1.6; stroke-linecap: round; }

/* Celular e tablet: texto primeiro, foto depois (recortada na comida) */
.bp-hero__media { order: 2; position: relative; margin-top: 8px; }
.bp-hero__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 88% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%);
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .bp-hero__media img { aspect-ratio: 16 / 10; object-position: 80% 50%; }
}

/* Computador: manchete à esquerda (~55%), foto à direita usando o próprio vermelho da imagem */
@media (min-width: 1100px) {
  .bp-hero {
    min-height: clamp(560px, calc(100vh - var(--bp-header-h)), 760px); justify-content: center;
    /* aproxima o vermelho da marca do vermelho da foto na área de transição */
    background: linear-gradient(90deg, var(--bp-red) 0 36%, #CA242B 62%, #CA242B 100%);
  }
  .bp-hero__media { position: absolute; inset: 0 0 0 auto; width: 64%; margin: 0; order: 0; }
  .bp-hero__media img {
    height: 100%; aspect-ratio: auto; object-position: 78% 50%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .6) 14%, #000 30%);
            mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .6) 14%, #000 30%);
  }
  .bp-hero__text { width: 55%; max-width: 660px; padding: 48px 0 96px; }
}
@media (min-width: 1440px) { .bp-hero__media { width: 62%; } }
/* 1100–1199 px: coluna de texto um pouco mais estreita e comida mais à direita, para não se tocarem */
@media (min-width: 1100px) and (max-width: 1199.98px) {
  .bp-hero__text { width: 50%; }
  .bp-hero__lead { max-width: 25em; }
  .bp-hero__media { width: 60%; }
  .bp-hero__media img { object-position: 88% 50%; }
}

/* ==========================================================================
   Cardápio
   ========================================================================== */
.bp-menu { padding: 56px 0 88px; background: var(--bp-cream); }
@media (min-width: 960px) { .bp-menu { padding: 88px 0 128px; } }
.bp-menu__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.bp-menu__intro { margin-top: 12px; font-size: 1.0625rem; max-width: 36em; }
@media (min-width: 960px) { .bp-menu__intro { font-size: 1.1875rem; } }

.bp-filters {
  display: flex; gap: 10px;
  margin: 0 calc(var(--bp-gutter) * -1) 28px; padding: 4px var(--bp-gutter) 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bp-filters::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .bp-filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.bp-filter {
  flex: none; scroll-snap-align: start;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--bp-wine); background: transparent; color: var(--bp-wine);
  font-weight: 800; font-size: 1rem;
  transition: background-color .18s var(--bp-ease), color .18s var(--bp-ease), transform .18s var(--bp-ease);
}
.bp-filter:hover { background: rgba(104, 28, 36, .08); }
.bp-filter[aria-pressed="true"] { background: var(--bp-wine); color: var(--bp-cream); }
.bp-filter[aria-pressed="true"]::before { content: "✓ "; }

.bp-products { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .bp-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bp-product {
  display: flex; flex-direction: column;
  background: var(--bp-white); border-radius: var(--bp-radius); overflow: hidden;
  box-shadow: var(--bp-shadow);
  transition: transform .25s var(--bp-ease), box-shadow .25s var(--bp-ease);
}
.bp-product:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -24px rgba(48, 32, 27, .55); }
.bp-product__media { overflow: hidden; background: var(--bp-cream); }
.bp-product__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--bp-ease); }
@media (min-width: 1100px) { .bp-product__media img { aspect-ratio: 1 / 1; } }
.bp-product:hover .bp-product__media img { transform: scale(1.04); }
.bp-product__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.bp-product__cat { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bp-red); }
.bp-product__name { margin-top: 4px; font-family: var(--bp-font-display); font-weight: 400; font-synthesis: none; font-size: 1.5rem; line-height: 1.08; color: var(--bp-wine); }
.bp-product__desc { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.bp-product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.bp-product__price { font-family: var(--bp-font-display); font-size: 1.5rem; line-height: 1; color: var(--bp-red); white-space: nowrap; }
.bp-add { min-height: 46px; padding: 0 18px; }
.bp-add.is-added { background: var(--bp-wine); color: var(--bp-cream); }
@media (prefers-reduced-motion: reduce) {
  .bp-product, .bp-product:hover, .bp-product__media img, .bp-product:hover .bp-product__media img { transform: none; transition: none; }
}

/* ==========================================================================
   Destaque para compartilhar
   ========================================================================== */
.bp-share { position: relative; overflow: hidden; background: var(--bp-yellow); color: var(--bp-cocoa); padding: 72px 0 96px; }
@media (min-width: 960px) { .bp-share { padding: 120px 0 140px; } }
.bp-share__inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .bp-share__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.bp-share__media { justify-self: center; width: min(100%, 460px); }
.bp-share__media img {
  border-radius: var(--bp-radius-lg); transform: rotate(-2.5deg);
  box-shadow: 14px 14px 0 var(--bp-wine);
}
@media (max-width: 639.98px) { .bp-share__media { width: calc(100% - 14px); justify-self: start; } }
.bp-share__tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px;
  background: var(--bp-red); color: var(--bp-white); font-size: .875rem; font-weight: 800;
}
.bp-share__lead { margin-top: 16px; max-width: 30em; font-size: 1.125rem; font-weight: 500; }
@media (min-width: 960px) { .bp-share__lead { font-size: 1.3125rem; } }
.bp-share__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.bp-share__price { font-family: var(--bp-font-display); font-size: 1.75rem; color: var(--bp-wine); line-height: 1; }
.bp-share__price small { display: block; margin-top: 4px; font-family: var(--bp-font-body); font-size: .8125rem; font-weight: 700; }
.bp-share .bp-btn { --bp-focus: var(--bp-wine); white-space: normal; }
@media (prefers-reduced-motion: reduce) { .bp-share__media img { transform: none; } }

/* ==========================================================================
   A Bora
   ========================================================================== */
.bp-about { background: var(--bp-cream); padding: 64px 0 72px; overflow: hidden; }
@media (min-width: 960px) { .bp-about { padding: 104px 0; } }
.bp-about__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .bp-about__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }
.bp-about__mascot { position: relative; justify-self: center; width: min(240px, 70vw); }
@media (min-width: 860px) { .bp-about__mascot { width: min(100%, 340px); } }
.bp-about__mascot::before {
  content: ""; position: absolute; inset: 8% 2% 2% 6%; z-index: 0;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: var(--bp-yellow);
}
.bp-about__mascot img { position: relative; z-index: 1; width: 100%; }
.bp-about__bubble {
  position: absolute; z-index: 2; top: -6px; left: -12px;
  padding: 8px 16px 6px; border-radius: 20px 20px 20px 4px;
  background: var(--bp-red); color: var(--bp-cream);
  font-family: var(--bp-font-display); font-size: 1.25rem; line-height: 1;
  rotate: -7deg;
  box-shadow: 4px 4px 0 var(--bp-wine);
  transition: rotate .3s cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 860px) { .bp-about__bubble { font-size: 1.5rem; left: -20px; } }
.bp-about__text .bp-kicker { margin-bottom: 10px; }
.bp-about__lead { margin-top: 18px; max-width: 34em; font-size: 1.0625rem; }
@media (min-width: 960px) { .bp-about__lead { font-size: 1.1875rem; } }
.bp-about__note {
  margin-top: 18px; padding-left: 14px; border-left: 4px solid var(--bp-red);
  max-width: 36em; font-size: .9375rem; color: var(--bp-cocoa);
}
.bp-about__sign {
  margin-top: 26px; font-family: var(--bp-font-display); font-size: 1.375rem; line-height: 1.1; color: var(--bp-red);
}

/* ==========================================================================
   Unidades
   ========================================================================== */
.bp-units {
  position: relative; background: var(--bp-red); color: var(--bp-cream); padding: 64px 0;
  --bp-focus: var(--bp-yellow);
  border-radius: var(--bp-radius-lg) var(--bp-radius-lg) 0 0;
}
@media (min-width: 960px) { .bp-units { padding: 96px 0; border-radius: 64px 64px 0 0; } }
.bp-units__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .bp-units__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.bp-units__lead { margin-top: 14px; font-size: 1.0625rem; max-width: 28em; }
@media (min-width: 960px) { .bp-units__lead { font-size: 1.1875rem; } }
.bp-units__panel {
  background: var(--bp-cream); color: var(--bp-cocoa);
  border-radius: var(--bp-radius-lg); padding: 24px;
  --bp-focus: var(--bp-wine);
  box-shadow: 0 24px 50px -28px rgba(48, 32, 27, .9);
}
@media (min-width: 640px) { .bp-units__panel { padding: 32px; } }
.bp-cities legend { margin-bottom: 12px; font-weight: 800; color: var(--bp-wine); }
.bp-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.bp-city { position: relative; }
.bp-city input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bp-city span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--bp-wine); color: var(--bp-wine); font-weight: 800;
  transition: background-color .18s var(--bp-ease), color .18s var(--bp-ease);
}
.bp-city input:checked + span { background: var(--bp-wine); color: var(--bp-cream); }
.bp-city input:checked + span::before { content: "✓\00a0"; }
.bp-city input:focus-visible + span { outline: 3px solid var(--bp-red); outline-offset: 3px; }
.bp-city:hover span { background: rgba(104, 28, 36, .08); }
.bp-city:hover input:checked + span { background: var(--bp-wine); }

.bp-unitcards { display: grid; gap: 10px; }
.bp-unit {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 20px; background: var(--bp-white);
  border: 2px solid rgba(104, 28, 36, .12);
}
.bp-unit__pin { width: 32px; height: 32px; flex: none; fill: var(--bp-red); stroke: var(--bp-white); stroke-width: 1.5; }
.bp-unit__name { font-family: var(--bp-font-display); font-weight: 400; font-size: 1.3125rem; line-height: 1.15; color: var(--bp-wine); }
.bp-units__detail { margin: 14px 0 20px; font-size: .9375rem; }
.bp-units__panel .bp-btn { white-space: normal; }
.bp-units__panel .bp-btn--yellow { --bp-focus: var(--bp-wine); }

/* ==========================================================================
   Encomendas e expansão
   ========================================================================== */
.bp-more { background: var(--bp-red); padding: 0 0 64px; }
@media (min-width: 960px) { .bp-more { padding-bottom: 96px; } }
.bp-more__inner { display: grid; gap: 16px; }
@media (min-width: 800px) { .bp-more__inner { grid-template-columns: 1fr 1fr; gap: 20px; } }
.bp-more__item { border-radius: var(--bp-radius-lg); padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 960px) { .bp-more__item { padding: 44px 40px; } }
.bp-more__item p { font-size: 1.0625rem; max-width: 28em; margin-bottom: 8px; }
.bp-more__item .bp-btn { white-space: normal; }
.bp-more__item--orders { background: var(--bp-yellow); color: var(--bp-cocoa); --bp-focus: var(--bp-wine); }
.bp-more__item--expand { background: var(--bp-wine); color: var(--bp-cream); --bp-focus: var(--bp-yellow); }

/* ==========================================================================
   Rodapé (padrão das demonstrações do portfólio: linha, aviso, autoria)
   ========================================================================== */
.bp-footer {
  background: var(--bp-wine); color: var(--bp-cream); padding: 36px 0 32px;
  --bp-focus: var(--bp-yellow);
  font-size: .875rem; line-height: 1.6;
}
.bp-footer__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 243, 220, .2); }
.bp-footer .bp-wordmark { border-radius: 8px; }
.bp-footer__nav { display: flex; gap: 22px; }
.bp-footer__nav a { font-size: .9375rem; font-weight: 700; text-decoration: none; }
.bp-footer__nav a:hover { color: var(--bp-yellow); }
.bp-footer__notice { margin-top: 18px; color: rgba(255, 243, 220, .88); }
.bp-footer__sign { margin-top: 8px; color: rgba(255, 243, 220, .88); }
.bp-footer__sign a { color: var(--bp-cream); text-decoration: underline; text-decoration-color: rgba(255, 243, 220, .45); text-underline-offset: 3px; }
.bp-footer__sign a:hover { color: var(--bp-yellow); text-decoration-color: currentColor; }
.bp-footer__sign span { margin: 0 4px; }

/* ==========================================================================
   Botão flutuante "Quero um site assim" (WhatsApp de Igor)
   ========================================================================== */
.bp-wa {
  position: fixed; z-index: 45;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 13px; border-radius: 999px;
  background: var(--bp-wine); color: var(--bp-cream);
  border: 2px solid var(--bp-cream);
  font-weight: 800; font-size: .9375rem; line-height: 1; text-decoration: none; white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(48, 32, 27, .85);
  --bp-focus: var(--bp-wine);
  transition: transform .18s var(--bp-ease), opacity .2s var(--bp-ease), background-color .18s var(--bp-ease);
}
.bp-wa:hover { background: #551620; transform: translateY(-2px); }
.bp-wa:focus-visible { outline: 3px solid var(--bp-yellow); box-shadow: 0 0 0 6px var(--bp-wine); }
.bp-wa__icon { width: 24px; height: 24px; flex: none; fill: var(--bp-yellow); }
/* celular: versão compacta, só o ícone (o nome completo está no aria-label) */
.bp-wa { width: 52px; height: 52px; padding: 0; justify-content: center; }
.bp-wa__long, .bp-wa__short { display: none; }
@media (min-width: 768px) {
  .bp-wa { width: auto; height: auto; right: calc(24px + env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); padding: 0 20px 0 16px; font-size: 1rem; }
  .bp-wa__icon { width: 22px; height: 22px; }
  .bp-wa__long { display: inline; }
}
/* recolhe enquanto divide a faixa inferior com controles importantes ou com o rodapé */
.bp-wa.is-yielding { opacity: 0; transform: translateY(10px); pointer-events: none; }
.bp-wa.is-yielding:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
/* some enquanto a sacola ou um modal estiver aberto */
.is-dialog-open .bp-wa, body:has(dialog[open]) .bp-wa { display: none; }
@media (prefers-reduced-motion: reduce) { .bp-wa, .bp-wa:hover { transition: opacity .01s; transform: none; } }

/* ==========================================================================
   Diálogos: sacola (gaveta) e modais informativos
   ========================================================================== */
:where(.bp) dialog { padding: 0; border: 0; color: var(--bp-cocoa); background: transparent; max-width: none; max-height: none; }
:where(.bp) dialog::backdrop { background: rgba(48, 32, 27, .6); }
.is-dialog-open body { overflow: hidden; }

.bp-close {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(104, 28, 36, .25); background: var(--bp-white); color: var(--bp-wine);
}
.bp-close:hover { border-color: var(--bp-wine); }
.bp-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Gaveta */
.bp-drawer { margin: 0 0 0 auto; width: min(440px, 100vw); height: 100vh; height: 100dvh; }
.bp-drawer[open] { display: flex; }
.bp-drawer__panel {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  background: var(--bp-cream); box-shadow: -20px 0 40px -24px rgba(48, 32, 27, .8);
}
.bp-drawer[open] .bp-drawer__panel { animation: bp-slide .34s cubic-bezier(.22, .8, .3, 1); }
.bp-drawer.is-closing .bp-drawer__panel { animation: bp-slide-out .22s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes bp-slide { from { transform: translateX(100%); } }
@keyframes bp-slide-out { to { transform: translateX(100%); } }
:where(.bp) dialog[open]::backdrop { animation: bp-fade .25s ease-out; }
:where(.bp) dialog.is-closing::backdrop { animation: bp-fade-out .22s ease-in forwards; }
@keyframes bp-fade { from { opacity: 0; } }
@keyframes bp-fade-out { to { opacity: 0; } }
.bp-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 10px; }
.bp-drawer__title { font-family: var(--bp-font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--bp-wine); }
.bp-drawer__notice { margin: 0 20px 8px; align-self: flex-start; font-size: .8125rem; }
.bp-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 24px; display: flex; flex-direction: column; }

.bp-empty { text-align: center; padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bp-empty img { width: 150px; height: auto; }
.bp-empty__title { font-family: var(--bp-font-display); font-size: 1.5rem; color: var(--bp-wine); }
.bp-empty .bp-btn { margin-top: 10px; }

.bp-lines { display: grid; gap: 12px; }
.bp-line {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center;
  padding: 12px; border-radius: 18px; background: var(--bp-white);
}
.bp-line img { grid-row: span 2; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.bp-line__name { font-weight: 800; line-height: 1.25; color: var(--bp-wine); }
.bp-line__unit { display: block; font-size: .8125rem; font-weight: 500; color: var(--bp-cocoa); }
.bp-line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bp-qty { display: inline-flex; align-items: center; gap: 2px; border: 2px solid rgba(104, 28, 36, .2); border-radius: 999px; padding: 2px; }
.bp-qty button {
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--bp-wine); font-size: 1.25rem; font-weight: 800; line-height: 1;
}
.bp-qty button:hover:not(:disabled) { background: var(--bp-cream); }
.bp-qty button:disabled { opacity: .35; cursor: not-allowed; }
.bp-qty output { min-width: 26px; text-align: center; font-weight: 800; }
.bp-line__total { font-weight: 800; white-space: nowrap; }
.bp-line__remove {
  min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--bp-red); font-size: .875rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px;
}
.bp-line__remove:hover { background: var(--bp-cream); }

.bp-checkout { margin-top: auto; padding-top: 20px; display: grid; gap: 14px; }
.bp-mode legend { margin-bottom: 8px; font-weight: 800; color: var(--bp-wine); }
.bp-mode { display: grid; gap: 8px; }
.bp-mode__opt {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px;
  border: 2px solid rgba(104, 28, 36, .2); border-radius: 14px; background: var(--bp-white); font-weight: 700; cursor: pointer;
}
.bp-mode__opt:has(input:checked) { border-color: var(--bp-wine); }
.bp-mode__opt input { width: 20px; height: 20px; accent-color: var(--bp-red); margin: 0; }
.bp-field { display: block; margin-bottom: 6px; font-weight: 800; color: var(--bp-wine); font-size: .9375rem; }
.bp-select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px;
  border: 2px solid rgba(104, 28, 36, .3); background: var(--bp-white); font-weight: 700;
}
.bp-mode__info { padding: 12px 14px; border-radius: 14px; background: var(--bp-white); font-size: .9375rem; }
.bp-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 2px dashed rgba(104, 28, 36, .25); font-weight: 800; }
.bp-total strong { font-family: var(--bp-font-display); font-weight: 400; font-size: 1.75rem; color: var(--bp-red); }
.bp-checkout__hint { font-size: .875rem; text-align: center; }

.bp-done { gap: 14px; }
.bp-done__msg {
  padding: 16px; border-radius: 18px; background: var(--bp-wine); color: var(--bp-cream);
  font-weight: 800; font-size: 1.0625rem; line-height: 1.45;
}
.bp-done__msg:focus { outline: 3px solid var(--bp-red); outline-offset: 3px; }
.bp-done__title { font-family: var(--bp-font-display); font-weight: 400; font-size: 1.375rem; color: var(--bp-wine); }
.bp-done__list { display: grid; gap: 6px; }
.bp-done__list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(104, 28, 36, .15); }
.bp-done__meta { display: grid; gap: 6px; }
.bp-done__meta div { display: flex; justify-content: space-between; gap: 12px; }
.bp-done__meta dt { font-weight: 700; }
.bp-done__meta dd { font-weight: 800; text-align: right; }
.bp-done__actions { display: grid; gap: 10px; margin-top: 6px; }
.bp-done__actions .bp-btn { white-space: normal; }
.bp-done__foot { font-size: .8125rem; }

/* Modais */
.bp-modal { margin: auto; width: min(560px, calc(100vw - 32px)); }
.bp-modal__box {
  position: relative; padding: 32px 24px 26px; border-radius: 28px; background: var(--bp-cream);
  box-shadow: 0 30px 60px -30px rgba(48, 32, 27, .9);
}
@media (min-width: 640px) { .bp-modal__box { padding: 40px 40px 32px; } }
.bp-modal[open] .bp-modal__box { animation: bp-pop .28s cubic-bezier(.34, 1.4, .64, 1); }
.bp-modal.is-closing .bp-modal__box { animation: bp-pop-out .18s ease-in forwards; }
@keyframes bp-pop { from { transform: translateY(16px) scale(.96); opacity: 0; } }
@keyframes bp-pop-out { to { transform: translateY(10px) scale(.97); opacity: 0; } }
.bp-modal .bp-close { position: absolute; top: 14px; right: 14px; }
.bp-modal .bp-pill { margin-bottom: 12px; }
.bp-modal .bp-title { padding-right: 40px; }
.bp-modal p:not(.bp-pill) { margin-top: 12px; font-size: 1.0625rem; }
.bp-modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.bp-modal__link { font-weight: 800; color: var(--bp-red); text-underline-offset: 3px; }
.bp-modal__who { font-weight: 500; color: var(--bp-cocoa); }
@media (prefers-reduced-motion: reduce) {
  .bp-drawer[open] .bp-drawer__panel, .bp-modal[open] .bp-modal__box, .bp-bagbtn__count.is-bump,
  .bp-drawer.is-closing .bp-drawer__panel, .bp-modal.is-closing .bp-modal__box,
  :where(.bp) dialog[open]::backdrop, :where(.bp) dialog.is-closing::backdrop { animation: none; }
  .js .bp-nav, .js .bp-nav.is-open { transition: none; }
}


/* ==========================================================================
   EVOLUÇÃO VISUAL — grafismos, selos e movimento
   Regras gerais:
   - só transform/opacity nas animações (e dashoffset uma vez no rabisco);
   - tudo que se move fica dentro de prefers-reduced-motion: no-preference;
   - as revelações por rolagem só existem com a classe .bp-anim (posta pelo JS);
     se o JS falhar, nada fica escondido. A entrada do hero é só CSS e termina visível.
   ========================================================================== */
.bp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bp-hero__deco svg, .bp-share__deco svg, .bp-about__mascot svg, .bp-ribbon svg { display: block; overflow: visible; }

/* ---------- Transição: borda "beliscada" do pastel (hero → cardápio) ---------- */
.bp-crimp {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  height: 16px; background: var(--bp-cream);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 10px, #000 10.5px) 0 0 / 24px 100% repeat-x;
          mask: radial-gradient(circle at 50% 0, transparent 10px, #000 10.5px) 0 0 / 24px 100% repeat-x;
}
@media (min-width: 960px) {
  .bp-crimp {
    height: 22px;
    -webkit-mask-image: radial-gradient(circle at 50% 0, transparent 14px, #000 14.5px);
            mask-image: radial-gradient(circle at 50% 0, transparent 14px, #000 14.5px);
    -webkit-mask-size: 34px 100%; mask-size: 34px 100%;
  }
}

/* ---------- Decoração do hero ---------- */
.bp-hero__deco { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bp-stamp { position: absolute; width: clamp(88px, 8.6vw, 128px); height: auto; aspect-ratio: 1; rotate: -12deg; }
.bp-stamp__bg { fill: var(--bp-yellow); }
.bp-stamp__ring { fill: none; stroke: var(--bp-wine); stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; }
.bp-stamp__text { font-family: var(--bp-font-display); font-size: 14.5px; letter-spacing: .04em; fill: var(--bp-wine); }
.bp-stamp__star { color: var(--bp-red); }
.bp-croc {
  position: absolute; font-family: var(--bp-font-display); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1;
  color: var(--bp-yellow); rotate: -10deg;
  text-shadow: 3px 3px 0 var(--bp-wine);
}
.bp-hero__lines { position: absolute; width: clamp(40px, 4vw, 58px); aspect-ratio: 64 / 44; color: var(--bp-yellow); rotate: 24deg; }
.bp-hero__star { position: absolute; aspect-ratio: 1; }
.bp-hero__star--a { width: clamp(22px, 2.2vw, 34px); color: var(--bp-yellow); }
.bp-hero__star--b { width: clamp(16px, 1.5vw, 22px); color: var(--bp-cream); }
.bp-hero__crumbs { position: absolute; width: clamp(60px, 6vw, 88px); aspect-ratio: 120 / 80; color: var(--bp-yellow); opacity: .75; }

/* celular/tablet: foto abaixo do texto — poucos grafismos, longe da comida */
.bp-hero__stamp { left: 4%; top: 2%; }
.bp-hero__star--a { right: 6%; top: 6%; }
.bp-hero__star--b { left: 30%; top: 14%; }
.bp-croc, .bp-hero__lines { display: none; }
.bp-hero__crumbs { left: 4%; bottom: 14%; }
@media (min-width: 640px) {
  .bp-croc { display: block; left: 24%; top: 12%; }
  .bp-hero__lines { display: block; left: 40%; top: 7%; }
}
/* computador: os grafismos se apoiam na comida (lado direito), nunca sobre o texto */
@media (min-width: 1100px) {
  .bp-hero__stamp { left: 36%; top: auto; bottom: max(8%, 44px); }
  .bp-croc { left: 32%; top: 10%; }
  .bp-hero__lines { left: 47%; top: 4%; }
  .bp-hero__star--a { right: 5%; top: 7%; }
  .bp-hero__star--b { left: 24%; bottom: 20%; top: auto; }
  .bp-hero__crumbs { left: 54%; bottom: 4%; }
}

/* ---------- Faixa entre cardápio e Caixa da Galera ---------- */
/* o invólucro recorta a faixa inclinada nas laterais (sem rolagem horizontal) e
   avança sobre as duas seções vizinhas com margem negativa */
.bp-ribbon-wrap { position: relative; z-index: 4; overflow: hidden; margin: -56px 0 -60px; padding: 30px 0 34px; pointer-events: none; }
.bp-ribbon {
  position: relative;
  margin: 0 -4vw; padding: 12px 0 10px;
  background: var(--bp-wine); color: var(--bp-cream);
  rotate: -2deg; overflow: hidden;
}
.bp-ribbon__track { display: flex; align-items: center; justify-content: center; gap: 18px; white-space: nowrap; }
.bp-ribbon__track span { font-family: var(--bp-font-display); font-size: clamp(1.125rem, .9rem + .8vw, 1.5rem); line-height: 1; }
.bp-ribbon__track svg { width: 16px; height: 16px; flex: none; color: var(--bp-yellow); }

/* ---------- Caixa da Galera: composição com sobreposições ---------- */
.bp-share__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bp-share__inner { position: relative; z-index: 1; }
.bp-deco { position: absolute; }
.bp-share__star1 { width: 34px; aspect-ratio: 1; left: 5%; top: 11%; color: var(--bp-red); }
.bp-share__star2 { width: 24px; aspect-ratio: 1; right: 7%; top: 16%; color: var(--bp-wine); }
.bp-share__star3 { width: 18px; aspect-ratio: 1; right: 38%; bottom: 20%; color: var(--bp-red); }
.bp-share__crumbs1 { width: 96px; aspect-ratio: 120 / 80; right: 20%; top: 7%; color: var(--bp-wine); opacity: .28; }
.bp-share__crumbs2 { width: 120px; aspect-ratio: 120 / 80; left: 3%; bottom: 13%; color: var(--bp-wine); opacity: .22; }
.bp-share__lines { width: 58px; aspect-ratio: 64 / 44; left: 40%; top: 22%; color: var(--bp-red); rotate: 200deg; display: none; }
@media (min-width: 900px) { .bp-share__lines { display: block; } }
@media (max-width: 899.98px) {
  .bp-share__star3, .bp-share__crumbs1 { display: none; }
  .bp-share__crumbs2 { left: auto; right: 4%; bottom: 5%; width: 90px; }
}

.bp-share__media { position: relative; }
.bp-share__media img:first-child { position: relative; z-index: 1; }
.bp-badge { position: absolute; z-index: 3; display: grid; place-items: center; aspect-ratio: 1; }
.bp-badge__shape { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--bp-red); }
.bp-badge__text {
  position: relative; text-align: center;
  font-family: var(--bp-font-display); line-height: .95; color: var(--bp-cream);
}
.bp-share__badge { width: clamp(96px, 10vw, 128px); top: -22px; right: -8px; rotate: 12deg; --d: .45s; }
.bp-share__badge .bp-badge__text { font-size: clamp(1.05rem, .8rem + .7vw, 1.35rem); }
.bp-share__mascot {
  position: absolute; z-index: 2; width: 40%; left: -44px; bottom: -48px; rotate: -8deg;
  --d: .6s;
}
@media (max-width: 899.98px) { .bp-share__media { margin-bottom: 36px; } }
@media (max-width: 639.98px) {
  .bp-share__badge { right: -4px; top: -18px; }
  .bp-share__mascot { left: -10px; bottom: -34px; width: 34%; }
}
.bp-wave { position: absolute; left: 0; bottom: -1px; z-index: 2; width: 100%; height: 34px; fill: var(--bp-cream); }
@media (min-width: 960px) { .bp-wave { height: 56px; } }

/* ---------- A Bora: mascote integrado ---------- */
.bp-about__orbit {
  position: absolute; inset: -4% -6% -2% -4%; z-index: 0; width: 110%; height: auto;
  fill: none; stroke: var(--bp-red); stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .55;
}
.bp-about__star { position: absolute; z-index: 2; aspect-ratio: 1; }
.bp-about__star--a { width: 30px; right: 2%; top: 6%; color: var(--bp-red); --d: .55s; }
.bp-about__star--b { width: 18px; left: 8%; bottom: 10%; color: var(--bp-wine); --d: .7s; }
.bp-about__lines { position: absolute; z-index: 2; width: 46px; aspect-ratio: 64 / 44; left: -10%; top: 38%; color: var(--bp-wine); rotate: 170deg; --d: .6s; }
.bp-about__img { rotate: 0deg; translate: 0 0; transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .35s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bp-about__mascot:hover .bp-about__img { rotate: -5deg; translate: 0 -8px; }
  .bp-about__mascot:hover .bp-about__bubble { rotate: -13deg; }
}
.bp-squig { position: relative; display: inline-block; white-space: nowrap; }
.bp-squig svg {
  position: absolute; left: -2%; bottom: -.16em; z-index: -1;
  width: 104%; height: .3em; color: var(--bp-yellow);
  stroke-dasharray: 280; stroke-dashoffset: 0;
}
.bp-about__text { position: relative; z-index: 0; }
.bp-about__sign { display: flex; align-items: center; gap: 10px; }
.bp-about__sign svg { width: 22px; height: 22px; flex: none; color: var(--bp-yellow); }

/* ---------- Botões: seta que avança, confirmação ao adicionar ---------- */
.bp-btn__arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--bp-ease); }
.bp-btn--arrow:hover .bp-btn__arrow, .bp-btn--arrow:focus-visible .bp-btn__arrow { transform: translateX(4px); }
.bp-btn--wine.is-added { background: var(--bp-red); color: var(--bp-white); }
.bp-btn:focus-visible { box-shadow: 0 0 0 6px color-mix(in srgb, var(--bp-focus) 18%, transparent); }

/* ==========================================================================
   Movimento (desligado por completo com prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Entrada coordenada do hero (~0,9 s no total; nada bloqueia o clique) */
  .js .bp-hero .bp-kicker   { animation: bp-rise .5s var(--bp-ease) both; }
  .js .bp-hero__title       { animation: bp-rise .6s var(--bp-ease) .06s both; }
  .js .bp-hero__lead        { animation: bp-rise .5s var(--bp-ease) .2s both; }
  .js .bp-hero__ctas        { animation: bp-rise .5s var(--bp-ease) .28s both; }
  .js .bp-hero__note        { animation: bp-rise .5s var(--bp-ease) .34s both; }
  .js .bp-hero__media img   { animation: bp-hero-food .8s cubic-bezier(.22, .8, .3, 1) .08s both; }
  .js .bp-hero__deco > *    { animation: bp-sticker .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  .js .bp-hero__stamp       { animation-delay: .42s; }
  .js .bp-croc              { animation-delay: .48s; }
  .js .bp-hero__lines       { animation-delay: .52s; }
  .js .bp-hero__star--a     { animation-delay: .56s; }
  .js .bp-hero__crumbs      { animation-delay: .6s; }
  /* o único elemento com flutuação contínua: uma estrela pequena (pausada fora da tela) */
  .js .bp-hero__star--b     { animation: bp-sticker .5s cubic-bezier(.34, 1.56, .64, 1) .62s both, bp-float 4.8s ease-in-out 1.2s infinite; }
  .bp-hero.is-offscreen .bp-float { animation-play-state: paused; }

  /* Revelação das seções, uma única vez */
  .bp-anim .bp-reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .6s var(--bp-ease), transform .6s var(--bp-ease);
    transition-delay: var(--d, 0ms);
  }
  .bp-anim .bp-reveal[data-reveal="left"] { transform: translateX(-36px) rotate(-3deg); }
  .bp-anim .bp-reveal.is-in { opacity: 1; transform: none; }

  /* Selos e mascote: entram "estourando", com atraso curto */
  .bp-anim [data-pop]:not(.is-in) { opacity: 0; }
  .bp-anim [data-pop].is-in { animation: bp-sticker .55s cubic-bezier(.34, 1.56, .64, 1) var(--d, .15s) both; }

  /* Croquinho: entrada divertida (a imagem inteira; nenhuma parte do corpo é animada) */
  .bp-anim [data-mascot]:not(.is-in) .bp-about__img,
  .bp-anim [data-mascot]:not(.is-in) .bp-about__bubble,
  .bp-anim [data-mascot]:not(.is-in) .bp-about__star,
  .bp-anim [data-mascot]:not(.is-in) .bp-about__lines { opacity: 0; }
  .bp-anim [data-mascot].is-in .bp-about__img { animation: bp-mascot-in .9s cubic-bezier(.34, 1.4, .64, 1) both; }
  .bp-anim [data-mascot].is-in .bp-about__bubble { animation: bp-sticker .5s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
  .bp-anim [data-mascot].is-in .bp-about__star,
  .bp-anim [data-mascot].is-in .bp-about__lines { animation: bp-sticker .5s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
  .bp-anim .bp-reveal .bp-squig svg { stroke-dashoffset: 280; }
  .bp-anim .bp-reveal.is-in .bp-squig svg { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--bp-ease) .35s; }

  /* Troca de categoria: saída curta, entrada em sequência */
  .bp-products.is-leaving .bp-product { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .14s ease-in, transform .14s ease-in; }
  .bp-product.is-entering { animation: bp-card-in .34s var(--bp-ease) var(--d, 0ms) both; }

  /* Adicionar: o botão responde e o contador "pula" */
  [data-add].is-added { animation: bp-press .38s cubic-bezier(.34, 1.56, .64, 1); }

  /* Links do menu móvel entram em cascata */
  .js .bp-nav.is-open .bp-nav__list li { animation: bp-rise .3s var(--bp-ease) both; }
  .js .bp-nav.is-open .bp-nav__list li:nth-child(2) { animation-delay: .04s; }
  .js .bp-nav.is-open .bp-nav__list li:nth-child(3) { animation-delay: .08s; }
  .js .bp-nav.is-open .bp-nav__cta { animation: bp-rise .3s var(--bp-ease) .12s both; }
}

@keyframes bp-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes bp-hero-food { from { opacity: 0; transform: translateX(32px) scale(1.05); } }
@keyframes bp-sticker { 0% { opacity: 0; scale: .4; } 70% { opacity: 1; scale: 1.08; } 100% { opacity: 1; scale: 1; } }
@keyframes bp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes bp-mascot-in {
  0% { opacity: 0; transform: translateY(48px) scale(.72) rotate(-12deg); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.04) rotate(3deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes bp-card-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes bp-press { 0% { scale: 1; } 35% { scale: .93; } 70% { scale: 1.05; } 100% { scale: 1; } }
