/* Fonte oficial do TOM: Pathway Extreme (variável: peso 100–900, largura 75–100%) */
@font-face { font-family: "Pathway Extreme"; src: url("../fonts/PathwayExtreme.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Pathway Extreme"; src: url("../fonts/PathwayExtreme-Italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 75% 100%; font-style: italic; font-display: swap; }

/* TOM — direção visual: escuro, quente e silencioso (referências: Casa Jaguar e ARCA),
   com a geometria fina do logo do TOM. Fontes do Google até recebermos os arquivos oficiais. */
:root {
  --ink: #131210;            /* fundo — idêntico à ARCA */
  --ink-2: #1a1916;
  --earth: #131210;
  --bone: #e6e1db;           /* títulos */
  --bone-dim: #bfb9b0;       /* texto corrido */
  --label: #ada18f;          /* rótulos pequenos */
  --bone-faint: #322f29;     /* linhas e bordas */
  --ember: #c08a5e;          /* cobre do logo — só em detalhes */

  --f-display: "Pathway Extreme", "Arial Narrow", sans-serif;
  --f-body: "Pathway Extreme", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --film: .55;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--ink); color: var(--bone);
  font-family: var(--f-body); font-weight: 380; font-stretch: 100%; font-size: 16px; line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display); font-weight: 300; font-stretch: 75%; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1;
}
.d-xxl { font-size: clamp(64px, 12vw, 200px); }
.d-xl  { font-size: clamp(56px, 6.8vw, 108px); }
.d-l   { font-size: clamp(30px, 2.8vw, 44px); }
.d-m   { font-size: clamp(22px, 1.8vw, 28px); font-weight: 300; }
.label {
  font-family: var(--f-body); font-weight: 500; font-size: 11px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--label);
}
.statement {
  font-family: var(--f-display); font-weight: 300; font-stretch: 75%; font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.12; letter-spacing: .005em;
}
.body-l { font-size: clamp(16px, 1.15vw, 18px); color: var(--bone-dim); max-width: 52ch; }
.dot { color: var(--ember); }

/* ---------- Película (âmbar + grão + vinheta) ---------- */
.film { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.film::before { display: none; content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(120, 70, 20, .10), rgba(90, 45, 10, .16));
  mix-blend-mode: multiply; opacity: calc(var(--film) * 1.6); }
.film::after { display: none; content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(6, 5, 3, .6) 100%);
  opacity: var(--film); }
.film .grain { position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .75  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: calc(var(--film) * .22); mix-blend-mode: soft-light; filter: grayscale(1); animation: grain .9s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Vidro líquido ---------- */
.glass {
  position: relative; isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 244, 228, .22) 0%, rgba(255, 244, 228, .06) 38%, rgba(255, 244, 228, .03) 62%, rgba(255, 244, 228, .14) 100%);
  backdrop-filter: blur(22px) saturate(1.9) brightness(1.08) contrast(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.9) brightness(1.08) contrast(1.05);
  border: 1px solid rgba(255, 244, 228, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),      /* brilho na borda de cima */
    inset 0 -1px 0 rgba(255, 255, 255, .10),
    inset 0 0 22px rgba(255, 236, 210, .10),     /* volume interno */
    0 10px 40px rgba(0, 0, 0, .35);
}
.glass::before { /* reflexo especular */
  content: ""; position: absolute; inset: 1px; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 140% at 18% -30%, rgba(255, 255, 255, .38), transparent 46%),
              radial-gradient(90% 120% at 100% 130%, rgba(255, 210, 160, .18), transparent 50%);
  mix-blend-mode: screen;
}

/* ---------- Cabeçalho ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 80;
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px 10px 10px 26px; border-radius: 999px;
}
.nav .links { display: flex; gap: 34px; }
.nav .links a, .nav .lang { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; opacity: .9; }
.nav .links a:hover { opacity: 1; color: #fff; }
.nav .brand { color: var(--bone); width: 92px; justify-self: center; }
.nav .brand svg, .brand svg { width: 100%; height: auto; display: block; }
.nav .right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav .lang { opacity: .6; letter-spacing: .18em; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bone); color: var(--ink); font-size: 18px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--bone); background: transparent; font-family: var(--f-body); transition: transform .3s, background .3s, color .3s, border-color .3s;
}
.btn.solid { background: var(--bone); color: var(--ink); border: 1px solid var(--bone); }
.btn.solid:hover { background: #fff; }
.btn.line { border: 1px solid var(--bone-faint); }
.btn.line:hover { border-color: var(--bone); }

/* Reservar mesa — sempre presente, centro inferior */
.reserve-float {
  position: fixed; z-index: 85; left: 50%; bottom: 22px; transform: translateX(-50%);
  padding: 16px 34px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.reserve-float:hover { transform: translateX(-50%) translateY(-2px) scale(1.02); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,18,16,.55) 0%, rgba(19,18,16,0) 26%, rgba(19,18,16,0) 60%, rgba(19,18,16,.9) 100%); }
.hero .content { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.hero .content > div { display: flex; flex-direction: column; align-items: center; gap: 22px; transform: translateY(4vh); }
.hero .label { color: var(--bone); opacity: 0; animation: rise 1.6s .3s ease forwards; }
.hero h1 { opacity: 0; animation: rise 2s .5s cubic-bezier(.2,.7,.2,1) forwards; text-shadow: 0 1px 18px rgba(0,0,0,.3); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Estrutura ---------- */
section { position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.pad { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 14vw, 200px); }
.center { text-align: center; }

/* Sobre: texto + imagem vertical */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about .tall { aspect-ratio: 4/5; }
.about .statement { margin: 28px 0 28px; }

/* Imagem com câmera deslizando */
.drift { position: relative; overflow: hidden; background: var(--ink-2); }
.drift > img {
  position: absolute; top: 0; left: 0; height: 100%; width: 116%; max-width: none; object-fit: cover;
  animation: drift 48s ease-in-out infinite alternate; will-change: transform;
}
.drift.rev > img { animation-direction: alternate-reverse; }
.drift.slow > img { animation-duration: 70s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1.02); } to { transform: translate3d(-13.8%,0,0) scale(1.05); } }

/* Seção cinema: imagem cheia com fade em cima/embaixo (ARCA) */
.cinema { height: 115svh; min-height: 640px; }
.cinema::before, .cinema::after { content: ""; position: absolute; left: 0; right: 0; height: 32%; z-index: 1; pointer-events: none; }
.cinema::before { top: 0; background: linear-gradient(180deg, var(--ink), transparent); }
.cinema::after { bottom: 0; background: linear-gradient(0deg, var(--ink), transparent); }
.cinema .over { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end center; padding-bottom: 16vh; text-align: center; }
.cinema .over.left { place-items: end start; padding-left: var(--gutter); text-align: left; }

/* Três momentos */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.moment .frame { aspect-ratio: 3/4; border-radius: 2px; }
.moment .meta { padding-top: 22px; }
.moment h3 { margin: 10px 0 10px; }
.moment p { color: var(--bone-dim); font-size: 15px; max-width: 34ch; }

/* Ambiente */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 30vw, 460px); gap: 14px; }
.m1 { grid-column: 1 / span 7; grid-row: span 2; }
.m2 { grid-column: 8 / span 5; }
.m3 { grid-column: 8 / span 5; }

/* Cardápio (estilo ARCA: central, duas colunas, limpo) */
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 40px 0 64px; }
.tabs button { font: inherit; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-dim);
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 14px; cursor: pointer; transition: color .2s, border-color .2s; }
.tabs button[aria-selected="true"] { color: var(--bone); border-color: var(--ember); }
.menu-cat { display: none; }
.menu-cat.on { display: block; animation: rise .7s ease; }
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 8vw, 140px); row-gap: 40px; max-width: 980px; margin: 0 auto; }
.item { text-align: center; }
.item h5 { font-family: var(--f-display); font-weight: 400; font-stretch: 75%; font-size: 21px; letter-spacing: .06em; text-transform: uppercase; }
.item p { font-size: 13px; color: var(--bone-dim); margin-top: 6px; }
.item .price { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; color: var(--ember); }
.menu-note { text-align: center; margin-top: 56px; }

/* Eventos */
.events { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.events .tall { aspect-ratio: 4/5; }
.ev-list { list-style: none; margin: 36px 0 40px; border-top: 1px solid var(--bone-faint); }
.ev-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--bone-faint);
  font-family: var(--f-display); font-weight: 300; font-stretch: 75%; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.ev-list li span:last-child { font-family: var(--f-body); font-size: 11px; font-weight: 500; letter-spacing: .24em; color: var(--bone-dim); align-self: center; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; margin-top: 40px; }
.contact dt { padding-top: 4px; }
.contact dd { color: var(--bone-dim); }
.map { aspect-ratio: 4/3; overflow: hidden; border-radius: 14px; isolation: isolate; filter: grayscale(1) sepia(.35) brightness(.7) contrast(1.1); }
.map iframe { width: 100%; height: 100%; border: 0; }
footer { padding: 80px 0 120px; text-align: center; }
footer .brand { width: 150px; margin: 0 auto 28px; color: var(--bone); display: block; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 8px 8px 8px 22px; }
  .nav .links { display: none; }
  .nav .brand { justify-self: start; width: 80px; grid-column: 1; grid-row: 1; }
  .nav .lang { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.open .links { display: flex; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(19,18,16,.94); border-radius: 26px; padding: 6px 24px; border: 1px solid var(--bone-faint); }
  .nav.open .links a { padding: 18px 0; border-bottom: 1px solid var(--bone-faint); }
  .nav.open .links a:last-child { border: 0; }
  .about, .events, .contact { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; gap: 56px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 64svh; }
  .m1, .m2, .m3 { grid-column: auto; grid-row: auto; }
  .items { grid-template-columns: 1fr; }
  .cinema { height: 90svh; }
  .drift > img { width: 150%; }
  @keyframes drift { from { transform: translate3d(0,0,0) scale(1.02); } to { transform: translate3d(-33%,0,0) scale(1.05); } }
  .reserve-float { bottom: 16px; padding: 15px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .drift > img, .film .grain { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Take em vídeo (mesmo movimento do filme de abertura) */
.take { overflow: hidden; background: var(--ink); height: max(620px, 56.25vw); max-height: 120svh; }
.take video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.take .over { padding-bottom: 12vh; }
@media (max-width: 900px) {
  .take { height: 90svh; }
  .take video { object-position: 68% 50%; }
}
.take .over.left { background: linear-gradient(90deg, rgba(19,18,16,.6) 0%, rgba(19,18,16,.25) 38%, transparent 60%); }

/* ---------- Galeria (estilo ARCA) ---------- */
.gal-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item { display: block; padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden; aspect-ratio: 4/5; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .6s; filter: brightness(.92); }
.gal-item:hover img { transform: scale(1.045); filter: brightness(1.02); }

.gal-full { position: fixed; inset: 0; z-index: 120; background: var(--ink); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.gal-full.open { opacity: 1; visibility: visible; }
.gal-full header { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter); background: linear-gradient(180deg, var(--ink) 60%, rgba(19,18,16,0)); }
.gal-full header .brand { width: 96px; color: var(--bone); }
.gal-close { justify-self: end; background: none; border: 0; color: var(--bone); font-size: 22px; cursor: pointer; padding: 6px 10px; opacity: .8; }
.gal-close:hover { opacity: 1; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 8px var(--gutter) 120px; }
.gal-grid .gal-item { aspect-ratio: 1; }
.gal-grid .gal-item { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.gal-full.open .gal-grid .gal-item { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(8,7,6,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .gal-close { position: absolute; top: 18px; right: 18px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--bone); font-size: 54px; font-weight: 200; cursor: pointer; padding: 20px; opacity: .6; }
.lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
body.locked { overflow: hidden; }

/* ---------- Som ambiente ---------- */
.sound { position: fixed; z-index: 85; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--bone); }
.sound .bars { display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.sound .bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; transition: height .3s; }
.sound[aria-pressed="true"] .bars i { animation: eq 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 15px; } }

@media (max-width: 900px) {
  .gal-preview { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sound { right: 14px; bottom: 16px; width: 46px; height: 46px; }
}

/* ---------- Tela de entrada (libera o som) ---------- */
.intro { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; text-align: center;
  background: radial-gradient(ellipse at center, rgba(19,18,16,.55), rgba(19,18,16,.92)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity 1.2s ease, visibility 1.2s; }
.intro.gone { opacity: 0; visibility: hidden; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; animation: rise 1.6s .2s ease both; }
.intro-logo { width: min(260px, 60vw); color: var(--bone); }
.intro-logo svg { width: 100%; height: auto; display: block; }
.intro-enter { margin-top: 18px; padding: 16px 46px; font-size: 12px; letter-spacing: .34em; color: #fff; }
.intro-enter:hover { transform: translateY(-2px); }
.intro-mute { background: none; border: 0; color: var(--bone-dim); font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.intro-mute:hover { color: var(--bone); }
body.locked-intro { overflow: hidden; }
/* Hero title waits for the entry screen */
body.locked-intro .hero .label, body.locked-intro .hero h1 { animation-play-state: paused; }
body.locked-intro .reserve-float, body.locked-intro .sound { opacity: 0; pointer-events: none; }
.reserve-float, .sound { transition: opacity 1s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.hero .content > div { will-change: transform, opacity; transform-origin: 50% 50%; backface-visibility: hidden; }

/* Abertura: "Jungle Dining" em negrito */
.hero h1 { font-weight: 500; }

/* ---------- Manhãs no TOM (wellness) ---------- */
.manhas-hero { height: 110svh; min-height: 640px; overflow: hidden; }
.fade-slides, .fade-slides .slide { position: absolute; inset: 0; }
.fade-slides .slide { opacity: 0; transition: opacity 1.5s ease-in-out; }
.fade-slides .slide.on { opacity: 1; }
.manhas-hero .over { place-items: end center; padding-bottom: 14vh; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--bone-faint); margin-top: clamp(64px, 8vw, 110px); }
.pillars > div { padding: 28px 24px 0 0; }
.pillars > div + div { padding-left: 24px; border-left: 1px solid var(--bone-faint); }
.pillars h4 { margin: 12px 0 10px; }
.pillars p { color: var(--bone-dim); font-size: 15px; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pillars > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
.amb-sec { padding-bottom: clamp(40px, 5vw, 72px); } .gal-sec { padding-top: clamp(40px, 5vw, 72px); }

/* Ajustes de celular */
.reserve-float { white-space: nowrap; }
@media (max-width: 600px) {
  .hero h1.d-xxl { font-size: 15vw; }
  .reserve-float { padding: 14px 26px; font-size: 11px; letter-spacing: .24em; }
  .d-xl { font-size: clamp(44px, 13vw, 64px); }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; margin: 28px -16px 40px; padding: 0 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .ev-list li { font-size: 18px; }
  .contact dl { grid-template-columns: 1fr; gap: 6px 0; }
  .contact dd { margin-bottom: 14px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars > div, .pillars > div + div { padding: 22px 0 0; border-left: 0; }
  .gal-full header { padding: 16px; }
}

/* ===================== CELULAR · padrão ARCA ===================== */
/* Imagens revelam abrindo (clip) ao entrar na tela — desktop e celular */
.drift.reveal, .gal-item.reveal { clip-path: inset(10% 0 10% 0); transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2,.7,.2,1), clip-path 1.6s cubic-bezier(.2,.7,.2,1); }
.drift.reveal.in, .gal-item.reveal.in { clip-path: inset(0 0 0 0); }
/* Aberturas em tela cheia: fundem com o fundo em cima e embaixo */
.manhas-hero::before, .manhas-hero::after { content: ""; position: absolute; left: 0; right: 0; height: 28%; z-index: 1; pointer-events: none; }
.manhas-hero::before { top: 0; background: linear-gradient(180deg, var(--ink), transparent); }
.manhas-hero::after { bottom: 0; background: linear-gradient(0deg, var(--ink), transparent); }

@media (max-width: 900px) {
  :root { --gutter: 22px; }
  body { font-size: 14px; line-height: 1.9; }

  /* Cabeçalho: mais fino, logo centralizado, menu à direita */
  .nav { top: 10px; padding: 6px 6px 6px 16px; grid-template-columns: 40px 1fr 40px; border-radius: 999px; }
  .nav .brand { grid-column: 2; justify-self: center; width: 62px; }
  .nav .right { grid-column: 3; }
  .burger { width: 36px; height: 36px; font-size: 16px; background: transparent; color: var(--bone); border: 1px solid var(--bone-faint); }
  .nav.open .links { top: calc(100% + 8px); }

  /* Tipografia ARCA */
  .label { font-size: 10px; letter-spacing: .5em; }
  .d-l { font-size: 30px; line-height: 1.1; font-weight: 300; }
  .d-m { font-size: 22px; }
  .d-xl { font-size: clamp(40px, 12vw, 52px); line-height: 1; }
  .statement { font-size: 28px; line-height: 1.12; margin: 22px 0 22px; }
  .body-l { font-size: 14px; line-height: 1.9; }
  .pad { padding-top: 96px; padding-bottom: 96px; }

  /* Abertura */
  .hero .content > div { gap: 16px; }
  .hero h1.d-xxl { font-size: 14vw; }

  /* Seções de texto + imagem: texto primeiro, imagem com margem lateral */
  .about { gap: 48px; }
  .about .tall, .events .tall { aspect-ratio: 4/5; }

  /* Momentos */
  .moments { gap: 64px; }
  .moment .frame { aspect-ratio: 4/5; }
  .moment .meta { padding-top: 18px; }
  .moment p { font-size: 14px; }

  /* Seções cinema: altura de tela e título menor */
  .cinema, .manhas-hero { height: 88svh; min-height: 560px; }
  .cinema .over, .manhas-hero .over { padding-bottom: 12vh; }
  .cinema .over.left { padding-left: var(--gutter); padding-right: var(--gutter); }
  .take .over.left { background: linear-gradient(0deg, rgba(19,18,16,.75), transparent 55%); }
  .take video { object-position: 62% 50%; }

  /* Cardápio */
  .items { row-gap: 34px; }
  .item h5 { font-size: 20px; letter-spacing: .03em; }
  .item p { font-size: 12px; line-height: 1.6; letter-spacing: .05em; }
  .item .price { font-size: 11px; }
  .menu-note { margin-top: 44px; }

  /* Pilares / rituais */
  .pillars { margin-top: 56px; }
  .pillars h4 { margin: 8px 0 6px; }
  .pillars p { font-size: 14px; }

  /* Eventos */
  .ev-list { margin: 28px 0 32px; }
  .ev-list li { padding: 15px 0; font-size: 17px; }

  /* Galeria */
  .gal-preview { gap: 12px; }
  .gal-item { aspect-ratio: 1; }

  /* Botões */
  .btn { padding: 13px 22px; font-size: 10px; letter-spacing: .3em; }
  .reserve-float { bottom: 14px; padding: 13px 24px; font-size: 10px; letter-spacing: .3em; }
  .sound { width: 42px; height: 42px; bottom: 14px; right: 12px; }

  /* Tela de entrada */
  .intro-logo { width: 46vw; }
  .intro-enter { padding: 14px 40px; }

  footer { padding: 64px 0 110px; }
  footer .brand { width: 110px; }
}

/* Sem linha entre seções: fundos iguais e fade que transborda */
.drift, .cinema, .manhas-hero, .take { background: var(--ink); }
.cinema::after, .manhas-hero::after { bottom: -2px; height: 40%; background: linear-gradient(0deg, var(--ink) 8%, rgba(19,18,16,.85) 30%, transparent); }
.cinema::before, .manhas-hero::before { top: -2px; height: 34%; background: linear-gradient(180deg, var(--ink) 6%, rgba(19,18,16,.8) 28%, transparent); }
.hero::after { background: linear-gradient(180deg, rgba(19,18,16,.55) 0%, rgba(19,18,16,0) 26%, rgba(19,18,16,0) 55%, var(--ink) 99%); }




/* Fotos com pessoas: só um zoom lento ancorado no assunto, sem pan lateral */
.drift.still > img { width: 100% !important; transform-origin: 22% 55%; animation-name: drift-still; }
@keyframes drift-still { from { transform: scale(1.02); } to { transform: scale(1.09); } }
