/* =========================================================
   COOPFEIRA NF — estilos
   Paleta derivada da logo oficial: laranja "COOP", verdes "FEIRA",
   lima "NOVA FRIBURGO". Base em papel kraft/creme.
========================================================= */
:root {
  --cream: #F4EEE3;
  --paper: #FBF8F2;
  --kraft: #E6D9C2;
  --ink: #15241A;
  --ink-2: #3D4A40;
  --muted: #6B7268;
  --forest: #1D4A2A;
  --forest-2: #143520;
  --leaf: #8DC63F;
  --orange: #EC6A1E;
  --orange-2: #D65A12;
  --sun: #F7A21B;
  --line: rgba(21, 36, 26, .14);

  --f-sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
button, .btn, .chip, .chapters button, .menu-btn, .nav__list a, .coop__ig, .hero__cue {
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--f-sans);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }

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

/* ---------- tipografia ---------- */
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-2); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker--light { color: var(--sun); }
.h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.02; font-weight: 750;
  letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
.h2--light { color: var(--cream); }
.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--forest); display: inline-flex; align-items: center; gap: .55rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(236,106,30,.18); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font-weight: 650; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--line { border: 1.5px solid currentColor; color: var(--ink); }
.btn--wa { background: #1FA855; color: #fff; }

/* =========================================================
   HEADER
========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.6rem; }
.nav__list a {
  text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .4rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__list { gap: 1.1rem; }
  .nav__list a { font-size: .9rem; }
}
@media (max-width: 920px) {
  :root { --header-h: 62px; }
  .header__logo img { height: 34px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    background: var(--cream); flex-direction: column; align-items: stretch; justify-content: space-between;
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { min-height: 54px; font-size: 1.05rem; }
}

/* =========================================================
   HERO — scroll-driven
========================================================= */
.hero { position: relative; height: 420vh; background: var(--cream); }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  isolation: isolate;
}

/* textura sutil de papel */
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(21,36,26,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero__intro {
  position: absolute; z-index: 4;
  left: var(--gutter); top: calc(var(--header-h) + 6vh); width: min(52vw, 760px);
  transform-origin: 0 60%; will-change: transform, opacity;
}
.hero__title {
  font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .9; letter-spacing: -.045em; font-weight: 780;
  margin: 1.4rem 0 1.6rem; color: var(--ink);
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 31ch; }
.hero__cue {
  margin-top: 2.6rem; display: inline-flex; align-items: center; gap: .9rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--forest);
}
.hero__cue-line { width: 2px; height: 46px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.hero__cue-line::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--orange);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* slot que define o arco inicial (medido pelo JS) */
.hero__portal-slot {
  position: absolute; pointer-events: none; visibility: hidden;
  top: calc(var(--header-h) + 4vh); bottom: 5vh; right: var(--gutter); width: 37vw;
  border-radius: 999px 999px 22px 22px;
}
.hero__portal {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  clip-path: inset(var(--pt, 12%) var(--pr, 6%) var(--pb, 6%) var(--pl, 58%) round var(--prt, 300px) var(--prt, 300px) var(--prb, 22px) var(--prb, 22px));
  background: var(--forest-2);
}
.hero__scenes { position: absolute; inset: 0; will-change: transform; transform: scale(1.3); }
.scene { position: absolute; inset: 0; opacity: 0; }
.scene.is-base { opacity: 1; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: #0E1A12; opacity: 0; pointer-events: none; }

/* caixotes */
.crates { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.crate {
  position: absolute; will-change: transform, opacity;
  border-radius: 14px; background: var(--paper); padding: 6px 6px 0;
  box-shadow: 0 18px 40px -18px rgba(21,36,26,.45);
}
.crate img { border-radius: 9px; width: 100%; height: auto; aspect-ratio: var(--ar, 4/5); object-fit: cover; background: var(--kraft); }
.crate figcaption {
  font-family: var(--f-hand); font-size: 1.45rem; line-height: 1; color: var(--ink);
  padding: .3rem .4rem .45rem; text-align: center;
}
.crate--a { --ar: 4/5; width: clamp(130px, 12vw, 200px); left: 51vw; top: 54vh; rotate: -5deg; }
.crate--b { --ar: 1/1; width: clamp(110px, 10vw, 170px); right: 2.5vw; top: calc(var(--header-h) + 9vh); rotate: 6deg; }
.crate--c { --ar: 7/6; width: clamp(120px, 11vw, 190px); right: 7vw; bottom: 3vh; rotate: 3deg; }
.crate--d { --ar: 2/3; width: clamp(90px, 7.5vw, 130px); left: 52vw; top: calc(var(--header-h) + 2vh); rotate: -7deg; }
.crate--e { --ar: 9/11; width: clamp(90px, 8vw, 140px); left: 39vw; bottom: 10vh; rotate: 8deg; }

/* corredores */
.aisles {
  position: absolute; inset: 0; z-index: 5; color: var(--cream); pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) var(--gutter) 0;
  visibility: hidden;
}
.aisles__count { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 1rem; }
.aisles__count span { color: var(--sun); }
.aisles__words { position: relative; height: clamp(10rem, 30vh, 18rem); }
.aisle { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; will-change: transform, opacity; }
.aisle h2 {
  font-size: clamp(3.4rem, 13vw, 13rem); line-height: .88; letter-spacing: -.055em; font-weight: 800;
}
.aisle p { font-size: clamp(1rem, 1.6vw, 1.35rem); max-width: 34ch; margin-top: 1.1rem; opacity: .9; }

/* toldo (motivo da feira) */
.toldo {
  --stripe: 64px; --scallop: 32px;
  background:
    linear-gradient(var(--forest-2), var(--forest-2)) top / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--orange) 0 var(--stripe), var(--cream) var(--stripe) calc(var(--stripe) * 2));
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop)) no-repeat,
    radial-gradient(circle var(--scallop) at var(--scallop) 0, #000 97%, transparent 100%) bottom left / calc(var(--scallop) * 2) var(--scallop) repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--scallop)) no-repeat,
    radial-gradient(circle var(--scallop) at var(--scallop) 0, #000 97%, transparent 100%) bottom left / calc(var(--scallop) * 2) var(--scallop) repeat-x;
}
.hero__toldo {
  position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: calc(var(--header-h) + 14vh);
  transform: translateY(-105%); will-change: transform;
}
.hero__feira {
  position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 18vh);
  color: var(--cream); pointer-events: none;
}
.hero__feira-kicker { font-family: var(--f-hand); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--sun); opacity: 0; }
.hero__feira-title { font-size: clamp(3rem, 9vw, 9.5rem); line-height: .9; letter-spacing: -.05em; font-weight: 800; }
.hero__feira-title span { display: inline-block; opacity: 0; will-change: transform, opacity; }

.visit-card {
  position: absolute; z-index: 7; right: var(--gutter); bottom: calc(5vh + 54px);
  width: min(430px, calc(100vw - 2 * var(--gutter)));
  background: var(--cream); color: var(--ink); border-radius: var(--r); padding: 1.3rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(40px); visibility: hidden;
}
.visit-card__row { display: flex; gap: .85rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.visit-card__row .ico { color: var(--orange); margin-top: .2rem; }
.visit-card__row strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.visit-card__row span { font-size: .92rem; color: var(--muted); }
.visit-card__actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.visit-card__actions .btn { flex: 1 1 auto; }

/* capítulos */
.chapters {
  position: absolute; z-index: 8; left: var(--gutter); bottom: 3.2vh;
  display: flex; align-items: center; gap: 1rem; color: var(--ink);
  transition: color .4s;
}
.chapters.on-dark { color: var(--cream); }
.chapters__bar { width: 70px; height: 2px; background: currentColor; opacity: .9; position: relative; }
.chapters__bar span { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.chapters ol { display: flex; gap: .2rem; }
.chapters button {
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .45rem .55rem; border-radius: 999px; opacity: .5; transition: opacity .3s, background-color .3s;
}
.chapters button.is-active { opacity: 1; background: rgba(236,106,30,.16); }

/* --- hero no tablet/celular --- */
@media (max-width: 920px) {
  .hero { height: 360vh; }
  .hero__intro { width: auto; right: var(--gutter); top: calc(var(--header-h) + 3.5svh); }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 5rem); margin: 1rem 0 1rem; }
  .hero__lead { font-size: 1rem; max-width: 36ch; }
  .hero__cue { display: none; }
  .hero__portal-slot { top: auto; bottom: 9svh; right: var(--gutter); left: var(--gutter); width: auto; height: 40svh; border-radius: 999px 999px 18px 18px; }
  .crate figcaption { font-size: 1.15rem; }
  .crate--a { width: 104px; left: 4vw; top: auto; bottom: 30svh; }
  .crate--b { width: 92px; right: 3vw; top: auto; bottom: 37svh; }
  .crate--c { width: 104px; right: 8vw; bottom: calc(2svh + 46px); }
  .crate--d, .crate--e { display: none; }
  .aisles__words { height: 15rem; }
  .hero__toldo { --stripe: 40px; --scallop: 20px; height: calc(var(--header-h) + 9svh); }
  .hero__feira { top: calc(var(--header-h) + 14svh); }
  .visit-card { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(3svh + 46px); padding: 1rem 1.1rem; }
  .visit-card__row strong { font-size: 1rem; }
  .chapters { bottom: 2svh; }
  .chapters__bar { width: 34px; }
  .chapters button { font-size: .68rem; padding: .4rem .4rem; }
}
@media (min-width: 600px) and (max-width: 920px) {
  .hero__portal-slot { left: 16vw; right: 16vw; height: 46svh; bottom: 10svh; }
  .crate--a { left: 6vw; width: 130px; }
  .crate--b { right: 6vw; width: 116px; }
  .crate--c { right: 12vw; width: 124px; }
}
@media (max-width: 920px) and (max-height: 700px) {
  .hero__lead { display: none; }
  .hero__portal-slot { height: 44svh; }
}

/* estado estático (prefers-reduced-motion ou sem JS) */
.hero--static { height: auto; }
.hero--static .hero__stage { position: relative; height: auto; min-height: 100svh; }
.hero--static .aisles, .hero--static .hero__toldo, .hero--static .hero__feira,
.hero--static .chapters, .hero--static .hero__cue-line::after { display: none; }
.hero--static .hero__scenes { transform: none; }

/* =========================================================
   MARQUEE
========================================================= */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 1.05rem 0; border-block: 1px solid rgba(0,0,0,.2); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-hand); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; padding: 0 1.4rem; display: flex; align-items: center; gap: 2.8rem; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SEÇÕES
========================================================= */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head__sub { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; max-width: 52ch; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
.section-head--split .section-head__sub { margin: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* sobre */
.sobre { background: var(--paper); }
.sobre__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); }
.sobre__head .h2 { position: sticky; top: calc(var(--header-h) + 2rem); }
.sobre__big { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.38; letter-spacing: -.01em; color: var(--ink); margin-bottom: 1.4rem; }
.sobre__text > p:not(.sobre__big) { color: var(--ink-2); font-size: 1.08rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.6rem; border-top: 1px solid var(--line); }
.facts li { padding: 1.3rem 1rem 0 0; }
.facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.facts__n { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 780; letter-spacing: -.04em; color: var(--orange); line-height: 1; }
.facts__l { display: block; font-size: .88rem; color: var(--muted); margin-top: .5rem; line-height: 1.35; }

/* galpão — lista de corredores */
.galpao { background: var(--cream); }
.aisle-list { border-top: 1.5px solid var(--ink); }
.aisle-row {
  display: grid; grid-template-columns: 4rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.35rem .2rem; border-bottom: 1px solid var(--line); position: relative;
  transition: padding .45s var(--ease), color .3s;
}
.aisle-row::before { content: ""; position: absolute; inset: 0; background: var(--forest); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.aisle-row__n { font-size: .85rem; font-weight: 700; color: var(--orange-2); }
.aisle-row h3 { font-size: clamp(1.5rem, 3.6vw, 3rem); font-weight: 720; letter-spacing: -.035em; line-height: 1.05; }
.aisle-row p { color: var(--muted); font-size: .98rem; text-align: right; }
.galpao .wrap { position: relative; isolation: isolate; }
@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .aisle-row:hover { padding-left: 1.4rem; padding-right: 1.4rem; color: var(--cream); }
  .aisle-row:hover::before { transform: scaleY(1); }
  .aisle-row:hover p, .aisle-row:hover .aisle-row__n { color: var(--sun); }
}
.aisle-peek {
  position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 4/3; z-index: 50; pointer-events: none;
  border-radius: 14px; overflow: hidden; opacity: 0; scale: .85; rotate: -4deg;
  transition: opacity .3s, scale .4s var(--ease); box-shadow: 0 30px 50px -25px rgba(0,0,0,.6);
}
.aisle-peek.is-on { opacity: 1; scale: 1; }
.aisle-peek img { width: 100%; height: 100%; object-fit: cover; }

/* cooperados */
.coops { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  min-height: 42px; padding: .5rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .92rem; transition: background-color .25s, color .25s, border-color .25s;
}
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.coop {
  position: relative; background: var(--cream); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.coop.is-hidden { display: none; }
.coop__plate { position: relative; aspect-ratio: 4/3; background: var(--plate, #fff); display: grid; place-items: center; overflow: hidden; }
.coop__plate img { position: absolute; inset: 10% 12%; width: 76%; height: 80%; object-fit: contain; transition: transform .6s var(--ease); }
.coop__plate--cover img { inset: 0; width: 100%; height: 100%; }
.coop__plate--cover img { object-fit: cover; }
.coop__plate--mono { color: var(--cream); }
.mono { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; text-align: center; transition: transform .6s var(--ease); }
.mono i { font-style: normal; color: var(--sun); }
.mono small { display: block; font-family: var(--f-hand); font-weight: 600; font-size: .62em; letter-spacing: 0; color: var(--sun); margin-top: .35rem; }
.coop__body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.coop__cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-2); }
.coop__name { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: .55rem; }
.coop__ig {
  margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600;
  text-decoration: none; color: var(--forest); min-height: 32px;
  overflow-wrap: anywhere;
}
.coop__ig::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* card inteiro clicável */
.coop__ig .ico--arrow { transition: transform .35s var(--ease); margin-left: auto; }
.coop__tag { margin-top: auto; align-self: flex-start; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--kraft); color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .coop:has(.coop__ig):hover { transform: translateY(-6px); box-shadow: 0 26px 40px -28px rgba(21,36,26,.55); }
  .coop:hover .coop__plate img, .coop:hover .mono { transform: scale(1.06); }
  .coop:hover .coop__ig .ico--arrow { transform: translate(3px, -3px); }
}
.coop--join { background: var(--forest); color: var(--cream); border: 0; }
.coop__join { padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; height: 100%; justify-content: flex-end; min-height: 260px; }
.coop__join .coop__cat { color: var(--sun); }
.coop__join .coop__name { font-size: 1.55rem; }
.coop__join .btn { align-self: flex-start; margin-top: .6rem; }

/* feira */
.feira { background: var(--orange); color: #fff; position: relative; padding: 0 0 clamp(5rem, 10vw, 8rem); overflow: hidden; }
.toldo--edge { --orange: #B9470B; height: 74px; margin-bottom: clamp(3.5rem, 8vw, 6rem); }
.feira__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feira .kicker--light { color: var(--ink); }
.feira .h2--light { color: #fff; }
.feira__text > p { font-size: 1.12rem; margin-top: 1.4rem; color: rgba(255,255,255,.95); max-width: 46ch; }
.ticks { margin-top: 1.8rem; display: grid; gap: .1rem; }
.ticks li { padding: .75rem 0 .75rem 2rem; border-top: 1px solid rgba(255,255,255,.3); font-weight: 600; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); rotate: -45deg; }
.feira__when { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: var(--cream); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.feira__photos { position: relative; height: clamp(420px, 46vw, 600px); }
.ph { position: absolute; background: var(--paper); padding: 8px; border-radius: 14px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.55); will-change: transform; }
.ph img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; background: var(--kraft); }
.ph--1 { width: 54%; height: 78%; left: 4%; top: 0; rotate: -3deg; }
.ph--2 { width: 42%; height: 62%; right: 0; top: 18%; rotate: 4deg; }
.ph--3 { width: 40%; height: 34%; left: 32%; bottom: 0; rotate: -1.5deg; }
.ph__tag { position: absolute; right: 6%; top: 2%; font-family: var(--f-hand); font-size: 2rem; color: var(--ink); rotate: 6deg; }

/* valores */
.valores { background: var(--cream); }
.valores__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.valor { padding: 2rem 2rem 0 0; }
.valor + .valor { padding-left: 2rem; border-left: 1px solid var(--line); }
.valor__n { font-family: var(--f-hand); font-size: 2.2rem; color: var(--orange); line-height: 1; }
.valor h3 { font-size: 1.7rem; letter-spacing: -.03em; margin: .5rem 0 .8rem; }
.valor p { color: var(--ink-2); }

/* horários */
.horarios { background: var(--forest-2); color: var(--cream); }
.horarios__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.horarios__note { margin-top: 1.4rem; color: rgba(244,238,227,.75); max-width: 40ch; }
.horarios__note a { color: var(--sun); font-weight: 600; }
.horarios__status { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; padding: .55rem 1rem; border-radius: 999px; background: rgba(141,198,63,.16); color: var(--leaf); }
.horarios__status.is-closed { background: rgba(244,238,227,.1); color: var(--cream); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.board { border-top: 1.5px solid var(--cream); }
.board__row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid rgba(244,238,227,.18); }
.board__day { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.board__what { color: rgba(244,238,227,.72); }
.board__time { font-family: var(--f-hand); font-size: 1.7rem; color: var(--sun); text-align: right; line-height: 1; }
.board__time.is-pending { font-family: var(--f-sans); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(244,238,227,.6); border: 1px dashed rgba(244,238,227,.35); padding: .4rem .7rem; border-radius: 999px; }
.board__row--feira .board__day { color: var(--sun); }
.board__row.is-today .board__day::after { content: "hoje"; font-family: var(--f-hand); font-size: 1.2rem; font-weight: 600; color: var(--leaf); margin-left: .6rem; }
.board__foot { font-size: .9rem; color: rgba(244,238,227,.6); margin-top: 1.1rem; }

/* visite */
.visite { background: var(--paper); }
.visite__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.visite__addr { font-style: normal; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; margin: 1.6rem 0; }
.visite__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.contact-list { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 650; text-decoration: none; color: var(--forest); text-align: right; }
.visite__map { border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--kraft); border: 1px solid var(--line); }
.visite__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* footer */
.footer { background: var(--ink); color: rgba(244,238,227,.8); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(244,238,227,.14); }
.footer__brand img { width: 200px; background: var(--cream); border-radius: 14px; padding: 14px 18px; margin-bottom: 1.2rem; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer h4 { color: var(--cream); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col li { margin-bottom: .6rem; font-size: .95rem; }
.footer__col a { text-decoration: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 1100px) {
  .coop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  body { font-size: 16px; }
  .section-head--split { grid-template-columns: 1fr; gap: .4rem; }
  .sobre__grid, .feira__grid, .horarios__grid, .visite__grid { grid-template-columns: 1fr; }
  .sobre__head .h2 { position: static; }
  .coop-grid { grid-template-columns: repeat(3, 1fr); }
  .aisle-row { grid-template-columns: 2.6rem 1fr; padding: 1.1rem 0; }
  .aisle-row p { grid-column: 2; text-align: left; margin-top: -.6rem; }
  .valores__grid { grid-template-columns: 1fr; }
  .valor, .valor + .valor { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .feira__photos { height: 440px; margin-top: 1rem; }
  .toldo--edge { --stripe: 40px; --scallop: 20px; height: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .coop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .3rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .eyebrow .eb-long { display: none; }
  .coop-grid { gap: .6rem; }
  .coop__body { padding: .8rem .8rem .9rem; }
  .coop__name { font-size: 1.02rem; }
  .coop__cat { font-size: .66rem; }
  .coop__ig { font-size: .78rem; gap: .3rem; }
  .coop__ig .ico--arrow { display: none; }
  .coop--join { grid-column: 1 / -1; }
  .coop__join { min-height: 0; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts li + li { padding-left: .8rem; }
  .board__row { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .board__what { grid-column: 1; grid-row: 2; font-size: .9rem; }
  .board__time { grid-row: 1 / span 2; grid-column: 2; }
  .board__day { font-size: 1.15rem; }
  .visite__actions .btn { flex: 1 1 100%; }
  .visite__map, .visite__map iframe { min-height: 320px; }
  .feira__photos { height: 380px; }
  .ph__tag { font-size: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* sem JavaScript: hero estática */
.no-js .hero { height: auto; }
.no-js .hero__stage { position: relative; height: auto; min-height: 100svh; }
.no-js .aisles, .no-js .hero__toldo, .no-js .hero__feira, .no-js .chapters { display: none; }
.no-js .hero__scenes { transform: none; }

/* celulares baixos */
@media (max-width: 920px) and (max-height: 700px) {
  .crate--a { width: 82px; bottom: 34svh; }
  .crate--b { width: 76px; bottom: 40svh; }
  .crate--c { width: 82px; bottom: calc(2svh + 44px); right: 4vw; }
  .crate figcaption { font-size: 1rem; }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); }
}

/* =========================================================
   HOVER — só em dispositivos com mouse (evita hover "preso" no toque)
========================================================= */
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: var(--forest); }
  .btn--orange:hover { background: var(--orange-2); }
  .btn--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .btn--wa:hover { background: #178A45; }
  .nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
  .chapters button:hover { opacity: .9; }
  .chip:hover { border-color: var(--ink); }
  .contact-list a:hover { color: var(--orange-2); }
  .footer__col a:hover, .footer__credit a:hover { color: var(--sun); }
}

/* feedback no toque (aparece ao encostar o dedo, não ao soltar) */
.btn, .chip, .chapters button, .coop, .menu-btn { -webkit-tap-highlight-color: transparent; }
.chip:active, .chapters button:active { transform: scale(.95); }
.chip, .chapters button { transition: transform .12s cubic-bezier(.2,.7,.1,1), background-color .25s, color .25s, border-color .25s, opacity .3s; }
.coop:has(.coop__ig):active { transform: scale(.98); transition-duration: .12s; }
.menu-btn:active { background: rgba(21,36,26,.08); }
.contact-list a:active, .footer__col a:active { opacity: .6; }

/* crédito */
.footer__credit { width: 100%; text-align: center; padding-top: 1.2rem; margin-top: .4rem; border-top: 1px solid rgba(244,238,227,.08); color: rgba(244,238,227,.6); }
.footer__credit a { color: var(--cream); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244,238,227,.35); }

/* =========================================================
   MOBILE NATIVO
========================================================= */
/* palco da hero acompanha a área visível (barra de endereço aparece/some) */
.hero__stage { height: 100svh; height: 100dvh; }
/* menu: rolagem interna não arrasta a página de trás */
.nav { overscroll-behavior: contain; }
/* filtros: deslizar os chips não aciona "voltar" do navegador */
.filters { overscroll-behavior-x: contain; }
/* áreas seguras (notch / barra do iPhone, inclusive em paisagem) */
.header__inner { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.chapters { bottom: calc(3.2vh + env(safe-area-inset-bottom, 0px)); }
.footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 920px) {
  .chapters { bottom: calc(2svh + env(safe-area-inset-bottom, 0px)); }
  .visit-card { bottom: calc(3svh + 46px + env(safe-area-inset-bottom, 0px)); }
}
/* área de toque mínima 44px nos links de Instagram dos cards */
@media (pointer: coarse) {
  .coop__ig { min-height: 44px; }
  .chapters button { min-height: 36px; }
}
/* paisagem no celular: hero mais compacta */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
  .hero__intro { width: 52vw; right: auto; top: calc(var(--header-h) + 2svh); }
  .hero__title { font-size: 2.2rem; margin: .5rem 0; }
  .hero__lead { display: none; }
  .hero__portal-slot { left: 58vw; right: var(--gutter); top: calc(var(--header-h) + 3svh); bottom: 14svh; height: auto; }
  .crates { display: none; }
  .aisle h2 { font-size: 3rem; }
  .aisles__words { height: 9rem; }
  .hero__feira { top: calc(var(--header-h) + 10svh); right: calc(380px + var(--gutter)); }
  .hero__feira-title { font-size: 2.6rem; }
  .hero__toldo { height: calc(var(--header-h) + 6svh); }
  .visit-card { left: auto; width: 360px; padding: .7rem .9rem; }
  .visit-card__row { padding: .3rem 0; }
  .visit-card__actions { margin-top: .5rem; }
  .visit-card__actions .btn { min-height: 40px; padding: .4rem .8rem; }
}
@media (pointer: coarse) {
  .footer__col a, .footer__credit a, .contact-list a { display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
  .footer__col li { margin-bottom: .9rem; }
}
.coop__join .btn { white-space: normal; max-width: 100%; text-align: left; line-height: 1.2; }

.coop__ig { overflow-wrap: normal; min-width: 0; max-width: 100%; }
.coop__handle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.board__row--closed .board__time { color: rgba(244,238,227,.55); }

/* =========================================================
   CENAS DA HERO — fotos reais (verticais, de vídeo)
   Celular/retrato: foto ocupa a tela toda.
   Telas deitadas: foto nítida em moldura + fundo desfocado
   (evita ampliar demais as fotos verticais).
========================================================= */
.scene__bg { display: none; }
.scene .scene__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (orientation: landscape) and (min-width: 700px) {
  .scene--card .scene__bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
  .scene--card .scene__photo {
    inset: auto; right: max(7vw, calc(var(--gutter) + 2vw)); top: calc(var(--header-h) + 7vh); bottom: auto;
    height: calc(100% - var(--header-h) - 16vh); width: auto; aspect-ratio: 5 / 8;
    border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
    outline: 6px solid rgba(244,238,227,.92); outline-offset: -1px;
    transform: translate3d(0, calc((1 - var(--o, 1)) * 60px), 0) rotate(calc((1 - var(--o, 1)) * 3deg));
  }
}
@media (orientation: landscape) and (min-width: 700px) and (max-height: 500px) {
  .scene--card .scene__photo { top: calc(var(--header-h) + 4vh); height: calc(100% - var(--header-h) - 10vh); outline-width: 4px; }
}

@media (orientation: landscape) and (min-width: 700px) {
  .scene--panel .scene__bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
  .scene--panel .scene__photo { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
}

@media (min-width: 561px) { .board__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; } }

/* =========================================================
   FOTOS DO GALPÃO — carrossel contínuo com fotos reais
========================================================= */
.reel { background: var(--forest-2); color: var(--cream); overflow: hidden; padding-bottom: clamp(4rem, 9vw, 7rem); }
.reel__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.reel__sub { color: rgba(244,238,227,.72); font-size: 1.05rem; max-width: 40ch; }
.reel__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reel__track { display: flex; gap: clamp(.8rem, 1.6vw, 1.4rem); width: max-content; padding: 1rem 0 1.5rem; animation: reel 70s linear infinite; }
.reel__item {
  flex: none; width: clamp(200px, 19vw, 280px); background: var(--cream); padding: 8px 8px 0; border-radius: 16px;
  box-shadow: 0 28px 50px -30px rgba(0,0,0,.8); color: var(--ink);
}
.reel__item:nth-child(odd) { rotate: -1.6deg; translate: 0 10px; }
.reel__item:nth-child(even) { rotate: 1.4deg; }
.reel__item img { width: 100%; aspect-ratio: 3 / 4.6; object-fit: cover; border-radius: 10px; background: var(--kraft); }
.reel__item figcaption { font-family: var(--f-hand); font-size: 1.35rem; line-height: 1.1; padding: .45rem .4rem .6rem; text-align: center; }
@keyframes reel { to { transform: translateX(calc(-50% - clamp(.4rem, .8vw, .7rem))); } }
@media (hover: hover) and (pointer: fine) {
  .reel__track:hover { animation-play-state: paused; }
}
@media (max-width: 920px) {
  .reel__head { grid-template-columns: 1fr; gap: .6rem; }
  .reel__item { width: 168px; }
  .reel__item figcaption { font-size: 1.15rem; }
  .reel__track { animation-duration: 55s; }
}
/* quem prefere menos movimento: vira uma faixa rolável com o dedo/mouse */
@media (prefers-reduced-motion: reduce) {
  .reel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-mask-image: none; mask-image: none; }
  .reel__track { animation: none; padding-inline: var(--gutter); }
  .reel__item { scroll-snap-align: start; }
  .reel__item[aria-hidden="true"] { display: none; }
}
