/* Página /eu-me-importo — projeto social da comunidade LTX. Tema claro, quente, com o verde da marca. */
:root {
  color-scheme: light;
  --green: #74f086;
  --green-deep: #15803a;
  --warm: #e8a24c;
  --paper: #f4f2ec;
  --paper-2: #eae8e0;
  --ink: #0e1410;
  --ink-soft: rgba(14, 20, 16, 0.66);
  --ink-dim: rgba(14, 20, 16, 0.42);
  --rule: rgba(14, 20, 16, 0.1);
  --dark: #070b08;
  --radius: 1rem;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --hand: "Caveat", "Segoe Print", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Google Sans Flex", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35; background-image: radial-gradient(rgba(14, 20, 16, 0.07) 1px, transparent 1px); background-size: 22px 22px; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.dim { color: var(--ink-dim); }
.accent { color: var(--green-deep); }

.eyebrow { font-size: 0.9375rem; font-weight: 600; color: var(--eyebrow, var(--green-deep)); margin-bottom: 1.25rem; }
.display { font-size: clamp(3rem, 7.5vw, 7.5rem); line-height: 0.95; letter-spacing: -0.035em; font-weight: 300; }
.title { font-size: clamp(1.875rem, 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 300; text-wrap: balance; max-width: 56rem; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; font-weight: 300; color: var(--ink-soft); max-width: 34rem; }
.body { font-size: 1.0625rem; line-height: 1.65; font-weight: 300; color: var(--ink-soft); max-width: 34rem; }
.sec-head { padding: 0 var(--gutter); margin-bottom: 3rem; }
.sec-sub { margin-top: 1.25rem; max-width: 36rem; font-weight: 300; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; white-space: nowrap; transition: background 200ms, color 200ms, transform 250ms var(--spring), box-shadow 200ms; }
.btn:hover { background: var(--green); color: var(--ink); transform: translateY(-2px) rotate(-1deg); box-shadow: 0 12px 30px -12px rgba(21, 128, 58, 0.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(14, 20, 16, 0.25); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-sm { min-height: 2.75rem; padding: 0 1.125rem; font-size: 0.9375rem; }
.btn-lg { min-height: 3.75rem; padding: 0 2rem; font-size: 1.0625rem; background: var(--green); color: var(--ink); }
.btn-lg:hover { background: #fff; }

.read-bar { position: fixed; left: 0; top: 0; z-index: 40; width: 100%; height: 3px; background: linear-gradient(90deg, var(--green-deep), var(--green), var(--warm)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Ritmo de cores: seções escuras e brancas alternando com o papel */
.s-dark { background: var(--dark); color: #f3f4f1; --ink-soft: rgba(243, 244, 241, 0.68); --ink-dim: rgba(243, 244, 241, 0.42); --rule: rgba(243, 244, 241, 0.1); --eyebrow: var(--green); }
.s-white { background: #fff; }

/* Topo */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 2rem; padding: 1rem var(--gutter); transition: background 300ms, box-shadow 300ms; }
.top.solid { background: rgba(244, 242, 236, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
.top-logo img { width: 8.5rem; }
.top-nav { display: flex; gap: 2rem; margin-left: auto; font-size: 0.9375rem; color: var(--ink-soft); }
.top-nav a:hover { color: var(--ink); }

/* Abertura */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); min-height: 100svh; padding: 7rem var(--gutter) 4rem; overflow: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -10% -25% 25%; height: 85%; z-index: -1; background: radial-gradient(45% 55% at 60% 55%, rgba(232, 162, 76, 0.22), transparent 70%), radial-gradient(40% 50% at 35% 75%, rgba(116, 240, 134, 0.28), transparent 70%); filter: blur(30px); }
.hero .display { margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-text > * { animation: rise 1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scribble { position: relative; display: inline-block; color: var(--green-deep); }
.scribble svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s 0.7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-stack { position: relative; height: min(68svh, 40rem); margin-top: 3rem; }
.hs { position: absolute; left: 29%; top: 0; width: 42%; aspect-ratio: 9 / 16; padding: 0.6rem 0.6rem 2.4rem; background: #fff; border-radius: 0.5rem; box-shadow: 0 1.5rem 3rem -1rem rgba(14, 20, 16, 0.35); transform: translate(var(--to-x), var(--to-y)) rotate(var(--to-r)); animation: fan 1.3s 0.2s var(--spring) both; }
.hs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.25rem; }
.hs-1 { --to-x: -66%; --to-r: -7deg; --to-y: 7%; }
.hs-2 { --to-x: 0%; --to-r: 1.5deg; --to-y: 0%; z-index: 2; }
.hs-3 { --to-x: 68%; --to-r: 7deg; --to-y: 11%; }
@keyframes fan { from { transform: translate(0, 18%) rotate(0deg) scale(0.9); opacity: 0; } 30% { opacity: 1; } to { transform: translate(var(--to-x), var(--to-y)) rotate(var(--to-r)); opacity: 1; } }

/* Manifesto: marca-texto */
.manifesto { padding: 5rem var(--gutter) 4rem; }
.mf-lines { margin-bottom: 2.5rem; display: grid; gap: 0.35rem; }
.mf-line { font-size: clamp(2rem, 5vw, 4.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 300; }
.mk { --m: 0; background: linear-gradient(transparent 58%, rgba(116, 240, 134, 0.7) 58%, rgba(116, 240, 134, 0.7) 92%, transparent 92%) no-repeat 0 0 / calc(var(--m) * 100%) 100%; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.08em; }
.mf-last .mk { background-image: linear-gradient(transparent 58%, rgba(232, 162, 76, 0.55) 58%, rgba(232, 162, 76, 0.55) 92%, transparent 92%); }
.mf-sub { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 300; color: var(--ink-soft); max-width: 36rem; }

/* Frentes: revelação em cortina */
.fronts { padding: 5rem 0; }
.fr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0 var(--gutter); }
.fr-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; isolation: isolate; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.1s var(--ease); }
.fr-card.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.fr-card:nth-child(2) { transition-delay: 0.12s; }
.fr-card:nth-child(3) { transition-delay: 0.24s; }
.fr-card img, .fr-card video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.fr-card.in img, .fr-card.in video { transform: none; }
.fr-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 11, 8, 0.92) 12%, rgba(7, 11, 8, 0.25) 60%, transparent); }
.fr-in { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.75rem; color: #fff; }
.fr-in small { font-family: var(--hand); font-size: 1.75rem; line-height: 1; color: var(--green); }
.fr-in b { font-size: 1.75rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.fr-in span { color: rgba(255, 255, 255, 0.78); font-weight: 300; line-height: 1.5; }

/* Quem faz: mural de polaroides */
.who { padding: 6rem 0 7rem; }
.pol-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; padding: 1rem var(--gutter) 0; }
.pol { position: relative; width: clamp(11rem, 15vw, 14rem); padding: 0.65rem 0.65rem 0; background: #fff; outline: 1px solid rgba(14, 20, 16, 0.06); border-radius: 0.25rem; box-shadow: 0 1.25rem 2.5rem -1rem rgba(14, 20, 16, 0.35); transform: rotate(var(--r)); opacity: 0; transform-origin: 50% 0; transition: transform 500ms var(--spring), box-shadow 400ms; }
.pol img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(0.92) contrast(1.02); }
.pol figcaption { padding: 0.55rem 0.2rem 0.75rem; font-family: var(--hand); font-size: 1.5rem; line-height: 1; text-align: center; color: #333; }
.pol .tape { position: absolute; left: 50%; top: -0.75rem; width: 4.5rem; height: 1.5rem; translate: -50% 0; rotate: calc(var(--r) * -1.5); background: rgba(232, 222, 190, 0.85); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.pol.in { opacity: 1; animation: drop 900ms var(--spring) both; }
.pol:nth-child(3n + 2).in { animation-delay: 0.1s; }
.pol:nth-child(3n).in { animation-delay: 0.2s; }
@keyframes drop { from { opacity: 0; transform: rotate(calc(var(--r) * -3)) translateY(-40px) scale(1.12); } to { opacity: 1; transform: rotate(var(--r)) translateY(0) scale(1); } }
.pol:hover { transform: rotate(0deg) translateY(-6px) scale(1.04); z-index: 2; box-shadow: 0 2rem 3rem -1rem rgba(14, 20, 16, 0.45); animation: none; opacity: 1; }

/* Cestas: trilho horizontal */
.baskets { padding: 3rem 0 6rem; }
.hz { position: relative; }
.hz-pin { overflow: hidden; }
.hz-track { display: flex; gap: 1rem; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hz-track::-webkit-scrollbar { display: none; }
.hz-item { flex: none; width: clamp(13rem, 22vw, 20rem); aspect-ratio: 3 / 4.6; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--paper-2); }
.hz-item:nth-child(odd) { margin-top: 2.5rem; }
.hz-item img { width: 100%; height: 100%; object-fit: cover; }
.hz.on .hz-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 4.5rem; }
.hz.on .sec-head { margin-bottom: 2rem; }
.hz.on .hz-item { width: auto; height: min(50vh, 30rem); }
.hz.on .hz-track { overflow: visible; will-change: transform; }
.quote-card { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: 2.5rem; align-items: center; margin: 3rem var(--gutter) 0; padding: 1.25rem; border-radius: var(--radius); background: var(--dark); color: #f3f4f1; }
.quote-card .vcard { aspect-ratio: 9 / 16; }
.quote-card blockquote p { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 300; margin-bottom: 1.25rem; text-wrap: balance; }
.quote-card cite { font-style: normal; font-family: var(--hand); font-size: 1.5rem; color: var(--green); }

/* Cartão de vídeo */
.vcard { position: relative; border-radius: calc(var(--radius) - 0.25rem); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.vcard.tall { aspect-ratio: 9 / 16; }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 8, 0.4), transparent 50%); pointer-events: none; transition: opacity 300ms; }
.play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; border: 0; border-radius: 50%; background: var(--green); color: var(--ink); cursor: pointer; box-shadow: 0 0 0 0 rgba(116, 240, 134, 0.6); animation: ring 2.6s infinite; transition: transform 300ms var(--spring), background 200ms; }
.play svg { width: 1.5rem; height: 1.5rem; margin-left: 0.15rem; }
.play:hover { transform: scale(1.12); background: #fff; }
@keyframes ring { 70% { box-shadow: 0 0 0 1.25rem rgba(116, 240, 134, 0); } 100% { box-shadow: 0 0 0 0 rgba(116, 240, 134, 0); } }
.vcard.playing .play, .vcard.playing::after { opacity: 0; pointer-events: none; }

/* Obra: linha do tempo que se constrói */
.build { padding: 6rem 0 7rem; }
.vsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0 var(--gutter); }
.vstep { display: flex; flex-direction: column; gap: 1rem; }
.vs-n { font-family: var(--hand); font-size: 1.75rem; line-height: 1; color: var(--green); }
.vs-q { color: var(--ink-soft); font-weight: 300; line-height: 1.55; }

/* Socorro */
.rescue { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 7rem var(--gutter); }
.rs-media .vcard { aspect-ratio: 16 / 9; box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, 0.8); rotate: -1.5deg; }
.rs-text .title { margin-bottom: 1.5rem; }
.rs-text .body + .body { margin-top: 1rem; }
.rs-quote { margin: 1.75rem 0; font-family: var(--hand); font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.15; color: var(--green); max-width: 32rem; }

/* Gratidão */
.thanks { padding: 6rem 0; }
.th-grid { display: grid; grid-template-columns: minmax(0, 24rem) 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding: 0 var(--gutter); }
.th-video .vcard { box-shadow: 0 2rem 4rem -1.5rem rgba(14, 20, 16, 0.35); }
.th-quote { position: relative; padding-top: 3.5rem; }
.th-quote::before { content: "“"; position: absolute; left: -0.1em; top: -1.25rem; font-family: var(--hand); font-size: 8rem; line-height: 1; color: var(--green); }
.th-quote p { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 300; text-wrap: balance; margin-bottom: 1.5rem; }
.th-quote span { font-family: var(--hand); font-size: 1.625rem; color: var(--ink-soft); }

/* Convite final: "transbordo" enchendo */
.final { position: relative; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter); background: var(--dark); color: #f3f4f1; overflow: hidden; isolation: isolate; }
.final .eyebrow { color: var(--green); }
.final .dim { color: rgba(243, 244, 241, 0.5); }
.final .lead { color: rgba(243, 244, 241, 0.7); margin-bottom: 2.5rem; }
.final-glow { position: absolute; inset: 10% 15%; z-index: -1; background: radial-gradient(50% 50% at 40% 50%, rgba(116, 240, 134, 0.16), transparent 70%), radial-gradient(45% 45% at 65% 55%, rgba(232, 162, 76, 0.14), transparent 70%); filter: blur(30px); }
.final-in { max-width: 60rem; display: grid; justify-items: center; }
.final .display { margin-bottom: 1.5rem; font-size: clamp(2.5rem, 6vw, 6rem); text-wrap: balance; }
.fill { --f: 0; position: relative; display: inline-block; color: transparent; -webkit-text-stroke: 1.5px rgba(116, 240, 134, 0.7); }
.fill::after { content: attr(data-text); position: absolute; inset: 0; color: var(--green); -webkit-text-stroke: 0; clip-path: inset(calc((1 - var(--f)) * 100%) 0 0 0); }

/* Rodapé (escuro) */
.foot { padding: 3rem var(--gutter); background: var(--dark); color: #f3f4f1; border-top: 1px solid rgba(243, 244, 241, 0.08); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.foot-row img { width: 8rem; }
.foot-social { display: flex; gap: 1.5rem; flex-wrap: wrap; color: rgba(243, 244, 241, 0.62); font-size: 0.9375rem; }
.foot-social a:hover { color: var(--green); }
.foot-legal { color: rgba(243, 244, 241, 0.45); font-size: 0.8125rem; line-height: 1.6; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Revelar ao rolar: entra com leve desfoque */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

.chips { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .pol { opacity: 1; transform: none; filter: none; }
  .fr-card { clip-path: none; }
  .scribble path { stroke-dashoffset: 0; }
}

@media (max-width: 1023px) {
  .top-nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .top { background: rgba(244, 242, 236, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 6rem; gap: 2.5rem; }
  .hero-stack { height: 24rem; order: -1; max-width: 26rem; width: 100%; margin: 1.5rem auto 0; }
  .fr-grid { grid-template-columns: 1fr; }
  .fr-card { aspect-ratio: 4 / 3; }
  .rescue, .th-grid { grid-template-columns: 1fr; }
  .th-grid .th-video { max-width: 18rem; }
  .vsteps { grid-template-columns: repeat(2, 1fr); }
  html { scroll-padding-top: 7.5rem; }
  .chips { position: fixed; left: 0; right: 0; top: var(--top-h, 3.5rem); z-index: 19; display: flex; gap: 0.5rem; padding: 0.6rem 1rem; overflow-x: auto; scrollbar-width: none; background: rgba(244, 242, 236, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); transform: translateY(-120%); opacity: 0; transition: transform 350ms var(--ease), opacity 250ms; pointer-events: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips.show { transform: none; opacity: 1; pointer-events: auto; }
  .chips a { flex: none; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid rgba(14, 20, 16, 0.18); color: var(--ink-soft); font-size: 0.875rem; font-weight: 500; white-space: nowrap; transition: background 200ms, color 200ms, border-color 200ms; }
  .chips a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
}
@media (max-width: 599px) {
  .top .btn-sm { display: none; }
  .top-logo img { width: 7rem; }
  .hero-stack { height: 20rem; }
  .hero-cta .btn { width: 100%; }
  .pol-wall { gap: 1.5rem 0.75rem; }
  .pol { width: calc(50% - 0.75rem); }
  .pol figcaption { font-size: 1.25rem; }
  .hz-item { width: 72vw; }
  .quote-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .quote-card .vcard { max-width: 13rem; }
  .vsteps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 12vw; scroll-padding-inline: 12vw; }
  .vsteps::-webkit-scrollbar { display: none; }
  .vstep { flex: 0 0 76vw; scroll-snap-align: center; text-align: center; }
  .quote-card { justify-items: center; text-align: center; }
  .quote-card .vcard { width: 100%; margin: 0 auto; }
  .th-grid { justify-items: center; text-align: center; }
  .th-grid .th-video { width: 100%; margin: 0 auto; }
  .th-quote::before { left: 50%; translate: -50% 0; }
  .btn-lg { width: 100%; white-space: normal; }
}
