/* =========================================================
   Rachel Barbosa · opção editorial
   Tipografia serifada grande, muito branco, lista tipográfica
   de projetos com imagem flutuante. Cores e fontes nos tokens.
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f4f4f3;
  --ink: #16171a;
  --muted: #55565c;          /* AAA em branco (7.4:1) */
  --soft: #8a8b91;           /* só para números decorativos e textos grandes */
  --line: rgba(0, 0, 0, .10);
  --accent: #5B21B6;         /* violeta do site principal */
  --accent-2: #46198D;
  --accent-soft: rgba(91, 33, 182, .08);
  --max: 1280px;
  --r: 16px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --surface: #ffffff; --on-ink: #ffffff; --on-accent: #ffffff;
  --glass: rgba(255, 255, 255, .82); --accent-line: rgba(91, 33, 182, .35);
  --ph-a: #EEEAF7; --ph-b: #ecebe8;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.accent { color: var(--accent); }
.serif { font-family: var(--serif); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- nav ---------- */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease); }
header.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand-wrap { display: flex; align-items: center; flex: none; }
.brand-slot { width: 0; height: 40px; flex: none; }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a, .back-btn { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; }
.back-btn:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.lang button { border: 0; background: none; cursor: pointer; font-size: .74rem; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; color: var(--muted); min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
@media (max-width: 860px) { .nav-links { display: none; } .nav-links.is-case { display: flex; } .lang { margin-left: auto; } .nav-links.is-case + .lang { margin-left: 0; } }

/* avatar that docks into the header */
.float-avatar { position: fixed; top: 0; left: 0; width: 0; height: 0; border-radius: 50%; z-index: 60; cursor: pointer;
  background-size: cover; background-position: 50% 30%; box-shadow: 0 5px 16px rgba(0,0,0,.12);
  opacity: 0; transition: opacity .6s var(--ease); will-change: transform, width, height, top, left; }
.float-avatar.ready { opacity: 1; }
.float-avatar.off { opacity: 0 !important; pointer-events: none; }
.avatar-ghost { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.18em; margin: 0 .25em; border-radius: 50%; visibility: hidden; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 80px; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; margin: 0 0 36px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 33, 182,.45); } 70% { box-shadow: 0 0 0 8px rgba(91, 33, 182,0); } 100% { box-shadow: 0 0 0 0 rgba(91, 33, 182,0); } }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; max-width: 18ch; }
.hero .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.hero.loaded .line > span { transform: none; }
.hero .line:nth-child(2) > span { transition-delay: .12s; }
.hero .line:nth-child(3) > span { transition-delay: .24s; }
.emph { font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--accent); }
.word-type { display: inline-block; white-space: nowrap; }
.wt-suffix { font-style: normal; }
.wt-caret { display: inline-block; width: .055em; height: .9em; background: var(--ink); margin-left: .04em; vertical-align: -.1em; opacity: 0; }
.word-type.typing .wt-caret { opacity: 1; animation: caret 1s steps(1) infinite; }
.word-type.busy .wt-caret { animation: none; opacity: 1; }
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero-lede { margin: 40px 0 0; max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.proof li { font-size: .8rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.scroll-hint { margin-top: 56px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2, .sec-heading { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.sec-head .count { font-family: var(--serif); font-style: italic; color: var(--soft); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.sec-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 18px; font-weight: 500; }
.sec-lead { color: var(--muted); max-width: 56ch; margin: 18px 0 0; font-size: 1.05rem; }
.body-text { font-size: clamp(.98rem, 1.3vw, 1.08rem); line-height: 1.8; color: var(--muted); margin: 0; max-width: 68ch; }
.body-text + .body-text { margin-top: 1em; }
.micro { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }

/* ---------- selected work: stacked names + floating stage ---------- */
.work-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.work-row { position: relative; margin: clamp(22px, 4.2vw, 72px) 0; }
.work-row > a { position: relative; display: flex; align-items: center; padding-bottom: clamp(34px, 3.4vw, 52px); color: var(--ink); transition: color .45s var(--ease); -webkit-tap-highlight-color: transparent; }
.work-row.active > a { color: var(--accent); }
.wr-arrow { flex: none; display: inline-flex; overflow: hidden; width: 0; margin-right: 0; opacity: 0; transform: translateX(-8px);
  transition: width .5s var(--ease), margin .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.work-row.active .wr-arrow { width: clamp(30px, 3.4vw, 52px); margin-right: clamp(10px, 1.4vw, 20px); opacity: 1; transform: none; }
.wr-name { font-family: var(--serif); font-weight: 400; line-height: 1.02; font-size: clamp(2.4rem, 7.6vw, 5.8rem); letter-spacing: -.025em; max-width: 9.5em; }
.wr-tagline { position: absolute; left: calc(clamp(30px, 3.4vw, 52px) + clamp(10px, 1.4vw, 20px)); bottom: clamp(8px, 1.2vw, 18px);
  font-size: clamp(.95rem, 1.5vw, 1.25rem); color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.work-row.active .wr-tagline { opacity: 1; transform: none; }
.wr-nda { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; margin-left: 10px; vertical-align: middle; }
.work-stage { position: fixed; top: 50%; right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); transform: translateY(-50%);
  width: clamp(300px, 36vw, 540px); aspect-ratio: 16 / 11; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.work-stage.show { opacity: 1; }
.stage-card { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.stage-layer { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; opacity: 0; transition: opacity .6s var(--ease); background: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.stage-layer.on { opacity: 1; }
.stage-layer > img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(120% 90% at 20% 10%, var(--ph-a) 0%, var(--bg-2) 55%, var(--ph-b) 100%); font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--accent); }
.ph small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (min-width: 761px) { .wr-name { max-width: 58%; } }
@media (max-width: 760px) {
  .work-stage { right: -3vw; width: 46vw; aspect-ratio: 4 / 5; }
  .wr-name { max-width: 7em; }
}

/* other work: typographic table */
.others { margin-top: clamp(40px, 6vw, 90px); }
.others h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 18px; letter-spacing: -.015em; }
.others ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.others li a { display: grid; grid-template-columns: 1fr auto 70px 24px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: color .3s var(--ease), padding .3s var(--ease); }
.others li a:hover { color: var(--accent); padding-left: 10px; }
.o-title { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
.o-co { color: var(--muted); font-size: .92rem; text-align: right; }
.o-year { color: var(--muted); font-size: .92rem; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .others li a { grid-template-columns: 1fr 24px; } .o-co, .o-year { display: none; } }

/* ---------- marquee ---------- */
.band { padding: clamp(64px, 8vw, 96px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.band .sec-head { margin-bottom: 40px; }
.marquee { display: flex; width: max-content; animation: scrollx 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; gap: 14px; padding: 0 40px; font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3.2rem); letter-spacing: -.01em; white-space: nowrap; }
.marquee .item::before { content: "✦"; font-size: .45em; color: var(--accent); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr 1fr; gap: clamp(20px, 4vw, 64px); padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4.2rem); color: var(--soft); line-height: 1; opacity: .55; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.1; }
.step p { margin: 0; color: var(--muted); }
.ai-box { background: var(--accent-soft); border-radius: var(--r); padding: 22px 24px; }
.ai-box .micro { color: var(--accent); }
@media (max-width: 900px) { .step { grid-template-columns: 70px 1fr; } .step .ai-col { grid-column: 2; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.tag { font-size: .8rem; letter-spacing: .02em; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); }

.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; line-height: 1.65; color: var(--muted); }
.bullets li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; margin-top: .62em; }
.bullets li strong { color: var(--ink); font-weight: 500; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border-radius: var(--r); padding: 28px 26px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 12px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .practice { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.card .practice b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 4px; }

/* ---------- about ---------- */
.about-big { font-family: var(--serif); font-size: clamp(1.7rem, 3.8vw, 2.9rem); line-height: 1.28; letter-spacing: -.012em; max-width: 30ch; margin: 0; }
.about-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } }
.about-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.stat { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; }
.stat b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.stat span { color: var(--muted); max-width: 18ch; }
.skills { display: grid; gap: 24px; margin-top: 36px; }
.acc { border-top: 1px solid var(--line); margin-top: 48px; }
.acc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 48px 0 8px; letter-spacing: -.015em; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 28px; gap: 20px; align-items: baseline; padding: 20px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .a-title { color: var(--accent); }
.a-title { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.45rem); letter-spacing: -.01em; transition: color .3s var(--ease); }
.a-sub { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 2px; }
.a-period { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.a-plus { width: 28px; height: 28px; position: relative; }
.a-plus::before, .a-plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.a-plus::after { transform: rotate(90deg); }
details[open] .a-plus::after { transform: rotate(0); }
.acc .a-body { padding: 0 0 28px; max-width: 72ch; }
.acc .a-body p { color: var(--muted); margin: 0 0 .8em; }
.acc .a-body ul { margin: 0; padding-left: 18px; color: var(--muted); }
@media (max-width: 640px) { .acc summary { grid-template-columns: 1fr 28px; } .a-period { grid-column: 1; grid-row: 2; } }

/* ---------- contact ---------- */
.contact { padding: clamp(90px, 11vw, 140px) 0 56px; border-top: 1px solid var(--line); }
.contact .big { font-family: var(--serif); font-size: clamp(2.2rem, 7.5vw, 6.4rem); line-height: 1; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: .25em; transition: color .4s var(--ease); word-break: break-word; }
.contact .big:hover { color: var(--accent); }
.contact .big svg { width: .55em; height: .55em; transition: transform .4s var(--ease); flex: none; }
.contact .big:hover svg { transform: translate(6px, -6px); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 90px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.foot .socials { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a:hover { color: var(--accent); }

/* =========================================================
   CASE PAGE
   ========================================================= */
.proj-hero { padding: clamp(130px, 16vw, 190px) 0 clamp(48px, 6vw, 80px); }
.proj-eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; display: flex; align-items: center; gap: 12px; }
.proj-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.proj-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; margin: 0 0 32px; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 1.02; max-width: 15ch; }
.proj-title em { font-style: italic; color: var(--accent); }
.proj-lede { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--muted); max-width: 46ch; margin: 0 0 40px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.proj-meta div { display: flex; flex-direction: column; gap: 4px; max-width: 30ch; }
.proj-meta dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proj-meta dd { margin: 0; font-family: var(--serif); font-size: 1.08rem; }
.proj-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proj-cover { margin: 0; }
.proj-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }
@media (max-width: 700px) { .proj-cover img { aspect-ratio: 16 / 10; } }
.nda { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-2); border-radius: var(--r); padding: 20px 22px; margin-top: 32px; color: var(--muted); font-size: .95rem; max-width: 72ch; }
.nda b { color: var(--ink); font-weight: 500; }

.case .sec { border-top: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.38; letter-spacing: -.01em; margin: 40px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); max-width: 40ch; }
.quote small { display: block; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.stage-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 18px; }
.stage-num { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: var(--soft); opacity: .55; line-height: 1; flex: none; }
.stage-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.phase { padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 80px); }
.phase:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .phase { grid-template-columns: 1fr; gap: 10px; } }

.map { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 0; }
.map li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.map .m-type { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.map .m-label { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.01em; }
.map .m-detail { color: var(--muted); font-size: .95rem; margin-top: 4px; }
@media (max-width: 640px) { .map li { grid-template-columns: 1fr; gap: 4px; } }

.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }
.stages li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-height: 140px; }
.stages li.off { background: var(--bg-2); border-color: transparent; }
.stages li.off p { color: var(--soft); font-style: italic; }
.stages .s-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.stages .s-name { font-family: var(--serif); font-size: 1.25rem; }
.stages .s-ai { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; }
.stages p { margin: 0; color: var(--muted); font-size: .92rem; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.metric { background: var(--bg-2); border-radius: var(--r); padding: 30px 24px 26px; }
.metric b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.metric span { color: var(--muted); font-size: .9rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.gallery figure { margin: 0; min-width: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 16 / 9.2; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: .84rem; line-height: 1.6; color: var(--muted); margin-top: 12px; }
.gallery.portrait { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery.portrait img { aspect-ratio: 9 / 16; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 15, .92); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: #e9e9ea; font-size: .9rem; text-align: center; }
.lb-nav, .lb-close { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.18); }
.lb-close { position: absolute; top: 20px; right: 20px; font-size: 1.6rem; }

.code { margin-top: 28px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--bg-2); font-size: .78rem; color: var(--muted); }
.code-bar button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .76rem; }
.code pre { margin: 0; padding: 20px; max-height: 420px; overflow: auto; font-size: .82rem; line-height: 1.6; background: var(--surface); white-space: pre-wrap; }

.learn { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; letter-spacing: -.012em; max-width: 32ch; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.2rem); padding: 16px 28px; border-radius: 999px; border: 1.5px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); min-height: 48px; }
.btn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.explore { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.explore-label { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted); margin: 0 0 32px; display: block; }

/* =========================================================
   OPÇÃO CARDS · personalidade própria
   ========================================================= */
:root { --tint: #F4F1FB; --dark: #1E1238; --dark-ink: #F3F0FA; --dark-muted: #C9C2DA; }

/* hero */
.hero2 { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg pattern circle { fill: rgba(91, 33, 182, .16); }
.hero-bg .bg-line { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .28; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .3s forwards; }
.hero-bg .bg-node { fill: var(--surface); stroke: var(--accent); stroke-width: 1.6; opacity: .6; }
.hero-bg .bg-node.big { fill: var(--tint); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero2 h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6.6vw, 6rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; }
.hero2 h1 em { display: block; font-style: italic; color: var(--accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero2-photo { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero2-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(30, 18, 56, .45); }
.badge { position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 12px; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.25); max-width: 250px; }
.badge b { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.badge span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.float-chip { position: absolute; font-size: .78rem; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(0,0,0,.2); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float-chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.float-chip.c0 { top: 8%; right: -22px; }
.float-chip.c1 { top: 34%; left: -44px; animation-delay: -1.5s; }
.float-chip.c2 { top: 60%; right: -30px; animation-delay: -3s; }
.float-chip.c3 { bottom: -16px; right: 18%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-photo { justify-self: start; max-width: 300px; margin: 8px 0 0 28px; }
  .float-chip.c1 { left: -28px; }
}

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 36px; }
.filters button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: .84rem; cursor: pointer; min-height: 40px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* bento cards */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento.filtered .pcard { --span: 6 !important; }
.pcard { grid-column: span var(--span, 6); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.pcard[hidden], .mcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(30, 18, 56, .35); border-color: var(--accent-line); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-nda { position: absolute; top: 14px; left: 14px; font-size: .68rem; letter-spacing: .1em; background: var(--glass); border-radius: 999px; padding: 4px 10px; }
.pcard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard-meta { margin: 0 0 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; transition: color .3s var(--ease); }
.pcard:hover h3 { color: var(--accent); }
.pcard-sum { margin: 0; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.pcard-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; }
.pcard-tags li { font-size: .74rem; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); }
.pcard-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 500; font-size: .9rem; color: var(--accent); }
.pcard-link svg { transition: transform .3s var(--ease); }
.pcard:hover .pcard-link svg { transform: translateX(4px); }
.pcard--wide { flex-direction: row; }
.pcard--wide .pcard-media { flex: 1.3; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.pcard--wide .pcard-body { flex: 1; justify-content: center; padding: 40px; }
.pcard--wide h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
@media (max-width: 1000px) { .pcard { grid-column: span 6; } .pcard--wide { grid-column: span 12; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .pcard, .pcard--wide { grid-column: auto; } .pcard--wide { flex-direction: column; } .pcard--wide .pcard-media { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); } .pcard--wide .pcard-body { padding: 24px 26px 26px; } }

.ph { position: relative; }
.ph-flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-flow path { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .35; }
.ph-flow circle, .ph-flow rect { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; opacity: .6; }
.ph > div { position: relative; }

/* other work: mini cards */
.others2 { margin-top: clamp(56px, 7vw, 96px); }
.others2[hidden] { display: none; }
.others2 h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 20px; letter-spacing: -.015em; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.mcard { display: grid; grid-template-columns: 96px 1fr 20px; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.mcard:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.mcard:hover h4 { color: var(--accent); }
.mcard-media { width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--tint); }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; }
.mcard-media .ph { font-size: .8rem; padding: 6px; }
.mcard-media .ph small { display: none; }
.mcard .pcard-meta { margin-bottom: 4px; font-size: .66rem; }
.mcard h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.25; transition: color .3s var(--ease); }
.mcard svg { color: var(--accent); }

/* process flow */
.flow-sec { background: var(--tint); border-top: 0; }
.flow { display: flex; align-items: flex-start; gap: 0; margin-bottom: 28px; overflow-x: auto; padding: 6px 2px 10px; }
.node { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; padding: 0; width: 120px; }
.node-dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.node:hover .node-dot { transform: scale(1.06); }
.node[aria-selected="true"] .node-dot { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 6px rgba(91, 33, 182, .14); }
.node-name { font-family: var(--serif); font-size: 1.1rem; }
.node[aria-selected="true"] .node-name { color: var(--accent); }
.edge { flex: 1; min-width: 24px; height: 1.5px; margin-top: 29px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .5; }
.flow-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); background: var(--surface); border-radius: 24px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); }
.flow-panel .stage-num { display: block; margin-bottom: 4px; }
.flow-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 10px; }
.flow-panel p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.flow-panel .micro { display: block; }
@media (max-width: 860px) { .flow-panel { grid-template-columns: 1fr; } .node { width: 96px; } }

/* journey */
.journey { list-style: none; margin: 0; padding: 8px 0 18px; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.journey li { flex: none; width: 230px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; position: relative; padding-right: 24px; }
.j-period { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.j-dot { width: 100%; height: 14px; position: relative; }
.j-dot::before { content: ""; position: absolute; left: 0; right: -24px; top: 6px; height: 1.5px; background: var(--line); }
.j-dot::after { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); }
.journey li:first-child .j-dot::after { background: var(--accent); }
.j-co { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.015em; margin-top: 6px; }
.j-role { color: var(--muted); font-size: .9rem; }

/* values */
.vcard { position: relative; border-top: 3px solid transparent; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.vcard:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.v-num { display: block; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--accent); opacity: .5; margin-bottom: 14px; line-height: 1; }

/* about */
.skill-card { background: var(--bg-2); border-radius: var(--r); padding: 20px 22px; }

/* dark contact */
.contact { background: var(--dark); color: var(--dark-ink); border-top: 0; }
.contact .sec-label { color: #DDD6FE; }
.contact .big:hover { color: #DDD6FE; }
.contact .foot { border-top-color: rgba(255,255,255,.14); color: var(--dark-muted); }
.contact .foot a:hover { color: #fff; }

/* case: sticky index */
.case-index { position: sticky; top: 76px; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.ci-track { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.ci-track::-webkit-scrollbar { display: none; }
.ci-track a { flex: none; font-size: .8rem; padding: 7px 14px; border-radius: 999px; color: var(--muted); border: 1px solid transparent; transition: all .3s var(--ease); }
.ci-track a:hover { color: var(--accent); border-color: var(--line); }
.ci-track a.on { background: var(--accent); color: var(--on-accent); }
.case .sec { scroll-margin-top: 140px; }

/* foto redonda (como na opção editorial) */
.hero2-photo { max-width: 440px; }
.hero2-photo img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 40px 80px -40px rgba(30, 18, 56, .45); }
.badge { left: -12px; bottom: 6%; }
.float-chip.c0 { top: 6%; right: 2%; }
.float-chip.c1 { top: 38%; left: -48px; }
.float-chip.c2 { top: 64%; right: -26px; }
.float-chip.c3 { bottom: -6px; right: 22%; }
@media (max-width: 900px) { .hero2-photo { max-width: 280px; } }

/* miniatura redonda no cabeçalho ao rolar */
.brand-slot { display: inline-flex; align-items: center; width: 0; overflow: hidden; transition: width .5s var(--ease), margin .5s var(--ease); }
.brand-slot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .5s var(--ease); box-shadow: 0 5px 16px rgba(0,0,0,.12); }
header.nav.docked .brand-slot { width: 40px; margin-right: 14px; }
header.nav.docked .brand-slot img { opacity: 1; transform: none; }

/* =========================================================
   MODO ESCURO
   ========================================================= */
.theme-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .3s var(--ease); }
.theme-btn:hover { background: var(--bg-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (max-width: 860px) { .lang { margin-left: auto; } .nav-links.is-case ~ .lang { margin-left: 0; } }

:root[data-theme="dark"] {
  --bg: #0f1316; --bg-2: #181d21; --surface: #14191c; --tint: #1A1630;
  --ink: #eceef0; --muted: #b4b9bf; --soft: #80868d;
  --line: rgba(255, 255, 255, .12);
  --accent: #C4B5FD; --accent-2: #DDD6FE; --accent-soft: rgba(196, 181, 253, .10);
  --on-ink: #0f1316; --on-accent: #06191f;
  --glass: rgba(20, 25, 28, .82); --accent-line: rgba(196, 181, 253, .45);
  --ph-a: #1D1832; --ph-b: #1a1e22;
  --dark: #120B24; --dark-ink: #F3F0FA; --dark-muted: #BDB5D1;
  color-scheme: dark;
}
:root[data-theme="dark"] .hero2-photo img { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] .hero-bg .bg-line { opacity: .35; }
:root[data-theme="dark"] .pcard:hover { box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] .contact { border-top: 1px solid var(--line); }
:root[data-theme="dark"] .float-chip, :root[data-theme="dark"] .badge { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
html { transition: background-color .3s var(--ease); }

/* =========================================================
   CARDS COM A DIAGRAMAÇÃO DO SITE NOVO
   grade uniforme, capa 16:9, empresa · ano, título, resumo, "Ver case"
   ========================================================= */
.bento { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.pcard, .bento.filtered .pcard { grid-column: auto; border-radius: 14px; }
.pcard-media { aspect-ratio: 16 / 9; }
.pcard-body { padding: 22px 22px 24px; }
.pcard-meta { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; margin-bottom: 8px; }
.pcard h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin-bottom: 10px; }
.pcard-sum { font-size: 15px; -webkit-line-clamp: unset; display: block; overflow: visible; }
.pcard-link { margin-top: 18px; font-size: 14px; font-weight: 600; }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } }

/* frase do topo mais longa */
.hero2 h1 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); line-height: 1.08; max-width: 15ch; }
.hero2 h1 em { display: inline; }

/* resumo dos cards: no máximo 3 linhas, com reticências */
.pcard-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; }
.pcard-sum { flex: 0 0 auto; max-height: calc(3 * 1.55em); }
.pcard-link { margin-top: auto; padding-top: 18px; }

/* =========================================================
   PROCESSOS DE TRABALHO · fluxograma (como no site novo)
   ========================================================= */
.pf-sec { background: var(--tint); border-top: 0; }
.pf-box { position: relative; margin-bottom: 20px; }
.pf-scroller { position: relative; overflow: hidden; background-color: var(--surface);
  background-image: radial-gradient(circle, var(--line) 1.2px, transparent 1.3px); background-size: 24px 24px;
  border: 1px solid var(--line); border-radius: 20px; }
.pf-box.is-narrow .pf-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.pf-box.is-narrow::after { content: ""; position: absolute; top: 1px; right: 1px; height: calc(100% - 44px); width: 36px; pointer-events: none; border-radius: 0 20px 20px 0; background: linear-gradient(to right, transparent, var(--surface)); }
.pf-track { position: relative; }
.pf-stage { position: absolute; transform-origin: 0 0; }
.pf-hint { display: none; margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.pf-box.is-narrow .pf-hint { display: block; }
.pf-hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.pf-edges { position: absolute; inset: 0; overflow: visible; }
.pf-edges marker path { fill: var(--muted); }
.pf-edge { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.pf-edge--ai { stroke: var(--soft); stroke-width: 1.25; stroke-dasharray: 3 4; opacity: .7; }
.pf-edge--ai.is-on { stroke: var(--accent); stroke-width: 1.6; opacity: 1; animation: dashflow .9s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -14; } }
.pf-edge--loop { stroke-dasharray: 5 4; }
.pf-label rect { fill: var(--surface); stroke: var(--line); }
.pf-label text { fill: var(--muted); font: 600 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; }

.pf-step { position: absolute; width: 176px; height: 124px; padding: 14px 16px; text-align: left; cursor: pointer; overflow: hidden;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.pf-step:hover { border-color: var(--accent-line); box-shadow: 0 10px 22px -12px rgba(0,0,0,.25); transform: translateY(-2px); }
.pf-step.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 14px 28px -14px rgba(0,0,0,.45); }
.pf-num { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pf-title { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.32rem; letter-spacing: -.01em; line-height: 1.15; margin: 4px 0 6px; }
.pf-sum { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.pf-step.is-active .pf-num, .pf-step.is-active .pf-sum { color: inherit; opacity: .9; }

.pf-ai { position: absolute; left: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--tint); border: 1px dashed var(--accent-line); border-radius: 14px; color: var(--ink); }
.pf-ai-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.pf-ai-text { display: flex; align-items: baseline; gap: 10px; }
.pf-ai-text strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.pf-ai-text small { font-size: 12.5px; color: var(--muted); }
.pf-box.is-narrow .pf-ai { justify-content: flex-start; padding-left: 16px; }

.pf-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.pf-detail h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 10px; }
.pf-detail p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pf-ainote { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; background: var(--tint); border-radius: 16px; padding: 24px 26px; }
.pf-ai-eyebrow { color: var(--accent); }
.ai-list { list-style: none; margin: 4px 0 0; padding: 0; }
.ai-list li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.ai-list li:first-child { border-top: 0; }
.ai-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ai-list strong { color: var(--ink); font-weight: 600; }
.ai-results { border-left: 1px solid var(--line); padding-left: 28px; }
.ai-results ul { list-style: none; margin: 4px 0 0; padding: 0; }
.ai-results li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.ai-results li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 860px) { .pf-detail, .pf-ainote { grid-template-columns: 1fr; } .ai-results { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; } }

/* título dos cards: no máximo 2 linhas, com reticências */
.pcard h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; max-height: calc(2 * 1.15em); }

/* miniatura da foto no cabeçalho: 32px de diâmetro */
.brand-slot { height: 32px; }
.brand-slot img { width: 32px; height: 32px; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
header.nav.docked .brand-slot { width: 32px; margin-right: 12px; }

/* outros trabalhos: lista tipográfica como na opção editorial */
.others2.others { margin-top: clamp(40px, 6vw, 90px); }
.others li[hidden] { display: none; }
.others li a svg { color: var(--accent); }

/* =========================================================
   SOBRE · igual ao site novo (accordion fluido e ícone de mais)
   ========================================================= */
.about2 .about-lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); max-width: 46ch; margin: 0 0 16px; }
.bio-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.bio-more.is-open { grid-template-rows: 1fr; }
.bio-clip { overflow: hidden; min-height: 0; }
.bio-inner { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .45s var(--ease); padding-bottom: 8px; }
.bio-more.is-open .bio-inner { opacity: 1; transform: none; transition-delay: .08s; }
.bio-inner .body-text { max-width: 72ch; margin-bottom: 1em; }
.bio-toggle { display: inline-flex; gap: 6px; align-items: center; background: none; border: 0; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.bio-toggle:hover { color: var(--accent-2); }
.block { margin-top: 48px; }
.block--divided { padding-top: 48px; border-top: 1px solid var(--line); }
.block > .micro { margin: 0 0 14px; font-weight: 500; }

.acc2 { position: relative; }
.acc2-all { position: absolute; right: 0; top: -42px; background: none; border: 0; padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acc2-all:hover { color: var(--accent-2); }
.acc2-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.acc2-item { border-bottom: 1px solid var(--line); }
.acc2-h { margin: 0; font: inherit; }
.acc2-btn { width: 100%; display: grid; grid-template-columns: 280px minmax(0, 1fr) 160px 24px; align-items: center; gap: 16px; padding: 18px 4px; background: none; border: 0; text-align: left; font-size: 15px; color: var(--ink); cursor: pointer; transition: color .2s; }
.acc2-btn:disabled { cursor: default; }
.acc2-btn:not(:disabled):hover .acc2-title { color: var(--accent); }
.acc2-btn:not(:disabled):hover .acc2-icon { background: var(--accent-soft); }
.acc2-item.is-open .acc2-btn:hover .acc2-icon { background: var(--accent-2); border-color: var(--accent-2); }
.acc2-title { font-family: var(--serif); font-size: 1.22rem; letter-spacing: -.01em; transition: color .25s var(--ease); }
.acc2-sub { color: var(--muted); }
.acc2-meta { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; font-size: 14px; }
.acc2-icon { position: relative; width: 24px; height: 24px; border: 1px solid var(--accent); border-radius: 50%; justify-self: end; transition: transform .45s var(--ease), background .3s ease, border-color .3s ease; }
.acc2-icon::before, .acc2-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .3s ease; }
.acc2-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc2-item.is-open .acc2-icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.acc2-item.is-open .acc2-icon::before, .acc2-item.is-open .acc2-icon::after { background: var(--on-accent); }
.acc2-item.is-open .acc2-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc2-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc2-item.is-open .acc2-panel { grid-template-rows: 1fr; }
.acc2-clip { overflow: hidden; min-height: 0; }
.acc2-inner { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .45s var(--ease); padding: 0 44px 24px 300px; }
.acc2-item.is-open .acc2-inner { opacity: 1; transform: none; transition-delay: .08s; }
.acc2-inner p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 10px; max-width: 80ch; }
.acc2-bullets { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.8; columns: 2 260px; column-gap: 40px; }
.acc2-bullets li { break-inside: avoid; }
@media (max-width: 1000px) { .acc2-btn { grid-template-columns: 220px minmax(0, 1fr) 150px 24px; } .acc2-inner { padding-left: 240px; } }
@media (max-width: 700px) {
  .acc2-btn { grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 12px; }
  .acc2-title, .acc2-sub, .acc2-meta { grid-column: 1; }
  .acc2-sub { font-size: 14px; } .acc2-meta { text-align: left; font-size: 13px; }
  .acc2-icon { grid-column: 2; grid-row: 1 / span 3; }
  .acc2-inner { padding: 0 4px 22px; }
  .acc2-bullets { columns: 1; }
  .acc2-all { position: static; display: block; margin: -6px 0 8px auto; }
}
.skills2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.skills2-group { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 6px; }
.skills2-list { margin: 0; color: var(--muted); line-height: 1.75; font-size: 15px; }
.skills2-list span { white-space: nowrap; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .acc2-panel, .acc2-inner, .acc2-icon, .bio-more, .bio-inner { transition: none !important; } }

/* e-mail do rodapé em tamanho menor */
.contact .big { font-size: clamp(1.6rem, 3.2vw, 2.5rem); letter-spacing: -.015em; line-height: 1.15; }
.contact .big svg { width: .6em; height: .6em; }

/* palavra animada do topo: sempre em linha própria (sem pular de linha) e cursor só enquanto digita */
.hero2 h1 em { display: inline; }
.hero2 .word-type { text-align: left; }
.word-type:not(.typing) .wt-caret { display: none; }

/* Sobre: Experiência, Formação, Idiomas e Competências como títulos, com a lista logo abaixo */
.block-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 16px; color: var(--ink); padding-right: 140px; }
.acc2-all { top: calc(-16px - .5 * clamp(1.6rem, 2.6vw, 2.1rem) * 1.15 - 15px); }
@media (max-width: 700px) { .block-title { padding-right: 0; } }

/* =========================================================
   BOTÕES · mesmo tamanho e cor do site novo
   principal: violeta, 46px de altura; secundário: contorno
   ========================================================= */
:root { --accent-hover: #46198D; --line-strong: rgba(0, 0, 0, .22); }
:root[data-theme="dark"] { --accent: #C4B5FD; --accent-2: #DDD6FE; --accent-hover: #DDD6FE; --on-accent: #10181c; --line-strong: rgba(255, 255, 255, .28); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; min-height: 0; padding: 0 20px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--line-strong); transition: transform .15s, opacity .15s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* frase do topo em 3 linhas fixas */
.hero2 h1.hero-h1 { max-width: none; font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.hero2 h1.hero-h1 .hl { display: block; white-space: nowrap; width: max-content; }

/* página do case: título menor em violeta e descrição na largura toda */
.proj-title { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.08; color: var(--accent); max-width: 28ch; }
.proj-title em { color: inherit; }
.proj-lede { max-width: none; }

/* =========================================================
   CASE · diagramação do site novo (fontes desta opção)
   ========================================================= */
.case2 { padding-top: 116px; }
.case2 .case-top { padding-bottom: 0; }
.case-back { display: inline-block; color: var(--accent); font-weight: 500; font-size: 14px; margin-bottom: 40px; position: relative; }
.case-back::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.case-back:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.case2 .pcard-meta { margin-bottom: 10px; }
.case2 .proj-title { margin: 0 0 20px; max-width: 18ch; }
.case2 .proj-lede { font-family: var(--sans); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: none; margin: 0; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 36px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.case-meta dd { margin: 4px 0 0; font-weight: 500; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.case-nda { margin-top: 20px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 12px; }
.case-cover { margin-top: 48px; }
.case-cover img { width: 100%; aspect-ratio: 21 / 7; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 760px) { .case-cover img { aspect-ratio: 16 / 9; } }

.case-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; padding-top: 56px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc .micro { margin-bottom: 12px; font-weight: 600; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc button { display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 12.5px 0 12.5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.toc button:hover { color: var(--ink); }
.toc button.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 1080px) { .case-layout { grid-template-columns: 1fr; gap: 0; padding-top: 48px; } .toc { display: none; } }

.case-body { min-width: 0; max-width: 820px; padding-bottom: 32px; }
.case-body section { margin-bottom: 72px; scroll-margin-top: 90px; }
.case-body .case-flow { max-width: none; }
.case-h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; line-height: 1.12; color: var(--accent); margin: 0 0 24px; text-wrap: balance; }
.case-body h3.micro { display: flex; margin: 8px 0 10px; font-weight: 600; }
.case-p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 68ch; margin: 0 0 16px; }
.case-small { font-size: 14px; color: var(--muted); margin: -12px 0 16px; }
.challenge { margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.challenge .micro { margin-bottom: 8px; }
.challenge p { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.checklist--lg li { font-size: 16px; padding: 10px 0 10px 28px; }
.checklist--lg li::before { top: 17px; }

.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.persona { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.persona strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 6px; }
.persona p { margin: 0; font-size: 15px; color: var(--muted); }
.chips-soft { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips-soft li { font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.insight { padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: 14px; }
.insight-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.insight strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.22rem; line-height: 1.3; margin-bottom: 6px; }
.insight p { margin: 0; font-size: 15px; color: var(--muted); }

@keyframes item-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.cstages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cstage { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; animation: item-in .45s ease backwards; animation-delay: calc(var(--i) * 50ms); }
.cstage-top { display: flex; align-items: center; justify-content: space-between; min-height: 20px; }
.cstage-num { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cstage-ai { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px 1px 6px; }
.cstage-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.cstage-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cstage.is-off { background: transparent; border-style: dashed; }
.cstage.is-off .cstage-num, .cstage.is-off .cstage-title { color: var(--muted); }
.cstage.is-off .cstage-text { font-style: italic; }
@media (max-width: 760px) { .cstages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cstages { grid-template-columns: 1fr; gap: 8px; } }

.cf-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 16px; }
.cf-box .cf-scroller { border: 0; border-radius: 0; }
.cf-box.is-narrow .cf-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cf-hint { display: none; margin: 0; padding: 8px 20px 0; }
.cf-box.is-narrow .cf-hint { display: block; }
.cf-detail { border-top: 1px solid var(--line); padding: 24px 28px; }
.cf-detail .micro { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.cf-detail h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -.015em; }
.cf-detail p:last-child { margin: 0; color: var(--muted); max-width: 72ch; }
.cf-node { position: absolute; width: 178px; height: 104px; padding: 12px 14px; text-align: left; cursor: pointer; overflow: hidden; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; transition: box-shadow .2s, transform .2s, background .2s; }
.cf-node:hover { box-shadow: 0 0 0 2px var(--line-strong); }
.cf-node .pf-num { margin-bottom: 2px; }
.cf-type { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cf-node strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.02rem; line-height: 1.3; margin-top: 4px; }
.cf-node--insight { border-style: dashed; border-color: var(--ink); }
.cf-node--test { background: var(--tint); }
.cf-node--outcome { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cf-node--outcome .cf-type, .cf-node--outcome .pf-num { color: inherit; opacity: .85; }
.cf-node.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.cf-node.is-active .cf-type, .cf-node.is-active .pf-num { color: inherit; }
.cf-edge.is-on { stroke: var(--ink); stroke-width: 1.75; }
.cf-edge.is-flow { stroke-dasharray: 5 4; animation: dashflow .9s linear infinite; }

.cphases { list-style: none; padding: 0; margin: 0; position: relative; }
.cphases::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.cphase { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 32px; }
.cphase:last-child { padding-bottom: 0; }
.cphase-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cphase h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 8px 0 8px; }
.cphase p { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.cphase .cphase-deliv { font-size: 14px; }
.cphase-deliv span { font-weight: 600; color: var(--ink); }

.principles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.principles[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.principle { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.principle strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-bottom: 6px; }
.principle p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.case-video { margin: 8px 0 28px; }
.case-video video { display: block; width: auto; max-width: 100%; max-height: 640px; margin: 0 auto; background: #1f2024; border-radius: 14px; border: 1px solid var(--line); }
.case-video figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.case-video a { color: var(--accent); }

.cdecisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cdecision { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.cdecision:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.cdecision:nth-child(even) { padding-left: 32px; }
.cdecision strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.22rem; margin-bottom: 6px; }
.cdecision p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .cdecisions { grid-template-columns: 1fr; } .cdecision:nth-child(odd), .cdecision:nth-child(even) { padding: 20px 0; border-right: 0; } }

.cgallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cgallery figure { margin: 0; min-width: 0; }
.cgallery figure.is-wide { grid-column: 1 / -1; }
.cgallery button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--tint); cursor: zoom-in; }
.cgallery img { width: 100%; aspect-ratio: 1280 / 733; object-fit: cover; transition: transform .3s; }
.cgallery button:hover img { transform: scale(1.02); }
.cgallery--portrait { grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); }
.cgallery--portrait img { aspect-ratio: 9 / 16; }
.cgallery figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 560px) { .cgallery { grid-template-columns: 1fr; } }

.cmetrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0 0 28px; }
.cmetrics div { padding: 20px; background: var(--ink); color: var(--on-ink); border-radius: 14px; }
.cmetrics dt { font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cmetrics dd { margin: 8px 0 0; font-size: 14px; line-height: 1.4; }

.ai-case { background: var(--tint); border-radius: 14px; padding: 26px 28px; }
.ai-case h2 { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-weight: 600; }
.ai-case > p { font-size: 17px; line-height: 1.65; color: var(--ink); margin: 0 0 8px; }
.ai-case .ai-list li { font-size: 16px; }
.ai-results--case { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.learning { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45; letter-spacing: -.015em; color: var(--ink); margin: 0; }
.case-foot { padding-top: 32px; border-top: 1px solid var(--line); }
.tools-line { margin: 0 0 20px; color: var(--ink); font-size: 15px; line-height: 1.8; }
.tools-item { white-space: nowrap; }
.tools-dot { color: var(--accent); font-weight: 700; padding: 0 2px; }

.case-next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; margin: 24px 0 96px; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s; }
.case-next:hover { border-color: var(--ink); }
.case-next .micro { grid-column: 1; margin: 0; }
.case-next strong { grid-column: 1; font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em; }
.case-next svg { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--accent); }
/* celular: no case o "voltar" fica só no conteúdo, para o cabeçalho não estourar */
@media (max-width: 860px) { .nav-links.is-case { display: none; } .nav-links.is-case ~ .theme-btn { margin-left: auto; } }

/* Sobre: textos na largura toda */
.about2 .about-lead, .bio-inner .body-text, .about2 .body-text, .acc2-inner p { max-width: none; }

/* destaques do topo como texto, separados por ponto violeta */
.proof-line { margin: 28px 0 0; font-size: 15px; line-height: 1.8; color: var(--ink); }
.proof-item { white-space: nowrap; }
.proof-dot { color: var(--accent); font-weight: 700; font-size: 1.5em; line-height: 0; vertical-align: -.12em; padding: 0 .35em; }

/* a coluna do texto do topo nunca passa da largura da tela */
.hero2-grid > * { min-width: 0; }
.hero2 h1.hero-h1 { width: 100%; }

/* topo responsivo: foto maior e colunas equilibradas */
.hero2-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.hero2-photo { width: 100%; max-width: 540px; justify-self: end; }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-photo { justify-self: center; max-width: min(80vw, 440px); margin: 28px auto 0; }
  .float-chip.c1 { left: -18px; }
  .float-chip.c2 { right: -14px; }
  .badge { left: -6px; }
}
.proof-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0; row-gap: 6px; white-space: normal; max-width: 100%; }
.proof-item { white-space: nowrap; }
/* destaques: o ponto acompanha o item seguinte; ponto no início de linha fica oculto */
.proof-line { margin-left: -1.4em; overflow: hidden; padding: 2px 0; }
.proof-line .proof-dot { display: none; }
.proof-item { position: relative; padding-left: 1.4em; }
.proof-item::before { content: "·"; position: absolute; left: .42em; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; font-size: 1.5em; line-height: 1; }
.proof-line { clip-path: inset(-4px -4px -4px 1.4em); }
.proof-item { padding-left: 1.6em; }
.proof-line { margin-left: -1.6em; clip-path: inset(-4px -4px -4px 1.6em); }
.proof-item::before { left: .5em; font-size: 1.7em; }
.proof-item::before { left: .38em; }
/* destaques em uma linha só */
.proof-line { display: flex; flex-wrap: nowrap; margin-left: 0; clip-path: none; overflow: visible; white-space: nowrap; width: 100%; }
.proof-item { padding-left: 1.3em; }
.proof-item:first-child { padding-left: 0; }
.proof-item:first-child::before { content: none; }
.proof-item::before { left: .3em; }
/* celular: a linha continua única e desliza para o lado */
.proof-line.is-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.proof-line.is-scroll::-webkit-scrollbar { display: none; }

/* títulos em Geist (sem serifa, mais atual) */
:root { --serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; }
.a-title,
.acc h3,
.acc2-title,
.badge b,
.brand,
.card h3,
.case-h,
.case-next strong,
.cdecision strong,
.cf-detail h3,
.cf-node strong,
.challenge p,
.cmetrics dt,
.contact .big,
.cphase h3,
.cstage-title,
.explore-label,
.flow-panel h3,
.hero h1,
.hero2 h1,
.insight strong,
.j-co,
.learn,
.learning,
.map .m-label,
.marquee .item,
.mcard h4,
.metric b,
.node-dot,
.node-name,
.o-title,
.others h3,
.others2 h3,
.pcard h3,
.persona strong,
.pf-ai-text strong,
.pf-detail h3,
.pf-title,
.ph,
.principle strong,
.proj-lede,
.proj-meta dd,
.proj-title,
.quote,
.sec-head .count,
.sec-head h2,
.sec-heading,
.serif,
.skills2-group,
.stage-num,
.stage-title,
.stages .s-name,
.stat b,
.step h3,
.step-num,
.v-num,
.wr-name,
Formação,
Idiomas e Competências como títulos,
com a lista logo abaixo */
.block-title { font-weight: 500; letter-spacing: -.03em; font-style: normal; }
.a-title em,
.acc h3 em,
.acc2-title em,
.badge b em,
.brand em,
.card h3 em,
.case-h em,
.case-next strong em,
.cdecision strong em,
.cf-detail h3 em,
.cf-node strong em,
.challenge p em,
.cmetrics dt em,
.contact .big em,
.cphase h3 em,
.cstage-title em,
.explore-label em,
.flow-panel h3 em,
.hero h1 em,
.hero2 h1 em,
.insight strong em,
.j-co em,
.learn em,
.learning em,
.map .m-label em,
.marquee .item em,
.mcard h4 em,
.metric b em,
.node-dot em,
.node-name em,
.o-title em,
.others h3 em,
.others2 h3 em,
.pcard h3 em,
.persona strong em,
.pf-ai-text strong em,
.pf-detail h3 em,
.pf-title em,
.ph em,
.principle strong em,
.proj-lede em,
.proj-meta dd em,
.proj-title em,
.quote em,
.sec-head .count em,
.sec-head h2 em,
.sec-heading em,
.serif em,
.skills2-group em,
.stage-num em,
.stage-title em,
.stages .s-name em,
.stat b em,
.step h3 em,
.step-num em,
.v-num em,
.wr-name em,
Formação em,
Idiomas e Competências como títulos em,
com a lista logo abaixo */
.block-title em { font-style: normal; }
.hero2 h1.hero-h1 { font-weight: 500; letter-spacing: -.045em; line-height: 1.06; }
.hero2 h1 em, .proj-title em, .emph { font-style: normal; }
.brand { font-weight: 600; letter-spacing: -.025em; }
.quote { font-weight: 400; letter-spacing: -.015em; }

/* ---------- O que valorizo · timeline ---------- */
.vtl { position: relative; max-width: 1080px; margin: 64px auto 0; }
.vtl-list { list-style: none; margin: 0; padding: 0; position: relative; }
.vtl-line { position: absolute; top: 22px; bottom: 22px; left: 50%; width: 2px; transform: translateX(-50%); background: var(--line); border-radius: 2px; overflow: hidden; }
.vtl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent); transition: height .15s linear; }
.vtl-item { position: relative; width: 50%; padding: 0 64px 64px 0; }
.vtl-item:last-child { padding-bottom: 0; }
.vtl-item.is-right { margin-left: 50%; padding: 0 0 64px 64px; }
.vtl-item.is-right:last-child { padding-bottom: 0; }
.vtl-item.is-left .vtl-body { text-align: right; margin-left: auto; }
.vtl-body { max-width: 420px; }
.vtl-node { position: absolute; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); color: var(--soft); font-family: var(--sans); font-weight: 500; font-size: .85rem; letter-spacing: .02em; z-index: 1; transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.vtl-item.is-left .vtl-node { right: -23px; }
.vtl-item.is-right .vtl-node { left: -23px; }
.vtl-item.is-on .vtl-node { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.06); box-shadow: 0 0 0 7px var(--accent-soft); }
.vtl-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.025em; line-height: 1.2; margin: 8px 0 10px; color: var(--ink); transition: color .4s var(--ease); }
.vtl-item.is-on .vtl-body h3 { color: var(--accent); }
.vtl-body > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.vtl-practice { margin: 16px 0 0; display: inline-block; text-align: left; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; color: var(--ink); line-height: 1.5; }
.vtl-practice b { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 760px) {
  .vtl { margin-top: 40px; }
  .vtl-line { left: 23px; transform: none; }
  .vtl-item, .vtl-item.is-right { width: auto; margin-left: 0; padding: 0 0 44px 72px; }
  .vtl-item:last-child, .vtl-item.is-right:last-child { padding-bottom: 0; }
  .vtl-item.is-left .vtl-body { text-align: left; margin-left: 0; }
  .vtl-item.is-left .vtl-node, .vtl-item.is-right .vtl-node { left: 0; right: auto; }
  .vtl-body h3 { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vtl-fill, .vtl-node, .vtl-body h3 { transition: none; } }
@media (min-width: 761px) { .vtl-item + .vtl-item { margin-top: -96px; } }
@media (max-width: 440px) { .brand { font-size: 1.12rem; } .nav-inner { gap: 10px; } }
@media (max-width: 350px) { .brand { font-size: .98rem; } .nav-inner { gap: 6px; } .lang button { padding-left: 9px; padding-right: 9px; } .theme-btn { width: 36px; height: 36px; } }

/* ---------- O que valorizo · timeline horizontal ---------- */
.htl { position: relative; margin-top: 48px; }
.htl-ctrl { display: flex; justify-content: flex-end; gap: 10px; margin: -96px 0 48px; }
.htl-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.htl-btn svg { width: 20px; height: 20px; }
.htl-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.htl-btn:disabled { opacity: .35; cursor: default; }
.htl-track { overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); transition: -webkit-mask-image .3s; }
.htl.at-end .htl-track { -webkit-mask-image: none; mask-image: none; }
.htl-track::-webkit-scrollbar { display: none; }
.htl-track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.htl-track:focus-visible { outline-offset: 6px; }
.htl-list { list-style: none; margin: 0; padding: 0 0 0 0; display: flex; gap: 40px; position: relative; width: max-content; }
.htl-line { position: absolute; top: 22px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.htl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.htl-item { flex: 0 0 clamp(260px, 27vw, 330px); scroll-snap-align: start; position: relative; }
.htl-item:last-child { margin-right: 8vw; }
.htl-node { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); color: var(--soft); font-weight: 500; font-size: .85rem; transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.htl-item.is-on .htl-node { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 7px var(--accent-soft); }
.htl-body { margin-top: 26px; padding-right: 8px; }
.htl-body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 10px; color: var(--ink); transition: color .5s var(--ease); }
.htl-item.is-on .htl-body h3 { color: var(--accent); }
.htl-body > p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.htl-practice { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); font-size: .9rem; color: var(--ink); line-height: 1.5; }
.htl-practice b { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 760px) {
  .htl-ctrl { margin: 0 0 28px; justify-content: flex-start; }
  .htl-item { flex-basis: 78vw; }
  .htl-list { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .htl-fill, .htl-node, .htl-body h3 { transition: none; } }
/* "Na prática" aparece ao passar o mouse (ou focar com teclado) */
.htl-pr { margin-top: 18px; border-radius: 12px; padding: 12px 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.htl-pr-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.htl-pr-label i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; flex: none; transition: transform .4s var(--ease); }
.htl-pr-label i::before, .htl-pr-label i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.htl-pr-label i::after { transform: translate(-50%, -50%) rotate(90deg); }
.htl-pr-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s var(--ease); }
.htl-pr-wrap > p { overflow: hidden; margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.htl-item:hover .htl-pr, .htl-item:focus-within .htl-pr { background: var(--accent-soft); box-shadow: inset 0 0 0 1px transparent; }
.htl-item:hover .htl-pr-wrap, .htl-item:focus-within .htl-pr-wrap { grid-template-rows: 1fr; opacity: 1; }
.htl-item:hover .htl-pr-wrap > p, .htl-item:focus-within .htl-pr-wrap > p { padding-top: 6px; }
.htl-item:hover .htl-pr-label i, .htl-item:focus-within .htl-pr-label i { transform: rotate(45deg); }
.htl-item:hover .htl-node { transform: scale(1.08); }
.htl-node { transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease); }
.htl-item { outline: none; }
.htl-item:focus-visible .htl-body h3 { text-decoration: underline; text-underline-offset: 4px; }
.htl-list { align-items: flex-start; }
/* telas de toque (sem mouse): mostra sempre */
@media (hover: none) {
  .htl-pr { background: var(--accent-soft); box-shadow: none; }
  .htl-pr-wrap { grid-template-rows: 1fr; opacity: 1; }
  .htl-pr-wrap > p { padding-top: 6px; }
  .htl-pr-label i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .htl-pr, .htl-pr-wrap, .htl-pr-label i { transition: none; } }
.htl.is-measure .htl-pr-wrap, .htl.is-measure .htl-pr-wrap > p { transition: none !important; }
.htl.is-measure .htl-pr-wrap { grid-template-rows: 1fr; }
.htl.is-measure .htl-pr-wrap > p { padding-top: 6px; }
/* palavras animadas do topo em bold */
.hero2 h1.hero-h1 em, .hero2 h1.hero-h1 .word-type { font-weight: 700; letter-spacing: -.05em; }
/* "Na prática" abre só com o mouse sobre o número da timeline */
@media (hover: hover) {
  .htl-item:hover .htl-pr, .htl-item:focus-within .htl-pr { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
  .htl-item:hover .htl-pr-wrap, .htl-item:focus-within .htl-pr-wrap { grid-template-rows: 0fr; opacity: 0; }
  .htl-item:hover .htl-pr-wrap > p, .htl-item:focus-within .htl-pr-wrap > p { padding-top: 0; }
  .htl-item:hover .htl-pr-label i, .htl-item:focus-within .htl-pr-label i { transform: none; }
  .htl-item:hover .htl-node { transform: none; }
  .htl-node { cursor: pointer; }
  .htl-item .htl-node:hover { transform: scale(1.12); }
  .htl-item .htl-node:hover ~ .htl-body .htl-pr,
  .htl-item:focus-visible .htl-pr { background: var(--accent-soft); box-shadow: inset 0 0 0 1px transparent; }
  .htl-item .htl-node:hover ~ .htl-body .htl-pr-wrap,
  .htl-item:focus-visible .htl-pr-wrap { grid-template-rows: 1fr; opacity: 1; }
  .htl-item .htl-node:hover ~ .htl-body .htl-pr-wrap > p,
  .htl-item:focus-visible .htl-pr-wrap > p { padding-top: 6px; }
  .htl-item .htl-node:hover ~ .htl-body .htl-pr-label i,
  .htl-item:focus-visible .htl-pr-label i { transform: rotate(45deg); }
}
/* "Na prática" totalmente oculto até passar o mouse no número */
.htl-hint { display: none; }
@media (hover: hover) {
  .htl-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .85rem; color: var(--accent); }
  .htl-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
  .htl .htl-pr { opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; background: var(--accent-soft) !important; box-shadow: none !important; }
  .htl .htl-pr-label i { display: none; }
  .htl .htl-pr-wrap { grid-template-rows: 1fr !important; opacity: 1 !important; transition: none; }
  .htl .htl-pr-wrap > p { padding-top: 6px !important; }
  .htl-item .htl-node:hover ~ .htl-body .htl-pr,
  .htl-item:focus-visible .htl-pr { opacity: 1; transform: none; visibility: visible; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
}
/* itens da timeline mais estreitos */
.htl-item { flex-basis: clamp(210px, 19vw, 250px); }
.htl-list { gap: 32px; }
@media (max-width: 760px) { .htl-item { flex-basis: 64vw; } .htl-list { gap: 20px; } }
/* timeline em curva, como as linhas do topo */
.htl-line { position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; overflow: visible; border-radius: 0; pointer-events: none; }
.htl-svg { display: block; overflow: visible; }
.htl-base, .htl-prog, .htl-tail { fill: none; stroke-linecap: round; }
.htl-base { stroke: var(--accent); stroke-opacity: .22; stroke-width: 1.6; }
.htl-tail { stroke: var(--accent); stroke-opacity: .22; stroke-width: 1.6; stroke-dasharray: 2 7; }
.htl-prog { stroke: var(--accent); stroke-width: 2; transition: stroke-dashoffset .8s var(--ease); }
.htl-item { padding-top: var(--dy, 0px); }
.htl-list { padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .htl-prog { transition: none; } }
/* selo do topo em uma linha no celular */
@media (max-width: 600px) { .hero2 .eyebrow { font-size: clamp(.58rem, 2.85vw, .8rem); letter-spacing: .08em; gap: 8px; white-space: nowrap; margin-bottom: 28px; } .hero2 .eyebrow::before { width: 6px; height: 6px; } }
/* indicadores de resultados: fundo violeta, ícone fino e menor */
.cmetrics div { background: var(--accent); color: var(--on-accent); }
.cmetrics dd { color: var(--on-accent); opacity: .92; }
.cmetrics dt.cm-ico { line-height: 0; }
.cmetrics dt.cm-ico svg { width: 26px; height: 26px; display: block; }
/* botão de tema colado ao seletor de idioma */
.nav-inner .theme-btn + .lang { margin-left: -18px; }
@media (max-width: 860px) {
  .nav-inner .theme-btn, .nav-links.is-case ~ .theme-btn { margin-left: auto; }
  .nav-inner .theme-btn + .lang { margin-left: -18px; }
}
@media (max-width: 440px) { .nav-inner .theme-btn + .lang { margin-left: -2px; } }
@media (max-width: 350px) { .nav-inner .theme-btn + .lang { margin-left: 0; } }
/* Processos de trabalho: descrição em uma linha e fluxograma + definições num bloco só */
.pf-sec .sec-lead { max-width: none; }
@media (min-width: 1100px) { .pf-sec .sec-lead { white-space: nowrap; font-size: min(1.05rem, 1.18vw); } }
.pf-block { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.pf-block .pf-box { margin-bottom: 0; }
.pf-block .pf-scroller { border: 0; border-radius: 0; }
.pf-block .pf-box.is-narrow::after { top: 0; right: 0; height: 100%; border-radius: 0; }
.pf-block .pf-box.is-narrow .pf-hint { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
.pf-block .pf-detail { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.pf-block .pf-detail { border-top: 0; }
/* Outros trabalhos: título no mesmo tamanho da lista de Experiência */
.others2 .o-title { font-family: var(--serif); font-size: 1.22rem; letter-spacing: -.01em; line-height: 1.55; font-weight: 400; }
/* cases: Métodos utilizados em texto, separados por ponto violeta */
.meth-line { list-style: none; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin: 10px 0 28px -1.4em; padding: 0; clip-path: inset(-6px -6px -6px 1.4em); font-size: 1.02rem; line-height: 1.7; color: var(--ink); }
.meth-item { position: relative; padding-left: 1.4em; white-space: nowrap; }
.meth-item::before { content: "·"; position: absolute; left: .4em; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; font-size: 1.7em; line-height: 1; }
/* Mapa do processo nos cases: respiro entre o título e a borda inferior do card */
.cf-node { height: 120px; padding: 12px 14px 16px; display: flex; flex-direction: column; align-items: flex-start; }
.cf-node strong { margin-top: 6px; }
.cf-node { height: 136px; }
.cf-node { height: 116px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 10px; align-items: center; align-content: start; }
.cf-node .pf-num { margin: 0; grid-column: 1; }
.cf-node .cf-type { grid-column: 2; }
.cf-node strong { grid-column: 1 / -1; align-self: start; margin-top: 8px; }
/* projetos em destaque: descrição em 2 linhas com reticências */
.pcard-sum { -webkit-line-clamp: 2; line-clamp: 2; max-height: calc(2 * 1.55em); line-height: 1.55; }
/* cases: imagem de marca (logomarca) dentro de uma seção */
.case-brand { margin: 8px 0 28px; border-radius: var(--r); background: var(--bg-2); display: grid; place-items: center; padding: clamp(40px, 8vw, 96px) clamp(24px, 6vw, 72px); }
.case-brand img { width: 100%; max-width: 520px; height: auto; display: block; }
/* cases: vitrine com páginas inteiras (desktop + mobile lado a lado, na escala real) */
.cshowcase { display: grid; gap: clamp(12px, 2vw, 24px); align-items: start; padding: clamp(14px, 2.4vw, 28px); margin: 0 0 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.cshowcase figure { margin: 0; min-width: 0; }
.cshowcase button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.cshowcase img { display: block; width: 100%; height: auto; }
.cshowcase figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
/* cases: home dentro de um navegador e de um celular, com rolagem */
.cshowcase2 { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 22%, 250px); gap: clamp(16px, 3vw, 40px); align-items: end; margin: 0 0 10px; }
.cshowcase2 figure { margin: 0; min-width: 0; }
.cshowcase2 figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.mk-window { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(16,24,40,.35); }
.mk-bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; background: #eceef1; border-bottom: 1px solid #dcdfe4; }
.mk-dots { display: inline-flex; gap: 6px; flex: none; }
.mk-dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9ccd2; }
.mk-dots i:nth-child(1) { background: #ff5f57; } .mk-dots i:nth-child(2) { background: #febc2e; } .mk-dots i:nth-child(3) { background: #28c840; }
.mk-url { flex: 1; max-width: 360px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; color: #5b616b; font-size: 12px; line-height: 22px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 10px; }
.mk-view { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.35) transparent; background: #1f2732; }
.mk-view img { display: block; width: 100%; height: auto; }
.mk-view:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mk-browser .mk-view { aspect-ratio: 16 / 10; }
.mk-device { position: relative; padding: 10px; border-radius: 34px; background: #14171c; box-shadow: 0 0 0 1px #2a2f37 inset, 0 24px 48px -24px rgba(16,24,40,.45); }
.mk-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 34%; height: 16px; border-radius: 12px; background: #14171c; z-index: 2; }
.mk-phone .mk-view { aspect-ratio: 390 / 844; border-radius: 25px; }
.mk-phone .mk-view::-webkit-scrollbar { width: 0; }
.mk-phone .mk-view { scrollbar-width: none; }
.mk-hint { margin: 0 0 28px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .cshowcase2 { grid-template-columns: 1fr; justify-items: center; } .cshowcase2 .mk-browser { width: 100%; } .cshowcase2 .mk-phone { width: min(260px, 70vw); } }
/* vitrine maior: telas mais altas para a pessoa rolar e ler o conteúdo */
.cshowcase2 { grid-template-columns: minmax(0, 1fr) clamp(200px, 26%, 280px); align-items: start; }
.mk-browser .mk-view { aspect-ratio: auto; height: clamp(360px, 62vh, 600px); }
.mk-phone .mk-view { aspect-ratio: auto; height: clamp(360px, calc(62vh + 14px), 614px); }
@media (max-width: 640px) { .mk-browser .mk-view { height: 60vh; } .mk-phone .mk-view { height: 70vh; } }
@media (max-width: 640px) { .cshowcase2 { grid-template-columns: 1fr; justify-items: center; } .cshowcase2 .mk-browser { width: 100%; } .cshowcase2 .mk-phone { width: min(280px, 78vw); } }
/* vitrine empilhada: desktop numa linha, celular na linha de baixo */
.cshowcase2 { grid-template-columns: 1fr; justify-items: center; gap: 40px; }
.cshowcase2 .mk-browser { width: 100%; }
.cshowcase2 .mk-phone { width: min(300px, 78vw); }
.mk-browser .mk-view { height: clamp(380px, 68vh, 640px); }
.mk-phone .mk-view { height: auto; aspect-ratio: 390 / 844; }
/* barra de rolagem sempre visível nas duas telas (deixa claro que dá para rolar) */
.mk-view, .mk-phone .mk-view { scrollbar-width: auto; scrollbar-color: var(--accent) rgba(255,255,255,.18); }
.mk-view::-webkit-scrollbar { width: 12px; }
.mk-phone .mk-view::-webkit-scrollbar { width: 8px; }
.mk-view::-webkit-scrollbar-track { background: rgba(255,255,255,.14); }
.mk-view::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; min-height: 48px; }
.mk-phone .mk-view::-webkit-scrollbar-thumb { border-width: 2px; }
.mk-view::-webkit-scrollbar-thumb:hover { background-color: var(--accent-2, var(--accent)); }
.mk-phone .mk-view { scrollbar-width: thin; }
/* barra própria: trilho + alça sempre visíveis à direita da tela */
.mk-scroll { position: relative; }
.mk-view, .mk-phone .mk-view { scrollbar-width: none; }
.mk-view::-webkit-scrollbar { width: 0; height: 0; display: none; }
.mk-rail { position: absolute; top: 8px; bottom: 8px; right: 6px; width: 8px; border-radius: 999px; background: rgba(255,255,255,.22); box-shadow: 0 0 0 1px rgba(0,0,0,.12); cursor: pointer; z-index: 3; transition: width .2s; }
.mk-thumb { position: absolute; left: 0; right: 0; top: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: grab; touch-action: none; }
.mk-scroll:hover .mk-rail, .mk-scroll.is-drag .mk-rail { width: 10px; }
.mk-scroll.is-drag .mk-thumb { cursor: grabbing; }
.mk-phone .mk-rail { right: 5px; top: 30px; bottom: 18px; width: 5px; }
.mk-phone .mk-scroll:hover .mk-rail { width: 7px; }
.mk-rail { width: 10px; right: 8px; background: rgba(0,0,0,.38); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.mk-scroll:hover .mk-rail, .mk-scroll.is-drag .mk-rail { width: 12px; }
.mk-phone .mk-rail { width: 6px; right: 6px; }
.mk-phone .mk-scroll:hover .mk-rail { width: 8px; }
/* barra do desktop mais fina */
.mk-browser .mk-rail { width: 6px; right: 6px; }
.mk-browser .mk-scroll:hover .mk-rail, .mk-browser .mk-scroll.is-drag .mk-rail { width: 8px; }
/* navegador no mesmo estilo do celular: moldura escura, cantos arredondados e tela interna */
.mk-window { background: #14171c; border-radius: 22px; padding: 0 10px 10px; box-shadow: 0 0 0 1px #2a2f37 inset, 0 24px 48px -24px rgba(16,24,40,.45); overflow: visible; }
.mk-bar { height: 40px; padding: 0 6px; background: transparent; border-bottom: 0; gap: 12px; }
.mk-dots i { width: 11px; height: 11px; opacity: .9; }
.mk-url { background: #262b33; color: #aeb4bd; height: 24px; line-height: 24px; border-radius: 12px; font-size: 12px; }
.mk-browser .mk-view { border-radius: 14px; }
.mk-browser .mk-scroll { border-radius: 14px; overflow: hidden; }
/* tela do desktop responsiva: ocupa toda a largura dos artefatos e mantém proporção de monitor */
.cshowcase2 .mk-browser { width: 100%; justify-self: stretch; }
.mk-browser .mk-view { height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 640px) { .mk-browser .mk-view { height: auto; aspect-ratio: 16 / 11; } .mk-window { border-radius: 16px; padding: 0 6px 6px; } .mk-bar { height: 32px; } .mk-dots i { width: 8px; height: 8px; } .mk-url { height: 20px; line-height: 20px; font-size: 11px; } }
/* foto do topo um pouco menor; o container (e os chips/linhas em volta) mantém o tamanho */
.hero2-photo > img { width: 86%; margin: 7% auto; display: block; }
/* "O que aprendi": mesmo tamanho do texto do contexto, ocupando toda a largura */
.case-body .learning { font-family: var(--sans); font-size: 18px; line-height: 1.7; font-weight: 400; letter-spacing: normal; color: var(--muted); max-width: none; width: 100%; }

/* case titles use full width */
.proj-title, .case2 .proj-title { max-width: none; text-wrap: pretty; }

/* brand book (manual de marca diagramado no case) */
.bb-hero { border-radius: var(--r); background: radial-gradient(120% 140% at 85% 0%, #2a8fd0 0%, #0B78B7 35%, #085A8A 100%); padding: clamp(18px, 5vw, 64px); }
.bb-page { margin: 0; min-width: 0; }
.bb-page button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.bb-page img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s var(--ease); }
.bb-page button:hover img { transform: scale(1.015); }
.bb-page button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bb-page figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.bb-hero .bb-page button { border: 0; border-radius: 10px; box-shadow: 0 30px 70px rgba(4, 30, 50, .45); }
.bb-hero .bb-page figcaption { color: rgba(255, 255, 255, .82); }
.bb-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.bb-cta--end { margin-top: 48px; padding: 24px; border-radius: var(--r); background: var(--tint); }
.bb-meta { font-size: 14px; color: var(--muted); }
.bb-chapter { margin-top: clamp(40px, 6vw, 64px); }
.bb-chead { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 22px; }
.bb-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: .85; color: var(--accent); letter-spacing: -.03em; }
.bb-chead h3 { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.bb-chead p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.bb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.bb-grid .is-wide { grid-column: 1 / -1; }
.bb-colors { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.bb-colors li { border-radius: 12px; min-height: 150px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; font-size: 12.5px; line-height: 1.35; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.bb-cn { font-weight: 600; font-size: 15px; }
.bb-ch { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bb-cs { opacity: .8; }
@media (max-width: 640px) { .bb-grid { grid-template-columns: 1fr; gap: 20px; } .bb-colors li { min-height: 110px; } .bb-hero { padding: 14px; } }

/* galeria em pilha: uma imagem por linha, largura total */
.cgallery--stack { grid-template-columns: 1fr; gap: 28px; }
.cgallery--stack img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* card de destaque dentro de uma lista de itens (ex.: nome escolhido) */
.principle.is-hl { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.principle.is-hl strong, .principle.is-hl p { color: var(--on-accent); }

/* botões em violeta (accent), respeitando os tokens de light e dark mode */
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.lang button:not([aria-pressed="true"]):hover { color: var(--accent); }
.theme-btn { color: var(--accent); border-color: var(--accent-line); }
.theme-btn:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn { color: var(--accent); border-color: var(--accent); }
.btn:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.htl-btn { color: var(--accent); border-color: var(--accent-line); }

/* decisões de design no formato registro de decisão (Design Decision Record) */
.dr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dr { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.dr-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dr-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .85; font-weight: 600; letter-spacing: -.04em; color: var(--accent); }
.dr-tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 10px; border-radius: 999px; }
.dr-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.18; letter-spacing: -.015em; color: var(--ink); margin: 0 0 20px; text-wrap: balance; }
.dr-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.dr--img .dr-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.dr--img.dr--alt .dr-fig { order: -1; }
.dr--img .dr-part { grid-template-columns: 1fr; gap: 4px; }

.dr-parts { margin: 0; display: grid; gap: 0; }
.dr-part { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.dr-part:first-child { border-top: 0; padding-top: 0; }
.dr-part dt { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.dr-part dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2, var(--ink)); }
.dr-part.is-decision dd { color: var(--ink); font-weight: 500; }
.dr-part.is-discarded dd { color: var(--muted); }
.dr-part.is-discarded dt::before { content: "✕"; margin-right: 6px; letter-spacing: 0; }
.dr-part.is-impact dt::before { content: "↗"; margin-right: 6px; letter-spacing: 0; }
.dr-part.is-impact dt { color: var(--accent); }
.dr-fig { margin: 0; }
.dr-fig img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.dr-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .dr--img .dr-body { grid-template-columns: 1fr; } .dr--img.dr--alt .dr-fig { order: 0; } }
@media (max-width: 640px) {
  .dr { grid-template-columns: 1fr; padding: 28px 0; }
  .dr-head { flex-direction: row; align-items: center; gap: 14px; }
  .dr-part { grid-template-columns: 1fr; gap: 4px; }
}

/* Decision Record — layout sem imagem (2x2 editorial) */
.dr:not(.dr--img) .dr-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dr:not(.dr--img) .dr-part { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, transparent); }
.dr:not(.dr--img) .dr-part:first-child { padding-top: 20px; border-top: 1px solid var(--line); }
.dr:not(.dr--img) .dr-part dt { margin-bottom: 8px; padding-top: 0; }
.dr:not(.dr--img) .dr-part.is-decision { border-color: var(--accent-line); box-shadow: inset 3px 0 0 var(--accent); }
.dr:not(.dr--img) .dr-part.is-decision dt { color: var(--accent); }
.dr:not(.dr--img) .dr-part.is-decision dd { font-size: 16.5px; }
.dr:not(.dr--img) .dr-part.is-discarded { border-style: dashed; background: transparent; }
.dr:not(.dr--img) .dr-part.is-impact { background: var(--accent-soft); border-color: var(--accent-line); }
.dr:not(.dr--img) .dr-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 22px; }
@media (max-width: 640px) { .dr:not(.dr--img) .dr-parts { grid-template-columns: 1fr; } .dr:not(.dr--img) .dr-part { padding: 16px 18px; } }

/* Decision Record — accordion */
.dr.dr--acc { display: block; padding: 0; }
.dr--acc details > summary { list-style: none; }
.dr--acc details > summary::-webkit-details-marker { display: none; }
.dr-sum { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; border-radius: 12px; }
.dr-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dr-sumtxt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dr--acc .dr-title { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.9rem); transition: color .2s; }
.dr-sum:hover .dr-title { color: var(--accent); }
.dr-chev { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); transition: transform .25s ease, background .2s, color .2s; }
.dr-sum:hover .dr-chev { background: var(--accent-soft); }
.dr--acc details[open] .dr-chev { transform: rotate(180deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.dr-panel { padding: 0 0 32px 120px; }
.dr--acc details[open] .dr-panel { animation: drIn .3s ease; }
@keyframes drIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dr--acc details[open] .dr-panel { animation: none; } .dr-chev { transition: none; } }
.dr--acc .dr-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .dr-panel { padding-left: 0; } }
@media (max-width: 640px) {
  .dr-sum { grid-template-columns: auto minmax(0, 1fr) 40px; gap: 14px; padding: 22px 0; align-items: start; }
  .dr-chev { width: 40px; height: 40px; }
  .dr--acc .dr-num { font-size: 2.2rem; }
  .dr--acc .dr-parts { grid-template-columns: 1fr; }
  .dr-panel { padding-bottom: 24px; }
}

/* Decision accordion — ícone igual ao de Experiência + títulos menores */
.dr-sum { grid-template-columns: 80px minmax(0, 1fr) 24px; gap: 24px; padding: 24px 4px; }
.dr--acc .dr-num { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.dr.dr--acc .dr-sum .dr-title { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.3; margin: 0; }
.dr-sumtxt { gap: 8px; }
.dr-chev, .dr-sum:hover .dr-chev { position: relative; width: 24px; height: 24px; border: 1px solid var(--accent); border-radius: 50%; justify-self: end; background: transparent; transition: transform .45s var(--ease), background .3s ease, border-color .3s ease; }
.dr-chev::before, .dr-chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .3s ease; }
.dr-chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.dr-sum:hover .dr-chev { background: var(--accent-soft); }
.dr--acc details[open] .dr-chev { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.dr--acc details[open] .dr-sum:hover .dr-chev { background: var(--accent-2); border-color: var(--accent-2); }
.dr--acc details[open] .dr-chev::before, .dr--acc details[open] .dr-chev::after { background: var(--on-accent); }
.dr--acc details[open] .dr-chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.dr-panel { padding-left: 104px; }
@media (max-width: 900px) { .dr-panel { padding-left: 0; } }
@media (max-width: 640px) { .dr-sum { grid-template-columns: auto minmax(0, 1fr) 24px; gap: 14px; padding: 20px 2px; } .dr-chev { width: 24px; height: 24px; margin-top: 4px; } .dr--acc .dr-num { font-size: 1.9rem; } }
@media (prefers-reduced-motion: reduce) { .dr-chev, .dr-chev::before, .dr-chev::after { transition: none; } }

/* Tag à direita, ao lado do botão */
.dr-sum { grid-template-columns: 80px minmax(0, 1fr) auto 24px; gap: 20px; }
.dr-sum .dr-tag { justify-self: end; white-space: nowrap; }
@media (max-width: 640px) {
  .dr-sum { grid-template-columns: auto minmax(0, 1fr) 24px; grid-template-areas: "num title chev" "num tag chev"; row-gap: 8px; }
  .dr-sum .dr-num { grid-area: num; } .dr-sum .dr-sumtxt { grid-area: title; } .dr-sum .dr-chev { grid-area: chev; }
  .dr-sum .dr-tag { grid-area: tag; justify-self: start; white-space: normal; }
}
.dr.dr--acc .dr-sum .dr-title { text-wrap: pretty; }

/* Sem tags no accordion */
.dr-sum { grid-template-columns: 80px minmax(0, 1fr) 24px; }
@media (max-width: 640px) { .dr-sum { grid-template-columns: auto minmax(0, 1fr) 24px; grid-template-areas: "num title chev"; } }

/* Títulos padronizados na cor de "Selected work" (texto principal) */
.proj-title, .proj-title em, .case-h { color: var(--ink); }
.pf-ai-eyebrow { color: var(--ink); }
.hero2 h1 em, .hero2 h1 .word-type { color: var(--accent); }
.hero2 h1 .wt-caret { background: var(--accent); }

/* Imagens da pesquisa, empilhadas */
.research-figs { display: grid; gap: 28px; margin-top: 40px; }
.research-fig { margin: 0; }
.research-fig img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.research-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (min-width: 641px) { .insights:has(> .insight:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
