/* Paraeng — Home imersiva */

/* ---------- Hero tempestade ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100dvh - 40px); margin-top: -92px; padding-top: 92px;
  display: grid; align-items: center;
  background:
    radial-gradient(90% 60% at 72% 8%, #1d2533 0%, transparent 60%),
    radial-gradient(60% 50% at 10% 90%, #111723 0%, transparent 70%),
    linear-gradient(180deg, #07080b 0%, #0a0d12 60%, #08090b 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__flash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 60% at var(--fx, 70%) 0%, rgba(255, 236, 170, .55), rgba(255, 199, 44, .08) 45%, transparent 70%); opacity: 0; }
.hero__flash.is-on { animation: flash .9s var(--ease-out); }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: 1; } 14% { opacity: .25; } 20% { opacity: .85; } 100% { opacity: 0; } }
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(180deg, transparent, #000 55%, transparent 98%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; padding-block: clamp(56px, 10vh, 120px) clamp(36px, 6vh, 72px); }
.hero__copy { display: grid; gap: 26px; align-content: end; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); text-wrap: balance; }
.hero__copy > .eyebrow { justify-self: start; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--c-bolt); transform-origin: left; transform: scaleX(0); animation: underline 1.2s .5s var(--ease-out) forwards; box-shadow: 0 0 24px rgba(255,199,44,.6); }
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { color: #c3cad4; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__aside { display: grid; gap: 14px; justify-items: end; }
.hero__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-muted); }
.hero__hint kbd { font: inherit; padding: 3px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--c-line-2); color: #dfe4ea; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 5vh, 56px); border-radius: 26px; padding: 6px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--c-line); }
.hero__stats > div { padding: 18px 20px; border-radius: 21px; }
.hero__stats > div + div { box-shadow: -1px 0 0 var(--c-line); }
.hero__stats b { display: block; font: 800 italic clamp(1.6rem, 3vw, 2.4rem)/1 var(--f-display); color: #fff; }
.hero__stats b em { font-style: inherit; color: var(--c-bolt); }
.hero__stats span { font-size: 13px; color: var(--c-muted); }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.hero__scroll::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--c-bolt); animation: scrolly 1.8s var(--ease-in-out) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero__aside { justify-items: start; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { box-shadow: 0 -1px 0 var(--c-line); }
  .hero__stats > div:nth-child(4) { box-shadow: -1px 0 0 var(--c-line), 0 -1px 0 var(--c-line); }
  .hero__scroll { display: none; }
}

/* ---------- Faixa de clientes ---------- */
.clients { padding-block: 34px; border-block: 1px solid var(--c-line); background: #0b0d10; }
.clients__lbl { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 56px; width: auto; padding: 10px 18px; border-radius: 14px; background: #fff; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }
/* Clientes: cada marca uma vez, em grade (sem carrossel). */
.clients__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.clients__grid img { display: block; height: 56px; width: auto; padding: 10px 18px; border-radius: 14px; background: #fff; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.clients__grid img:hover { filter: none; opacity: 1; }
@media (max-width: 640px) { .clients__grid { gap: 10px; } .clients__grid img { height: 44px; padding: 8px 12px; } }
/* Home com 6 números: 6 colunas, 3 em telas médias, 2 no celular. */
.hero__stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hero__stats--6 b { white-space: nowrap; font-size: clamp(1.5rem, 2.1vw, 2.2rem); }
@media (max-width: 1240px) {
  .hero__stats--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__stats--6 > div:nth-child(3n+1) { box-shadow: none; }
  .hero__stats--6 > div:nth-child(n+4) { box-shadow: -1px 0 0 var(--c-line), 0 -1px 0 var(--c-line); }
  .hero__stats--6 > div:nth-child(4) { box-shadow: 0 -1px 0 var(--c-line); }
}
@media (max-width: 960px) {
  .hero__stats--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats--6 > div:nth-child(odd) { box-shadow: none; }
  .hero__stats--6 > div:nth-child(even) { box-shadow: -1px 0 0 var(--c-line); }
  .hero__stats--6 > div:nth-child(odd):nth-child(n+3) { box-shadow: 0 -1px 0 var(--c-line); }
  .hero__stats--6 > div:nth-child(even):nth-child(n+3) { box-shadow: -1px 0 0 var(--c-line), 0 -1px 0 var(--c-line); }
}

/* ---------- Anatomia do SPDA ---------- */
.anat { background: linear-gradient(180deg, #08090b, #0b0f15 50%, #08090b); }
.anat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro stage" "steps stage"; column-gap: clamp(28px, 5vw, 80px); }
.anat__intro { grid-area: intro; display: grid; gap: 18px; align-content: end; padding-bottom: 8px; }
.anat__steps { grid-area: steps; }
.anat__stage { grid-area: stage; align-self: start; }
.anat__stage { position: sticky; top: 96px; height: calc(100dvh - 120px); max-height: 760px; display: grid; place-items: center; }
.anat__svg { width: 100%; height: 100%; max-height: 720px; overflow: visible; }
.anat__svg .ln { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; }
.anat__svg .bld { fill: #10151c; stroke: rgba(255,255,255,.14); stroke-width: 1.2; }
.anat__svg .win { fill: rgba(255,255,255,.04); }
.anat__svg .soil { fill: url(#soilGrad); }
.anat__svg .part { fill: none; stroke: #55606e; stroke-width: 2.4; stroke-linecap: round; transition: stroke .6s var(--ease-out), filter .6s; }
.anat__svg .part-fill { fill: #55606e; transition: fill .6s var(--ease-out); }
.anat__svg .flow { fill: none; stroke: var(--c-bolt-hot); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 26 520; stroke-dashoffset: 546; opacity: 0; filter: drop-shadow(0 0 6px #ffc72c); }
.anat__svg .lbl { font: 600 13px var(--f-body); fill: var(--c-muted); letter-spacing: .08em; text-transform: uppercase; transition: fill .5s; }
.anat__stage[data-step="captacao"] .g-captacao .part,
.anat__stage[data-step="descidas"] .g-descidas .part,
.anat__stage[data-step="equalizacao"] .g-equalizacao .part,
.anat__stage[data-step="aterramento"] .g-aterramento .part { stroke: var(--c-bolt); filter: drop-shadow(0 0 8px rgba(255,199,44,.75)); }
.anat__stage[data-step="captacao"] .g-captacao .part-fill,
.anat__stage[data-step="descidas"] .g-descidas .part-fill,
.anat__stage[data-step="equalizacao"] .g-equalizacao .part-fill,
.anat__stage[data-step="aterramento"] .g-aterramento .part-fill { fill: var(--c-bolt); }
.anat__stage[data-step="captacao"] .g-captacao .lbl,
.anat__stage[data-step="descidas"] .g-descidas .lbl,
.anat__stage[data-step="equalizacao"] .g-equalizacao .lbl,
.anat__stage[data-step="aterramento"] .g-aterramento .lbl { fill: #fff; }
.anat__stage[data-step="captacao"] .g-captacao .flow,
.anat__stage[data-step="descidas"] .g-descidas .flow,
.anat__stage[data-step="equalizacao"] .g-equalizacao .flow,
.anat__stage[data-step="aterramento"] .g-aterramento .flow { opacity: 1; animation: flow 1.6s var(--ease-in-out) infinite; }
@keyframes flow { to { stroke-dashoffset: 0; } }
.anat__strike { opacity: 0; }
.anat__stage[data-step="captacao"] .anat__strike { animation: strike 2.4s infinite; }
@keyframes strike { 0%, 70%, 100% { opacity: 0; } 72% { opacity: 1; } 75% { opacity: .2; } 78% { opacity: .9; } 86% { opacity: 0; } }
.anat__steps { display: grid; }
.anat__step { min-height: 78dvh; display: grid; align-content: center; gap: 18px; padding-block: 40px; opacity: .28; transition: opacity .6s var(--ease-out); }
.anat__step.is-active { opacity: 1; }
.anat__step .num { font: 800 italic 15px var(--f-display); color: var(--c-bolt); letter-spacing: .1em; }
.anat__step h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.anat__step ul { display: flex; flex-wrap: wrap; gap: 8px; }
.anat__nav, .anat__mob { display: none; }
/* Celular e tablet: os passos viram cards que o visitante arrasta para o lado;
   o desenho fica logo abaixo e acende a parte do card ativo. */
@media (max-width: 960px) {
  .anat__desk { display: none; }
  .anat__mob { display: inline; }
  .anat__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'steps' 'nav' 'stage'; }
  .anat__intro { padding-bottom: 22px; }
  .anat__steps { position: relative; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .anat__steps::-webkit-scrollbar { display: none; }
  .anat__steps.is-end { -webkit-mask-image: none; mask-image: none; }
  .anat__step { flex: 0 0 84%; min-height: 0; align-content: start; gap: 14px; padding: 22px 20px; scroll-snap-align: start; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--c-line); opacity: .45; transform: scale(.97); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s; }
  .anat__step.is-active { opacity: 1; transform: none; box-shadow: inset 0 0 0 1px rgba(255,199,44,.45), 0 20px 40px -24px rgba(255,199,44,.35); }
  .anat__step h3 { font-size: clamp(1.5rem, 6.6vw, 2.4rem); overflow-wrap: anywhere; hyphens: auto; }
  .anat__step .lead { font-size: 14.5px; line-height: 1.5; }
  .anat__step { gap: 10px; padding: 18px 18px 16px; }
  .anat__step .num { font-size: 13px; }
  .anat__step ul { gap: 6px; }
  .anat__step .chip { padding: 6px 11px; font-size: 12.5px; min-height: 0; }
  .anat__step .link-arrow { font-size: 14px; margin-top: auto; }
  .anat__step.is-nudge { animation: anat-nudge 1.4s var(--ease-in-out) 2; }
  .anat__nav { grid-area: nav; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 12px; }
  .anat__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--c-line-2); transition: background-color .3s, opacity .3s; }
  .anat__arrow[data-anat-go="-1"] svg { transform: scaleX(-1); }
  .anat__arrow:not(:disabled):active { background: var(--c-bolt); color: var(--c-ink); }
  .anat__arrow:disabled { opacity: .3; }
  .anat__dots { display: flex; gap: 8px; }
  .anat__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .4s var(--ease-out), background-color .4s; position: relative; }
  .anat__dots button::after { content: ''; position: absolute; inset: -10px -4px; }
  .anat__dots button[aria-current] { width: 26px; background: var(--c-bolt); }
  .anat__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-bolt); transition: opacity .5s; }
  .anat__hint svg { width: 22px; height: 22px; animation: anat-swipe 1.8s var(--ease-in-out) infinite; }
  .anat__nav.is-used .anat__hint { opacity: 0; }
  .anat__stage { position: relative; top: auto; height: min(34svh, 300px); display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 24px; background: #0a0d12; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  .anat__svg { height: 100%; width: auto; max-width: 100%; }
  .anat__svg .lbl { display: none; }
}
@media (min-width: 600px) and (max-width: 960px) { .anat__step { flex-basis: 62%; } }
@keyframes anat-swipe { 0%, 100% { transform: translateX(6px); } 50% { transform: translateX(-8px) rotate(-8deg); } }
@keyframes anat-nudge { 0%, 100% { translate: 0; } 35% { translate: -28px; } 60% { translate: 0; } }
@media (prefers-reduced-motion: reduce) { .anat__hint svg, .anat__step.is-nudge { animation: none; } }
@media (prefers-reduced-motion: reduce) { .anat__svg .flow, .anat__strike { animation: none !important; } .anat__step { opacity: 1; } }

/* ---------- Bento de categorias ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bento__item { grid-column: span 3; }
.bento__item.is-xl { grid-column: span 6; grid-row: span 2; }
.bento__item.is-wide { grid-column: span 6; }
.cat-card { position: relative; display: grid; grid-template-rows: 1fr auto; height: 100%; min-height: 230px; padding: 22px; border-radius: calc(var(--r-xl) - 6px); overflow: hidden; background: #fff; transition: transform .7s var(--ease-out); }
.cat-card img { position: absolute; right: -6%; bottom: -4%; width: 62%; height: 78%; object-fit: contain; transition: transform .9s var(--ease-out); }
.is-xl .cat-card img { width: 70%; height: 82%; right: -2%; }
.cat-card:hover img { transform: scale(1.06) rotate(-2deg); }
.cat-card__top { position: relative; z-index: 1; display: grid; gap: 8px; align-content: start; max-width: 60%; }
.cat-card h3 { font: 800 italic clamp(1.25rem, 1.8vw, 1.7rem)/1 var(--f-display); text-transform: uppercase; color: var(--c-steel); }
.is-xl .cat-card h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cat-card p { font-size: 13.5px; color: var(--c-steel-muted); line-height: 1.45; }
.cat-card__go { position: relative; z-index: 1; align-self: end; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-steel); color: #fff; transition: transform .5s var(--ease-spring), background-color .3s; }
.cat-card:hover .cat-card__go { transform: rotate(-45deg); background: var(--c-bolt); color: var(--c-ink); }
.cat-card .tag { position: relative; z-index: 1; justify-self: start; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
@media (max-width: 1080px) { .bento__item, .bento__item.is-wide { grid-column: span 6; } .bento__item.is-xl { grid-column: span 12; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento__item, .bento__item.is-wide, .bento__item.is-xl { grid-column: auto; grid-row: auto; } .cat-card__top { max-width: 70%; } }

/* ---------- Biblioteca CAD ---------- */
.cadlib { overflow: hidden; background: #08090b; }
.cadlib__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.cadlib__count { font: 900 italic clamp(5rem, 15vw, 12rem)/.8 var(--f-display); color: var(--c-bolt); letter-spacing: -.05em; text-shadow: 0 0 60px rgba(255,199,44,.35); }
.cadlib__steps { display: grid; gap: 10px; counter-reset: s; }
.cadlib__steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 14.5px; color: #cdd3db; }
.cadlib__steps li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-bolt); color: var(--c-ink); font-weight: 700; font-size: 13px; }
.cad-rows { display: grid; gap: 14px; }
.cad-row .marquee__track { animation-duration: 70s; gap: 14px; }
.cad-row--rev .marquee__track { animation-direction: reverse; }
.cad-tile { width: 300px; flex: none; border-radius: 20px; padding: 5px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--c-line); transition: box-shadow .4s; }
.cad-tile:hover { box-shadow: var(--glow); }
.cad-tile__img { aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden; background: #fff; }
.cad-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cad-tile:hover .cad-tile__img img { transform: scale(1.05); }
.cad-tile__meta { display: flex; justify-content: space-between; gap: 10px; padding: 12px 10px 8px; font-size: 13px; }
.cad-tile__meta b { color: var(--c-bolt); font-weight: 600; white-space: nowrap; }
.cad-tile__meta span { color: #d2d8e0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) { .cadlib__head { grid-template-columns: minmax(0, 1fr); } .cad-tile { width: 240px; } }

/* ---------- Serviços (rolagem horizontal) ---------- */
.svc-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.svc-nav { display: flex; gap: 8px; }
.svc-nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(29,39,51,.18); color: var(--c-steel); transition: background-color .3s, color .3s; }
.svc-nav button:hover { background: var(--c-steel); color: #fff; }
.svc-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.svc-rail::-webkit-scrollbar { display: none; }
.svc-card { scroll-snap-align: start; }
.svc-card .bezel__core { display: grid; gap: 16px; align-content: start; padding: 28px; min-height: 360px; }
.svc-card__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--c-paper); color: var(--c-steel); }
.svc-card__ico .ico { width: 28px; height: 28px; }
.svc-card__n { font: 800 italic 13px var(--f-display); color: #9a7a1c; letter-spacing: .12em; }
.svc-card h3 { font: 800 italic 1.6rem/1 var(--f-display); text-transform: uppercase; color: var(--c-steel); }
.svc-card p { color: var(--c-steel-muted); font-size: 15px; }
.svc-card .link-arrow { margin-top: auto; }

/* ---------- Diagnóstico ---------- */
.diag { background: radial-gradient(60% 80% at 100% 0%, rgba(255,199,44,.12), transparent 60%), #0b0e13; }
.diag__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.diag__card .bezel__core { padding: clamp(22px, 3.5vw, 36px); }
.diag__progress { display: flex; gap: 6px; margin-bottom: 26px; }
.diag__progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); transition: background-color .5s; }
.diag__progress span.is-on { background: var(--c-bolt); }
.diag__q { display: none; gap: 18px; }
.diag__q.is-active { display: grid; animation: qin .6s var(--ease-out); }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }
.diag__q legend { font: 700 1.35rem/1.25 var(--f-body); margin-bottom: 6px; padding: 0; }
.diag__q fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; transition: box-shadow .3s, background-color .3s; }
.opt:hover { background: rgba(255,255,255,.07); }
.opt input { accent-color: var(--c-bolt); width: 18px; height: 18px; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--c-bolt); background: rgba(255,199,44,.07); }
.diag__result { display: none; gap: 16px; }
.diag__result.is-active { display: grid; animation: qin .6s var(--ease-out); }
.diag__verdict { padding: 18px; border-radius: 18px; background: rgba(255,199,44,.08); box-shadow: inset 0 0 0 1px rgba(255,199,44,.3); }
.diag__verdict strong { display: block; font: 800 italic 1.4rem/1.1 var(--f-display); text-transform: uppercase; color: var(--c-bolt); margin-bottom: 6px; }
.diag__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
@media (max-width: 960px) { .diag__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Obras ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.works a { position: relative; border-radius: 22px; overflow: hidden; background: #1a1f27; }
.works a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.works a:nth-child(6) { grid-column: span 2; }
.works img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; filter: saturate(.85); }
.works a:hover img { transform: scale(1.06); filter: none; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .works a:nth-child(6) { grid-column: auto; } }

/* ---------- Depoimentos ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.review .bezel__core { display: grid; gap: 16px; padding: 28px; align-content: space-between; min-height: 240px; }
.review blockquote { margin: 0; font: 500 1.2rem/1.45 var(--f-body); color: var(--c-steel); }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--c-steel-muted); }
.review .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-steel); color: #fff; font-weight: 700; }
.stars { display: flex; gap: 2px; color: #f4b400; }
.stars .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review--g .bezel__core { background: var(--c-steel); color: #fff; align-content: center; }
.review--g .display { font-size: 4rem; color: var(--c-bolt); }
@media (max-width: 900px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 920px; }
.faq details { border-radius: 22px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color .3s; }
.faq details[open] { background: rgba(255,255,255,.05); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .5s var(--ease-out); color: var(--c-bolt); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 24px; color: #c3cad4; max-width: 74ch; }

/* ---------- Blog na home ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card .bezel__core { display: grid; grid-template-rows: auto 1fr; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #1a1f27; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: grid; gap: 10px; padding: 22px; align-content: start; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Skyline do hero (alvo do raio) ---------- */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: min(34vh, 300px); pointer-events: none; }
.skyline svg { width: 100%; height: 100%; }
.skyline .b { fill: #0d1117; stroke: rgba(255,255,255,.07); }
.skyline .w { fill: rgba(255,199,44,.18); }
.skyline .rod { stroke: #8792a1; stroke-width: 2; }
.skyline .dc { fill: none; stroke: #3a4350; stroke-width: 1.6; stroke-dasharray: 4 6; }
.skyline .gnd { fill: none; stroke: #3a4350; stroke-width: 1.4; }
.skyline.is-hit .dc, .skyline.is-hit .gnd { stroke: var(--c-bolt-hot); stroke-dasharray: none; animation: dchit 1.3s var(--ease-out) forwards; }
.skyline.is-hit .rod { stroke: #fff; }
@keyframes dchit { 0% { opacity: 1; filter: drop-shadow(0 0 6px #ffc72c); } 100% { opacity: .35; filter: none; } }
.svc-nav button:first-child .ico { transform: scaleX(-1); }
.cat-card h3 { hyphens: auto; overflow-wrap: break-word; }
.bento__item:not(.is-xl) .cat-card h3 { font-size: clamp(1.1rem, 1.45vw, 1.45rem); }
.cat-card--photo { background: #120d06; }
.cat-card--photo h3 { color: #fff; }
.cat-card--photo .tag { background: rgba(255,199,44,.18); color: var(--c-bolt); }
.cat-card--photo img { inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; right: 0; bottom: 0; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); }
.cat-card--photo:hover img { transform: scale(1.04); }

/* Animações contínuas só rodam com a seção na tela (core.js marca .is-live). */
.marquee .marquee__track { animation-play-state: paused; }
.marquee.is-live .marquee__track { animation-play-state: running; }
.marquee.is-live:hover .marquee__track { animation-play-state: paused; }
.anat__stage:not(.is-live) .flow, .anat__stage:not(.is-live) .anat__strike { animation: none !important; }
.hero__scroll::after { animation-iteration-count: 4; }
.svc-card__n { color: #7a5c00; }

/* Skyline segue a proporção do desenho (1440×300): nunca corta o prédio/captor em telas largas. */
.skyline { height: auto; aspect-ratio: 1440 / 300; }
@media (max-width: 900px) { .skyline { aspect-ratio: auto; height: min(30vh, 260px); } }
