/* =========================================================
   Restaurante Ponto Certo — estilos de produção
   HTML/CSS/JS puros · mobile-first · breakpoint 820px
   ========================================================= */

/* ---------- Fontes (self-hosted, subset latin) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --charcoal: #1a1512;
  --charcoal-hover: #2b221d;
  --cream: #f7f1e8;
  --cream-tile: #ece6dc;
  --on-dark: #e9dfd1;
  --on-dark-2: #d8ccbd;
  --on-dark-3: #cbbfb1;
  --ink: #231c17;
  --muted: #5a4d43;
  --muted-2: #7a6b5e;
  --divider: #e2d6c6;
  --divider-2: #d8cbb9;
  --red: #c4362a;
  --red-hover: #a92d22;
  --tint-1: #ffd9a3;
  --tint-2: #ffe9e4;
  --amber: #f0a53a;
  --amber-ink: #7a2a1f;
  --wa: #25d366;
  --ember: #ffb347;

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--red); text-decoration: none; }
a:hover { color: #9e2a20; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--amber); color: var(--charcoal); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--charcoal); }

.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }

.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; line-height: .98; text-wrap: balance; }
.h2 { font-size: clamp(36px, 5.4vw, 68px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.accent { color: var(--amber); }
.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; white-space: nowrap; flex-shrink: 0;
  transition: transform .2s, background-color .2s, border-color .2s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hover); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid rgba(247, 241, 232, .45); color: var(--cream); font-weight: 600; }
.btn--ghost:hover { background: rgba(247, 241, 232, .12); color: var(--cream); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.icon-btn {
  display: grid; place-items: center; border-radius: 50%; flex: none;
  transition: background-color .2s, border-color .2s;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 21, 18, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 241, 232, .08);
}
.header__bar { max-width: 1240px; margin: 0 auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: clamp(16px, 4vw, 32px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); min-width: 0; }
.brand:hover { color: var(--cream); }
.logo-tile {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 14px; overflow: hidden;
  background: var(--cream-tile); border: 2px solid var(--amber);
}
.logo-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; white-space: nowrap; }

.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.icon-btn) { color: var(--on-dark); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:not(.icon-btn):hover { color: var(--amber); }
.nav .icon-btn { width: 40px; height: 40px; margin-left: 4px; color: var(--cream); border: 1px solid rgba(247, 241, 232, .2); }
.nav .icon-btn:hover { background: var(--red); border-color: var(--red); color: var(--cream); }

.burger {
  width: 48px; height: 48px; flex: 0 0 48px; padding: 0; cursor: pointer;
  border-radius: 14px; border: 1px solid rgba(247, 241, 232, .18); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background-color .2s;
}
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] { background: var(--red); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--charcoal); border-bottom: 1px solid rgba(247, 241, 232, .1);
  padding: 8px 20px 24px; box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer.is-open { animation: drawer-in .28s ease-out; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 24px;
  padding: 14px 0; border-bottom: 1px solid rgba(247, 241, 232, .08);
}
.drawer__actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.drawer__actions .btn { flex: 1; height: 52px; font-size: 16px; }
.drawer__actions .icon-btn { width: 52px; height: 52px; color: var(--cream); border: 1px solid rgba(247, 241, 232, .2); }
.drawer__actions .icon-btn .icon { width: 20px; height: 20px; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@media (min-width: 820px) {
  .nav { display: flex; }
  .burger, .drawer { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: min(92vh, 860px); min-height: min(92svh, 860px);
  background: var(--charcoal); color: var(--cream);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 60%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,21,18,.35) 0%, rgba(26,21,18,.55) 45%, rgba(26,21,18,.96) 100%); }
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -10px; border-radius: 50%; opacity: 0;
  background: var(--ember); box-shadow: 0 0 10px 2px rgba(255, 140, 40, .8);
  animation: ember var(--dur, 8s) ease-out var(--delay, 0s) infinite;
}
@keyframes ember {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  60% { transform: translate(var(--dx, 0px), -55vh); opacity: .9; }
  100% { transform: translate(calc(var(--dx, 0px) * -.5), -90vh); opacity: 0; }
}
.hero__content { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(120px, 18vh, 180px) var(--gutter) clamp(48px, 8vh, 88px); }
.hero h1 { font-size: clamp(44px, 8.4vw, 112px); line-height: .92; letter-spacing: -.03em; margin-top: 22px; max-width: 12ch; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 560px; margin-top: 24px; color: var(--on-dark); text-wrap: pretty; }
.hero .btn-row { margin-top: 34px; }

.kenburns { animation: kenburns 16s ease-in-out infinite alternate; transform-origin: center; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--amber); color: var(--charcoal); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--charcoal); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__item {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap;
}
.marquee__item::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- O que servimos ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; max-width: 14ch; }
.section-head p { font-size: 18px; line-height: 1.55; max-width: 400px; color: var(--muted); text-wrap: pretty; }

.menu-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.menu-grid::-webkit-scrollbar { display: none; }
/* Carrossel mobile: só rola na horizontal e os cards entram só com fade
   (o translateY do reveal criava rolagem vertical interna e cortava o topo dos cards) */
@media (max-width: 819px) {
  .menu-grid { overflow-y: hidden; }
  .js .menu-grid [data-reveal] { transform: none; }
}
.card {
  position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--charcoal); scroll-snap-align: start;
}
.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card--photo:hover img { transform: scale(1.06); }
.card__caption { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(180deg, rgba(26,21,18,0) 0%, rgba(26,21,18,.92) 70%); color: var(--cream); }
.card__num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--amber); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; margin-top: 6px; }
.card--solid { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.card--solid p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.card__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; line-height: 1; }
.card--amber { background: var(--amber); color: var(--charcoal); }
.card--amber .card__icon { background: var(--charcoal); }
.card--amber .card__num { color: var(--amber-ink); }
.card--amber p { color: #3a2a20; }
.card--red { background: var(--red); color: #fff; }
.card--red .card__icon { background: var(--amber); }
.card--red .card__num { color: var(--tint-1); }
.card--red p { color: var(--tint-2); }
.card--cta { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: var(--cream); transition: background-color .25s; }
.card--cta:hover { background: var(--charcoal-hover); color: var(--cream); }
.card--cta strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3vw, 38px); line-height: 1; letter-spacing: -.02em; }
.card--cta .card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card--cta .card__foot > span:not(.icon-btn) { font-size: 15px; color: var(--on-dark-3); }
.card--cta .icon-btn { width: 56px; height: 56px; background: var(--wa); color: #fff; }
.card--cta .icon-btn .icon { width: 26px; height: 26px; }

.swipe-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.swipe-hint::before { content: ""; width: 28px; height: 2px; background: var(--red); animation: nudge .9s ease-in-out infinite alternate; }
@keyframes nudge { from { transform: translateX(0); } to { transform: translateX(10px); } }

@media (min-width: 820px) {
  .menu-grid {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none;
  }
  .swipe-hint { display: none; }
}

.float { animation: float 2.6s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------- Duas colunas ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* ---------- Churrasco ---------- */
.dark { background: var(--charcoal); color: var(--cream); overflow: hidden; }
.dark .eyebrow { color: var(--amber); }
.churrasco__media { position: relative; padding-right: clamp(40px, 8vw, 90px); padding-bottom: clamp(40px, 8vw, 90px); }
.churrasco__frame { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 5px solid var(--amber); }
.churrasco__frame img { width: 100%; height: 100%; object-fit: cover; }
.pill {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.churrasco__pill { position: absolute; left: -10px; top: 24px; background: var(--amber); color: var(--charcoal); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.churrasco h2 { font-size: clamp(40px, 6vw, 80px); line-height: .95; letter-spacing: -.03em; margin-top: 14px; }
.churrasco__text { font-size: 18px; line-height: 1.6; color: var(--on-dark-2); margin-top: 24px; max-width: 480px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(247, 241, 232, .22); font-size: 15px; }

/* ---------- Diferenciais ---------- */
.diferenciais .split { align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.diferenciais h2 { margin: 14px 0 32px; }
.family { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--divider); }
.family img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.family .pill { position: absolute; left: 16px; bottom: 16px; background: var(--cream); color: var(--ink); }
@media (min-width: 820px) { .family { aspect-ratio: 5 / 4; } }
.features li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--divider); }
.features__num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--red); }
.features h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; }
.features p { margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* ---------- Galeria ---------- */
.galeria { padding-top: 0; overflow: hidden; }
.galeria__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.galeria__head p { font-size: 17px; color: var(--muted); max-width: 360px; }
.gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery__row { overflow: hidden; }
.gallery__track { display: flex; gap: 16px; width: max-content; padding-right: 16px; animation: marquee 60s linear infinite; }
.gallery__row--rev .gallery__track { animation-name: marquee-rev; animation-duration: 70s; }
/* Pausa no hover só em dispositivos com mouse (no toque o :hover "gruda" e travava a galeria) */
@media (hover: hover) and (pointer: fine) {
  .gallery__row:hover .gallery__track { animation-play-state: paused; }
}
.gallery__tile { width: 180px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; flex: 0 0 auto; background: var(--divider); }
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 820px) { .gallery__tile { width: 260px; } }

/* ---------- Localização ---------- */
.localizacao { padding-top: 0; }
.localizacao .split { gap: clamp(32px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.localizacao h2 { margin-top: 14px; }
.info { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; font-style: normal; }
.info dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.info dd { margin: 6px 0 0; font-size: 20px; line-height: 1.45; font-weight: 600; }
.info dd a { color: var(--ink); transition: color .2s; }
.info dd a:hover { color: var(--red); }
.localizacao .btn-row { margin-top: 30px; }
.localizacao .btn { height: 54px; padding: 0 26px; font-size: 16px; }
.map { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--divider); border: 1px solid var(--divider); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta { padding: 0 clamp(12px, 3vw, 32px) clamp(12px, 3vw, 32px); }
.cta__card {
  position: relative; overflow: hidden; max-width: 1240px; margin: 0 auto;
  border-radius: 28px; background: var(--red); color: #fff;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
}
.ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); animation: spin 40s linear infinite; pointer-events: none; }
.ring--lg { right: -120px; top: -120px; width: 380px; height: 380px; }
.ring--sm { right: -60px; top: -60px; width: 260px; height: 260px; border-color: rgba(255, 255, 255, .18); animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__body { position: relative; }
.cta .eyebrow { color: var(--tint-1); }
.cta h2 { font-size: clamp(40px, 6.4vw, 88px); line-height: .94; letter-spacing: -.03em; margin-top: 16px; max-width: 13ch; }
.cta p { font-size: 18px; line-height: 1.55; color: var(--tint-2); max-width: 480px; margin-top: 22px; }
.cta .btn-row { margin-top: 34px; }
.cta .icon-btn { width: 56px; height: 56px; color: #fff; background: rgba(255, 255, 255, .14); }
.cta .icon-btn:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.cta .icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.footer { padding: 40px var(--gutter) 48px; }
.footer__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 14px; line-height: 1.4; }
.footer .logo-tile { width: 72px; height: 72px; flex-basis: 72px; border-radius: 18px; border-color: var(--red); }
.footer__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.footer__meta { font-size: 14px; color: var(--muted-2); font-style: normal; }
.footer .icon-btn { width: 44px; height: 44px; color: var(--ink); border: 1px solid var(--divider-2); }
.footer .icon-btn:hover { background: var(--on-dark); color: var(--ink); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}
.wa-float:hover { color: #fff; }
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: pulse 1.8s ease-out infinite; z-index: -1;
}
.wa-float::after { animation-delay: .9s; }
.wa-float .icon { width: 30px; height: 30px; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal (só com JS ativo) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero anima ao carregar (sem depender de scroll) */
.js .hero [data-reveal] { transition: none; animation: reveal-up .8s var(--ease-out) var(--d, 0ms) both; opacity: 1; transform: none; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* Pausa animações contínuas fora da viewport (economia de CPU/bateria) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .embers { display: none; }
  .gallery__row { overflow-x: auto; scrollbar-width: thin; }
  .gallery__track [aria-hidden="true"], .marquee__track [aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); row-gap: 8px; }
}
