/* Bem Querer Donuts · sistema comum */
:root {
  --pink: #E8117F;
  --pink-2: #C80A6B;
  --pink-ink: #6E0638;
  --rose: #FFC7DF;
  --mint: #A6E3D5;
  --mint-2: #6FCDB8;
  --cream: #FFF5EC;
  --cream-2: #F8E7D8;
  --cocoa: #2B1116;
  --cocoa-2: #43202A;
  --butter: #F6C866;
  --ink: #2B1116;

  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --r-plate: clamp(28px, 4vw, 56px);
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--pink); color: var(--cream); }
:focus-visible { outline: 2.5px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--cocoa); color: var(--cream); padding: 10px 16px; border-radius: 999px; transition: top 200ms var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia */
.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.h-xl, .h-l {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  letter-spacing: -.035em;
  line-height: .95;
}
.h-xl { font-size: clamp(44px, 7.4vw, 112px); }
.h-l { font-size: clamp(36px, 5vw, 72px); }
.h-xl em, .h-l em, h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}

/* ---------- botões */
.btn {
  --bg: var(--cocoa); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 600; font-size: 16px; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform 240ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--ink { --bg: var(--cocoa); --fg: var(--cream); }
.btn--pink { --bg: var(--pink); --fg: var(--cream); }
.btn--cream { --bg: var(--cream); --fg: var(--cocoa); }
.btn--line { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr { transform: translateX(3px); }
  .btn--ink:hover { --bg: var(--pink-ink); }
  .btn--pink:hover { --bg: var(--pink-2); }
  .btn--cream:hover { --bg: #fff; }
  .btn--line:hover { box-shadow: inset 0 0 0 2.5px currentColor; }
}
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.link-arrow svg { width: 18px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--cream-2); color: var(--cocoa);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.chip svg { width: 14px; height: 14px; }
.chip:active { transform: scale(.96); }
.chip--ifood { background: #EA1D2C; color: #fff; }
.chip--wa { background: #1FAF5B; color: #fff; }
.chip--own { background: var(--pink); color: #fff; }
.chip--map { background: var(--cocoa); color: var(--cream); }
.chip--icon { width: 36px; padding: 0; justify-content: center; }
.chip--icon svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .chip:hover { filter: brightness(1.06); } }

/* ---------- header */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hd-h);
  color: var(--cream);
  transition: color 300ms ease, transform 400ms var(--ease-out);
}
.hd::before {
  content: ''; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--hd-bg, var(--pink)) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  opacity: 0; transition: opacity 300ms ease, background-color 300ms ease;
}
.hd.is-scrolled::before { opacity: 1; }
.hd.is-hidden { transform: translateY(-100%); }
.hd[data-tone='cream'], .hd[data-tone='mint'] { color: var(--cocoa); }
.hd[data-tone='cream'] { --hd-bg: var(--cream); }
.hd[data-tone='mint'] { --hd-bg: var(--mint); }
.hd[data-tone='cocoa'] { --hd-bg: var(--cocoa); }
.hd[data-tone='pink'] { --hd-bg: var(--pink); }
.hd__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.hd__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hd__brand img { width: 46px; height: 46px; border-radius: 50%; transition: transform 600ms var(--ease-out); }
.hd__brand span { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -.02em; font-variation-settings: 'SOFT' 100; }
.hd__brand small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .hd__brand:hover img { transform: rotate(-24deg); } }
.hd__nav { display: flex; gap: 4px; }
.hd__nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15.5px; border-radius: 999px; }
.hd__nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
.hd__nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.hd__cta { display: flex; align-items: center; gap: 10px; }
.hd[data-tone='cocoa'] .btn--ink, .hd[data-tone='pink'] .btn--ink { --bg: var(--cream); --fg: var(--cocoa); }
.hd__menu { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px currentColor; }
.hd__menu span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease-out); }
.hd__menu span:first-child { top: 18px; } .hd__menu span:last-child { top: 26px; }
.hd__menu[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.hd__menu[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--pink); color: var(--cream);
  padding: calc(var(--hd-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - var(--gutter) - 23px) 38px);
  transition: clip-path 600ms var(--ease-in-out);
}
.menu[hidden] { display: flex; visibility: hidden; transition: clip-path 500ms var(--ease-in-out), visibility 0s 500ms; }
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 38px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,245,236,.2); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 9vw, 56px); letter-spacing: -.03em; line-height: 1.05; font-variation-settings: 'SOFT' 100; }
.menu nav a small { font-family: var(--f-body); font-size: 13px; font-weight: 500; opacity: .7; }
.menu__foot { display: flex; gap: 20px; font-weight: 600; }
.menu__foot a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.menu__foot svg { width: 20px; height: 20px; }
body.menu-open .hd { color: var(--cream) !important; }
body.menu-open .hd::before { opacity: 0 !important; }
body.menu-open .hd .btn--ink { --bg: var(--cream); --fg: var(--cocoa); }

@media (max-width: 1080px) {
  .hd__nav { display: none; }
  .hd__menu { display: block; }
}
@media (max-width: 560px) {
  :root { --hd-h: 66px; }
  .hd__brand span { font-size: 18px; }
  .hd__brand small { display: none; }
  .hd__brand img { width: 40px; height: 40px; }
  .hd__cta .btn span { display: none; }
  .hd__cta .btn { width: 46px; padding: 0; }
  .hd__cta .btn svg { width: 20px; height: 20px; }
}

/* ---------- placas (seções empilhadas) */
.plate {
  position: relative;
  border-radius: var(--r-plate) var(--r-plate) 0 0;
  margin-top: calc(var(--r-plate) * -1);
  padding: calc(clamp(80px, 11vw, 160px) + var(--r-plate) * .5) 0 calc(clamp(80px, 11vw, 160px) + var(--r-plate));
}
.plate--cream { background: var(--cream); color: var(--cocoa); }
.plate--pink { background: var(--pink); color: var(--cream); }
.plate--mint { background: var(--mint); color: var(--cocoa); }
.plate--cocoa { background: var(--cocoa); color: var(--cream); }
.plate--rose { background: var(--rose); color: var(--cocoa); }

/* ---------- cabeçalho de páginas internas */
.ph { position: relative; padding: calc(var(--hd-h) + clamp(56px, 9vw, 120px)) 0 calc(clamp(64px, 9vw, 120px) + var(--r-plate)); overflow: hidden; }
.ph--pink { background: var(--pink); color: var(--cream); }
.ph--cocoa { background: var(--cocoa); color: var(--cream); }
.ph--mint { background: var(--mint); color: var(--cocoa); }
.ph--cream { background: var(--cream); color: var(--cocoa); }
.ph__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 11vw, 176px); line-height: .88; letter-spacing: -.045em; font-variation-settings: 'SOFT' 100; margin-top: 18px; }
.ph__title em { font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.ph__lede { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); margin-top: 28px; opacity: .92; }
.ph__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

/* entrada de linhas (títulos) */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; }
.js .reveal-lines .line > span { transform: translateY(105%); }
.js .reveal-up { opacity: 0; transform: translateY(18px); }

/* ---------- rodapé */
.ft { position: relative; background: var(--pink-2); color: var(--cream); border-radius: var(--r-plate) var(--r-plate) 0 0; margin-top: calc(var(--r-plate) * -1); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; }
.ft__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.ft__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -.035em; font-variation-settings: 'SOFT' 100; }
.ft__big em { font-style: italic; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.ft__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ft__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft__cols a { display: block; padding: 5px 0; text-decoration: none; opacity: .9; overflow-wrap: anywhere; }
.ft__h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 10px; }
@media (hover: hover) and (pointer: fine) { .ft__cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; } }
.ft__word { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 17.6vw, 300px); line-height: .8; letter-spacing: -.06em; white-space: nowrap; margin: clamp(56px, 8vw, 110px) 0 24px; color: var(--cream); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; opacity: .75; border-top: 1px solid rgba(255,245,236,.25); padding-top: 18px; }
@media (max-width: 900px) {
  .ft__top { grid-template-columns: 1fr; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- gaveta de pedidos */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: block; visibility: hidden; pointer-events: none; transition: visibility 0s 450ms; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(43,17,22,.5); opacity: 0; transition: opacity 400ms ease; }
.sheet__panel {
  position: absolute; right: 12px; top: 12px; bottom: 12px;
  width: min(520px, calc(100% - 24px));
  background: var(--cream); color: var(--cocoa);
  border-radius: 32px;
  display: flex; flex-direction: column;
  transform: translateX(calc(100% + 24px));
  transition: transform 500ms var(--ease-drawer);
  overflow: hidden;
}
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { display: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 16px; }
.sheet__head .eyebrow { color: var(--pink); }
.sheet__head h2 { font-family: var(--f-display); font-weight: 800; font-size: 38px; letter-spacing: -.03em; line-height: 1; margin-top: 8px; font-variation-settings: 'SOFT' 100; }
.sheet__x { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; transition: transform 160ms var(--ease-out); flex: none; }
.sheet__x svg { width: 16px; height: 16px; }
.sheet__x:active { transform: scale(.94); }
.sheet__search { margin: 0 28px 12px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 0 18px; box-shadow: inset 0 0 0 1.5px var(--cream-2); }
.sheet__search svg { width: 20px; height: 20px; opacity: .6; flex: none; }
.sheet__search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; height: 52px; outline: none; color: inherit; min-width: 0; }
.sheet__search:focus-within { box-shadow: inset 0 0 0 2px var(--pink); }
.sheet__list { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 28px 28px; }
.city { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--cream-2); }
.city[hidden] { display: none; }
.city > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.city strong { font-size: 18px; font-weight: 600; }
.city span { font-size: 12px; font-weight: 600; letter-spacing: .08em; opacity: .55; }
.city__links { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__empty { padding: 0 28px 28px; }
.sheet__empty a { color: var(--pink); font-weight: 600; }
body.sheet-open { overflow: hidden; }
@media (max-width: 640px) {
  .sheet__panel { left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 86vh; height: 86dvh; border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .sheet__grab { display: block; width: 44px; height: 5px; border-radius: 4px; background: var(--cream-2); margin: 10px auto 0; }
  .sheet__head { padding: 14px 20px 12px; }
  .sheet__head h2 { font-size: 32px; }
  .sheet__search { margin: 0 20px 8px; }
  .sheet__list { padding: 0 20px 24px; }
}

/* ---------- formulários */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--cocoa);
  background: #fff; border: 0; border-radius: 18px;
  box-shadow: inset 0 0 0 1.5px var(--cream-2);
  padding: 15px 18px; outline: none;
  transition: box-shadow 200ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 2px var(--pink); }
.field input[type='file'] { padding: 12px; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: 14px; opacity: .7; }
.form__ok { grid-column: 1 / -1; display: none; padding: 18px 20px; border-radius: 18px; background: var(--mint); color: var(--cocoa); font-weight: 600; }
.form.is-sent .form__ok { display: block; animation: pop 400ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* granulados decorativos */
.sprinkle { position: absolute; width: 22px; height: 7px; border-radius: 4px; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; scroll-behavior: auto !important; }
  .js .reveal-lines .line > span, .js .reveal-up { transform: none; opacity: 1; }
  .menu { transition: opacity 200ms ease, visibility 0s; clip-path: none; opacity: 0; }
  .menu.is-open { opacity: 1; }
}
