/* Home v2 — "inteligência viva": hero com partículas que se reorganizam (M7 → empresa → casa → prédio),
   diagrama animado do cérebro M7 e blocos em vidro. Display Syne, texto Inter, rótulos JetBrains Mono. */
:root {
  --void: #04050a;
  --glass: rgba(255, 255, 255, .035);
  --glass-line: rgba(158, 180, 213, .14);
  --ice: #9eb4d5;
  --ice-hi: #d6e3f5;
  --ember: #ee4553;
  --f-hero: "Syne", "Space Grotesk", system-ui, sans-serif;
}
body.home { background: var(--void); }
body.home::before { background: var(--void); }

/* Cabeçalho flutuante em pílula */
body.home .top { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 12px; }
body.home .top .wrap { background: rgba(8, 10, 16, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--glass-line); border-radius: 999px; min-height: 60px; max-width: 1160px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) { body.home .top .wrap { border-radius: 18px; margin-inline: 12px; } body.home .nav { border-radius: 0 0 18px 18px; } }

/* HERO */
.x-hero { position: relative; min-height: min(860px, 100svh); margin-top: -84px; padding-top: 84px; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.x-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 74% 48%, rgba(158,180,213,.10), transparent 70%),
  radial-gradient(40% 40% at 88% 80%, rgba(238,69,83,.10), transparent 70%),
  linear-gradient(180deg, #05070d 0%, var(--void) 100%); }
.x-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1; background: linear-gradient(180deg, transparent, var(--void)); pointer-events: none; }
.x-grid { position: absolute; inset: 0; z-index: -2; opacity: .35; background-image: linear-gradient(rgba(158,180,213,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(158,180,213,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 30% 50%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 30% 50%, #000 30%, transparent 75%); }
.x-hero .wrap { width: 100%; padding-block: 72px 96px; }
.x-copy { max-width: 680px; display: flex; flex-direction: column; gap: 28px; }
.x-kicker { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice-hi); padding: 9px 14px; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); }
.x-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 1.8s infinite; }
.x-title { font: 800 clamp(2rem, 8.4vw, 4.8rem)/.95 var(--f-hero); letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.x-title em { font-style: normal; background: linear-gradient(100deg, var(--ice-hi) 10%, var(--ice) 45%, var(--ember) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-rot { display: flex; align-items: baseline; gap: 14px; font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 var(--f-hero); letter-spacing: -.02em; color: var(--muted); min-height: 1.3em; }
.x-rot b { color: var(--fg); font-weight: 700; position: relative; display: inline-block; }
.x-rot b.swap { animation: swapin .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes swapin { from { transform: translateY(.45em); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.x-rot .dots { display: inline-flex; gap: 6px; margin-left: 4px; }
.x-rot .dots span { width: 22px; height: 3px; border-radius: 3px; background: rgba(158,180,213,.22); transition: background .3s ease; }
.x-rot .dots span.on { background: var(--ember); }
.x-sub { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 52ch; }
.x-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glow { position: relative; background: var(--ember); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 12px 40px -8px rgba(238,69,83,.65); }
.btn-glow:hover { background: #ff5664; }
.btn-glass { background: var(--glass); border-color: var(--glass-line); color: var(--fg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--ice); }
.x-hint { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 36px; font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(214,227,245,.5); text-align: right; }
@media (max-width: 900px) {
  .x-hero { min-height: 0; align-items: flex-end; }
  .x-hero .wrap { padding-block: 300px 64px; }
  .x-hint { display: none; }
}

/* Faixa rolante de capacidades */
.x-marquee { border-block: 1px solid var(--glass-line); overflow: hidden; background: rgba(255,255,255,.015); }
.x-track { display: flex; gap: 48px; width: max-content; padding-block: 20px; animation: slide 38s linear infinite; }
.x-track span { font: 600 1.15rem/1 var(--f-hero); letter-spacing: -.01em; color: rgba(214,227,245,.72); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.x-track span::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--ember); opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Seções */
.x-sec { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.x-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin-bottom: 56px; }
.x-h2 { font: 700 clamp(2.1rem, 4.6vw, 3.9rem)/.98 var(--f-hero); letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.x-h2 em { font-style: normal; color: var(--ember); }
.x-label { font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }

/* Cérebro M7 (diagrama animado) */
.brain { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: stretch; }
.brain > * { min-width: 0; }
@media (max-width: 1000px) { .brain { grid-template-columns: 1fr; } }
.brain-stage { border: 1px solid var(--glass-line); border-radius: 26px; background: radial-gradient(60% 70% at 50% 50%, rgba(158,180,213,.07), transparent 70%), rgba(255,255,255,.015); overflow-x: auto; }
.brain-stage svg { display: block; width: 100%; min-width: 620px; height: auto; }
.brain-stage .wire { fill: none; stroke: rgba(158,180,213,.16); stroke-width: 1.4; }
.brain-stage .node rect { fill: #0b0f17; stroke: rgba(158,180,213,.22); stroke-width: 1; transition: stroke .3s ease, fill .3s ease; }
.brain-stage .node text { fill: #d6e3f5; font: 500 15px var(--f-body); }
.brain-stage .node .k { fill: #7e8ba0; font: 500 10px var(--f-mono); letter-spacing: .12em; }
.brain-stage .node.hot rect { stroke: var(--ember); fill: #1a0d11; }
.brain-stage .node.hot.out rect { stroke: var(--ice-hi); fill: #0f1724; }
.brain-stage .core-ring { fill: none; stroke: rgba(238,69,83,.5); stroke-width: 1.2; transform-origin: 500px 230px; animation: spin 14s linear infinite; stroke-dasharray: 4 10; }
.brain-stage .core-ring.b { stroke: rgba(158,180,213,.45); animation-duration: 22s; animation-direction: reverse; stroke-dasharray: 2 6; }
@keyframes spin { to { transform: rotate(360deg); } }
.brain-stage .core-txt { fill: #fff; font: 800 30px var(--f-hero); letter-spacing: -.04em; }
.brain-stage .core-sub { fill: #9eb4d5; font: 500 10px var(--f-mono); letter-spacing: .18em; }
.brain-stage .pulse { filter: drop-shadow(0 0 6px currentColor); }
.feed { border: 1px solid var(--glass-line); border-radius: 26px; background: rgba(255,255,255,.02); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.feed-head { display: flex; justify-content: space-between; align-items: center; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.feed-head b { color: var(--wa); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.feed-head b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wa); animation: pulse 1.6s infinite; }
.feed ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.feed li { border-left: 2px solid var(--ember); padding: 4px 0 4px 12px; animation: rise .4s ease both; }
.feed li.home-ev { border-left-color: var(--ice); }
.feed li small { display: block; font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.feed li span { font-size: .92rem; line-height: 1.4; }
.feed-note { margin-top: auto; font-size: .78rem; color: var(--muted); }

/* Dois mundos */
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .worlds { grid-template-columns: 1fr; } }
.world { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--glass-line); min-height: 560px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; text-decoration: none; isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease; }
.world:hover { transform: translateY(-4px); border-color: rgba(214,227,245,.35); }
.world h3 { font: 700 clamp(2rem, 3.6vw, 3rem)/.98 var(--f-hero); letter-spacing: -.04em; }
.world p { color: var(--muted); max-width: 40ch; }
.world .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.world .go svg { width: 18px; height: 18px; transition: transform .3s ease; }
.world:hover .go svg { transform: translateX(5px); }
.world .art { position: absolute; inset: auto -10% -14% auto; width: 78%; aspect-ratio: 1; z-index: -1; opacity: .9; max-width: 100%; }
.world.biz { background: radial-gradient(90% 70% at 100% 100%, rgba(158,180,213,.20), transparent 60%), linear-gradient(160deg, #0b1220, #06080d); }
.world.casa { background: radial-gradient(90% 70% at 100% 100%, rgba(228,190,120,.22), transparent 60%), linear-gradient(160deg, #19140c, #080705); }
.world.casa .x-label { color: #e4cd9e; }
.world ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.world li { font-size: .82rem; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--glass-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .mini { grid-template-columns: 1fr; } }
.mini a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--glass-line); background: var(--glass); text-decoration: none; transition: border-color .3s ease; }
.mini a:hover { border-color: var(--ice); }
.mini b { display: block; font: 700 1.35rem/1.1 var(--f-hero); letter-spacing: -.02em; }
.mini span { color: var(--muted); font-size: .92rem; }
.mini svg { width: 22px; height: 22px; flex: none; color: var(--ember); }

/* Princípios */
.tenets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--glass-line); }
@media (max-width: 860px) { .tenets { grid-template-columns: 1fr; } }
.tenet { padding: 34px 28px 10px 0; display: flex; flex-direction: column; gap: 14px; }
.tenet b { font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-hero); letter-spacing: -.03em; }
.tenet b i { font-style: normal; color: var(--ember); }
.tenet p { color: var(--muted); }

/* Assistente em moldura de celular */
.try { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.try > * { min-width: 0; }
@media (max-width: 960px) { .try { grid-template-columns: 1fr; } }
.phone { border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2a3140, #0b0e14 40%, #1b2230); box-shadow: 0 50px 120px -30px rgba(158,180,213,.35), 0 0 0 1px rgba(255,255,255,.06); max-width: 420px; width: 100%; justify-self: center; }
.phone .assistant { border-radius: 34px; height: 600px; border: 0; }

/* CTA final */
.x-cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 96px); border: 1px solid var(--glass-line); background: radial-gradient(70% 120% at 0% 0%, rgba(238,69,83,.28), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(158,180,213,.22), transparent 60%), #07090f; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.x-cta-band .x-h2 { max-width: 16ch; }
.x-cta-band p { color: var(--muted); max-width: 54ch; }

/* Entrada suave (visível em repouso; só anima quando o JS marca) */
.reveal.anim { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }

/* ===== Padrão v2 aplicado às landing pages ===== */
body.home.casa { --void: #080706; --glass-line: rgba(228, 205, 158, .15); --ice: #e4cd9e; }
body.home h1, body.home h2 { font-family: var(--f-hero); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
body.home.lp-page h1 { font-size: clamp(2.1rem, 5vw, 4.1rem); font-weight: 800; line-height: .96; }
body.home h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
body.home h1 strong, body.home h2 strong { font-weight: inherit; background: linear-gradient(100deg, var(--ice-hi), var(--ice) 45%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.home.casa h1 strong, body.home.casa h2 strong { background-image: linear-gradient(100deg, #f6e7c6, #e4cd9e 45%, #c48c46); }
body.home .hl { background: linear-gradient(100deg, var(--ice-hi), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.home .band { border-top-color: var(--glass-line); }
body.home .band.alt { background: rgba(255, 255, 255, .015); }
body.home .card { background: var(--glass); border-color: var(--glass-line); border-radius: 22px; padding: 28px; transition: border-color .3s ease, transform .3s ease; }
body.home .card:hover { border-color: rgba(214, 227, 245, .3); }
body.home .compare, body.home form.lead-form, body.home .video, body.home .panel { border-color: var(--glass-line); border-radius: 22px; }
body.home form.lead-form { background: rgba(255, 255, 255, .025); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
body.home .faq, body.home .faq details, body.home .steps, body.home .kpi { border-color: var(--glass-line); }
body.home .step h3 { font-family: var(--f-hero); font-size: 1.35rem; letter-spacing: -.02em; }
body.home .card h3 { font-family: var(--f-hero); letter-spacing: -.02em; }
body.home .btn-red { box-shadow: 0 12px 40px -10px rgba(238, 69, 83, .6); }
.x-hero.lp { min-height: 0; align-items: stretch; }
.x-hero.lp::after { width: auto; height: 160px; max-width: none; max-height: none; inset: auto 0 0 0; background: linear-gradient(180deg, transparent, var(--void)); }
.x-hero.lp canvas { opacity: .6; }
.x-hero.lp .wrap { padding-block: 64px 96px; }
.x-hero.lp .hero-grid { z-index: 1; }
.x-hero.lp .assistant, .x-hero.lp .scene { box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--glass-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.casa .x-hero::before { background: radial-gradient(60% 55% at 76% 48%, rgba(228, 205, 158, .10), transparent 70%), radial-gradient(40% 40% at 90% 85%, rgba(196, 140, 70, .12), transparent 70%), linear-gradient(180deg, #0b0906 0%, var(--void) 100%); }
body.casa .x-grid { background-image: linear-gradient(rgba(228, 205, 158, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 205, 158, .05) 1px, transparent 1px); }
@media (max-width: 960px) { .x-hero.lp .wrap { padding-block: 290px 64px; } }
body.home.lp-page h1 { font-size: clamp(2rem, 3.9vw, 3.4rem); }
.x-hero.lp canvas { opacity: .75; }
.x-hero.lp .assistant { background: rgba(10, 13, 20, .5); backdrop-filter: blur(5px) saturate(140%); -webkit-backdrop-filter: blur(5px) saturate(140%); }
body.casa .x-hero.lp .assistant { background: rgba(18, 15, 10, .62); }
.x-hero.lp .scene { background: radial-gradient(100% 80% at 70% 10%, rgba(228,205,158,.18), transparent 55%), rgba(20, 17, 12, .45); backdrop-filter: blur(5px) saturate(140%); -webkit-backdrop-filter: blur(5px) saturate(140%); }
.x-hero.lp .msg.bot { background: rgba(30, 38, 52, .85); }

/* Galeria de obras reais */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gallery.g4{grid-template-columns:repeat(4,1fr)}
.shot{margin:0;position:relative;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0b0d12;aspect-ratio:4/5}
.shot.wide{grid-column:span 3;aspect-ratio:21/9}
.gallery:not(.g4) .shot:not(.wide){aspect-ratio:4/3}
.shot img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s ease}
.shot:hover img{transform:scale(1.04)}
.shot figcaption{position:absolute;left:0;right:0;bottom:0;padding:28px 16px 14px;font:500 .86rem/1.4 var(--f-body,Inter),sans-serif;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78))}
@media (max-width:820px){.gallery,.gallery.g4{grid-template-columns:1fr 1fr}.shot.wide{grid-column:span 2;aspect-ratio:16/10}}
@media (max-width:520px){.gallery,.gallery.g4{grid-template-columns:1fr}.shot.wide{grid-column:auto}.shot,.gallery:not(.g4) .shot:not(.wide){aspect-ratio:4/3}}
.gallery.g2{grid-template-columns:repeat(2,1fr)}
.gallery.g2 .shot.wide{grid-column:span 2}
.gallery.g2 .shot:not(.wide){aspect-ratio:4/3}
.gallery.g3p .shot{aspect-ratio:4/5}
@media (max-width:520px){.gallery.g2,.gallery.g3p{grid-template-columns:1fr}.gallery.g2 .shot.wide{grid-column:auto}}
/* Short vertical */
.short-split{align-items:center}
.short{justify-self:center;width:min(340px,100%);aspect-ratio:9/16;border-radius:26px;overflow:hidden;border:1px solid rgba(228,205,158,.35);box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 60px rgba(228,205,158,.12);background:#000}
.short iframe{width:100%;height:100%;border:0;display:block}

/* Páginas de texto: blog, privacidade, cartão, 404 */
.wrap.narrow { max-width: 780px; }
.page-head { border-top: 0; padding-top: clamp(130px, 16vw, 190px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--fg); }
.prose p, .prose ul { margin: 0 0 1.2em; color: var(--muted); }
.prose p strong { color: var(--fg); }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .6em; }
.prose a, .form-note a, .legal a { color: var(--ice, #9eb4d5); text-decoration: underline; text-underline-offset: 3px; }
.post-cta { margin-top: 40px; padding: 28px; border: 1px solid var(--glass-line, var(--line)); border-radius: 18px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.post-cta p { margin: 0; font-weight: 600; }
.post-list { display: grid; gap: 16px; }
.post-item { display: grid; gap: 10px; padding: 26px; border: 1px solid var(--glass-line, var(--line)); border-radius: 18px; transition: border-color .2s; }
.post-item:hover { border-color: var(--ice, #9eb4d5); }
.post-item h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.post-item p { margin: 0; color: var(--muted); }
.post-item small { color: var(--muted); }
.vc-logo svg { width: 84px; height: auto; }
.vc-links { display: grid; gap: 12px; width: min(360px, 100%); margin-top: 12px; }
.vc-links .btn { justify-content: center; }
.post-item, .post-item * { text-decoration: none; color: inherit; } .post-item p, .post-item small { color: var(--muted); }

/* Blog v2: layout largo, leitura confortável */
.post-hero { padding: clamp(130px, 15vw, 180px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.post-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(rgba(238,69,83,.16), transparent 65%); pointer-events: none; }
.post-hero.casa-tone::before { background: radial-gradient(rgba(196,140,70,.18), transparent 65%); }
.post-hero .wrap { position: relative; display: grid; gap: 20px; }
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 22ch; line-height: 1.08; }
.post-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 60ch; margin: 0; line-height: 1.6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .92rem; color: var(--muted); }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-line, var(--line)); background: rgba(255,255,255,.04); color: var(--fg); font-size: .78rem; letter-spacing: .04em; }
.post-body { padding: 0 0 clamp(72px, 9vw, 120px); }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.post-grid .prose { max-width: 740px; font-size: clamp(1.08rem, 1.25vw, 1.2rem); line-height: 1.85; }
.post-grid .prose p, .post-grid .prose ul { color: #c4cdda; margin: 0 0 1.5em; }
.post-grid .prose .intro { font-size: 1.18em; line-height: 1.7; color: var(--fg); padding-left: 20px; border-left: 3px solid var(--red); margin-bottom: 2em; }
.post-grid .prose h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin: 2.2em 0 .7em; scroll-margin-top: 110px; line-height: 1.2; }
.post-grid .prose li { margin-bottom: .5em; }
.post-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.side-box { padding: 22px; border: 1px solid var(--glass-line, var(--line)); border-radius: 18px; background: rgba(255,255,255,.025); }
.side-title { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-box ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: .95rem; line-height: 1.4; }
.side-box ol a { color: var(--fg); text-decoration: none; } .side-box ol a:hover { color: var(--red); }
.side-cta b { display: block; font-size: 1.05rem; } .side-cta p { color: var(--muted); font-size: .92rem; margin: 6px 0 14px; }
.side-back { font-size: .92rem; color: var(--muted); text-decoration: none; } .side-back:hover { color: var(--fg); }
.post-grid .post-cta { margin-top: 48px; padding: 28px 30px; background: linear-gradient(135deg, rgba(238,69,83,.10), rgba(158,180,213,.06)); }
.post-grid .post-cta p { margin: 6px 0 0; font-size: .98rem; font-weight: 400; color: var(--muted); }
.post-grid .post-cta b { font-size: 1.15rem; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.post-card { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 22px; border: 1px solid var(--glass-line, var(--line)); background: linear-gradient(160deg, rgba(238,69,83,.08), rgba(255,255,255,.02) 55%); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.post-card.casa-tone { background: linear-gradient(160deg, rgba(196,140,70,.12), rgba(255,255,255,.02) 55%); }
.post-card:hover { transform: translateY(-3px); border-color: var(--ice, #9eb4d5); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-date { font-size: .82rem; color: var(--muted); }
.post-card h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.6; flex: 1; }
.pc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fg); }
.pc-more svg { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-side { position: static; order: -1; }
  .post-side .side-cta, .post-side .side-back { display: none; }
}
.prose a.btn { color: #fff; text-decoration: none; }
body.home .post-cards .post-card h2 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; }
.chip { white-space: nowrap; }
.pc-date { white-space: nowrap; }
