/* Creative Mode · site
   Light mode: white paper, black type, purple as the accent.
   The brand shapes (ring, half fill, capsule, chevron and the alpha's slant)
   come straight from the logo and are reused across the pages. */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --panel: #F4F4F4;
  --tint: #F7EAF9;
  --line: #E6E6E6;
  --ink: #0A0A0A;
  --soft: #3A3A3A;
  --muted: #6B6B6B;
  --dim: #C9C9C9;
  --lilac: #9525A9;      /* accent on light ground (text, links, hovers) */
  --pop: #DF7BEF;        /* the bright lilac, for shapes only */
  --purple: #9525A9;
  --slant: 3.2vw;        /* section edges lean like the alpha's tails */
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --text: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 6px; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: var(--purple); color: #fff; padding: 12px 16px; border-radius: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: .25em; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.035em; line-height: 1; }
.logo svg { fill: currentColor; }
.alpha { width: .97em; height: .604em; vertical-align: -0.016em; margin-right: -0.035em; }
.logo-mode { display: flex; align-items: baseline; }
.logo, .logo span, .nav-cta { white-space: nowrap; }
.logo { flex-shrink: 0; }
.ring { width: 2.2em; height: .585em; margin: 0 .04em; }
.logo-fill { fill: var(--purple); transform-box: fill-box; transform-origin: left center; }
.nav-cta { color: #fff; background: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; transition: background .2s; }
.nav-cta:hover { background: var(--purple); }

/* primary nav: a few items, two of them open a descriptive panel */
.nav { flex: 1; display: flex; align-self: stretch; margin-left: 24px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 4px; }
.nav-list > li { display: flex; }
.nav-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; background: none; border: 0; color: var(--soft); font: 500 15px/1 var(--text); cursor: pointer; transition: color .15s; }
.nav-item:hover, .nav-item[aria-expanded="true"] { color: var(--ink); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-item[aria-expanded="true"] .chev { transform: rotate(180deg); }
.menu { position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; box-shadow: 0 24px 48px -32px rgba(10,10,10,.25); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.nav-item[aria-expanded="true"] + .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.menu-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 48px; padding-block: 36px 44px; }
.menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.menu-links a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; transition: background .15s; }
.menu-links a:hover { background: var(--panel); }
.menu-links strong { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.menu-links a:hover strong { color: var(--lilac); }
.menu-links span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.menu-aside { border-left: 1px solid var(--line); padding: 18px 0 18px 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.menu-aside p { color: var(--soft); font-size: 16px; max-width: 22em; }
.menu-aside a { font-weight: 600; font-size: 15px; color: var(--lilac); }
.menu-aside a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--soft); font-size: 15px; font-weight: 500; }
.top-link:hover { color: var(--ink); }
.menu-btn { display: none; }
.nav-mobile-cta { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: var(--purple); }
.btn-lilac { background: var(--purple); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--lilac); }

/* hero */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 32px clamp(24px, 4vw, 56px); }
.hero-text { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(42px, 5.8vw, 92px); line-height: .96; letter-spacing: -0.05em; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--lilac); }
.hero-row { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.lead { max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* brand shapes */
main { overflow-x: clip; }
.hero-art { grid-column: 2; grid-row: 1; width: calc(100% + var(--gutter)); max-width: 680px; height: auto; justify-self: end; margin-right: calc(-1 * var(--gutter)); }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-rows: auto auto; align-items: end; column-gap: clamp(24px, 4vw, 56px); }
.page-hero h1 { grid-column: 1; grid-row: 1; }
.page-hero .lead { grid-column: 1; grid-row: 2; align-self: start; }
.page-art { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; max-width: 440px; height: auto; justify-self: end; }
.kx-art { width: min(100%, 460px); height: auto; display: block; }
/* conteúdo dentro de uma forma: o número num seixo */
/* conteúdo dentro de uma forma: o número da área num seixo */
.pebble-n { position: relative; display: inline-grid; place-items: center; width: 64px; height: 60px; }
.pebble-n svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--tint); }
.pebble-n b { position: relative; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--purple); }
.area:target .pebble-n svg { fill: var(--purple); }
.area:target .pebble-n b { color: #fff; }
.band { background: var(--tint); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); }

/* manifesto */
.manifesto { padding-block: calc(clamp(72px, 12vw, 160px) + var(--slant)); }
.manifesto p { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.04em; max-width: 20ch; }

/* section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 72px); line-height: .98; }
.sec-head p { max-width: 28em; color: var(--soft); }

/* services */
.services { padding-block: clamp(48px, 8vw, 96px); }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-rows li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 12px 32px; padding: 28px 0; }
.svc-t { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1.05; transition: color .2s; }
.svc-d { color: var(--muted); }
.svc-row:hover .svc-t { color: var(--lilac); }
.svc-go { width: 17px; height: 26px; justify-self: end; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 370 571'%3E%3Cpath d='M0 0H200L370 286L200 571H0L170 286Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 370 571'%3E%3Cpath d='M0 0H200L370 286L200 571H0L170 286Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background .2s, transform .2s; }
.svc-row:hover .svc-go { background: var(--purple); transform: translateX(6px); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--dim); border-radius: 999px; padding: 10px 18px; font-size: 16px; }

/* Kixi */
.kx-ship { fill: var(--purple); }
.facts { margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.launch { font-weight: 600; }
.launch span { color: var(--lilac); margin-right: 8px; }

/* inner pages */
.page-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); row-gap: 28px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 84px); line-height: .96; letter-spacing: -0.05em; max-width: 14ch; }
.area { scroll-margin-top: 88px; }
.area-grid { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); }
.area-head { display: flex; flex-direction: column; gap: 14px; }
.area-head .n { font-family: var(--display); font-size: 14px; color: var(--lilac); }
.area-head h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1; }
.area-body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.area-lead { font-size: clamp(19px, 1.8vw, 24px); color: var(--soft); max-width: 28em; }
.area:target .area-head h2 { color: var(--lilac); }
.kx-hero { padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }

.kx-text { display: flex; flex-direction: column; gap: 24px; }
.kx-text h1 { font-size: clamp(56px, 9vw, 136px); line-height: .9; letter-spacing: -0.05em; }
.kx-facts { padding-bottom: clamp(24px, 4vw, 48px); }
.kx-facts .facts { gap: 32px; padding-top: 32px; }
.kx-facts dt { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; }
.kx-facts dd { font-size: 17px; }
.partner-only { padding-block: clamp(56px, 8vw, 104px); }
.pledges.pledges-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nav-item[aria-current="page"] { color: var(--ink); }

/* faq: closed by default, so it stays short */
.faq { padding-block: clamp(56px, 8vw, 104px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 16px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa-q { font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); transition: color .2s; }
.qa summary:hover .qa-q, .qa[open] .qa-q { color: var(--lilac); }
.qa-x { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--dim); position: relative; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.qa-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-x::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { color: var(--soft); max-width: 34em; padding: 0 0 24px; }

/* method */
.method { padding-block: clamp(56px, 9vw, 120px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-family: var(--display); font-size: 14px; color: var(--lilac); }
.steps h3 { font-size: 22px; letter-spacing: -0.03em; }
.steps p { color: var(--soft); font-size: 16px; }

/* partner */
.partner { background: var(--tint); color: var(--ink); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-block: var(--slant); }
.pledges { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-content: start; }
.pledges div { border-top: 2px solid var(--ink); padding-top: 18px; }
.pledges dt { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; margin-bottom: 8px; }
.pledges dd { margin: 0; color: #3A3A3A; font-size: 16px; }

/* contact */
.cta { padding-block: clamp(72px, 10vw, 136px); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; background: var(--purple); color: #fff; border-radius: clamp(80px, 12vw, 180px) 28px 28px 28px; clip-path: polygon(0 clamp(24px, 4vw, 56px), 100% 0, 100% 100%, 0 100%); padding-top: clamp(64px, 9vw, 136px); padding: clamp(36px, 7vw, 104px); display: flex; flex-direction: column; gap: 20px; }
.cta-box > :not(.cta-art) { position: relative; z-index: 1; }
.cta-art { position: absolute; right: -6%; bottom: -10%; width: min(50%, 600px); height: auto; z-index: 0; pointer-events: none; }
.cta-box h2 { font-size: clamp(34px, 5.2vw, 78px); line-height: .98; max-width: 12ch; }
.cta-box p { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; }
.mail { margin-top: 12px; align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3vw, 40px); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.mail:hover { opacity: .75; }

/* footer */
.foot { background: var(--panel); color: var(--muted); font-size: 15px; }
.foot-grid { padding-block: 64px 48px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.035em; color: var(--ink); }
.foot-brand p:not(.foot-name) { max-width: 18em; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot h2 { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.foot nav a { display: inline-flex; min-height: 40px; align-items: center; overflow-wrap: anywhere; }
.foot nav a:hover { color: var(--ink); }
.foot-base { align-items: center; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }

.bar { display: none; }

/* motion: everything is visible without it */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    /* the logo ring fills as the page is read */
    .logo-fill { animation: read linear both; animation-timeline: scroll(root); }
    @keyframes read { from { transform: scaleX(.25); } to { transform: scaleX(1.978); } }

    /* manifesto lights up as it crosses the screen */
    .scrub { color: transparent; background: linear-gradient(90deg, var(--ink) 50%, var(--dim) 50%) right / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; box-decoration-break: clone; -webkit-box-decoration-break: clone; animation: scrub linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
    @keyframes scrub { to { background-position: left; } }


    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  }
}

/* tablet */
@media (max-width: 1080px) {
  .top-link { display: none; }
  .nav-item { padding: 0 10px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .area-grid, .kx-hero, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero, .page-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { grid-column: 1; grid-row: 1; width: 78%; max-width: 420px; margin-right: calc(-1 * var(--gutter)); }
  .page-art { grid-column: 1; grid-row: 1; width: 56%; max-width: 280px; margin-bottom: 8px; }
  .page-hero h1 { grid-row: 2; }
  .page-hero .lead { grid-row: 3; }
  .pledges.pledges-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kx-art { width: 300px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top-row { min-height: 64px; }
  .logo { font-size: 17px; }
  .top-actions .nav-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 12px; }
  .menu-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 64px); margin: 0; flex-direction: column; justify-content: space-between; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { flex-direction: column; border-bottom: 1px solid var(--line); }
  .nav-item { justify-content: space-between; width: 100%; min-height: 64px; padding: 0; font: 700 22px/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
  .chev { width: 16px; height: 16px; }
  .menu { position: static; display: none; visibility: visible; opacity: 1; transform: none; transition: none; background: none; border: 0; }
  .nav-item[aria-expanded="true"] + .menu { display: block; }
  .menu .wrap { padding: 0; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 16px; }
  .menu-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu-links a { padding: 12px 0; border-radius: 0; }
  .menu-links a:hover { background: none; }
  .menu-links strong { font-size: 17px; }
  .menu-aside { display: none; }
  .nav-mobile-cta { display: block; padding-top: 24px; }
  .nav-mobile-cta .btn { width: 100%; min-height: 56px; }
  body.nav-open { overflow: hidden; }
  .foot-grid { padding-top: 48px; }
  .hero-row, .actions { flex-direction: column; align-items: stretch; }
  .cta-box { padding-bottom: 170px; }
  .cta-art { width: 150%; right: -62%; bottom: -12%; }
  .actions .btn { width: 100%; }
  .actions .link-arrow { justify-content: center; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 40px; padding: 22px 0; }
  .svc-d { grid-column: 1; grid-row: 2; font-size: 15px; }
  .svc-go { grid-column: 2; grid-row: 1 / span 2; }
  .kx-art { width: 240px; }
  .facts, .pledges, .pledges.pledges-4, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-box { border-radius: 72px 24px 24px 24px; }
  .foot { padding-bottom: 88px; }
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .bar.show { transform: none; }
  .bar .btn { width: 100%; min-height: 52px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .bar { transition: none; } }

/* ===================================================================
   Formas estruturais: as secções são as formas (como na Incentro).
   Uma forma grande por secção, de ponta a ponta; o conteúdo vive dentro dela.
   As arestas cortam cada secção com a cor da vizinha.
   =================================================================== */
.shape { position: relative; overflow: hidden; isolation: isolate; }
.is-purple { background: var(--purple); color: #fff; }
.is-ink { background: var(--ink); color: #fff; }
.is-tint { background: var(--tint); }
.shape > .wrap { position: relative; z-index: 2; }
.edge { position: absolute; left: 0; width: 100%; height: auto; display: block; z-index: 1; pointer-events: none; }
.edge-bottom { bottom: -1px; }
.edge-top { top: -1px; }
.blob { position: absolute; z-index: 0; height: auto; pointer-events: none; }
.blob-hero { width: min(42vw, 620px); right: -12vw; top: -14vw; }
.blob-page { width: min(42vw, 600px); right: -12vw; top: -9vw; }
.blob-cta { width: min(44vw, 640px); right: -14vw; bottom: -16vw; opacity: .9; }

.shape-hero { padding-bottom: 12.5vw; }
.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(16px, 3vw, 40px); }
.hero h1 { font-size: clamp(42px, 6.8vw, 108px); line-height: .96; max-width: 12ch; color: #fff; }
.hero h1 em { color: var(--pop); }
.is-purple .lead, .is-ink .lead { color: rgba(255, 255, 255, .86); }
.hero .lead { max-width: 32em; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--pop); }
.page-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(16px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 100px); max-width: 13ch; }

/* manifesto: branco, sem moldura */
.manifesto { padding-block: clamp(56px, 9vw, 128px); }

/* serviços: a forma lilás, com a palavra gigante por trás do título */
.is-tint .services { padding-top: calc(7.8vw + clamp(48px, 7vw, 96px)); padding-bottom: calc(10vw + clamp(32px, 5vw, 64px)); }
.backdrop { position: absolute; z-index: 0; left: 50%; top: calc(7.8vw + 8px); transform: translateX(-50%); margin: 0; font: 700 clamp(96px, 21vw, 340px)/.8 var(--display); letter-spacing: -.06em; color: #EED2F3; white-space: nowrap; pointer-events: none; }
.is-tint .svc-rows, .is-tint .svc-rows li { border-color: rgba(10, 10, 10, .12); }

/* sobre: faixa lilás */
.is-tint .partner-only { padding-top: calc(7.8vw + clamp(40px, 6vw, 80px)); padding-bottom: calc(12.5vw + clamp(16px, 3vw, 40px)); }

/* kixi: o logótipo dentro de um seixo branco */
.is-tint .kx-hero { padding-bottom: clamp(16px, 3vw, 40px); }

/* contacto: a forma roxa com pico, de ponta a ponta */
.cta-shape { padding-top: calc(12.5vw + clamp(24px, 4vw, 56px)); padding-bottom: clamp(72px, 10vw, 136px); }
.cta-inner { display: flex; flex-direction: column; gap: 20px; }
.cta-inner h2 { font-size: clamp(34px, 5.6vw, 84px); line-height: .98; max-width: 13ch; }
.cta-inner p { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; color: rgba(255, 255, 255, .86); }
.cta-inner .mail { color: #fff; }

@media (max-width: 760px) {
  .blob-hero { width: 70vw; right: -34vw; top: -26vw; }
  .blob-page { width: 80vw; right: -40vw; top: -20vw; }
  .blob-cta { width: 90vw; right: -40vw; bottom: -30vw; }
  .shape-hero { padding-bottom: 18vw; }
  .hero, .page-hero { padding-top: 56px; }
  .hero .actions .btn { width: 100%; }
}

/* ===================================================================
   Cabeçalho por cima da forma de abertura: transparente e branco enquanto
   a forma está por baixo; ao sair dela fica branco, com texto escuro.
   =================================================================== */
.top { position: fixed; left: 0; right: 0; top: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid transparent; color: #fff; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.top .nav-item, .top .top-link { color: rgba(255, 255, 255, .82); transition: color .3s ease; }
.top .nav-item:hover, .top .nav-item[aria-expanded="true"], .top .top-link:hover, .top .nav-item[aria-current="page"] { color: #fff; }
.top .logo-fill { fill: var(--pop); transition: fill .3s ease; }
.top .nav-cta { background: #fff; color: var(--ink); transition: background .3s ease, color .3s ease; }
.top .nav-cta:hover { background: var(--pop); }
.top .menu-btn { color: currentColor; }
.top .menu { color: var(--ink); }
.top.solid { background: #FFFFFF; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); color: var(--ink); }
.top.solid .nav-item, .top.solid .top-link { color: var(--soft); }
.top.solid .nav-item:hover, .top.solid .nav-item[aria-expanded="true"], .top.solid .top-link:hover, .top.solid .nav-item[aria-current="page"] { color: var(--ink); }
.top.solid .logo-fill { fill: var(--purple); }
.top.solid .nav-cta { background: var(--ink); color: #fff; }
.top.solid .nav-cta:hover { background: var(--purple); }
/* enquanto o conteúdo da abertura passa por baixo, o cabeçalho ganha a cor da própria abertura */
.top.on-hero { background: var(--hero-bg, var(--purple)); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
/* abertura clara (Kixi): cabeçalho escuro desde o início */
.hero-light .top { color: var(--ink); }
.hero-light .top .nav-item, .hero-light .top .top-link { color: var(--soft); }
.hero-light .top .nav-item:hover, .hero-light .top .nav-item[aria-current="page"] { color: var(--ink); }
.hero-light .top .logo-fill { fill: var(--purple); }
.hero-light .top .nav-cta { background: var(--ink); color: #fff; }
/* a forma de abertura começa no topo da página, por baixo do cabeçalho */
.shape-hero > .wrap { padding-top: calc(76px + clamp(48px, 7vw, 104px)); }
.shape-hero .hero, .shape-hero .page-hero { padding-top: calc(76px + clamp(48px, 7vw, 104px)); }
.shape-hero .kx-hero { padding-top: calc(76px + clamp(40px, 6vw, 88px)); }

/* elementos de cada ponto: ficam no canto, longe do texto */
.blob-hero { width: min(34vw, 500px); right: -11vw; top: -8vw; }
.blob-page { width: min(32vw, 460px); right: -6vw; top: -4vw; }
.blob-lamina { width: min(40vw, 580px); right: -12vw; top: 2vw; }
.blob-bloco { width: min(30vw, 440px); right: -8vw; top: -10vw; }
.blob-cta { width: min(36vw, 520px); right: -6vw; bottom: -8vw; }
.blob-divisa { width: min(26vw, 380px); right: 2vw; bottom: -4vw; }
.blob-graos { width: min(30vw, 440px); right: -2vw; bottom: -2vw; }
.blob-fatia { width: min(42vw, 600px); right: -10vw; bottom: -6vw; }
.cta-inner, .hero, .page-hero { max-width: 1280px; }
.hero h1, .page-hero h1, .page-hero .lead, .cta-inner > * { max-width: min(70%, 15ch); }
.page-hero .lead, .cta-inner p { max-width: min(60%, 30em); }

@media (max-width: 760px) {
  .shape-hero > .wrap, .shape-hero .hero, .shape-hero .page-hero { padding-top: calc(64px + 64px); }
  .shape-hero .kx-hero { padding-top: calc(64px + 24px); }
  .blob-hero { width: 46vw; right: -16vw; top: -14vw; }
  .blob-page, .blob-bloco { width: 42vw; right: -14vw; top: -14vw; }
  .blob-lamina { width: 56vw; right: -22vw; top: -6vw; }
  .blob-cta, .blob-fatia, .blob-graos, .blob-divisa { width: 46vw; right: -10vw; bottom: -10vw; }
  .hero h1, .page-hero h1, .page-hero .lead, .cta-inner > *, .cta-inner p { max-width: none; }
  .cta-shape { padding-bottom: calc(clamp(72px, 10vw, 136px) + 30vw); }
}

/* ===================================================================
   Capas: as aberturas com pergunta e uma composição ao lado,
   e uma capa por área de serviço com paleta e formas próprias.
   =================================================================== */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px clamp(24px, 4vw, 64px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-split h1, .hero-split .lead { max-width: none; }
.hero-split h1 { font-size: clamp(36px, 4.8vw, 76px); line-height: 1; }
.hero-cover { width: 100%; max-width: 560px; height: auto; justify-self: end; }
.kx-name { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); color: var(--purple); letter-spacing: -0.03em; }
.kx-text h1 { font-size: clamp(56px, 9vw, 136px); line-height: .9; }

.cover { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(200px, 22vw, 300px); margin-top: clamp(40px, 6vw, 80px); }
.cover > * { position: relative; z-index: 1; }
.cover-t { margin: 0; padding: clamp(24px, 4vw, 56px); font: 700 clamp(26px, 3vw, 44px)/1.04 var(--display); letter-spacing: -0.035em; max-width: 18ch; }
.cover-art { width: 100%; height: 100%; max-height: 300px; display: block; }
.cover.is-tint { color: var(--ink); }
.split-pop::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--pop); clip-path: polygon(60% 0, 100% 0, 100% 100%, 50% 100%); }
.area .area-grid { border-top: 0; }

@media (max-width: 760px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); }
  .hero-cover { width: 86%; justify-self: end; margin-right: -4%; }
  .cover { grid-template-columns: minmax(0, 1fr); }
  .cover-art { height: 180px; }
  .split-pop::after { clip-path: polygon(0 58%, 100% 46%, 100% 100%, 0 100%); }
}

/* língua: PT / EN, texto simples; a língua atual fica destacada */
.lang-toggle { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.lang-toggle b { color: var(--ink); }
.lang-toggle b, .lang-toggle a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; }
.lang-toggle b { font-weight: 700; }
.lang-toggle a { opacity: .55; transition: opacity .2s; }
.lang-toggle a:hover { opacity: 1; }
.lang-toggle b + a::before { content: "/"; margin-right: 8px; opacity: .6; }
