/* =========================================================================
   Criarara Studio — fotografia gastronômica. Site em "história de rolagem",
   HTML, CSS e JS puros (estrutura e animações vindas do modelo "pingado").
   Tokens de cor e fonte ficam em :root logo abaixo;
   desktop frame is 1440px, tablet 810–1439px, phone < 810px.
   ========================================================================= */

/* ---------- fonts ---------- */
/* Bristol (principal, sempre em MAIÚSCULAS) e Inria Serif (secundária, textos corridos). */
@font-face { font-family: "Bristol"; src: url("../assets/fonts/bristol.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inria Serif"; src: url("../assets/fonts/inria-serif-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

/* ---------- tokens (cores da marca Criarara) ----------
   Os nomes das variáveis vêm do modelo; o papel de cada uma é o que vale:
   --c-brown  = fundo da página e acentos   → laranja
   --c-dark   = painéis escuros, texto escuro → azul-marinho (principal 2)
   --c-yellow = painéis claros, destaque     → creme (principal 1)
   --c-cream  = texto claro                  → creme
   --c-green  = títulos sobre painel escuro  → amarelo
   --c-red / --c-leaf = apoio (vermelho e verde) */
:root {
  --c-brown: #d98123;
  --c-dark: #050f3a;
  --c-yellow: #fff6e7;
  --c-cream: #fff6e7;
  --c-green: #ffda33;
  --c-caramel: #d98123;
  --c-red: #a60825;
  --c-leaf: #518026;
  --c-sun: #ffda33;
  --radius: 16px;
  --gap: 6px;
  --pad: 60px;
  --f-main: "Bristol", "Arial Narrow", sans-serif;
  --f-text: "Inria Serif", Georgia, serif;
  --f-logo: var(--f-main);
  --f-ultra: var(--f-main);
  --f-wide: var(--f-main);
  --f-variable: var(--f-main);
  --ease-soft: cubic-bezier(.44, 0, .56, 1);
}

/* ---------- reset ---------- */
*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--c-brown); color: var(--c-cream);
  font-family: var(--f-main); font-weight: 400; text-transform: uppercase;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, p, ul, figure { margin: 0; padding: 0; font-weight: 400; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* proteção das fotos: sem arrastar, sem selecionar, sem o menu de toque longo do celular */
img, canvas, .dock-carousel__thumb { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--c-yellow); color: var(--c-dark); }

/* ---------- escala tipográfica ---------- */
.t-hero, .t-small, .t-body, .t-xl, .t-h5, .t-lg, .t-h4, .t-label, .t-md, .t-merch, .t-card {
  font-family: var(--f-main); font-weight: 400; text-transform: uppercase;
}
/* textos corridos: Inria Serif, caixa mista */
.t-body, .t-card, .t-text, .product__desc, .review__txt p, .about__class-top .t-lg, .about__news .t-body,
.visit__addr .t-lg, .merch__face .t-card, .booking input, .booking select, .booking textarea {
  font-family: var(--f-text); text-transform: none; letter-spacing: 0;
}
.t-hero  { font-size: 58px; line-height: 64px; letter-spacing: 3px; }
.t-small { font-size: 20px; line-height: 20px; letter-spacing: 2px; }
.t-body  { font-size: 20px; line-height: 26px; }
.t-xl    { font-size: 72px; line-height: 72px; letter-spacing: 4px; }
.balance { text-wrap: balance; }
.t-h5    { font-size: 32px; line-height: 32px; letter-spacing: 2px; }
.t-lg    { font-size: 32px; line-height: 32px; letter-spacing: 2px; }
.t-h4    { font-size: 48px; line-height: 48px; letter-spacing: 4px; }
.t-label { font-size: 16px; line-height: 18px; letter-spacing: 2px; }
.t-md    { font-size: 24px; line-height: 24px; letter-spacing: 2px; }
.t-merch { font-size: 48px; line-height: 48px; letter-spacing: 3px; }
.t-card  { font-size: 24px; line-height: 30px; }
.t-text  { font-size: 22px; line-height: 1.35; }

/* Mistura de fontes: frases longas na Inria Serif (caixa mista); Bristol fica nos títulos curtos,
   faixas e botões. */
.about__txt, .smenu__lead, .team__desc, .step > .t-xl, .visit__loc > .t-xl {
  font-family: var(--f-text); text-transform: none; letter-spacing: 0;
}
.about__txt { font-size: 52px; line-height: 1.12; }
.smenu__lead, .team__desc { font-size: 56px; line-height: 1.12; }
.step > .t-xl { font-size: 46px; line-height: 1.15; }
.visit__loc > .t-xl { font-size: 54px; line-height: 1.12; }
.product h6, .dish__info h6, .smenu__list li, .topic__links a, .member__quote, .review__who h5 {
  font-family: var(--f-text); text-transform: none; letter-spacing: 0;
}
.member__quote { line-height: 1.1; }
.product h6, .dish__info h6 { font-size: 19px; }
@media (max-width: 1439.98px) {
  .about__txt { font-size: 32px; line-height: 1.15; }
  .smenu__lead, .team__desc, .visit__loc > .t-xl { font-size: 36px; line-height: 1.15; }
  .step > .t-xl { font-size: 32px; }
  .t-text { font-size: 19px; }
}
@media (max-width: 809.98px) {
  .about__txt { font-size: 24px; }
  .smenu__lead, .team__desc, .visit__loc > .t-xl { font-size: 28px; }
  .step > .t-xl { font-size: 26px; }
  .t-text { font-size: 17px; }
}

.c-brown { color: var(--c-brown); } .c-dark { color: var(--c-dark); }
.c-yellow { color: var(--c-yellow); } .c-cream { color: var(--c-cream); } .c-green { color: var(--c-green); }

/* texto letra a letra (por linha, scale 0 + rotateY 10° → 1) */
[data-split] .w { white-space: nowrap; display: inline; }
[data-split] .ch { display: inline-block; transform: scale(0) rotateY(10deg); will-change: transform; }
[data-split].is-split-done .ch { will-change: auto; }
.no-js [data-split] .ch, .reduced [data-split] .ch { transform: none; }

/* appear (opacity .001 → 1, delay .3s, .8s) */
[data-appear] { opacity: .001; transition: opacity .8s var(--ease-soft) .3s; }
.is-ready [data-appear] { opacity: 1; }

/* ---------- shared blocks ---------- */
.page { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gap); overflow: clip; }
.page > section { width: 100%; }
.panel { border-radius: var(--radius); }
.panel--dark { background: var(--c-dark); }
.panel--yellow { background: var(--c-yellow); }

/* button ("Hover Default" component: hard 4px shadow, presses into it on hover) */
.btn { display: inline-flex; padding: 0 4px 4px 0; transition: padding .3s var(--ease-soft); cursor: pointer; }
.btn > span {
  display: block; padding: 10px 20px; border-radius: 8px; white-space: pre;
  font-size: 24px; line-height: 24px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg); box-shadow: 4px 4px 0 0 var(--btn-sh);
  transition: box-shadow .3s var(--ease-soft);
}
.btn:hover { padding: 4px 0 0 4px; }
.btn:hover > span { box-shadow: 0 0 0 0 var(--btn-sh); }
.btn--dark   { --btn-bg: var(--c-dark);   --btn-fg: var(--c-yellow); --btn-sh: var(--c-brown); }
.btn--yellow { --btn-bg: var(--c-yellow); --btn-fg: var(--c-dark);   --btn-sh: var(--c-brown); }
.btn--brown  { --btn-bg: var(--c-brown);  --btn-fg: var(--c-yellow); --btn-sh: var(--c-yellow); }
.btn--yellow-shadow { --btn-sh: var(--c-yellow); }
.btn--brown-shadow  { --btn-sh: var(--c-brown); }

/* parallax media (ParallaxMedia component) */
.parallax-media { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); }
.parallax-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 50%; will-change: transform; pointer-events: none;
}

/* fill text (scroll-tied two-colour wipe, bottom → top) */
.fill-text {
  --base: var(--c-yellow); --fill: var(--c-dark); --p: 0;
  position: relative; width: 100%; display: block; overflow: hidden;
  font-family: var(--f-main); font-weight: 400; line-height: 1.4; letter-spacing: 0;
  text-transform: uppercase; text-align: center; white-space: pre-line; color: transparent;
}
.fill-text--left { text-align: left; }
.fill-text > span { display: block; padding-top: .22em; } /* folga para os acentos da Bristol (é, ã, ç) */
.fill-text__base, .fill-text__fill { position: absolute; inset: 0; }
.fill-text__base { color: var(--base); }
.fill-text__fill { color: var(--fill); clip-path: inset(calc((1 - var(--wipe, 0)) * 100%) 0 0 0); }

/* path marquee (SVG textPath on a wave) */
.path-marquee { overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: pan-y; }
.path-marquee:active { cursor: grabbing; }
.path-marquee[data-static] { cursor: default; }
.path-marquee svg { width: 100%; height: 100%; overflow: visible; user-select: none; }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; transform: translate3d(-100px, -100px, 0); }
.cursor__body {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 318px; background: var(--c-yellow); overflow: hidden;
  transition: width .4s cubic-bezier(.34, 1.4, .5, 1), height .4s cubic-bezier(.34, 1.4, .5, 1), border-radius .4s, background-color .3s;
}
.cursor__label { font-size: 24px; line-height: 24px; letter-spacing: 2px; color: var(--c-dark); white-space: nowrap; opacity: 0; transition: opacity .2s; }
/* Criarara: o cursor padrão é uma pena de arara (a ponta do canudo fica no ponteiro) */
.cursor__feather {
  position: absolute; left: 0; top: 0; width: 24px; height: 60px; pointer-events: none;
  background: url("../assets/brand/pena.svg") no-repeat center / contain;
  transform-origin: 50% 96.7%; translate: -50% -96.7%; rotate: var(--tilt, 28deg);
  transition: opacity .2s, scale .3s cubic-bezier(.34, 1.4, .5, 1);
}
.cursor:not([data-variant="order"]):not([data-variant="read"]) .cursor__body { opacity: 0; width: 0; height: 0; }
.cursor[data-variant="order"] .cursor__feather,
.cursor[data-variant="read"] .cursor__feather { opacity: 0; scale: .4; }
.cursor[data-variant="order"] .cursor__body,
.cursor[data-variant="read"] .cursor__body { width: var(--w, 143px); height: 44px; border-radius: 10px; }
.cursor[data-variant="order"] .cursor__label,
.cursor[data-variant="read"] .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) {
  html.has-feather, html.has-feather a, html.has-feather button, html.has-feather .path-marquee,
  html.has-feather .ticker__track, html.has-feather .gravity__pill { cursor: none; }
  html.has-feather input, html.has-feather select, html.has-feather textarea { cursor: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 26px 30px 20px; pointer-events: none;
}
.nav > * { pointer-events: auto; }
/* logo da marca, sem caixa atrás (fundo transparente) */
.nav__logo { display: flex; align-items: center; margin-top: -10px; filter: drop-shadow(0 2px 6px rgb(5 15 58 / 25%)); }
.nav__logo img { height: 92px; width: auto; }
@media (max-width: 809.98px) { .nav__logo { margin-top: -4px; } .nav__logo img { height: 64px; } }
.menu { position: relative; display: flex; flex-direction: column; align-items: flex-end; width: 40px; height: 40px; border-radius: 8px; background: transparent; overflow: hidden;
  transition: width .3s var(--ease-soft), height .3s var(--ease-soft), background-color .3s var(--ease-soft); }
.menu__toggle { position: relative; width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--c-yellow); }
.menu__dot { position: absolute; left: 50%; top: 50%; width: 8px; aspect-ratio: 1; border-radius: 223px; background: var(--c-dark); translate: -50% -50%; transition: width .3s var(--ease-soft); }
.menu__panel { display: flex; flex-direction: column; gap: 8px; padding: 24px; width: 228px; opacity: 0; transition: opacity .2s; }
.menu__panel a { display: block; overflow: hidden; height: 30px; font-family: var(--f-text); font-size: 24px; line-height: 30px; letter-spacing: 0; color: var(--c-red); text-transform: none; }
.menu__panel a span { display: block; transition: transform .35s var(--ease-soft); text-shadow: 0 30px 0 var(--c-dark); }
.menu__panel a:hover span { transform: translateY(-30px); }
.menu[data-open="true"] { width: 228px; height: var(--menu-h, 260px); background: var(--c-yellow); }
.menu[data-open="true"] .menu__dot { width: 24px; }
.menu[data-open="true"] .menu__panel { opacity: 1; transition-delay: .1s; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; overflow: clip; }
.hero__frame { position: absolute; inset: 0; border-radius: var(--radius); overflow: clip; display: flex; flex-direction: column; }
.hero__canvas { position: absolute; top: 6px; bottom: 6px; left: 0; width: 100%; border-radius: var(--radius); overflow: clip; background: var(--c-brown); }
.hero__canvas canvas { display: block; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 30px; pointer-events: none; }
.hero__desc { width: 80%; max-width: 1077px; text-align: center; color: var(--c-cream); will-change: transform; }
.hero__meta { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 60px 60px; }
.hero__info { display: flex; flex-direction: column; gap: 12px; }
.hero__row { display: flex; align-items: flex-end; gap: 8px; color: var(--c-cream); }
.hero__clock { text-transform: none; font-variant-numeric: tabular-nums; }
.hero__circle { width: 4px; height: 4px; border-radius: 100px; background: var(--c-cream); margin-bottom: 4px; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--c-cream); }
.hero__scroll-track { position: relative; width: 3px; height: 34px; overflow: hidden; }
.hero__scroll-bar { position: absolute; right: 0; top: calc(50% - 16.5px); width: 3px; height: 33px; background: var(--c-cream); }
.hero__scroll-gap { position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--c-brown); z-index: 1; animation: scroll-gap 1s linear infinite alternate; }
@keyframes scroll-gap { to { transform: translateY(20px); } }

/* ---------- about (2 columns: left 800vh with sticky last panel, right sticky 500vh) ---------- */
.about { background: var(--c-brown); border-radius: var(--radius); scroll-margin-top: 80px; }
.about__cols { display: flex; gap: var(--gap); align-items: flex-start; }
.about__left { flex: 1 0 0; width: 1px; height: 800vh; display: flex; flex-direction: column; gap: var(--gap); border-radius: var(--radius); overflow: clip; }
.about__right { flex: 1 0 0; width: 1px; height: 500vh; position: sticky; top: 0; display: flex; flex-direction: column; gap: var(--gap); border-radius: var(--radius); overflow: clip; z-index: 1; }
.about__p { position: relative; height: 100vh; flex: none; width: 100%; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px; }
.about__p > .parallax-media { position: absolute; inset: 0; z-index: 0; }
.about__p > :not(.parallax-media) { position: relative; z-index: 1; }
.about__p--top { z-index: 3; }
.about__txt { width: 100%; text-align: left; }
.about__media { position: relative; height: 100vh; flex: none; display: flex; }
.about__marquee { position: absolute; z-index: 1; width: 100%; height: 60vh; top: calc(50% - 30vh); right: -5px; min-width: 800px; }
.about__sticky { position: sticky; top: 0; height: 100vh; flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding: 0 60px; z-index: 1; }
.about__news { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.about__news .fill-text { font-family: var(--f-ultra); }
.about__p--img { padding: 0; }
.about__p--offer { justify-content: flex-start; align-items: flex-start; gap: 120px; }
.about__p--offer .about__share { color: var(--c-yellow); width: 100%; margin-top: 211px; text-align: left; }
.about__deal { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius); margin-top: -26px; background: var(--c-yellow); }
.about__deal .t-xl { white-space: pre; }
.about__p--duo { justify-content: flex-start; align-items: flex-start; }
.about__duo { display: flex; flex-direction: column; gap: 16px; padding-left: 6px; margin-top: 250px; }
.about__duo p { white-space: pre; }
.about__duo .t-lg { font-family: var(--f-text); text-transform: none; letter-spacing: 0; line-height: 1.25; }
.about__p--class { padding: 120px 60px; }
.about__class { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.about__class-top { display: flex; flex-direction: column; gap: 10px; }
.about__class-info { width: 501px; max-width: 100%; }
.about__p--crumbs { justify-content: flex-end; align-items: flex-start; padding: 120px 60px; overflow: hidden; }
.about__crumbs p { white-space: pre; }
.about__crumbs { display: flex; flex-direction: column; gap: 10px; }
.about__crumbs .t-xl { line-height: 1.12; }

/* ---------- most ordered ---------- */
.ordered { background: var(--c-brown); display: flex; flex-direction: column; align-items: center; scroll-margin-top: 80px; }
.ordered__top { position: sticky; top: 0; height: 100vh; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.ordered__top .fill-text, .feed__top .fill-text { z-index: 4; max-width: 1800px; }
.ordered__bottom { position: relative; z-index: 4; width: 100%; max-width: 1800px; padding: 0 60px 240px; display: flex; }
.ordered__rows { flex: 1; display: flex; flex-direction: column; gap: 200px; }
.ordered__row { height: 70vh; display: flex; justify-content: space-between; align-items: center; }
.ordered__slot { flex: 1 0 0; width: 1px; height: 100%; display: flex; }
.ordered__slot--a { align-items: flex-start; justify-content: flex-start; padding-top: 160px; }
.ordered__slot--b { align-items: flex-end; justify-content: flex-end; padding-bottom: 160px; }
.product {
  width: 500px; height: 700px; flex: none; padding: 20px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start;
}
.product__img { flex: 1 0 0; width: 100%; min-height: 1px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product h4 { width: 100%; }
.product h6 { margin-top: 2px; }
.product__desc { max-width: 337px; margin: 20px 0; }
.product--yellow { background: var(--c-yellow); }
.product--yellow h4, .product--yellow .product__desc { color: var(--c-red); }
.product--yellow h6 { color: var(--c-dark); }
.product--dark { background: var(--c-dark); }
.product--dark h4, .product--dark .product__desc { color: var(--c-green); }
.product--dark h6 { color: var(--c-brown); }

/* ---------- sticky menu ---------- */
.smenu { display: flex; justify-content: center; align-items: flex-start; gap: var(--gap); padding: var(--gap) var(--gap) 0; overflow: clip; position: relative; z-index: 1; scroll-margin-top: 80px; }
.smenu__intro { position: sticky; top: 0; width: 50%; height: 100vh; flex: none; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.smenu__intro > * { width: 100%; }
.smenu__stack { width: 50%; flex: none; display: flex; flex-direction: column; gap: 10px; }
.smenu__card { position: sticky; top: 0; height: 100vh; padding: 0 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px; z-index: 1; }
.smenu__card--2 { z-index: 2; padding: 60px; }
.smenu__list { width: 100%; }
.smenu__head { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.smenu__note { max-width: 520px; }
.smenu__list li + li { margin-top: 0; }
.smenu__list li { padding: 12px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.smenu__list li span:last-child { opacity: .55; padding-left: 16px; font-family: var(--f-main); }
.smenu__list li { display: flex; justify-content: space-between; align-items: center; font-size: 24px; line-height: 1.25; text-transform: none; text-wrap: balance; }

/* ---------- merch ---------- */
.merch { background: var(--c-brown); border-radius: var(--radius); scroll-margin-top: 80px; }
.merch__scroll { display: flex; flex-direction: column; align-items: center; }
.merch__sticky { position: sticky; top: 0; z-index: 1; width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; }
.merch__marquee { position: absolute; left: 0; top: calc(50% - 50vh); width: 100%; height: 100vh; z-index: 1; }
.merch__stage { position: relative; z-index: 3; }
.merch__card { --mimg: clamp(300px, 56vh, 520px); position: relative; width: 700px; height: calc(var(--mimg) + 300px); transform-style: preserve-3d; will-change: transform; }
.merch__face { position: absolute; inset: 0; padding: 20px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; backface-visibility: hidden; }
.merch__face[hidden] { display: none; }
.merch__face--flip { transform: rotateX(180deg); }
.merch__face--yellow { background: var(--c-yellow); color: var(--c-dark); }
.merch__face--dark { background: var(--c-dark); color: var(--c-yellow); }
.merch__img { width: 100%; height: var(--mimg); flex: none; overflow: hidden; border-radius: var(--radius); } /* mais alta: mostra mais das fotos verticais */
/* foto inteira (sem corte), com a própria foto desfocada preenchendo as laterais */
.merch__img--contain { position: relative; }
.merch__img--contain::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(20px) brightness(.85); }
.merch__img--contain img { position: relative; object-fit: contain !important; }
.merch__face img { width: 100%; height: 100%; object-fit: cover; /* moldura em .merch__img (o zoom do ajuste fica dentro dela) */ border-radius: var(--radius); flex: none; }
.merch__face h3 { margin-top: 30px; }
.merch__face .t-card { margin-top: 16px; }
.merch__buy { width: 100%; margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.merch__spacer { width: 100%; height: 65vh; flex: none; }
.merch__mark { width: 100%; height: 25vh; flex: none; }
.merch__switch { width: 100%; height: 1px; flex: none; }

/* ---------- grid menu ---------- */
.gmenu { scroll-margin-top: 80px; }
.gmenu__inner { background: var(--c-dark); border-radius: var(--radius); overflow: clip; padding: 160px 60px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gmenu__title { width: 100%; }
.gmenu__tabs { width: 100%; display: flex; flex-wrap: wrap; gap: 12px; }
.gmenu__tabs button { padding: 8px 16px; border-radius: 4px; font-size: 18px; line-height: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-brown); outline: 1px solid var(--c-brown); outline-offset: -1px; transition: background-color .3s, color .3s; }
.gmenu__tabs button[aria-selected="true"] { background: var(--c-brown); color: var(--c-green); }
.gmenu__tabs button:hover { color: var(--c-green); }
.gmenu__grid { width: 100%; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 12px; }
.dish { display: flex; flex-direction: column; animation: dish-in .5s var(--ease-soft) both; }
.dish__img { height: 360px; border-radius: var(--radius); overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-soft); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish__info { padding: 12px 0; display: flex; flex-direction: column; gap: 4px; }
.dish__info h5 { color: var(--c-brown); }
.dish__info h6 { color: var(--c-yellow); }
.dish__info p { color: var(--c-brown); }
@keyframes dish-in { from { opacity: 0; transform: translateY(20px); } }

/* ---------- inside the cafe ---------- */
.space { padding-top: var(--gap); scroll-margin-top: 80px; }
.space__inner { border-radius: var(--radius); overflow: clip; display: flex; flex-direction: column; align-items: center; }
.space__inner > .fill-text { padding: 0; }
.dock-carousel { position: relative; width: 100%; height: 100vh; margin: 10px 0; border-radius: var(--radius); overflow: hidden; }
.dock-carousel figure { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease-in-out; }
.dock-carousel figure.is-active { opacity: 1; z-index: 1; }
.dock-carousel figure img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.dock-carousel__text { position: absolute; inset: auto 0 40px; z-index: 2; display: flex; align-items: center; justify-content: center; color: var(--c-cream); font: 400 40px/1 var(--f-main); letter-spacing: 2px; text-shadow: 0 2px 16px rgb(5 15 58 / 60%); pointer-events: none; }
.dock-carousel__dock { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 10; display: flex; gap: 6px; padding: 6px; border-radius: 6px; background: var(--c-green); }
.dock-carousel__thumb { position: relative; width: 100px; height: 100px; flex: none; border-radius: 6px; background-size: cover; background-position: center; cursor: pointer; }
.dock-carousel__outline { position: absolute; width: 104px; height: 104px; border: 2px solid #fff; border-radius: 6px; pointer-events: none; z-index: 2; top: 4px; left: 4px; transition: transform .45s cubic-bezier(.3, 1.25, .5, 1); }

/* ---------- from farm to cup ---------- */
.roast { scroll-margin-top: 80px; }
.roast__inner { background: var(--c-brown); border-radius: var(--radius); padding-top: 120px; display: flex; flex-direction: column; align-items: center; }
.roast__top { position: sticky; top: 0; height: 100vh; width: 100%; }
.roast__3d { position: absolute; inset: 0; z-index: 3; }
.roast__3d canvas { display: block; width: 100% !important; height: 100% !important; }
.roast__3d { overflow: hidden; pointer-events: none; }
.macaw { position: absolute; left: 0; top: 0; will-change: transform; }
.macaw__art { width: 100%; aspect-ratio: 793 / 835; transform-origin: 50% 50%; }
.macaw__art svg { display: block; }
.roast__bottom { position: relative; z-index: 4; width: 100%; padding: 0 60px 240px; display: flex; }
.roast__holder { flex: 1; display: flex; flex-direction: column; gap: 200px; align-items: center; }
.roast__holder > .fill-text { max-width: 1800px; }
.roast__row { width: 100%; height: 70vh; display: flex; justify-content: space-between; }
.roast__slot { flex: 1 0 0; width: 1px; height: 100%; display: flex; }
.roast__slot--a { align-items: flex-start; justify-content: flex-start; }
.roast__slot--b { align-items: flex-end; justify-content: flex-end; }
.step { width: var(--w, 593px); max-width: 100%; padding: 20px 20px 20px 70px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 29px; }
.step__tag { display: inline-block; padding: 14px 14px 6px; border-radius: 8px; background: var(--c-dark); color: var(--c-green); font-size: 32px; line-height: 38px; letter-spacing: 2px; margin-left: 20px; margin-top: 10px; }
.step .t-xl { text-wrap: wrap; }

/* ---------- filler ---------- */
.filler { padding-top: var(--gap); }
.filler__inner { position: relative; height: calc(100vh - 6px); border-radius: var(--radius); overflow: hidden; background: var(--c-cream); }
.filler__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gravity { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.gravity__pill {
  position: absolute; top: 0; left: 0; padding: 20px 40px; white-space: nowrap; user-select: none; cursor: grab;
  background: var(--c-yellow); color: var(--c-dark); border: 6px solid var(--c-dark); border-radius: 16px;
  font-size: 90px; line-height: 1; letter-spacing: 2px; text-transform: uppercase; will-change: transform;
  transform: translate(-9999px, -9999px);
}
.gravity__pill:active { cursor: grabbing; }
@media (hover: none) { .gravity__pill { touch-action: none; } } /* no celular: arrastar a palavra com o dedo sem rolar a página */
.gravity__pill:nth-child(5n+2) { background: var(--c-sun); }
.gravity__pill:nth-child(5n+3) { background: var(--c-red); color: var(--c-cream); }
.gravity__pill:nth-child(5n+4) { background: var(--c-leaf); color: var(--c-cream); }
.gravity__pill:nth-child(5n+5) { background: var(--c-brown); }

/* ---------- feed ---------- */
.feed { padding: 0 4px; scroll-margin-top: 80px; }
.feed__top { position: sticky; top: 0; height: 100vh; display: flex; justify-content: center; align-items: center; }
.feed__bottom { position: relative; z-index: 4; max-width: 1800px; margin: 0 auto; padding: 0 60px; }
.feed__anim { display: flex; flex-direction: column; align-items: center; }
.feed__sticky { position: sticky; top: 0; z-index: 1; width: 100%; height: 100vh; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.feed__images { position: absolute; width: 500px; height: 600px; top: calc(50% - 300px); left: calc(50% - 250px); pointer-events: none; z-index: 1; }
.feed__img, .feed__insta { position: absolute; top: 0; left: 0; right: 0; height: 500px; border: 4px solid var(--c-yellow); border-radius: var(--radius); overflow: hidden; will-change: transform; }
.feed__img img, .feed__insta > img { width: 100%; height: 100%; object-fit: cover; }
.feed__insta { height: 600px; pointer-events: auto; border-width: 3px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 60px 0 40px; }
.feed__insta > img { position: absolute; inset: 0; z-index: 0; }
.feed__insta-txt, .feed__handle { position: relative; z-index: 1; }
/* véu escuro para o "estamos no Instagram" ficar legível sobre qualquer post */
.feed__insta::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(5 15 58 / 62%) 0%, rgb(5 15 58 / 10%) 42%, rgb(5 15 58 / 10%) 70%, rgb(5 15 58 / 50%) 100%); }
.feed__insta-txt { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feed__insta-txt .t-merch { text-align: center; }
.feed__ig { font-family: var(--f-wide); font-size: 32px; line-height: 32px; letter-spacing: 4px; background: linear-gradient(90deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feed__trigger { width: 100%; height: 1000px; }

/* ---------- reviews ---------- */
.reviews { scroll-margin-top: 80px; }
.reviews__top { position: sticky; top: 0; height: 100vh; display: flex; justify-content: center; align-items: center; }
.reviews__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.reviews__top .fill-text { position: relative; max-width: 1800px; }
.reviews__bottom { position: relative; z-index: 4; padding: 0 60px 160px; display: flex; }
@media (min-width: 1440px) { .reviews__bottom { padding-bottom: 440px; } } /* depoimentos reais são mais longos: espaço para o último cartão */
.reviews__holder { flex: 1; display: flex; flex-direction: column; gap: 200px; }
.reviews__row { height: 270px; display: flex; justify-content: space-between; align-items: center; }
.reviews__slot { flex: 1 0 0; width: 1px; height: 100%; display: flex; }
.reviews__slot--a { align-items: flex-start; justify-content: flex-start; padding-top: 160px; }
.reviews__slot--b { align-items: flex-end; justify-content: flex-end; padding-bottom: 160px; }
.review { width: 363px; flex: none; display: flex; flex-direction: column; gap: 10px; transform: scale(.5); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.review.is-in { transform: scale(1); }
.review__who { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px; border-radius: 10px; background: var(--c-brown); }
.review__who img { width: 61px; height: 61px; border-radius: 30px; object-fit: cover; flex: none; }
.review__who h5 { color: var(--c-dark); flex: 1; }
.review__who::after { content: ""; position: absolute; left: 30px; bottom: -14px; border: 10px solid transparent; border-top: 10px solid var(--c-brown); border-bottom: 0; }
.review__txt { padding: 20px; border-radius: var(--radius); background: var(--c-dark); color: var(--c-yellow); }

/* ---------- team ---------- */
.team__inner { background: var(--c-dark); border-radius: var(--radius); overflow: clip; padding: 160px 0 20px; display: flex; flex-direction: column; align-items: center; }
.team__desc { width: 1201px; max-width: calc(100% - 40px); text-align: center; margin-bottom: 120px; word-break: break-word; }
.ticker { width: 100%; overflow: hidden; display: flex; -webkit-mask: linear-gradient(90deg, #0000 0%, #000 17.57% 85.14%, #0000 100%); mask: linear-gradient(90deg, #0000 0%, #000 17.57% 85.14%, #0000 100%); }
.ticker__track { display: flex; align-items: center; flex-shrink: 0; user-select: none; touch-action: pan-y; cursor: grab; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: 10px; padding-right: 10px; flex-shrink: 0; }
.member { position: relative; width: 360px; height: 640px; flex: none; border-radius: 12px; overflow: hidden; background: var(--c-brown); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.member__img { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-soft); pointer-events: none; }
.member__quote { position: absolute; top: 0; left: 0; right: 0; z-index: 1; padding: 60px 10px 0; text-align: center; color: var(--c-green); }
.member__name { position: relative; z-index: 1; margin-bottom: 35px; color: var(--c-yellow); }
.member:hover .member__img img { transform: scale(1.06); }

/* ---------- community board ---------- */
.board { padding-top: var(--gap); scroll-margin-top: 80px; }
.board__inner { background: var(--c-brown); border-radius: var(--radius); overflow: clip; padding: 160px 60px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.board__head { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.board__cards { width: 100%; display: flex; gap: 20px; }
.topic { flex: 1 0 0; width: 1px; height: 675px; padding: 20px; border-radius: var(--radius); background: var(--c-yellow); display: flex; flex-direction: column; justify-content: space-between; transition: background-color .3s; }
.topic__links { display: flex; flex-direction: column; gap: 6px; }
.topic__links a { font-size: 24px; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-dark); transition: color .25s; }
.topic__links a:hover { color: var(--c-red); }
.topic__word { font-family: var(--f-wide); font-size: clamp(56px, 6.4vw, 104px); line-height: 1; letter-spacing: 4px; color: var(--c-dark); text-align: center; text-transform: none; }

/* ---------- visit (location + booking) ---------- */
.visit { display: flex; gap: var(--gap); padding: var(--gap); scroll-margin-top: 80px; }
.visit__loc, .visit__book { flex: 1 0 0; width: 1px; min-height: 712px; border-radius: var(--radius); overflow: clip; padding: 60px; display: flex; flex-direction: column; }
.visit__loc { background: var(--c-dark); gap: 80px; }
.visit__loc > .t-xl { word-break: break-word; }
.visit__addr { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; opacity: 0; transform: translateY(50px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.visit__addr.is-in { opacity: 1; transform: none; }
.visit__book { background: var(--c-yellow); gap: 60px; }
.visit__book > .t-xl { margin-top: -50px; }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 44px; }
.booking label { display: flex; flex-direction: column; gap: 18px; color: var(--c-dark); }
.booking input, .booking select, .booking textarea {
  height: 50px; width: 100%; padding: 8px 20px; border: 2px solid var(--c-dark); border-radius: 10px; background: transparent;
  font-size: 18px; color: var(--c-dark); outline: none;
}
.booking select { appearance: none; cursor: pointer; padding-right: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23050f3a' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.booking textarea { height: 96px; padding-top: 12px; resize: vertical; }
.booking__wide { grid-column: 1 / -1; }
.booking input::placeholder, .booking textarea::placeholder { color: rgb(5 15 58 / 50%); }
.booking select:invalid { color: rgb(5 15 58 / 50%); }
.booking input:focus, .booking select:focus, .booking textarea:focus { box-shadow: 0 0 0 2px var(--c-brown); }
.booking__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.booking__status { grid-column: 1 / -1; min-height: 20px; color: var(--c-red); font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-size: 17px; line-height: 1.35; }
.booking .is-invalid { border-color: var(--c-red) !important; box-shadow: 0 0 0 2px rgb(166 8 37 / 25%); }
.booking__done { display: none; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--c-dark); }
.booking__done img { width: 180px; height: auto; }
.visit__book.is-sent .booking { display: none; }
.visit__book.is-sent .booking__done { display: flex; animation: dish-in .6s var(--ease-soft) both; }
.booking__submit { grid-column: 1 / -1; height: 40px; border-radius: 8px; background: var(--c-dark); color: var(--c-brown); padding: 14px 16px; display: flex; justify-content: center; align-items: center; }
.booking__submit:not(:disabled) { color: var(--c-yellow); }
.booking__submit:disabled { cursor: not-allowed; }

/* ---------- partners (parcerias com agências, social media e designers) ---------- */
/* Um painel único vermelho (diferente do bloco do formulário, que é marinho + creme):
   título grande em cima e 4 cartões-adesivo com ícone, levemente inclinados. */
.partners { padding: var(--gap) var(--gap) 0; scroll-margin-top: 80px; }
.partners__panel { background: var(--c-red); border-radius: var(--radius); padding: 100px 60px 110px; display: flex; flex-direction: column; gap: 80px; overflow: clip;
  background-image: radial-gradient(circle at 92% 8%, rgb(255 218 51 / 22%) 0 180px, transparent 181px), radial-gradient(circle at 4% 100%, rgb(5 15 58 / 25%) 0 220px, transparent 221px); }
.partners__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.partners__head > div:first-child { flex: 1 1 0; }
.partners__badge { display: inline-block; margin-bottom: 24px; padding: 12px 16px 6px; border-radius: 999px; background: var(--c-sun); color: var(--c-dark); font-size: 24px; letter-spacing: 2px; }
.partners__title { max-width: 760px; }
.partners__side { flex: 0 1 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.partners__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.partner-card { background: var(--c-cream); color: var(--c-dark); border: 3px solid var(--c-dark); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 6px 6px 0 var(--c-dark); transition: transform .4s var(--ease-soft); }
.partner-card:nth-child(odd) { transform: rotate(-1.6deg); }
.partner-card:nth-child(even) { transform: rotate(1.4deg) translateY(18px); }
.partner-card:hover { transform: rotate(0) translateY(-6px); }
.partner-card__icon { width: 56px; height: 56px; padding: 10px; border-radius: 16px; background: var(--c-sun); fill: none; stroke: var(--c-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.partner-card:nth-child(2) .partner-card__icon { background: var(--c-brown); }
.partner-card:nth-child(3) .partner-card__icon { background: #8fd16a; }
.partner-card:nth-child(4) .partner-card__icon { background: #7fb4f0; }
.partner-card .t-text { font-size: 19px; }
@media (max-width: 1439.98px) {
  .partners__panel { padding: 80px 30px; gap: 56px; }
  .partners__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .partners__side { flex: none; }
  .partners__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809.98px) {
  .partners__panel { padding: 60px 14px; }
  .partners__cards { grid-template-columns: 1fr; gap: 18px; }
  .partner-card:nth-child(even) { transform: rotate(1.2deg); }
}

/* formulário: "você é" (negócio de gastronomia / agência) */
.booking__who { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--c-dark); }
.booking__who legend { margin-bottom: 14px; padding: 0; }
.booking__chip { flex-direction: row !important; gap: 0 !important; cursor: pointer; }
.booking__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.booking__chip span { display: block; padding: 10px 16px; border: 2px solid var(--c-dark); border-radius: 999px; font-family: var(--f-text); font-size: 17px; transition: background-color .2s, color .2s; }
.booking__chip input:checked + span { background: var(--c-dark); color: var(--c-yellow); }
.booking__chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--c-brown); }

/* ---------- footer ---------- */
.footer { position: relative; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: space-between; overflow: clip; }
.footer__top { position: relative; z-index: 2; padding: 120px 60px 0; display: flex; flex-direction: column; gap: 24px; pointer-events: none; }
.footer__top a { pointer-events: auto; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-start; }
.footer__mail { font-family: var(--f-ultra); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.2; letter-spacing: 4px; color: var(--c-dark); transition: color .3s; }
.footer__mail:hover { color: var(--c-yellow); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--c-dark); color: var(--c-yellow); transition: transform .3s var(--ease-soft), background-color .3s; }
.footer__social a:hover { transform: translateY(-3px); background: var(--c-red); }
.footer__social svg { width: 28px; height: 28px; }

/* botão flutuante do WhatsApp: círculo verde que abre o texto ao passar o mouse */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; height: 48px; min-width: 48px; padding: 0 12px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 0; background: #25d366; color: #fff;
  border: 3px solid var(--c-dark); box-shadow: 4px 4px 0 var(--c-dark); transition: gap .3s var(--ease-soft), transform .3s var(--ease-soft); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 17px; letter-spacing: 1px; color: var(--c-dark); transition: max-width .35s var(--ease-soft); }
.wa-float:hover { gap: 10px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 240px; }
@media (max-width: 809.98px) { .wa-float { right: 12px; bottom: 12px; height: 44px; min-width: 44px; padding: 0 10px; } .wa-float svg { width: 22px; height: 22px; } }
.footer__links { display: flex; gap: 36px; color: var(--c-dark); }
.footer__links a:hover { color: var(--c-yellow); }
.footer__marquee { position: absolute; left: 0; right: 0; top: 50%; height: 260px; translate: 0 -25%; z-index: 1; pointer-events: none; }
.footer__bar { position: relative; z-index: 3; padding: 0 60px 10px; display: flex; justify-content: space-between; align-items: center; color: var(--c-yellow); pointer-events: none; }
.footer__bar a { pointer-events: auto; }
.footer__credit { font-family: var(--f-ultra); font-size: 24px; line-height: 24px; letter-spacing: 1.3px; }
.footer__legal { display: flex; gap: 10px; }
.beans { position: absolute; inset: 0; z-index: 0; }
.beans canvas { position: absolute; inset: 0; }

/* =========================================================================
   TABLET 810–1439
   ========================================================================= */
@media (max-width: 1439.98px) {
  .t-hero { font-size: 40px; line-height: 40px; }
  .t-small { font-size: 16px; line-height: 16px; }
  .t-body { font-size: 17px; line-height: 23px; }
  .t-xl { font-size: 40px; line-height: 40px; }
  .t-h5, .t-lg, .t-card { font-size: 24px; line-height: 24px; }
  .hero__desc { width: 100%; max-width: 739px; }
  .about__left { height: 500vh; }
  .about__right { height: 380vh; }
  .about__p, .about__media { height: 60vh; padding: 20px; }
  .about__p--img { padding: 0; }
  .about__sticky { padding: 20px; }
  .about__p--offer { justify-content: space-between; gap: 0; }
  .about__p--offer .about__share { margin-top: 0; }
  .about__deal { margin: 0; padding: 16px; }
  .about__duo { margin-top: 0; height: 100%; justify-content: space-between; }
  .about__p--class { padding: 20px; }
  .about__p--crumbs { padding: 20px 20px 60px; }
  .ordered__rows, .roast__holder, .reviews__holder { gap: 100px; }
  .ordered__row, .roast__row { flex-direction: column; gap: 100px; height: auto; }
  .ordered__slot, .roast__slot { width: 100%; flex: none; padding: 0; justify-content: center; }
  /* correção (herdada do modelo): sem isto, no tablet os cartões empilhados se sobrepunham */
  .ordered__slot, .roast__slot, .reviews__slot { height: auto; }
  .ordered__slot:empty { display: none; }
  .ordered__slot--second { order: 1; }
  .ordered__bottom, .roast__bottom, .feed__bottom { padding-left: 0; padding-right: 0; }
  .smenu__intro, .smenu__card, .smenu__card--2 { padding: 20px; }
  .merch__card { width: min(700px, 90vw); }
  .gmenu__inner { padding: 120px 30px; }
  .gmenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding: 20px; }
  .reviews__row { flex-direction: column; height: auto; gap: 100px; }
  .reviews__slot { width: 100%; flex: none; padding: 0; justify-content: center; }
  .topic__word { font-size: 80px; line-height: 80px; }
  .board__inner { padding: 120px 30px; }
  .footer__mail { font-size: 3.2vw; line-height: 1.2; }
}

/* =========================================================================
   PHONE < 810
   ========================================================================= */
@media (max-width: 809.98px) {
  :root { --pad: 10px; }
  .t-h4, .t-merch { font-size: 32px; line-height: 32px; }
  .t-card { font-size: 20px; line-height: 20px; }
  .nav { padding: 16px 16px 10px; }
  .hero__meta { padding: 0 10px 60px; }
  .hero__content { gap: 60px; }
  .hero__desc { max-width: 636px; }
  .about__cols { flex-direction: column; }
  .about__left, .about__right { width: 100%; flex: none; height: auto; position: relative; }
  .about__p, .about__media { height: 40vh; padding: 10px; }
  .about__p--class { height: 60vh; }
  .about__duo p, .about__crumbs p, .about__deal .t-xl { white-space: normal; }
  .about__sticky { position: relative; height: auto; padding: 100px 10px; }
  /* Celular: em vez de só empilhar, os blocos do "sobre" ficam presos no topo e um desliza por cima
     do outro, como os painéis fixos do computador */
  .about__left > *, .about__right > * { position: sticky; top: 0; }
  .about__p, .about__media { height: 62svh; }
  .about__sticky { min-height: 62svh; display: flex; justify-content: center; }
  .about__marquee { min-width: 0; }
  .ordered__bottom { max-width: none; }
  .ordered__rows, .ordered__row, .reviews__holder, .reviews__row { gap: 10px; }
  .product { width: 100%; max-width: 500px; height: 600px; padding: 10px; }
  .smenu { flex-direction: column; }
  .smenu__intro, .smenu__stack { width: 100%; }
  /* Celular: a introdução fica presa e os dois cartões sobem por cima, como no computador */
  .smenu__intro { position: sticky; top: 0; height: 100svh; z-index: 0; }
  .smenu__stack { position: relative; z-index: 1; }
  .smenu__card { position: sticky; top: 0; height: auto; min-height: 100svh; padding: 24px 14px; gap: 30px; justify-content: center; }
  .smenu__list li { font-size: 18px; line-height: 22px; }
  .merch__card { --mimg: clamp(260px, 46vh, 400px); height: calc(var(--mimg) + 320px); }

  .gmenu__inner { padding: 100px 10px; }
  .gmenu__grid { grid-template-columns: 1fr; }
  .dock-carousel { height: 60vh; }
  .dock-carousel__thumb { width: 56px; height: 56px; }
  .dock-carousel__outline { width: 60px; height: 60px; }
  .roast__row { gap: 10px; }
  .step .t-xl { font-size: 32px; line-height: 32px; }
  .step { width: 100%; padding: 20px; }
  .gravity__pill { font-size: 40px; padding: 12px 24px; border-width: 4px; }
  .feed__images { width: 250px; height: 350px; top: calc(50% - 175px); left: calc(50% - 125px); }
  .feed__img { height: 300px; }
  .feed__insta { height: 350px; padding: 30px 0 20px; }
  .review { width: 100%; max-width: 363px; }
  .member { width: 260px; height: 460px; }
  .member__quote { font-size: 32px; line-height: 32px; }
  .board__cards { flex-direction: column; }
  .topic { width: 100%; height: 420px; }
  .visit { flex-direction: column; }
  .visit__loc, .visit__book { width: 100%; padding: 30px 10px; min-height: 0; flex: none; } /* flex: none corrige o colapso herdado do modelo */
  .visit__loc { gap: 40px; }
  .visit__book { gap: 30px; }
  .visit__book > .t-xl { margin-top: -20px; }
  .booking { grid-template-columns: 1fr; }
  .footer__top { padding: 100px 10px 0; }
  .footer__row { flex-direction: column; gap: 20px; }
  .footer__mail { font-size: 4.4vw; line-height: 1.1; letter-spacing: 1px; overflow-wrap: anywhere; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
  .footer__bar { flex-direction: column; gap: 8px; padding: 0 10px 10px; }
  .footer__credit { font-size: 16px; }
}

/* =========================================================================
   CELULAR: mais respiro entre os textos e a borda da tela (pedido da Criarara)
   ========================================================================= */
@media (max-width: 809.98px) {
  .about__p, .about__media { padding: 22px; }
  .about__p--img { padding: 0; }
  .about__sticky { padding: 90px 22px; }
  .about__class-info { max-width: 100%; }
  /* "fome é contagiante": desce um pouco e a caixa "Grande SP" ganha respiro */
  .about__p--offer { padding: 56px 22px 26px; }
  .about__p--offer .about__share { margin-top: 18px; }
  .about__deal { padding: 18px 20px; }
  .about__p--duo, .about__p--crumbs, .about__p--class { padding: 30px 22px; }
  .product { padding: 16px; }
  .product__desc { margin: 14px 0; }
  .smenu__intro { padding: 30px 22px; }
  .smenu__card, .smenu__card--2 { padding: 30px 22px; }
  .gmenu__inner { padding: 100px 20px; }
  .space__inner > .fill-text, .feed__top .fill-text, .ordered__top .fill-text { padding-left: 14px; padding-right: 14px; }
  .dock-carousel__text { inset: auto 0 96px; padding: 0 22px; text-align: center; font-size: 30px; line-height: 1.1; }
  .dock-carousel__dock { top: auto; bottom: 18px; translate: -50% 0; }
  .roast__bottom { padding-left: 16px; padding-right: 16px; }
  .team__desc { max-width: calc(100% - 44px); }
  .partners__panel { padding: 60px 22px; }
  .visit__loc, .visit__book { padding: 34px 22px; }
  .hero__meta { padding: 0 22px 50px; }
  .hero__desc { width: auto; max-width: none; padding: 0 22px; }
  /* "do briefing ao arquivo final / a gente cuida / de tudo": juntos, sem o vão grande */
  .about__p--duo { justify-content: center; }
  .about__duo { height: auto; justify-content: flex-start; gap: 14px; margin-top: 0; }
  .footer__top { padding: 100px 22px 0; }
  .footer__bar { padding: 0 22px 14px; }
}

/* "do briefing ao arquivo final / a gente / cuida / de tudo": as três linhas grandes com o mesmo
   espaçamento entre si, o texto pequeno logo acima, e o bloco centralizado no painel (todas as telas) */
.about__p--duo { justify-content: center !important; }
.about__duo { height: auto !important; justify-content: flex-start !important; gap: 0 !important; margin-top: 0 !important; }
.about__duo .t-lg { margin-bottom: 16px; }
.about__duo .t-xl { line-height: 1.08; }
.about__duo-title { white-space: normal !important; max-width: 14ch; text-wrap: balance; }

/* logos das empresas nas avaliações: inteiros (sem corte), num círculo creme */
.review__who img.review__logo { object-fit: contain; background: #fff; padding: 6px; }
.review__who img.review__logo--dark { background: var(--c-dark); padding: 9px; } /* logo branco */

@media (prefers-reduced-motion: reduce) {
  [data-split] .ch { transform: none !important; }
  .hero__scroll-gap { animation: none; }
}
