/* ============================================================
   PACHALKI — "MATÉRIA-PRIMA"
   Editorial industrial cinematográfico · espresso + brasa + osso
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
:root {
  --espresso: oklch(0.962 0.006 82);
  --espresso-2: oklch(0.995 0.003 82);
  --espresso-3: oklch(0.928 0.009 80);
  --bone: oklch(0.205 0.014 50);
  --bone-dim: oklch(0.435 0.012 50);
  --ember: oklch(0.55 0.213 28);
  --ember-2: oklch(0.47 0.19 28);
  --amber: oklch(0.60 0.12 66);
  --green: oklch(0.50 0.11 150);
  --accent-soft: oklch(0.92 0.05 28);
  --line: oklch(0.205 0.014 50 / 0.13);
  --line-2: oklch(0.205 0.014 50 / 0.24);
  --maxw: 1440px;
  --gut: clamp(20px, 5vw, 80px);
  --disp: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Inter", system-ui, sans-serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); background: var(--espresso); color: var(--bone);
  line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
}
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; text-wrap: balance; }
.cta h2 { font-weight: 800; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--ember); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
section { position: relative; }

/* ---- atmosfera: grão + vinheta ------------------------- */
.grain { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vignette { display: none; }

/* ---- cursor customizado -------------------------------- */
.cursor { position: fixed; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ember);
  z-index: 400; pointer-events: none; transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s, border-color .25s, opacity .25s; }
.cursor.is-hover { width: 44px; height: 44px; background: transparent; border: 1.5px solid var(--ember); }
@media (hover: none) { .cursor { display: none; } }

/* ---- progresso de scroll ------------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--ember); z-index: 200; }

/* ---- header -------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 120; padding-block: 20px; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: oklch(0.97 0.006 82 / 0.85); backdrop-filter: blur(16px) saturate(1.2); padding-block: 12px; border-color: var(--line); }
.hdr__row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 44px; width: auto; display: block; }
.brand .logo-w { display: none; }
.hdr:not(.scrolled) .brand .logo-k { display: none; }
.hdr:not(.scrolled) .brand .logo-w { display: block; }
.divx__mid { display: flex; flex-direction: column; gap: 5px; }
.divx__tab__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.divx__tab__tag.ind { color: var(--ember); }
.divx__tab__tag.com { color: var(--bone-dim); }
.hdr__nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.hdr__nav a { font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .01em; color: var(--bone); opacity: 1; position: relative; padding: 4px 0; transition: opacity .2s, color .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ember); transition: width .3s; }
.hdr__nav a:hover { opacity: 1; }
.hdr__nav a:hover::after { width: 100%; }
.hdr__act { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { background: transparent; border: 0; cursor: pointer; color: var(--bone); font-family: var(--mono); font-weight: 500; font-size: .8rem; opacity: .65; padding: 4px 9px; border-radius: 999px; transition: opacity .2s, color .2s, background .2s; }
.lang button:hover { opacity: 1; }
.lang button.is-active { opacity: 1; color: #fff; background: var(--ember); }
.cbtn { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: .6em 1.1em; transition: background .25s, color .25s, border-color .25s; }
.cbtn:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
/* botão de tema claro/escuro */
.theme-toggle { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--bone); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: color .2s, border-color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--ember); color: var(--ember); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
.menu .theme-toggle { width: 44px; height: 44px; margin-top: 30px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--bone); transform: translate(-50%,-50%); transition: .25s; }
.burger span::before { transform: translate(-50%,-6px); }
.burger span::after { transform: translate(-50%,6px); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translate(-50%,0) rotate(45deg); }
.burger.is-open span::after { transform: translate(-50%,0) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 110; background: var(--espresso); transform: translateY(-100%); transition: transform .55s cubic-bezier(.76,0,.24,1); display: flex; flex-direction: column; justify-content: center; padding: var(--gut); overflow: hidden; }
.menu.is-open { transform: none; }
.menu a { font-family: var(--disp); font-weight: 700; font-size: clamp(2rem, 8vw, 4rem); letter-spacing: -.03em; padding: .12em 0; opacity: .85; transition: color .2s, padding-left .3s; }
.menu a:hover { color: var(--ember); padding-left: .15em; }
.menu .lang { margin-top: 30px; }
.menu .lang button { font-size: 1rem; opacity: .6; }

/* ---- HERO ---------------------------------------------- */
.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(40px, 7vw, 90px); padding-top: 130px; }
.hero__bg { position: absolute; inset: -12% 0; z-index: 0; background-size: cover; background-position: center; will-change: transform;
  filter: saturate(.82) contrast(1.05) brightness(.56) sepia(.16); }
.hero__grade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,11,8,.72) 0%, rgba(15,11,8,.42) 32%, rgba(15,11,8,.55) 66%, rgba(15,11,8,.96) 100%),
    radial-gradient(80% 60% at 80% 30%, oklch(0.60 0.205 30 / .16), transparent 60%); }
.hero__inner { position: relative; z-index: 3; width: 100%; }
.kicker { font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: .8em; }
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--ember); transform: skew(-12deg); }
.hero h1 { font-size: clamp(2.8rem, 9.35vw, 8.5rem); font-weight: 800; line-height: 1.03; margin: .18em 0 .42em; letter-spacing: -.04em; padding-bottom: .04em; }
.hero h1 .em { color: var(--ember); font-style: italic; font-weight: 700; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.4rem); max-width: 50ch; color: var(--bone-dim); margin-top: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.hero__vlabel { position: absolute; right: clamp(8px, 2vw, 26px); top: 50%; z-index: 3; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-family: var(--mono); font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; opacity: .4; }

/* selo 60 anos giratório */
.seal { position: absolute; z-index: 4; right: var(--gut); top: clamp(116px, 15vh, 180px); width: clamp(92px, 10vw, 132px); height: clamp(92px, 10vw, 132px); }
.seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateY(4%); }
.seal__c b { font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--amber); line-height: .82; }
.seal__c span { font-family: var(--mono); font-size: .55rem; letter-spacing: .25em; margin-top: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal svg { animation: none; } }

.btn { display: inline-flex; align-items: center; gap: .6em; cursor: pointer; font-family: var(--mono); font-weight: 500; font-size: .92rem; letter-spacing: .02em; text-transform: uppercase; padding: 1.05em 1.7em; border-radius: 999px; border: 1px solid transparent; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--solid { background: var(--ember); color: #fff; }
.btn--solid:hover { transform: translateY(-3px); background: var(--ember-2); }
.btn--ghost { border-color: var(--line-2); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); background: var(--bone); color: var(--espresso); }

.scrollcue { position: absolute; right: var(--gut); bottom: clamp(40px, 7vw, 90px); z-index: 3; font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .55; display: flex; align-items: center; gap: 10px; }
.scrollcue::after { content: ""; width: 40px; height: 1px; background: currentColor; animation: cue 1.8s infinite; transform-origin: left; }
@keyframes cue { 0%,100% { transform: scaleX(.4); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }

/* ---- marquee ------------------------------------------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding-block: clamp(16px, 2vw, 26px); background: var(--espresso-3); }
.marquee__track { display: inline-flex; white-space: nowrap; animation: marq 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--disp); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.02em; padding-inline: .5em; display: inline-flex; align-items: center; gap: .6em; opacity: .9; }
.marquee__track span::before { content: "✳"; color: var(--ember); font-size: .6em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- index de seção ------------------------------------ */
.sec { padding-block: clamp(40px, 4.6vw, 66px); }

/* ---- intro institucional ------------------------------- */
.intro2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.intro2__t { font-family: var(--disp); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; }
.intro2__p { color: var(--bone-dim); margin-top: 1.1em; font-size: 1.08rem; }
.intro2__list { list-style: none; margin-top: 1.6em; display: grid; gap: 12px; }
.intro2__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.intro2__list svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 1px; }
.intro2__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.4; position: relative; box-shadow: 0 30px 70px -42px rgba(0,0,0,.5); }
.intro2__media .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }

/* ---- carrossel ----------------------------------------- */
.intro2__media { position: relative; }
.carousel { position: absolute; inset: 0; }
.carousel__track { position: absolute; inset: 0; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(15,11,8,.5); color: #fff; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.carousel__nav:hover { background: var(--ember); }
.carousel__nav:active { transform: translateY(-50%) scale(.94); }
.carousel__nav svg { width: 22px; height: 22px; }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.5); transition: background .25s, transform .25s; }
.carousel__dot.is-active { background: #fff; transform: scale(1.35); }

/* ---- faixa de números (full-bleed) --------------------- */
.numbers { position: relative; overflow: hidden; }
.numbers__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.3) saturate(.85); }
.numbers__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,11,8,.7), rgba(15,11,8,.82)); }
.numbers__in { position: relative; z-index: 1; padding-block: clamp(50px, 7vw, 96px); }
.numbers .sec__label { color: var(--amber); }
.numbers .sec__label::before { color: rgba(255,255,255,.6); }
.numbers .sec__label::after { background: rgba(255,255,255,.2); }
.numbers h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: clamp(28px, 4vw, 48px); }
.numbers .stats { border-color: rgba(255,255,255,.28); }
.numbers .stat { border-left-color: rgba(255,255,255,.14); }
.numbers .stat__n { color: #fff; }
.numbers .stat__l { color: rgba(255,255,255,.66); }

/* ---- diferenciais -------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.whyc { border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); background: var(--espresso-2); transition: transform .35s, border-color .35s; }
.whyc:hover { transform: translateY(-5px); border-color: var(--ember); }
.whyc__i { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--ember); display: grid; place-items: center; margin-bottom: 16px; }
.whyc__i svg { width: 24px; height: 24px; }
.whyc h3 { font-family: var(--disp); font-weight: 700; font-size: 1.18rem; }
.whyc p { color: var(--bone-dim); margin-top: .5em; font-size: .95rem; }
.sec__label { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); display: flex; align-items: center; gap: 1em; margin-bottom: clamp(28px, 4vw, 50px); }
.sec__label::before { content: attr(data-n); color: var(--bone-dim); }
.sec__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- manifesto ----------------------------------------- */
.manifesto p { font-family: var(--disp); font-weight: 500; font-size: clamp(1.8rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.03em; max-width: 20ch; }
.manifesto em { color: var(--ember); font-style: normal; }
.manifesto p { max-width: 24ch; }

/* manifesto com vídeo full-bleed */
.manifesto-v { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 72vh, 780px); }
.manifesto-v__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.manifesto-v__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,11,8,.86) 0%, rgba(15,11,8,.62) 48%, rgba(15,11,8,.32) 100%); }
.manifesto-v__in { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 120px); }
.manifesto-v .sec__label { color: #fff; }
.manifesto-v p { color: #fff; font-family: var(--disp); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 4.1rem); line-height: 1.07; letter-spacing: -.03em; max-width: 22ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.manifesto-v em { color: var(--ember); font-style: normal; }
@media (max-width: 640px) { .manifesto-v { min-height: 70vh; } }
.manifesto__media { width: 100%; aspect-ratio: 1800 / 459; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 30px 70px -40px rgba(0,0,0,.5); }
@media (max-width: 640px) { .manifesto__media { aspect-ratio: 16/10; } }

/* ---- divisões (explorer) ------------------------------- */
.divx { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.divx__list { display: flex; flex-direction: column; }
.divx__tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: clamp(20px, 2.4vw, 34px) 4px; border-top: 1px solid var(--line); cursor: pointer; transition: padding-left .35s, opacity .35s; opacity: .5; }
.divx__tab:last-child { border-bottom: 1px solid var(--line); }
.divx__tab.is-active { opacity: 1; padding-left: 12px; }
.divx__tab__n { font-family: var(--mono); font-size: .85rem; color: var(--ember); }
.divx__tab__name { font-family: var(--disp); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.6rem); letter-spacing: -.02em; transition: color .3s; }
.divx__tab.is-active .divx__tab__name { color: var(--ember); }
.divx__tab__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, transform .3s; }
.divx__tab__go svg { width: 18px; height: 18px; }
.divx__tab.is-active .divx__tab__go { background: var(--ember); border-color: var(--ember); transform: rotate(-45deg); }
.divx__desc { grid-column: 1 / -1; font-size: 1rem; color: var(--bone-dim); max-width: 46ch; height: 0; overflow: hidden; opacity: 0; transition: height .4s, opacity .4s, margin .4s; }
.divx__tab.is-active .divx__desc { height: auto; opacity: 1; margin-top: 12px; }
.divx__stage { position: relative; border-radius: 18px; overflow: hidden; min-height: 460px; background: var(--espresso-2); }
.divx__panel { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity .7s, transform .9s; }
.divx__panel.is-active { opacity: 1; transform: scale(1); }
.divx__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,11,8,.7)); pointer-events: none; }
.divx__badge { position: absolute; left: 22px; bottom: 22px; z-index: 2; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }

/* ---- stat slabs ---------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: clamp(34px, 5vw, 70px) clamp(16px, 2vw, 34px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__n { font-family: var(--disp); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5.4rem); letter-spacing: -.04em; line-height: .9; color: var(--bone); }
.stat__n .suf { color: var(--ember); }
.stat__l { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); margin-top: 14px; }

/* ---- história ------------------------------------------ */
.hist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: stretch; }
.hist > .reveal:first-child { display: flex; flex-direction: column; }
.hist__media { margin-top: clamp(24px, 3vw, 40px); flex: 1; min-height: 240px; border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 26px 60px -38px rgba(0,0,0,.5); }
.hist__lead { font-family: var(--disp); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -.02em; }
.hist__body { color: var(--bone-dim); margin-top: 1.2em; }
.tl { display: flex; flex-direction: column; }
.tl__row { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.tl__yr { font-family: var(--disp); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--ember); }
.tl__row h4 { font-size: 1.05rem; margin-bottom: 5px; }
.tl__row p { font-size: .94rem; color: var(--bone-dim); }

/* heritage / origens */
.heritage { margin-top: clamp(40px, 6vw, 80px); }
.heritage__label { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); margin-bottom: clamp(18px, 2.5vw, 28px); }
.heritage__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(16px, 2.5vw, 30px); }
.heritage__fig { margin: 0; }
.heritage__img { width: 100%; height: clamp(280px, 36vw, 470px); border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 26px 60px -38px rgba(0,0,0,.5); filter: saturate(.96); }
.heritage__fig:first-child .heritage__img { background-position: center 38%; }
.heritage figcaption { margin-top: 14px; font-size: .92rem; line-height: 1.5; color: var(--bone-dim); max-width: 52ch; }
@media (max-width: 760px) { .heritage__grid { grid-template-columns: 1fr; } .heritage__img { height: clamp(240px, 60vw, 360px); } }

/* ---- sustentabilidade ---------------------------------- */
.sust { position: relative; overflow: hidden; border-radius: 22px; }
.sust__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.5) saturate(.9); }
.sust__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,11,8,.9), rgba(15,11,8,.35)); }

/* versão full-bleed (faixa de borda a borda, com zoom contínuo) */
.sust-full { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(520px, 80vh, 860px); }
.sust-full .sust__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.66) saturate(.95); transform: scale(1.02); will-change: transform; }
.sust-full .sust__scrim { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(15,11,8,.72) 0%, rgba(15,11,8,.44) 45%, rgba(15,11,8,.16) 100%); }
.sust-full .sust__inner { position: relative; z-index: 1; padding-block: clamp(50px, 8vw, 110px); }
@media (prefers-reduced-motion: no-preference) {
  .sust-full .sust__bg { animation: pkKenLoop 26s ease-in-out infinite alternate; }
}
@keyframes pkKenLoop { from { transform: scale(1.02); } to { transform: scale(1.15); } }
.sust__inner { position: relative; z-index: 1; padding: clamp(40px, 7vw, 110px) var(--gut); }
.sust__t { font-size: clamp(2rem, 5vw, 4rem); max-width: 16ch; }
.sust__p { color: var(--bone); opacity: .82; max-width: 52ch; margin-top: 1.2em; font-size: 1.1rem; }
.sust__row { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 70px); margin-top: 2.6em; }
.sust__s .n { font-family: var(--disp); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--green); letter-spacing: -.03em; }
.sust__s .l { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); margin-top: 6px; }

/* ---- galeria (film strip) ------------------------------ */
.strip { display: flex; gap: 14px; overflow-x: auto; padding-inline: var(--gut); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { position: relative; flex: 0 0 min(78vw, 560px); aspect-ratio: 16/11; border-radius: 14px; overflow: hidden; scroll-snap-align: center; }
.strip .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s; }
.strip figure:hover .bg { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.5); padding: .4em .8em; border-radius: 999px; }

/* ---- notícias ------------------------------------------ */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.news-card { display: flex; flex-direction: column; background: var(--espresso-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .35s, border-color .35s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--ember); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: .74rem; color: var(--bone-dim); }
.news-card__cat { color: var(--ember); letter-spacing: .06em; text-transform: uppercase; }
.news-card__title { font-family: var(--disp); font-weight: 700; font-size: 1.25rem; margin: .55em 0 .4em; letter-spacing: -.01em; }
.news-card__excerpt { font-size: .95rem; color: var(--bone-dim); flex: 1; }
.news-card__more { margin-top: 1.1em; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; color: var(--ember); }
.news-empty { color: var(--bone-dim); }
.news-foot { margin-top: clamp(30px, 4vw, 50px); }
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.news-filter__btn { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; border: 1px solid var(--line-2); background: transparent; color: var(--bone-dim); padding: .5em 1.1em; border-radius: 999px; cursor: pointer; transition: .2s; }
.news-filter__btn.is-active { background: var(--ember); color: #fff; border-color: var(--ember); }
.news-detail { max-width: 760px; margin: 0 auto; }
.news-detail__back { display: inline-block; margin-bottom: 24px; font-family: var(--mono); font-size: .82rem; color: var(--ember); text-transform: uppercase; }
.news-detail__meta { display: flex; gap: 12px; font-family: var(--mono); font-size: .8rem; color: var(--bone-dim); }
.news-detail__title { font-size: clamp(2rem, 4vw, 3.2rem); margin: .4em 0 .7em; }
.news-detail__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 1.4em; }
.news-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.news-detail__body p { margin-bottom: 1em; color: var(--bone-dim); font-size: 1.08rem; }

/* ---- CTA + contato ------------------------------------- */
.cta { text-align: center; padding-block: clamp(70px, 10vw, 150px); }
.cta h2 { font-size: clamp(2.6rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.04em; }
.cta h2 .em { color: var(--ember); font-style: italic; }
.cta p { color: var(--bone-dim); margin: 1em auto 2em; max-width: 44ch; font-size: 1.1rem; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.units { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.unit { border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.5vw, 32px); background: var(--espresso-2); }
.unit h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.unit h3::before { content: ""; width: 10px; height: 10px; background: var(--ember); transform: skew(-12deg); }
.unit__link { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.unit__link:hover { color: var(--ember); border-color: var(--ember); }
.unit__row { display: flex; gap: 12px; margin-top: 14px; font-size: .96rem; }
.unit__row svg { width: 18px; height: 18px; color: var(--ember); flex-shrink: 0; margin-top: 3px; }
.unit__row .lbl { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 2px; }
.unit__hours { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .9rem; color: var(--bone-dim); }
.socials { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.form { border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 40px); background: var(--espresso-2); }
.form h3 { font-size: 1.5rem; }
.form__sub { color: var(--bone-dim); margin: .5em 0 1.5em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bone-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .98rem; color: var(--bone); background: var(--espresso); border: 1px solid var(--line-2); border-radius: 11px; padding: .8em 1em; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ember); box-shadow: 0 0 0 3px oklch(0.60 0.205 30 / .2); }
.field select option { background: var(--espresso); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__ok { background: oklch(0.72 0.12 150 / .16); color: var(--green); border-radius: 11px; padding: .9em 1.1em; font-size: .95rem; margin-bottom: 14px; }
.form .btn--solid { width: 100%; justify-content: center; }
.map { margin-top: clamp(36px, 5vw, 64px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; aspect-ratio: 21/6; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.96) contrast(1.02); }

/* ---- footer -------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(50px, 6vw, 90px); padding-bottom: 30px; }
.footer__word { font-family: var(--disp); font-weight: 800; font-size: clamp(3.5rem, 18vw, 16rem); line-height: .8; letter-spacing: -.05em; background: linear-gradient(180deg, var(--bone) 30%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 40px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer p.tag { color: var(--bone-dim); max-width: 36ch; margin-top: 12px; }
.footer h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { opacity: .82; font-size: .96rem; }
.footer ul a:hover { color: var(--ember); }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-family: var(--mono); font-size: .76rem; color: var(--bone-dim); }

/* ---- rodapé escuro (igual nos dois temas, como o antigo) ---- */
.footer { background: #15110D; color: #EFE7DC; border-top: 1px solid rgba(255,255,255,.06); }
.footer p.tag { color: rgba(239,231,220,.66); }
.footer h4 { color: rgba(239,231,220,.5); }
.footer ul a { color: #EFE7DC; opacity: .82; }
.footer ul a:hover { color: var(--ember); opacity: 1; }
.footer__cols { border-bottom-color: rgba(255,255,255,.12); }
.footer__bot { color: rgba(239,231,220,.55); }
.footer__credit { max-width: 1180px; margin: 26px auto 0; padding: 18px var(--gut) 2px; text-align: center; border-top: 1px solid var(--ember); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: rgba(239,231,220,.5); }
.footer__credit a { color: rgba(239,231,220,.82); transition: color .2s; }
.footer__credit a:hover { color: var(--ember); }

/* ---- texto corrido justificado (bordas alinhadas) ---- */
.hist__body, .intro2__p, .sec__head p, .sust__p,
.heritage__fig figcaption, .dv-intro__p, .news-detail__body p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* WhatsApp float */
.wpp { position: fixed; right: 22px; bottom: 22px; z-index: 130; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(37,211,102,.7); transition: transform .25s; }
.wpp:hover { transform: scale(1.08); }
.wpp svg { width: 28px; height: 28px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 350; background: rgba(8,6,4,.94); display: none; place-items: center; padding: 5vw; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; cursor: pointer; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; z-index: 2; }
.lightbox__nav:hover { background: var(--ember); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  [data-stagger].in > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
  [data-stagger].in > *:nth-child(2) { animation-delay: .08s; }
  [data-stagger].in > *:nth-child(3) { animation-delay: .16s; }
  [data-stagger].in > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* ---- responsivo ---------------------------------------- */
@media (max-width: 960px) {
  .hdr__nav, .hdr__act .lang, .hdr__act .cbtn, .hdr__act .theme-toggle { display: none; }
  .burger { display: block; }
  .divx { grid-template-columns: 1fr; }
  .divx__stage { min-height: 320px; order: -1; }
  .hist, .contact, .footer__cols { grid-template-columns: 1fr; }
  .hist__media { min-height: 0; aspect-ratio: 16/10; }
  .intro2 { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .news__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .field--row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .seal { top: 100px; }
  .why { grid-template-columns: 1fr; }
}

/* ============================================================
   AJUSTES DO TEMA CLARO (texto claro sobre hero/faixa escura)
   ============================================================ */
.hdr:not(.scrolled) .brand__txt,
.hdr:not(.scrolled) .hdr__nav a,
.hdr:not(.scrolled) .cbtn,
.hdr:not(.scrolled) .theme-toggle,
.hdr:not(.scrolled) .lang button { color: #fff; }
.hdr:not(.scrolled) .theme-toggle { border-color: rgba(255,255,255,.45); }
.hdr:not(.scrolled) .theme-toggle:hover { border-color: #fff; }
.hdr:not(.scrolled) .brand__txt small { color: rgba(255,255,255,.6); }
.hdr:not(.scrolled) .cbtn { border-color: rgba(255,255,255,.45); }
.hdr:not(.scrolled) .cbtn:hover { background: var(--ember); border-color: var(--ember); }
.hdr:not(.scrolled) .brand__txt,
.hdr:not(.scrolled) .hdr__nav a { text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.hdr:not(.scrolled) .lang { background: rgba(18,14,10,.42); border-color: rgba(255,255,255,.28); border-radius: 999px; padding: 3px; backdrop-filter: blur(6px); }
.hdr:not(.scrolled) .lang button { opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hdr:not(.scrolled) .lang button.is-active { color: #fff; background: var(--ember); opacity: 1; text-shadow: none; }
.hdr:not(.scrolled) .burger { border-color: rgba(255,255,255,.45); }
.hdr:not(.scrolled) .burger span,
.hdr:not(.scrolled) .burger span::before,
.hdr:not(.scrolled) .burger span::after { background: #fff; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before,
.burger.is-open span::after { background: var(--bone); }

.hero h1 { color: #fff; }
.hero__sub { color: rgba(255,255,255,.86); }
.hero .kicker { color: oklch(0.86 0.10 80); }
.hero__vlabel { color: #fff; }
.scrollcue { color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: #fff; color: var(--espresso); border-color: #fff; }

.seal { background: radial-gradient(circle at 50% 38%, #2b2723, #141210); border-radius: 50%; box-shadow: 0 18px 44px -18px rgba(0,0,0,.55); }
.seal__c b { color: oklch(0.82 0.11 80); }
.seal__c span { color: oklch(0.87 0.07 82); }

.sust__t { color: #fff; }
.sust__p { color: rgba(255,255,255,.86); }
.sust__s .n { color: oklch(0.80 0.13 150); }
.sust__s .l { color: rgba(255,255,255,.72); }
.sust .sec__label::before { color: rgba(255,255,255,.65); }
.sust .sec__label::after { background: rgba(255,255,255,.25); }
