/* Lumia Circle · Soft Concrete */
:root {
  --surface: #fdf6ee; --surface-2: #f7efe0; --page: #f0e4ee; --fg: #2a1a3a; --fg-2: #4a3a55;
  --acc: #7a2f77; --hover: #ecc2e8; --line: #2a1a3a;
  --vio: #9b3e97; --vio-dk: #7a2f77; --vio-pr: #5e2a63; --but: #f4d03f; --ora: #e55d26; --aqua: #40b5c4;
  --cream: #fff8e4; --ink: #2a1a3a; --lav: #ecc2e8; --deep: #1a0f22;
  --shadow: 0 18px 40px rgba(42, 26, 58, .18);
  color-scheme: light;
}
[data-mode="dark"] {
  --surface: #241530; --surface-2: #2e1c3c; --page: #170d1f; --fg: #fff8e4; --fg-2: #d8c6dc;
  --acc: #e3a6df; --hover: #4a2d55; --line: #fff8e4;
  --shadow: 0 18px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); }
body { color: var(--fg); font-family: "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--acc); }
a:hover { color: var(--vio); }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--vio); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.block { background: var(--surface); border-radius: 36px; }

/* Type */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.display { margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.condensed { margin: 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase; }
.wordmark { font-weight: 800; font-stretch: 62%; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }

/* Header */
.site-header { background: var(--surface); border-radius: 28px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.brand:hover { color: var(--fg); }
.mark svg { display: block; }
.nav { display: flex; gap: 4px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--fg); padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--hover); color: var(--fg); }
.tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg { display: flex; background: var(--page); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { background: transparent; color: var(--fg); border: 0; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--surface); }
.mode-btn { width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.mode-btn:hover { background: var(--hover); }

/* Buttons */
.btn { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: 14px 22px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; align-self: flex-start; }
.btn-sm { gap: 10px; padding: 10px 16px; font-size: 14px; }
.btn-wide { min-width: 260px; }
.btn-vio { background: var(--vio); border-color: var(--vio); color: var(--cream); }
.btn-vio:hover { background: var(--vio-dk); border-color: var(--vio-dk); color: var(--cream); }
.btn-vio:active { background: var(--vio-pr); border-color: var(--vio-pr); }
.btn-but { background: var(--but); border-color: var(--but); color: var(--ink); }
.btn-but:hover { background: var(--ora); border-color: var(--ora); color: var(--ink); }
.btn-but:active { background: #d1a910; border-color: #d1a910; }
.btn-line { background: transparent; border-color: var(--fg); color: var(--fg); }
.btn-line:hover { background: var(--hover); color: var(--fg); }
.tag { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; align-self: flex-start; }

/* Home · hero */
.hero-block { padding: 72px 56px 64px; display: flex; flex-direction: column; gap: 72px; }
.hero { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.hero h1 { font-size: clamp(26px, 4.4vw, 56px); overflow-wrap: anywhere; line-height: 1; text-wrap: balance; }
.hero-brand { display: flex; align-items: center; gap: 12px; }
.hero-brand .wordmark { font-size: 20px; }
.hero-title { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-pre { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: var(--acc); }
.hero .hero-h1 { display: block; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; overflow-wrap: normal; }
.hero-sub { margin: 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(36px, 4.2vw, 60px); line-height: .9; }
.hl { background: var(--but); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-ctas .btn { gap: 20px; }
.hero-proof { margin: 0; font-size: 14px; font-weight: 700; color: var(--fg-2); }
.lede { margin: 0; font-size: 19px; line-height: 1.5; max-width: 560px; text-wrap: pretty; }
.mode-switch { position: relative; width: 40px; height: 22px; padding: 0; border: 0; border-radius: 999px; background: var(--page); display: block; opacity: .6; cursor: pointer; transition: opacity .2s; }
.mode-switch:hover { background: var(--page); opacity: 1; }
.top-switch, .top-switch:hover { background: var(--surface); }
.mode-switch .knob { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 999px; background: var(--fg-2); transition: transform .3s cubic-bezier(.45,0,.55,1), background .3s, box-shadow .3s; }
.mode-switch[aria-checked="true"] .knob { transform: translateX(18px); background: transparent; box-shadow: inset -4px -2px 0 0 var(--fg-2); }
@media (prefers-reduced-motion: reduce) { .mode-switch .knob { transition: none; } }
.topbar { position: relative; display: flex; justify-content: flex-end; align-items: center; margin: -4px 8px -10px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--surface); color: var(--fg); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu { position: absolute; top: 48px; right: 0; z-index: 10; min-width: 200px; background: var(--surface); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; }
.menu .mode-switch { opacity: 1; }
@media (max-width: 640px) {
  .top-switch { display: none; }
  .menu-btn { display: flex; }
  .topbar { margin: 0; }
}
@media (min-width: 641px) { .menu { display: none !important; } }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; }
.hero-lumi { justify-self: end; width: 100%; max-width: 440px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #1a0f22; }
.hero-lumi img { width: 100%; height: 100%; display: block; }
.what-block { padding: 48px 56px 56px; }
.what { display: flex; flex-direction: column; gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.pillar { display: flex; flex-direction: column; gap: 16px; min-height: 320px; border-radius: 28px; padding: 28px; }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pillar-n { font-size: 14px; font-weight: 800; }
.pillar h3 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1; margin-top: auto; overflow-wrap: anywhere; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.p1 { background: var(--but); color: var(--ink); transform: rotate(-1.5deg); }
.p2 { background: var(--vio); color: var(--cream); transform: rotate(1deg); }
.p3 { background: var(--lav); color: var(--ink); transform: rotate(-1deg); }
.sq72 { width: 72px; height: 72px; background: var(--ink); }
.ci72 { width: 72px; height: 72px; border-radius: 999px; background: var(--but); }
.tri72 { width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 72px solid var(--ora); }

/* Home · manifesto */
.manifesto { background: var(--vio); color: var(--cream); border-radius: 36px; padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: end; }
.manifesto h2 { font-size: clamp(64px, 8vw, 112px); line-height: .85; }
.manifesto p { margin: 0; font-size: 19px; line-height: 1.5; max-width: 520px; }

/* Home · Bancada teaser */
.teaser { padding: 48px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; }
.teaser-copy { display: flex; flex-direction: column; gap: 20px; }
.h2 { font-size: 44px; line-height: .95; }
.teaser-copy p { margin: 0; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.btn-teaser { min-width: 240px; }
.stack { position: relative; display: flex; flex-direction: column; padding: 28px 0; }
.stack .deco-ci { position: absolute; top: 0; right: 12px; width: 84px; height: 84px; border-radius: 999px; background: var(--but); }
.stack .deco-tri { position: absolute; bottom: 0; left: 0; width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid var(--ora); transform: rotate(-12deg); }
.post { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); border: 2px solid var(--ink); border-radius: 28px; padding: 22px 24px; transition: transform .2s; text-decoration: none; }
.post:hover { color: var(--ink); transform: rotate(0deg) translateY(-6px); }
.post-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-k { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.post-t { font-weight: 900; font-stretch: 125%; font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.post1 { background: var(--but); transform: rotate(-2.5deg); margin-right: 24px; z-index: 3; }
.post2 { background: var(--aqua); transform: rotate(2deg); margin: 14px 0 0 24px; z-index: 2; }
.post3 { background: var(--lav); transform: rotate(-1.5deg); margin: 14px 20px 0 8px; z-index: 1; }
.s-ci { flex-shrink: 0; width: 56px; height: 56px; border-radius: 999px; background: var(--vio); }
.s-half { flex-shrink: 0; width: 56px; height: 56px; border-radius: 999px 999px 0 0; background: var(--ink); }
.s-tri { flex-shrink: 0; width: 0; height: 0; border-left: 28px solid transparent; border-right: 28px solid transparent; border-bottom: 50px solid var(--ora); }

/* Home · apply */
.apply { padding: 48px 56px 56px; display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 24px; }
.apply-head { display: flex; flex-direction: column; gap: 10px; }
.apply-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.apply-card { background: var(--page); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.apply-card h3 { font-size: 26px; line-height: 1; }
.apply-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-2); flex: 1; }
.note { font-size: 14px; color: var(--fg-2); margin: 0; }
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: start; }
.apply-options { display: flex; flex-direction: column; gap: 12px; }
.apply-opt { text-align: left; font: inherit; color: var(--fg); background: var(--page); border: 2px solid transparent; border-radius: 24px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: border-color .2s, transform .2s; }
.apply-opt:hover { border-color: var(--hover); }
.apply-opt[aria-checked="true"] { border-color: var(--fg); }
.apply-opt strong { font-size: 16px; line-height: 1.25; }
.apply-opt .d { font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.apply-opt .tag { font-size: 12px; padding: 4px 10px; }
.tag-vol { background: var(--vio); color: var(--cream); }
.tag-org { background: var(--but); color: var(--ink); }
.tag-par { background: var(--lav); color: var(--ink); }
.apply-form { background: var(--page); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.apply-form h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1; margin: 0; }
.apply-form .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.apply-form .field-wide { grid-column: 1 / -1; }
.apply-form .field input { background: var(--surface); }
.apply-form[data-kind="voluntario"] [data-apply="tag"] { background: var(--vio); color: var(--cream); }
.apply-form[data-kind="instituicao"] [data-apply="tag"] { background: var(--but); color: var(--ink); }
.apply-form[data-kind="parceiro"] [data-apply="tag"] { background: var(--lav); color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .apply-layout { grid-template-columns: 1fr; }
  .apply-options { flex-direction: row; gap: 6px; }
  .apply-opt { flex: 1 1 0; min-width: 0; padding: 8px; border-radius: 18px; align-items: center; justify-content: center; }
  .apply-opt strong, .apply-opt .d { display: none; }
  .apply-opt .tag { font-size: 12px; text-align: center; align-self: center; padding: 4px 8px; }
  .apply-form { padding: 24px; }
  .apply-form .fields { grid-template-columns: 1fr; }
}

.site-foot { padding: 48px 56px 28px; display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.foot-tag { margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 17px; line-height: 1.1; }
.foot-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h2 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.foot-col a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--page); padding-top: 20px; font-size: 13px; font-weight: 600; color: var(--fg-2); }
.foot-bottom .seg button { padding: 6px 10px; font-size: 12px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-foot { padding: 32px 24px 24px; gap: 28px; } .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > .foot-col:last-child { grid-column: 1 / -1; } }
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 8px 24px; font-size: 13px; font-weight: 700; }
.site-footer .tagline { color: var(--acc); }

/* Bancada */
.b-hero { padding: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: end; }
.b-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.b-hero h1 { font-size: clamp(72px, 9vw, 136px); line-height: .82; }
.b-hero p { margin: 0; font-size: 19px; line-height: 1.5; max-width: 540px; text-wrap: pretty; }
.soon { display: flex; flex-direction: column; gap: 14px; background: var(--surface-2); border-radius: 28px; padding: 28px; }
.soon strong { font-weight: 900; font-stretch: 125%; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.soon span { font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.formats-k { margin-top: 8px; }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.format { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: flex-start; }
.format svg { width: 40px; height: 40px; display: block; }
.format div { display: flex; flex-direction: column; gap: 3px; }
.format strong { font-size: 15px; }
.format span { font-size: 13px; line-height: 1.45; color: var(--fg-2); }
.contrib { background: var(--vio); color: var(--cream); border-radius: 36px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.contrib .kicker { color: var(--cream); }
.contrib h2 { font-size: 56px; line-height: .85; }
.contrib p { margin: 0; font-size: 16px; line-height: 1.5; max-width: 640px; }
.contrib .btn { min-width: 240px; gap: 20px; }
.b-footer { background: var(--surface); border-radius: 28px; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.b-footer > div { display: flex; align-items: center; gap: 10px; }
.b-footer .muted { color: var(--fg-2); }

/* Forms (dialog) */
dialog { border: 0; padding: 0; border-radius: 28px; background: var(--surface); color: var(--fg); width: min(520px, calc(100% - 32px)); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(26, 15, 34, .6); }
.form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.form h2 { font-size: 26px; line-height: 1; }
.close { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.close:hover { background: var(--hover); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.field input, .field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--fg); background: var(--page); border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-2); opacity: .75; }
.form-msg { margin: 0; font-size: 15px; line-height: 1.5; }
.form-msg.ok { background: var(--but); color: var(--ink); border-radius: 16px; padding: 12px 14px; font-weight: 700; }
.form-msg.err { color: var(--ora); font-weight: 700; }
.btn[disabled] { opacity: .6; cursor: progress; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-lumi { justify-self: center; max-width: 360px; }
}
@media (max-width: 640px) {
  .wrap { padding: 16px; gap: 16px; }
  .hero-block { padding: 40px 24px; gap: 48px; }
  .manifesto, .teaser, .apply, .b-hero, .contrib, .what-block { padding: 32px 24px; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .hero h1 { font-size: clamp(26px, 8.2vw, 40px); }
  .hero .hero-h1 { font-size: clamp(32px, 10vw, 44px); }
  .hero-sub { font-size: clamp(32px, 10vw, 44px); }
  .hero-ctas .btn { width: 100%; }
  .post { padding: 18px 18px; gap: 12px; }
  .post-t { font-size: 15px; overflow-wrap: anywhere; }
  .s-ci, .s-half { width: 44px; height: 44px; }
  .s-tri { border-left-width: 22px; border-right-width: 22px; border-bottom-width: 40px; }
  .apply-card { padding: 24px; }
  .apply-card h3 { font-size: 21px; overflow-wrap: anywhere; }
  .hero-lumi { justify-self: center; max-width: 320px; }
  .h2 { font-size: clamp(22px, 7vw, 34px); overflow-wrap: anywhere; }
  .contrib h2 { font-size: 44px; }
  .btn-wide, .btn-teaser { min-width: 0; width: 100%; }
  .post1, .post2, .post3 { margin-left: 0; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .post { transition: none; } }
