/* Alcance Petrolina · Nossa história */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0b0a;
  --bg-raised: #161615;
  --line: rgba(255, 253, 232, 0.14);
  --graphite: #3a3a3a;
  --text: #fffde8;
  --text-2: rgba(255, 253, 232, 0.7);
  --text-3: rgba(255, 253, 232, 0.58);
  --cream: #fffde8;
  --ink: #1c1c1a;
  --error: #ff8a80;

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1180px;
  --radius: clamp(18px, 2.4vw, 28px);
  --radius-sm: 14px;

  --fs-display: clamp(3.25rem, 1.6rem + 8vw, 6rem);
  --fs-h2: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem);
  --fs-h3: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --fs-lead: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  scrollbar-color: var(--graphite) var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Raleway", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-body);
  overflow-wrap: break-word;
  font-weight: 500;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--cream); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--graphite); border-radius: 10px; border: 2px solid var(--bg); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 0; z-index: 100; transform: translateY(-120%);
  background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform 0.2s var(--ease-out);
}
.skip:focus { transform: translateY(12px); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- icons ---------- */
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.pill {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--h); padding: 0 1.25em; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.005em; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent;
  max-width: 100%; padding-block: 0.6em; text-align: center; text-wrap: balance; line-height: 1.15;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.pill svg { width: 1.1em; height: 1.1em; flex: none; }
.pill:active { transform: scale(0.97); }
.pill--lg { --h: 54px; font-size: 1.0625rem; padding: 0 1.6em; }
.pill--block { width: 100%; line-height: 1.25; padding-block: 12px; }
.pill--solid { background: var(--cream); color: var(--ink); }
.pill--solid:hover { background: #fff; }
.pill--ghost { border-color: rgba(255, 253, 232, 0.55); color: var(--text); background: rgba(11, 11, 10, 0.18); }
.pill--ghost:hover { border-color: var(--cream); background: rgba(255, 253, 232, 0.1); }
.pill[aria-disabled="true"], .pill:disabled { opacity: 0.55; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 253, 232, 0.12); color: var(--text);
  transition: background-color 0.25s var(--ease-out);
}
.icon-btn:hover { background: rgba(255, 253, 232, 0.22); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--soft { background: var(--bg-raised); }
.icon-btn--soft:hover { background: #262624; }
.icon-btn .i-play { display: none; }
.icon-btn.is-paused .i-play { display: block; }
.icon-btn.is-paused .i-pause { display: none; }

.text-btn {
  background: none; border: 0; padding: 0.4em 0; font-weight: 700; text-decoration: underline;
  text-underline-offset: 0.25em; text-decoration-thickness: 1px; color: inherit;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.35em; font-weight: 700; text-decoration: none;
  color: var(--text);
}
.link-arrow::after {
  content: ""; width: 0.55em; height: 0.55em; border-right: 1.75px solid currentColor; border-top: 1.75px solid currentColor;
  transform: rotate(45deg); transition: transform 0.25s var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(11, 11, 10, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { margin-right: auto; display: block; border-radius: 4px; }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: none; gap: 28px; font-size: 0.875rem; font-weight: 600; }
.nav__links a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__give { --h: 40px; padding: 0 1.1em; font-size: 0.875rem; white-space: nowrap; position: relative; }
.nav__give::after { content: ""; position: absolute; inset: -4px -2px; }
.nav__menu { flex: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; margin-right: -10px; border-radius: 8px; }
.nav__menu svg { width: 24px; height: 24px; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__menu { display: none; }
  .nav__logo img { height: 26px; }
}

/* ---------- menu (mobile) ---------- */
.menu {
  inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 var(--gutter) 32px;
  border: 0; background: var(--bg); color: var(--text);
  flex-direction: column;
}
.menu[open] { display: flex; animation: menu-in 0.45s var(--ease-out); }
.menu::backdrop { background: var(--bg); }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); margin-top: env(safe-area-inset-top); }
.menu__top img { height: 24px; width: auto; }
.menu__links { display: grid; gap: 4px; margin-top: 6vh; }
.menu__links a {
  font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15;
  text-decoration: none; padding: 6px 0;
}
.menu__give { margin-top: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 10, 0.72) 0%, rgba(11, 11, 10, 0) 22%),
    linear-gradient(0deg, rgba(11, 11, 10, 0.94) 0%, rgba(11, 11, 10, 0.55) 38%, rgba(11, 11, 10, 0.1) 70%);
}
.hero__content {
  width: min(900px, 100% - 2 * var(--gutter)); margin: 0 auto; text-align: center;
  padding-bottom: clamp(64px, 12vh, 120px);
}
.hero__title {
  font-size: min(var(--fs-display), 11vw); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  text-wrap: balance;
}
.hero__sub {
  margin: 0.9em auto 0; max-width: 34ch; font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem);
  font-weight: 600; line-height: 1.45; color: var(--text-2); text-wrap: balance;
}
.hero__mark { display: flex; justify-content: center; gap: clamp(4px, 0.8vw, 8px); margin-bottom: clamp(16px, 2.4vh, 24px); color: var(--text); }
.hero__mark svg { flex: none; width: clamp(26px, 3.2vw, 36px); height: auto; }
.hero__actions { margin-top: 32px; display: grid; gap: 12px; justify-content: center; }
.hero__actions .pill { min-width: 240px; }
@media (min-width: 640px) {
  .hero__actions { grid-auto-flow: column; }
  .hero__actions .pill { min-width: 0; }
}
.hero__toggle { position: absolute; right: var(--gutter); bottom: 24px; }
.hero__mark, .hero__title, .hero__sub, .hero__actions { transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .hero:not(.is-in) .hero__mark { opacity: 0; transform: translateY(12px); }
.js .hero:not(.is-in) .hero__title { opacity: 0; transform: translateY(18px); }
.js .hero:not(.is-in) .hero__sub { opacity: 0; transform: translateY(14px); }
.js .hero:not(.is-in) .hero__actions { opacity: 0; transform: translateY(10px); }
.hero.is-in .hero__sub { transition-delay: 0.12s; }
.hero.is-in .hero__actions { transition-delay: 0.24s; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(72px, 14vh, 240px) 0; }
.manifesto__text {
  width: min(1040px, 100% - 2 * var(--gutter)); margin: 0 auto;
  font-size: clamp(2rem, 1.1rem + 4.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  text-wrap: pretty;
}
.manifesto__text .w { color: var(--text); transition: color 0.5s var(--ease-out); }
.js .manifesto__text .w:not(.is-lit) { color: rgba(255, 253, 232, 0.2); }

/* ---------- campanha: João 6, multiplicação na rolagem ---------- */
.mult { position: relative; height: 420vh; }
.mult__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.mult__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.mult__stage {
  position: relative; z-index: 2; width: min(980px, 100% - 2 * var(--gutter)); margin: 0 auto;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 112px)); text-align: center;
}
.js .mult__phase {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(48px, 9vh, 112px));
  opacity: 0; transform: translateY(18px); visibility: hidden;
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), visibility 0s linear 0.6s;
}
.js .mult__phase.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mult__title {
  max-width: 21ch; margin: 0 auto; font-size: clamp(1.75rem, 1.05rem + 2.7vw, 3.25rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance;
}
.mult__ref { margin-top: 18px; color: var(--text-2); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); }
.mult__ref cite { font-style: normal; }
.mult__line {
  max-width: 15ch; margin: 0 auto; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  text-wrap: balance;
}
.mult__sub { margin: 20px auto 0; max-width: 30ch; font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; letter-spacing: -0.015em; color: var(--text-2); }
.mult__phase .pill { margin-top: 32px; }
.mult__baskets {
  display: grid; grid-template-columns: repeat(6, clamp(40px, 7vw, 64px)); justify-content: center;
  gap: clamp(10px, 1.6vw, 18px) clamp(10px, 2vw, 22px); margin: 36px auto 0;
}
.mult__baskets li { opacity: 0; transform: translateY(10px) scale(0.92); transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out); }
.mult__baskets svg { width: 100%; height: auto; }
.mult__phase.is-active .mult__baskets li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 80ms + 200ms); }
.mult__seven {
  position: absolute; z-index: 1; left: 0; right: 0; top: 64%; translate: 0 -50%;
  display: flex; justify-content: center; gap: clamp(6px, 1.4vw, 18px); color: var(--text);
  transition: opacity 0.25s linear;
}
.mult__seven svg { flex: none; width: clamp(40px, 8.6vw, 76px); height: auto; opacity: 0.86; transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out); }
.mult[data-phase="1"] .mult__seven svg { transform: translateY(-24px) scale(1.12); opacity: 1; }
.mult[data-phase="1"] .mult__seven svg:nth-child(2) { transition-delay: 50ms; }
.mult[data-phase="1"] .mult__seven svg:nth-child(3) { transition-delay: 100ms; }
.mult[data-phase="1"] .mult__seven svg:nth-child(4) { transition-delay: 150ms; }
.mult[data-phase="1"] .mult__seven svg:nth-child(5) { transition-delay: 200ms; }
.mult[data-phase="1"] .mult__seven svg:nth-child(6) { transition-delay: 250ms; }
.mult[data-phase="1"] .mult__seven svg:nth-child(7) { transition-delay: 300ms; }
.mult.is-multiplying .mult__seven { opacity: 0; }

/* sem animação: tudo visível, em sequência */
.mult--static { height: auto; }
.mult--static .mult__sticky { position: relative; height: auto; min-height: 100svh; padding: calc(var(--nav-h) + 72px) 0 96px; display: flex; flex-direction: column; }
.mult--static .mult__stage { padding-top: 0; }
.mult--static .mult__phase { position: static; opacity: 1; transform: none; visibility: visible; margin-bottom: clamp(64px, 10vh, 120px); }
.mult--static .mult__stage { z-index: 2; }
.mult--static .mult__baskets li { opacity: 1; transform: none; }
.mult--static .mult__seven { order: -1; position: relative; left: auto; top: auto; translate: none; justify-content: center; margin: 0 auto 40px; }

/* ---------- scenes (signature) ---------- */
.scene { position: relative; height: 210vh; --p: 1; }
.scene__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; align-items: end;
}
.scene__media {
  --ix: 6%; --iy: 16%;
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(calc((1 - var(--p)) * var(--iy)) calc((1 - var(--p)) * var(--ix)) round calc((1 - var(--p)) * var(--radius)));
  will-change: clip-path;
}
.scene__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(calc(1.14 - var(--p) * 0.14));
  will-change: transform;
}
.scene__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 11, 10, 0.9) 0%, rgba(11, 11, 10, 0.35) 34%, rgba(11, 11, 10, 0) 60%);
  opacity: clamp(0, (var(--p) - 0.4) * 2, 1);
}
.scene__caption {
  position: relative; z-index: 1;
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; padding-bottom: clamp(48px, 9vh, 96px);
  opacity: clamp(0, (var(--p) - 0.55) * 3.2, 1);
  transform: translateY(calc((1 - var(--p)) * 48px));
}
.scene__title {
  font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-wrap: balance;
}
.scene__meta { margin-top: 14px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 600; color: var(--text-2); }
@media (min-width: 900px) {
  .scene__media { --ix: 16%; --iy: 13%; }
}

/* ---------- prose ---------- */
.prose { padding: clamp(64px, 11vh, 168px) 0 clamp(40px, 7vh, 96px); }
.prose--bridge { padding: clamp(80px, 14vh, 240px) 0 clamp(56px, 9vh, 140px); }
.prose--bridge .lead { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; }
.lead {
  max-width: 30ch; font-size: var(--fs-lead); font-weight: 700; line-height: 1.4; letter-spacing: -0.015em;
  color: var(--text-3); text-wrap: pretty;
}
.lead strong { color: var(--text); font-weight: 700; }
.lead--sm { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); max-width: 34ch; }
.prose .lead { max-width: 28ch; }
@media (min-width: 900px) { .prose .lead { margin-left: 8.333%; } }
.h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
.split .h3 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); letter-spacing: -0.035em; line-height: 1; }
.h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.meta { margin-top: 10px; color: var(--text-3); font-weight: 600; }

/* ---------- tiles & galleries ---------- */
.tile { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-raised); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  font-size: var(--fs-small); font-weight: 700; color: var(--text);
  background: linear-gradient(0deg, rgba(11, 11, 10, 0.82), rgba(11, 11, 10, 0));
}
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery .tile { aspect-ratio: 4 / 5; }
.gallery .tile--wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.tile img[data-focus] { object-position: var(--focus); }
.gallery .tile--tall { aspect-ratio: 3 / 4; }
.gallery--first .tile--tall { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery--water .tile--tall:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallery { gap: 20px; grid-template-columns: repeat(12, 1fr); }
  .gallery--first .tile--tall { grid-column: 1 / span 5; grid-row: span 2; aspect-ratio: auto; }
  .gallery--first .tile:nth-child(2) { grid-column: 6 / span 4; aspect-ratio: 1 / 1; }
  .gallery--first .tile:nth-child(3) { grid-column: 10 / span 3; aspect-ratio: auto; }
  .gallery--first .tile--wide { grid-column: 6 / span 7; aspect-ratio: 16 / 9; }
  .gallery--water .tile--wide { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
  .gallery--water .tile--tall, .gallery--water .tile--tall:last-child { grid-column: span 4; aspect-ratio: 3 / 4; }
}

.split { display: grid; gap: 40px; padding-top: clamp(64px, 11vh, 168px); }
.split__text { align-self: center; }
.split__text .lead { margin-top: 24px; }
.split__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split__media .tile { aspect-ratio: 3 / 4; }
.split__media .tile:last-child { transform: translateY(14%); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split__media { gap: 20px; }
}

.feature { padding-top: clamp(24px, 4vh, 40px); }
.tile--feature { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .tile--feature { aspect-ratio: 16 / 9; } }

.quote { display: grid; gap: 32px; padding: clamp(64px, 11vh, 168px) 0 clamp(80px, 14vh, 220px); }
.quote__media { aspect-ratio: 16 / 10; }
.quote__text p {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  text-wrap: balance;
}
.quote__text footer { margin-top: 20px; color: var(--text-3); font-weight: 600; }
@media (min-width: 900px) {
  .quote { grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
}
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 76px; height: 76px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 253, 232, 0.92); color: var(--ink);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.play svg { width: 28px; height: 28px; margin-left: 3px; }
.play:hover { transform: scale(1.06); background: #fff; }

/* ---------- highlights carousel ---------- */
.highlights { padding: clamp(72px, 12vh, 160px) 0 clamp(88px, 14vh, 200px); }
.highlights__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.carousel__track {
  --tile: min(84vw, 980px);
  --pad: max(var(--gutter), (100% - var(--wrap)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 max(var(--pad), 100% - var(--tile) - var(--pad)) 0 var(--pad);
  scroll-padding-inline: var(--pad); scrollbar-width: none;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--bg-raised);
  transition: opacity 0.5s var(--ease-out);
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:not(.is-current) { opacity: 0.45; }
.slide__cap {
  position: absolute; inset: auto 0 0 0; padding: 64px 24px 22px;
  display: grid; gap: 4px; background: linear-gradient(0deg, rgba(11, 11, 10, 0.88), rgba(11, 11, 10, 0));
}
.slide__cap strong { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.slide__cap time { color: var(--text-2); font-weight: 600; font-size: var(--fs-small); }
@media (min-width: 700px) {
  .carousel__track { --tile: min(62vw, 980px); gap: 24px; }
  .slide { aspect-ratio: 16 / 10; }
}
.carousel__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 28px; }
.carousel__dots {
  display: flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: var(--bg-raised);
}
.carousel__dots button {
  display: grid; place-items: center; width: 24px; height: 32px; border: 0; padding: 0; background: none; border-radius: 999px;
}
.carousel__dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 253, 232, 0.35);
  transition: width 0.4s var(--ease-out), background-color 0.3s;
}
.carousel__dots button:hover::before { background: rgba(255, 253, 232, 0.6); }
.carousel__dots button[aria-current="true"]::before { width: 20px; background: var(--cream); }
.carousel__buttons { display: flex; gap: 10px; }
.carousel__buttons [data-prev], .carousel__buttons [data-next] { display: none; }
@media (min-width: 900px) { .carousel__buttons [data-prev], .carousel__buttons [data-next] { display: inline-grid; } }
.carousel__buttons button:disabled { opacity: 0.35; cursor: default; }

/* ---------- today ---------- */
.today { padding: clamp(88px, 14vh, 200px) 0 clamp(72px, 12vh, 160px); border-top: 1px solid var(--line); }
.today__count {
  margin-top: 32px; max-width: 34ch; font-size: var(--fs-lead); font-weight: 700; line-height: 1.4;
  letter-spacing: -0.015em; color: var(--text-3); text-wrap: pretty;
}
.today__count .num { color: var(--text); font-weight: 800; font-variant-numeric: lining-nums tabular-nums; }
.today__grid { display: grid; gap: 40px; margin-top: clamp(48px, 8vh, 112px); }
.today__leaders { aspect-ratio: 4 / 3; }
.today__info { align-self: center; }
.rhythm { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-block: 1px solid var(--line); }
.rhythm div { padding: 18px 16px 18px 0; }
.rhythm div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.rhythm dt { font-size: var(--fs-small); color: var(--text-3); font-weight: 600; }
.rhythm dd { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; }
.today__address { margin-top: 28px; color: var(--text-2); font-weight: 600; line-height: 1.5; }
.today__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }
@media (min-width: 900px) {
  .today__grid { grid-template-columns: 7fr 5fr; gap: 72px; }
}
.film {
  position: relative; margin-top: clamp(56px, 9vh, 140px); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--bg-raised);
}
.film img { width: 100%; height: 100%; object-fit: cover; }
.film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 11, 10, 0.88) 0%, rgba(11, 11, 10, 0.2) 45%, rgba(11, 11, 10, 0) 70%);
}
.film__cap {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(24px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px;
}
.film__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; max-width: 14ch; }
@media (min-width: 700px) { .film { aspect-ratio: 16 / 9; } }

/* ---------- next steps ---------- */
.next { padding: clamp(88px, 14vh, 200px) 0; }
.next__head { display: grid; gap: 28px; }
@media (min-width: 900px) { .next__head { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }
.uses { display: grid; gap: 48px; margin-top: clamp(56px, 9vh, 96px); }
.use { display: grid; gap: 20px; }
.use__media { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--bg-raised); }
.use__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.use:hover .use__media img { transform: scale(1.04); }
.use__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.use__text p { margin-top: 10px; color: var(--text-2); max-width: 36ch; }
@media (min-width: 700px) { .uses { grid-template-columns: 1fr 1fr; gap: 56px 24px; } }
@media (min-width: 1100px) {
  .uses { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .use__media { aspect-ratio: 4 / 5; }
}

/* ---------- give ---------- */
.give {
  padding: clamp(80px, 13vh, 168px) 0 clamp(80px, 12vh, 152px);
  border-top: 1px solid var(--line);
}
.give .h2 { max-width: 11ch; }
.give__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.give__lead { margin-top: 24px; max-width: 30ch; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 700; line-height: 1.4; color: var(--text-2); }
.give__facts { margin-top: 32px; display: grid; gap: 10px; color: var(--text-3); font-weight: 600; font-size: var(--fs-small); }
.give__facts li { position: relative; padding-left: 16px; min-width: 0; }
.give__facts .nowrap { white-space: normal; overflow-wrap: anywhere; }
.give__facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.give__facts a { color: var(--text); font-weight: 700; }
@media (min-width: 960px) {
  .give__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .give__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
}

.flow {
  container: flow / inline-size; position: relative; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 32px 80px -40px rgba(0, 0, 0, 0.8);
}
.flow__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 28px; }
.flow__progress li { height: 4px; border-radius: 4px; background: rgba(255, 253, 232, 0.14); transition: background-color 0.5s var(--ease-out); }
.flow[data-step="valor"] .flow__progress li:nth-child(1),
.flow[data-step="dados"] .flow__progress li:nth-child(-n + 2),
.flow[data-step="pix"] .flow__progress li,
.flow[data-step="obrigado"] .flow__progress li { background: var(--cream); }
.flow__step { animation: step-in 0.55s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.flow__title {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  outline: none; text-wrap: balance;
}
.flow__note { margin-top: 10px; color: var(--text-2); font-weight: 600; }
.flow__note strong { color: var(--text); }

.amounts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
/* two per row only when the widest value ("R$ 1.000") fits; rem tracks the visitor's text size */
@container flow (min-width: 21rem) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amount {
  min-height: 96px; border-radius: 20px; border: 1.5px solid var(--line); background: #1f1f1d; color: var(--text);
  display: grid; align-content: center; justify-items: start; padding: 0 20px; text-align: left;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.25s;
}
.amount:hover { border-color: rgba(255, 253, 232, 0.5); background: #262624; }
.amount:active { transform: scale(0.98); }
.amount[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.form { display: grid; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: var(--fs-small); color: var(--text); }
.field input {
  height: 56px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255, 253, 232, 0.22); background: var(--bg);
  padding: 0 16px; font: 600 1.0625rem/1 "Raleway", sans-serif; color: var(--text); caret-color: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: rgba(255, 253, 232, 0.55); font-weight: 500; }
.field input:hover { border-color: rgba(255, 253, 232, 0.4); }
.field input:focus { outline: none; border-color: var(--cream); box-shadow: 0 0 0 4px rgba(255, 253, 232, 0.14); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(255, 138, 128, 0.14); }
.field__help { font-size: 0.875rem; color: var(--text-3); }
.field__error { font-size: 0.875rem; color: var(--error); font-weight: 700; }
.form__privacy { font-size: 0.875rem; color: var(--text-3); text-align: center; }

.pix { display: grid; gap: 24px; margin-top: 24px; }
.pix__label { display: block; font-weight: 700; font-size: var(--fs-small); margin-bottom: 8px; }
.pix__code {
  width: 100%; resize: none; border-radius: var(--radius-sm); border: 1.5px dashed rgba(255, 253, 232, 0.28);
  background: var(--bg); color: var(--text-2); padding: 12px 14px; margin-bottom: 12px;
  font: 500 0.8125rem/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace; word-break: break-all;
}
.pix__code:focus { outline: none; border-color: var(--cream); }
.pix__qr { display: grid; justify-items: center; gap: 10px; padding-top: 4px; }
.pix__qrbox { width: 200px; aspect-ratio: 1; padding: 12px; background: #fff; border-radius: 16px; }
.pix__qrbox svg { width: 100%; height: 100%; }
.pix__qrcap { font-size: 0.875rem; color: var(--text-3); font-weight: 600; }
.pix__how { counter-reset: how; display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.pix__how li { counter-increment: how; position: relative; padding-left: 36px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-2); }
.pix__how li strong { color: var(--text); }
.pix__how li::before {
  content: counter(how); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 253, 232, 0.12); color: var(--text);
  font-weight: 800; font-size: 0.8125rem; display: grid; place-items: center;
}
.flow__actions { display: grid; justify-items: center; gap: 8px; margin-top: 24px; }
@media (min-width: 700px) {
  .pix { grid-template-columns: 1fr auto; align-items: start; }
  .pix__qrbox { width: 176px; }
}
.flow__step--done { text-align: center; display: grid; justify-items: center; }
.flow__check { width: 64px; height: 64px; margin-bottom: 20px; stroke: var(--cream); stroke-width: 2.25; }
.flow__check circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 0.8s var(--ease-out) forwards; }
.flow__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.45s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.flow__step--done .flow__actions { width: 100%; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--text-2); font-size: var(--fs-small); }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.nowrap { white-space: nowrap; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { height: 26px; width: auto; margin-bottom: 14px; }
.footer__h { font-size: 0.8125rem; font-weight: 700; color: var(--text-3); margin-bottom: 8px; }
.footer a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer p + p { margin-top: 4px; }
.footer__small { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.8125rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- film player ---------- */
.player {
  width: min(1100px, 100% - 2 * var(--gutter)); max-width: none; max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: var(--radius); overflow: visible; background: #000;
}
.player[open] { animation: player-in 0.5s var(--ease-out); }
@keyframes player-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.player::backdrop { background: rgba(0, 0, 0, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__video { width: 100%; max-height: calc(100svh - 48px); aspect-ratio: 4 / 3; border-radius: var(--radius); background: #000; }
.player__close { position: absolute; right: 0; top: -56px; }

/* ---------- PIX warning (dev) ---------- */
.pix-warning {
  position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; margin: 0;
  background: #b3261e; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.3;
  max-width: calc(100% - 24px); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}
.pix-warning code { font-family: ui-monospace, Menlo, monospace; font-weight: 500; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .scene { height: auto; --p: 1 !important; }
  .scene__sticky { position: relative; height: 82vh; }
  .carousel__track { scroll-behavior: auto; }
}
