/* =========================================================
   PV Digital · site institucional
   Paleta e tipografia: Manual da Marca v1.0 (nov/2026)
   Mobile first. Escala fluida de 320 px a 2560 px+.
   ========================================================= */

:root {
  /* Cores da marca */
  --grafite: #0C0D12;
  --gelo: #F2F5FF;
  --ciano: #00E0FF;
  --trilho: #262B40;
  --nevoa: #8A93B5;
  --azul: #0A6CFF;

  /* Derivadas (superfícies) */
  --bg: var(--grafite);
  --surface: #12141c;
  --surface-2: #171a25;
  --line: rgba(138, 147, 181, .16);
  --line-strong: rgba(138, 147, 181, .28);
  --text: var(--gelo);
  --muted: #a3abc9;          /* Névoa clareada p/ texto corrido: contraste AA */
  --soft: var(--nevoa);
  --ciano-ink: #04161a;      /* texto sobre ciano */

  /* Tipografia */
  --f-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, .98rem + .45vw, 1.25rem);
  --fs-h3: clamp(1.1875rem, 1.08rem + .5vw, 1.4375rem);
  --fs-h2: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 5vw, 5.75rem);

  /* Espaço */
  --gutter: clamp(1.25rem, .6rem + 3.2vw, 4rem);
  --maxw: 82.5rem;           /* 1320 px a 16 px */
  --sec-y: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --radius: 1.125rem;
  --radius-sm: .75rem;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --topbar-h: 5.5rem;
}

/* Telas grandes: a página cresce junto, sem "ilha" no meio da tela */
@media (min-width: 1600px) { :root { --maxw: 90rem; } }
@media (min-width: 1800px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 118.75%; } }
@media (min-width: 2800px) { html { font-size: 137.5%; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
p, li, dd { overflow-wrap: break-word; text-wrap: pretty; }
::selection { background: var(--ciano); color: var(--ciano-ink); }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ciano); color: var(--ciano-ink); padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--sec-y); position: relative; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--sm { width: 1.05em; height: 1.05em; }

/* ---------- Tipos utilitários ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 var(--fs-xs)/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft);
}
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 0 4px rgba(0, 224, 255, .12); flex: none; }
.h2 { font-size: var(--fs-h2); margin-top: .9rem; max-width: 22ch; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; max-width: 38rem; }
.lead a, .plans__foot a, .form__legal a { color: var(--ciano); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.sec-head { margin-bottom: clamp(2.25rem, 1.5rem + 3vw, 4rem); display: grid; gap: 1rem; }
.sec-head--center { justify-items: center; text-align: center; }
.sec-head--center .h2, .sec-head--center .lead { margin-inline: auto; }
.sec-head--row { align-items: end; }
@media (min-width: 900px) {
  .sec-head--row { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 3rem; }
  .sec-head__aside { justify-self: end; text-align: right; font-size: var(--fs-base); }
}

/* ---------- Botões ---------- */
.btn {
  --h: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: .7rem 1.35rem; border-radius: 999px;
  font: 600 var(--fs-sm)/1.2 var(--f-body); letter-spacing: .005em; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent; white-space: normal;
}
.btn:active { transform: scale(.98); }
.btn--sm { --h: 2.5rem; padding: .5rem 1rem; font-size: .875rem; }
.btn--lg { --h: 3.5rem; padding: .9rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ciano); color: var(--ciano-ink); box-shadow: 0 10px 30px -12px rgba(0, 224, 255, .65); }
.btn--primary:hover { background: #5beaff; box-shadow: 0 14px 36px -12px rgba(0, 224, 255, .8); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(242, 245, 255, .02); }
.btn--ghost:hover { border-color: var(--ciano); color: var(--ciano); }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar-h);
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid, .topbar.is-open {
  background: rgba(12, 13, 18, .82); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; margin-right: auto; flex: none; }
.brand img { height: auto; }
.brand { padding-top: .5rem; }
.brand__logo { width: min(13.75rem, calc(100vw - 6.5rem)); height: auto; }  /* logo completo com AGÊNCIA: o manual pede no mínimo 220 px */
@media (min-width: 1024px) { .brand__logo { width: 15.25rem; } }

.nav__list {
  position: fixed; inset: var(--topbar-h) 0 auto; padding: 1rem var(--gutter) 1.75rem;
  background: var(--grafite); border-bottom: 1px solid var(--line);
  display: grid; gap: .25rem; align-content: start; height: calc(100dvh - var(--topbar-h));
  transform: translateY(-.5rem); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  max-height: calc(100dvh - var(--topbar-h)); overflow-y: auto;
}
.topbar.is-open .nav__list { opacity: 1; transform: none; visibility: visible; }
.nav__list a:not(.btn) { display: block; padding: .85rem .25rem; font: 500 1.125rem/1.3 var(--f-display); border-bottom: 1px solid var(--line); }
.nav__cta-mobile { margin-top: 1rem; }
.topbar__cta { display: none; }

.burger { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-strong); }
.burger i { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.topbar.is-open .burger i:first-of-type { transform: translateY(3.8px) rotate(45deg); }
.topbar.is-open .burger i:last-of-type { transform: translateY(-3.8px) rotate(-45deg); }

@media (min-width: 640px) { .topbar__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  :root { --topbar-h: 5.75rem; }
  .burger, .nav__cta-mobile { display: none; }
  .nav { margin-inline: auto; }
  .nav__list {
    position: static; display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none; max-height: none; height: auto; overflow: visible;
  }
  .nav__list a:not(.btn) { padding: .5rem 0; border: 0; font: 500 var(--fs-sm)/1 var(--f-body); color: var(--muted); position: relative; transition: color .2s; }
  .nav__list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.6px; background: var(--ciano); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__list a:not(.btn):hover, .nav__list a.is-active { color: var(--text); }
  .nav__list a:not(.btn):hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
  .brand { margin-right: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--topbar-h) + clamp(2.5rem, 1rem + 6vw, 6rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; isolation: isolate; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(138, 147, 181, .14) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__in { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4rem); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { font-size: var(--fs-h1); margin-top: 1.25rem; max-width: 12ch; letter-spacing: -.025em; line-height: 1.02; }
.hl { color: var(--ciano); white-space: nowrap; }
.hero__lead { margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--muted); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__note { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--soft); }
.hero__note .ico { color: var(--ciano); margin-top: .2em; }
@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__art { position: relative; min-width: 0; width: 100%; max-width: 34rem; margin-inline: auto; }
.curve { width: 100%; height: auto; overflow: visible; }
.curve__rail { fill: none; stroke: var(--trilho); stroke-width: 16; stroke-linecap: round; }
.curve__line { fill: none; stroke: var(--ciano); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s .25s var(--ease) forwards; }
.curve__dot { fill: var(--ciano); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s 1.55s var(--ease) forwards; }
.curve__ring { fill: none; stroke: var(--ciano); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 2.8s 2.1s ease-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 60% { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }

.pillars { position: absolute; left: 0; top: 4%; width: min(62%, 17rem); display: grid; gap: .6rem; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; row-gap: .1rem; align-items: baseline;
  padding: .8rem 1rem .9rem; border-radius: var(--radius-sm);
  background: rgba(18, 20, 28, .78); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px); animation: rise .7s var(--d, 1s) var(--ease) forwards;
}
.pillar__k { grid-row: span 2; font: 500 var(--fs-xs)/1 var(--f-display); color: var(--soft); }
.pillar b { font: 600 1.0625rem/1.2 var(--f-display); }
.pillar small { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.minibar { grid-column: 1 / -1; display: block; height: 3px; margin-top: .55rem; border-radius: 3px; background: var(--trilho); overflow: hidden; }
.minibar > i { display: block; height: 100%; width: 0; background: var(--ciano); border-radius: inherit; animation: fill 1s calc(var(--d, 1s) + .3s) var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fill { to { width: var(--w); } }

@media (max-width: 479px) {
  .pillars { width: 66%; gap: .45rem; top: 0; }
  .pillar { padding: .6rem .75rem .7rem; column-gap: .55rem; }
  .pillar b { font-size: .9375rem; }
  .pillar small { font-size: .75rem; }
  .minibar { margin-top: .4rem; }
}
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero__art { max-width: none; }
}

/* Marcas atendidas */
.offer { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(90deg, rgba(0, 224, 255, .06), rgba(18, 20, 28, .6) 45%); display: grid; gap: .8rem; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.offer:hover { border-color: rgba(0, 224, 255, .55); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0, 224, 255, .45); }
.offer__label { font-size: var(--fs-xs); color: var(--ciano); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.offer__list { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.offer__item { display: inline-flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.offer__item b { color: var(--text); font: 600 1.05rem/1.2 var(--f-display); white-space: nowrap; }
.offer__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--fs-sm); color: var(--ciano); white-space: nowrap; }
.offer__cta .ico { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.offer:hover .offer__cta .ico { transform: translateX(4px); }
@media (min-width: 900px) { .offer { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 1.1rem 1.75rem; } .offer__list { justify-content: center; } }

/* ---------- Dor ---------- */
.pain { background: linear-gradient(180deg, transparent, rgba(23, 26, 37, .55) 30%, rgba(23, 26, 37, .55) 70%, transparent); }
.pain__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }
.pain__list { display: grid; gap: 1rem; counter-reset: p; }
.pain__item { transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pain__n { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font: 600 1rem/1 var(--f-display); color: var(--ciano); border: 1.6px solid rgba(0, 224, 255, .45); }
.pain__item h3 { font-size: var(--fs-h3); }
.pain__item p { margin-top: .5rem; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .pain__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; }
  .pain__head .eyebrow { grid-column: 1 / -1; }
  .pain__head .h2 { margin-top: 0; }
  .pain__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .pain__item { grid-template-columns: 1fr; padding: 2rem; }
}

/* ---------- Serviços ---------- */
.services { display: grid; gap: 1rem; }
.svc { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ciano); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { border-color: rgba(0, 224, 255, .5); transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0, 224, 255, .3); }
.svc:hover::after { transform: scaleX(1); }
.svc__ico { width: 2.75rem; height: 2.75rem; color: var(--ciano); padding: .55rem; border-radius: .8rem; background: rgba(0, 224, 255, .07); border: 1px solid rgba(0, 224, 255, .18); }
.svc h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); margin-top: 1.25rem; }
.svc p { margin-top: .75rem; color: var(--muted); }
.ticks { display: grid; gap: .55rem; margin-top: 1.4rem; }
.ticks li { position: relative; padding-left: 1.4rem; font-size: var(--fs-sm); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ciano); }
@media (min-width: 600px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Portfólio ---------- */
.cases { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.case { min-width: 0; }
.case__btn {
  width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, transform .45s var(--ease), box-shadow .45s;
}
.case__btn:hover { border-color: rgba(0, 224, 255, .5); transform: translateY(-8px); box-shadow: 0 0 0 1px rgba(0, 224, 255, .2), 0 40px 80px -35px rgba(0, 224, 255, .35); }
/* Palco: mesma proporção em todos os cards, nada é cortado de forma estranha */
.stage { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0b10; isolation: isolate; }
.stage img, .stage video { display: block; transition: transform 1s var(--ease); }
.stage--photo img { width: 100%; height: 100%; object-fit: cover; }
.case__btn:hover .stage--photo img { transform: scale(1.07); }
.stage--aeterna { background: radial-gradient(120% 100% at 30% 20%, #6b4a33, #3a2618 55%, #24170f); display: grid; place-items: center; }
.stage__pair { position: absolute; inset: 8% 4%; display: flex; align-items: center; justify-content: center; gap: 4%; }
.stage__a4, .stage__phone { height: 100%; border-radius: .5rem; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); }
.stage__a4 { width: auto; max-width: 48%; aspect-ratio: 640 / 905; object-fit: cover; }
.stage__phone { display: block; max-width: 48%; aspect-ratio: 4 / 5; overflow: hidden; background: #1a110b; }
.stage__phone video { width: 100%; height: 100%; object-fit: contain; }
.case__btn:hover .stage__pair > * { transform: translateY(-4px); }
.stage__pair > * { transition: transform .6s var(--ease); }
.stage--petrol { background: radial-gradient(120% 100% at 50% 35%, #15405a, #0B2838 60%, #071c28); display: grid; place-items: center; }
.stage__logo { width: 72%; max-height: 78%; height: auto; object-fit: contain; }
.case__btn:hover .stage__logo { transform: scale(1.03); }
.case__body { display: grid; gap: .6rem; padding: 1.35rem 1.4rem 1.5rem; flex: 1; align-content: start; }
.case__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.case__name { font: 600 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -.015em; }
.case__seg { font-size: var(--fs-xs); color: var(--soft); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.case__desc { color: var(--muted); font-size: var(--fs-sm); }
.case__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.case__tags span { font-size: .75rem; font-weight: 500; color: #c3c9e2; padding: .28rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(242, 245, 255, .02); }
/* Revelar: a imagem "assenta" ao entrar na tela */
.js .case.reveal .stage--photo > * { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.js .case.reveal.is-in .stage--photo > * { transform: none; }

/* ---------- Como funciona ---------- */
.steps { position: relative; }
.steps__rail { position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 3px; border-radius: 3px; background: var(--trilho); overflow: hidden; }
.steps__rail i { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: var(--ciano); border-radius: inherit; transition: height .15s linear; }
.steps__list { display: grid; gap: 2rem; }
.step { position: relative; padding-left: 2.75rem; }
.step__dot { position: absolute; left: 0; top: .25rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--trilho); transition: border-color .3s, background-color .3s; }
.step.is-on .step__dot { border-color: var(--ciano); background: var(--ciano); box-shadow: 0 0 0 6px rgba(0, 224, 255, .12); }
.step__k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.step h3 { font-size: var(--fs-h3); margin-top: .35rem; }
.step p { margin-top: .5rem; color: var(--muted); font-size: var(--fs-sm); max-width: 30rem; }
@media (min-width: 900px) {
  .steps { padding-top: 2.25rem; }
  .steps__rail { left: 0; right: 0; top: .5rem; bottom: auto; width: auto; height: 3px; }
  .steps__rail i { inset: 0 auto 0 0; height: 100%; width: calc(var(--p, 0) * 100%); transition: width .15s linear; }
  .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .step { padding-left: 0; padding-top: 1.25rem; }
  .step__dot { top: -2.25rem; }
}

/* ---------- Planos: todos à vista ---------- */
.plans-sec { background: radial-gradient(70% 50% at 50% 0%, rgba(0, 224, 255, .07), transparent 70%); }
.plans-sec .lead b { color: var(--text); font-weight: 600; }
/* Resumo: os 5 planos e preços numa linha só */
.pchips { display: grid; justify-items: center; gap: 1rem; margin: -.25rem auto 2.5rem; max-width: 46rem; }
.pchips__main { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; width: 100%; padding: .4rem; border-radius: 1.4rem; background: linear-gradient(180deg, rgba(28, 31, 44, .75), rgba(18, 20, 28, .75)); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(242, 245, 255, .05), 0 30px 60px -40px rgba(0, 0, 0, .9); }
.pchip { position: relative; display: grid; justify-items: center; align-content: center; gap: .2rem; min-width: 0; padding: .9rem .75rem; border-radius: 1.05rem; text-align: center; border: 1px solid transparent; transition: background-color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.pchip__name { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.pchip__price { font: 600 clamp(1.25rem, 1.05rem + .8vw, 1.6rem)/1.05 var(--f-display); letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.pchip__note { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.pchip:hover { background: rgba(242, 245, 255, .04); border-color: var(--line-strong); transform: translateY(-3px); }
.pchip--hot { background: radial-gradient(120% 140% at 50% 0%, rgba(0, 224, 255, .18), rgba(0, 224, 255, .03) 60%), #121a22; border-color: rgba(0, 224, 255, .55); box-shadow: 0 0 0 1px rgba(0, 224, 255, .12), 0 18px 40px -20px rgba(0, 224, 255, .65); }
.pchip--hot:hover { background: radial-gradient(120% 140% at 50% 0%, rgba(0, 224, 255, .26), rgba(0, 224, 255, .05) 60%), #121a22; border-color: var(--ciano); }
.pchip--hot .pchip__name { color: var(--ciano); }
.pchip--hot .pchip__price { color: #fff; }
.pchip__star { width: .45rem; height: .45rem; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 10px rgba(0, 224, 255, .9); }
.pchips__label { display: flex; align-items: center; gap: .9rem; width: min(100%, 26rem); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #a99be0; }
.pchips__label::before, .pchips__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .4)); }
.pchips__label::after { background: linear-gradient(90deg, rgba(167, 139, 250, .4), transparent); }
.pchips__extra { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pchip-x { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem .5rem .6rem; border-radius: 999px; border: 1px dashed rgba(167, 139, 250, .38); background: rgba(167, 139, 250, .04); font-size: .875rem; transition: border-color .3s, background-color .3s, transform .3s var(--ease), box-shadow .3s; }
.pchip-x .ico { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; color: #c9b8ff; background: rgba(167, 139, 250, .14); flex: none; }
.pchip-x span { font-weight: 600; color: #ddd3ff; }
.pchip-x b { font-weight: 500; color: var(--muted); white-space: nowrap; }
.pchip-x:hover { border-style: solid; border-color: #a78bfa; background: rgba(167, 139, 250, .1); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(167, 139, 250, .8); }

.plans { display: grid; gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: .85rem; padding: clamp(1.25rem, 1.05rem + .7vw, 1.75rem); border-radius: calc(var(--radius) + .25rem); background: var(--surface); border: 1px solid var(--line); min-width: 0;
  transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-10px); border-color: rgba(0, 224, 255, .55); box-shadow: 0 0 0 1px rgba(0, 224, 255, .25), 0 40px 80px -30px rgba(0, 224, 255, .35); }
.plan__head { display: grid; gap: .25rem; }
.plan__name { font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); }
.plan__sub { font-size: var(--fs-sm); color: var(--muted); }
.plan__tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--soft); padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line); }
.plan__prices { padding: .9rem 1rem; border-radius: var(--radius-sm); background: rgba(12, 13, 18, .55); border: 1px solid var(--line); }
.plan__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.plan__price { margin-top: .35rem; font: 600 clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem)/1 var(--f-display); letter-spacing: -.03em; display: flex; align-items: flex-start; gap: .3rem; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: .4em; font-weight: 500; margin-top: .3em; color: var(--muted); letter-spacing: 0; }
.plan__price .plan__per { align-self: flex-end; margin: 0 0 .25em; }
.plan__install { margin-top: .35rem; font-size: var(--fs-sm); color: var(--muted); }
.plan__monthly { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--line-strong); font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: baseline; gap: .25rem; flex-wrap: wrap; }
.plan__monthly b { color: var(--ciano); font: 600 1.2rem/1 var(--f-display); }
.plan__monthly--none { color: var(--soft); }
.plan__monthly:has(.plan__mlabel) { justify-content: space-between; align-items: center; gap: .5rem; }
.plan__mlabel { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.plan__mval { display: inline-flex; align-items: baseline; gap: .2rem; white-space: nowrap; }
.qmark { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1px solid rgba(0, 224, 255, .5); color: var(--ciano); font: 700 .72rem/1 var(--f-body); letter-spacing: 0; text-transform: none; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.qmark:hover, .qmark:focus-visible { background: var(--ciano); color: var(--ciano-ink); transform: scale(1.15); }
.why:target { animation: flash 1.2s var(--ease); }
.plan__prices .tiers { margin-top: .85rem; }
.plan__save { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ciano); margin-top: -.2rem; }
.plan__save::before { content: ""; flex: none; width: .5rem; height: .5rem; margin-top: .45em; border-radius: 50%; background: var(--ciano); }
.plan__feats { display: grid; gap: .35rem; }
.plan__group { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-top: .35rem; }
.feats { display: grid; }
.feats li { position: relative; padding: .3rem 0 .3rem 1.65rem; font-size: var(--fs-sm); line-height: 1.4; border-bottom: 1px solid rgba(138, 147, 181, .08); }
.feats li:last-child { border-bottom: 0; }
.feats li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; }
.feats li.on::before { background: var(--ciano) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%2304161a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat; }
.feats li.off { color: #5d6482; text-decoration: line-through; text-decoration-color: rgba(93, 100, 130, .5); }
.feats li.off::before { background: linear-gradient(var(--trilho), var(--trilho)) center / 55% 2px no-repeat; border: 1px solid var(--trilho); }
.plan--featured { background: linear-gradient(180deg, #13202a, #12141c 55%); border-color: rgba(0, 224, 255, .5); box-shadow: 0 40px 80px -40px rgba(0, 224, 255, .35); }
.plan--featured .plan__prices { border-color: rgba(0, 224, 255, .25); }
.plan--featured .plan__tag { color: var(--ciano); border-color: rgba(0, 224, 255, .35); }
.plan--extra { background: linear-gradient(180deg, #15161f, var(--surface)); }
.plan--extra .plan__tag { color: #c9b8ff; border-color: rgba(167, 139, 250, .35); }
.plan__badge { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .35rem .9rem; border-radius: 999px; background: var(--ciano); color: var(--ciano-ink); font-size: .75rem; font-weight: 600; letter-spacing: .04em; box-shadow: 0 8px 20px -8px rgba(0, 224, 255, .7); }
.plans__divider { display: none; }
.tiers { display: grid; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tiers li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .8rem; font-size: var(--fs-sm); border-bottom: 1px solid var(--line); }
.tiers li:last-child { border-bottom: 0; }
.tiers span { color: var(--muted); }
.tiers b { font-weight: 600; white-space: nowrap; }
.why { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem); border-radius: calc(var(--radius) + .25rem); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(0, 224, 255, .07), rgba(18, 20, 28, .85) 40%); display: grid; gap: 1.5rem; scroll-margin-top: calc(var(--topbar-h) + 1.5rem); }
.why__title { margin-top: .6rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.2; text-wrap: balance; }
.why__text { margin-top: .6rem; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; max-width: 34rem; }
.why__list { display: grid; gap: .75rem; }
.why__list li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: var(--radius-sm); background: rgba(12, 13, 18, .5); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); min-width: 0; }
.why__list li:hover { border-color: rgba(0, 224, 255, .5); transform: translateY(-3px); }
.why__list .ico { flex: none; width: 2.25rem; height: 2.25rem; padding: .45rem; border-radius: .7rem; color: var(--ciano); background: rgba(0, 224, 255, .1); }
.why__list b { display: block; font: 600 1rem/1.3 var(--f-display); }
.why__list span { display: block; margin-top: .25rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) { .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: center; gap: 2.5rem; } }
.plans__note { margin-top: 1.5rem; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.plans__foot { margin-top: .75rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.plans__dots { display: none; }
@media (max-width: 520px) {
  .pchips__main { gap: .25rem; padding: .3rem; border-radius: 1.15rem; }
  .pchip { padding: .7rem .3rem; border-radius: .9rem; }
  .pchip__name { font-size: .66rem; letter-spacing: .03em; }
  .pchip__star { display: none; }
  .pchip__note { font-size: .66rem; }
}
@media (max-width: 359px) {
  .pchip { padding-inline: .15rem; }
  .pchip__note { font-size: .6rem; }
  .pchip__name { font-size: .6rem; letter-spacing: 0; white-space: nowrap; }
  .pchip-x { font-size: .8rem; }
}

/* Até 1099 px: carrossel deslizante com os 5 cartões; o resumo no topo leva direto a cada um */
@media (max-width: 1099px) {
  .plans { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 1.25rem var(--gutter) 1.5rem; margin-inline: calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(86%, 24rem); scroll-snap-align: start; }
  .plan:hover { transform: translateY(-6px); }
  .js .plans .plan.reveal { opacity: 1; transform: none; }
  .plans__dots { display: flex; justify-content: center; gap: .45rem; }
  .plans__dots button { width: .55rem; height: .55rem; border-radius: 99px; background: var(--trilho); transition: width .3s var(--ease), background-color .3s; }
  .plans__dots button.is-on { width: 1.6rem; background: var(--ciano); }

}
/* 1100 px ou mais: 3 planos em cima, 2 extras embaixo, tudo visível */
@media (min-width: 1100px) {
  .plans { grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; }
  .plan { grid-column: span 2; }
  .plan--extra { grid-column: span 3; }
  .plan--featured { transform: translateY(-.75rem); }
  .plan--featured:hover { transform: translateY(-1.5rem); }
  .plans__divider { display: flex; grid-column: 1 / -1; align-items: center; gap: 1rem; margin: 1.25rem 0 .25rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
  .plans__divider::before, .plans__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .plan--extra .plan__feats .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
  .plan--extra .feats li:nth-last-child(2) { border-bottom: 0; }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2.5rem; }
.faq__head { display: grid; gap: 1rem; align-content: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.35rem 0; font: 500 clamp(1.0625rem, 1rem + .3vw, 1.1875rem)/1.35 var(--f-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--ciano), var(--ciano)) center / 10px 1.6px no-repeat, linear-gradient(var(--ciano), var(--ciano)) center / 1.6px 10px no-repeat; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 2.75rem 1.5rem 0; color: var(--muted); }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; } .faq__head { position: sticky; top: calc(var(--topbar-h) + 2rem); } }

/* ---------- Contato ---------- */
.contact-sec { background: linear-gradient(180deg, transparent, rgba(23, 26, 37, .6)); }
.contact { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
.contact__copy { display: grid; gap: 1rem; min-width: 0; }
.channels { display: grid; gap: .75rem; margin-top: 1rem; }
.channels a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .25s; min-width: 0; }
.channels a:hover { border-color: var(--ciano); }
.channels .ico { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 50%; background: rgba(0, 224, 255, .08); color: var(--ciano); }
.channels span { display: grid; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.channels small { font-size: var(--fs-xs); color: var(--soft); font-weight: 500; }

.form { display: grid; gap: 1rem; padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); border-radius: calc(var(--radius) + .25rem); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.form__row { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; min-width: 0; }
.field > span { font-size: var(--fs-sm); font-weight: 500; }
.field em { font-style: normal; color: var(--soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 3.1rem; padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong); font-size: 1rem; /* ≥16px: sem zoom no iPhone */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ciano) 50%), linear-gradient(135deg, var(--ciano) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - .9rem) 55%; background-size: .32rem .32rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #5f6788; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ciano); box-shadow: 0 0 0 4px rgba(0, 224, 255, .14); }
.field.is-invalid input { border-color: #ff6b81; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: var(--fs-xs); color: var(--soft); text-align: center; }
.form__msg { font-size: var(--fs-sm); text-align: center; color: var(--ciano); min-height: 1.2em; }
.form__msg.is-error { color: #ff8fa0; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Rodapé ---------- */
.footer { position: relative; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom)); background: #0a0b0f; }
.footer__bar { position: absolute; inset: 0 0 auto; height: 3px; background: var(--trilho); }
.footer__bar i { display: block; height: 100%; width: 62%; background: var(--ciano); }
.footer__in { display: grid; gap: 2rem; }
.footer__brand img { width: clamp(14rem, 12rem + 4vw, 16.25rem); }
.footer__brand p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-sm); max-width: 22rem; }
.footer__nav, .footer__contact { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: var(--fs-sm); }
.footer__nav a, .footer__contact a { color: var(--muted); transition: color .2s; overflow-wrap: anywhere; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--ciano); }
.footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: var(--fs-xs); color: var(--soft); }
@media (min-width: 900px) {
  .footer__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .footer__nav, .footer__contact { flex-direction: column; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 40; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  width: 3.75rem; height: 3.75rem; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6), 0 4px 12px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.wa-float svg { width: 2rem; height: 2rem; }
.wa-float:hover { transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ping 2.6s 3s ease-out infinite; }
.wa-float__tip { position: absolute; right: calc(100% + .75rem); white-space: nowrap; background: var(--gelo); color: var(--grafite); font-size: .8125rem; font-weight: 600; padding: .5rem .8rem; border-radius: .6rem; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }
.menu-open .wa-float, .wa-float.is-hidden { opacity: 0; visibility: hidden; transform: scale(.8); }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (hover: none) { .wa-float__tip { display: none; } }

/* ---------- Modal de projeto ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.modal::backdrop { background: rgba(5, 6, 9, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { display: grid; place-items: end center; animation: fade .25s ease; }
.modal__box { position: relative; width: 100%; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 1.25rem 1.25rem 0 0; border: 1px solid var(--line); border-bottom: 0; animation: up .4s var(--ease); }
.modal__close { position: sticky; top: .75rem; float: right; margin: .75rem .75rem 0 0; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 13, 18, .85); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__close:hover { border-color: var(--ciano); color: var(--ciano); }
.modal__content { padding: 0 clamp(1.25rem, .8rem + 2.5vw, 3rem) clamp(1.75rem, 1.2rem + 2vw, 3rem); clear: both; margin-top: -3.5rem; }
@media (min-width: 760px) {
  .modal[open] { place-items: center; padding: 2rem var(--gutter); }
  .modal__box { max-width: 72rem; max-height: calc(100dvh - 4rem); border-radius: 1.5rem; border-bottom: 1px solid var(--line); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: .4; } }

.pj__head { padding-top: 3rem; display: grid; gap: .75rem; max-width: 46rem; }
.pj__title { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); }
.pj__lead { color: var(--muted); font-size: var(--fs-lead); }
.pj__meta { display: grid; gap: 1rem; margin-top: 1.75rem; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.pj__meta dt { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.pj__meta dd { margin: .35rem 0 0; font-size: var(--fs-sm); }
.pj__palette { display: flex; flex-wrap: wrap; gap: .4rem; }
.pj__palette i { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
@media (min-width: 640px) { .pj__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pj__gallery { display: grid; gap: .75rem; margin-top: 1.75rem; }
.pj__gallery figure { border-radius: var(--radius-sm); overflow: hidden; background: #0a0b10; border: 1px solid var(--line); }
.pj__gallery img, .pj__gallery video { width: 100%; height: auto; }
.pj__gallery figcaption { padding: .7rem .9rem; font-size: var(--fs-xs); color: var(--soft); border-top: 1px solid var(--line); }
.pj__gallery .on-light { background: #F7F7F5; display: grid; place-items: center; padding: 10% 8%; }
.pj__gallery .on-petrol { background: #0B2838; display: grid; place-items: center; padding: 8%; }
@media (min-width: 640px) {
  .pj__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj__gallery .full { grid-column: 1 / -1; }
}
.pj__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 479px) { .pj__cta .btn { flex: 1 1 100%; } }

/* ---------- Barra de progresso da leitura ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ciano); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Barra de progresso da leitura (grafismo da marca) ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ciano); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .case.reveal .stage { transform: scale(1.05); transition: transform 1.4s var(--ease); }
.js .case.reveal.is-in .stage { transform: none; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .curve__line { stroke-dashoffset: 0; }
  .curve__dot { transform: none; }
  .pillar { opacity: 1; transform: none; }
  .minibar > i { width: var(--w); }
  .js .reveal { opacity: 1; transform: none; }
  .js .case.reveal .stage--photo > * { transform: none; }
  .progress { display: none; }
  .js .case.reveal .stage { transform: none; }
  .progress { display: none; }
}

/* ---------- Página simples (privacidade / 404) ---------- */
.page { padding: calc(var(--topbar-h) + 3rem) 0 var(--sec-y); }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: var(--fs-h2); margin: 1rem 0 1.5rem; }
.page h2 { font-size: var(--fs-h3); margin: 2rem 0 .6rem; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; }
.page a:not(.btn) { color: var(--ciano); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Janela do projeto: moldura de navegador e destaques ---------- */
.browser { background: #1b1e2a; }
.browser__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #232737; border-bottom: 1px solid var(--line); }
.browser__bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #3a3f55; }
.browser__bar span { margin-left: .6rem; flex: 1; min-width: 0; padding: .25rem .7rem; border-radius: 999px; background: #151823; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; display: block; }
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6%; padding: 12% 8%; background: #050505; }
.highlights img { width: 100%; height: auto; border-radius: 50%; border: 2px solid #23262d; }
.pj__gallery .on-light img { max-width: 70%; margin-inline: auto; }
@media (min-width: 640px) { .pj__gallery .full-sm { grid-column: 1 / -1; max-width: 50%; justify-self: center; } }

/* Comparativo no celular: nome do item numa linha, as 3 colunas embaixo (sem rolagem lateral) */
@media (max-width: 639px) {
  .compare__scroll { overflow: visible; }
  .compare__table { min-width: 0; display: block; font-size: .875rem; }
  .compare__table thead, .compare__table tbody { display: block; }
  .compare__table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .compare__table th, .compare__table td { border-bottom: 0; padding: .55rem .4rem; min-width: 0; }
  .compare__table thead th:first-child { display: none; }
  .compare__table thead th { position: static; font-size: .875rem; padding: .9rem .3rem; overflow-wrap: anywhere; }
  .compare__table tbody th { grid-column: 1 / -1; position: static; min-width: 0; padding: .8rem .9rem 0; color: var(--text); font-weight: 500; text-align: center; }
  .compare__table td { padding-bottom: .8rem; }
  .compare__group { display: block !important; }
  .compare__group th { display: block; padding: .65rem .9rem !important; text-align: center !important; }
  .compare__table tr:last-child { border-bottom: 0; }
}
.pj__gallery { align-items: start; }

/* ---------- Galeria do projeto: moldura de navegador, destaques, vídeo ---------- */
.pj__gallery .browser { background: #e9ebf0; }
.browser__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #1c1f2b; border-bottom: 1px solid var(--line); }
.browser__bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #3a3f55; }
.browser__bar span { margin-left: .6rem; flex: 1; min-width: 0; padding: .3rem .8rem; border-radius: 999px; background: #0f1118; color: var(--muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj__gallery .on-dark { background: #050608; }
.highlights__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.75rem, 3vw, 2rem); padding: clamp(1.25rem, 4vw, 2.5rem); }
.highlights__row img { width: clamp(4.5rem, 16vw, 7.5rem); aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0, 177, 238, .45); }
.video-frame { background: #24170f; display: grid; place-items: center; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }

/* =========================================================
   Animações agradáveis (leves, sem exagero)
   ========================================================= */
/* Hero: o texto entra em sequência ao abrir a página */
.js .hero__copy > * { opacity: 0; transform: translateY(16px); animation: heroIn .9s var(--ease) forwards; }
.js .hero__copy > :nth-child(1) { animation-delay: .05s; }
.js .hero__copy > :nth-child(2) { animation-delay: .15s; }
.js .hero__copy > :nth-child(3) { animation-delay: .3s; }
.js .hero__copy > :nth-child(4) { animation-delay: .42s; }
.js .hero__copy > :nth-child(5) { animation-delay: .54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
/* "você." ganha um sublinhado em ciano que se desenha */
.hl { position: relative; display: inline-block; }
.hl::after { content: ""; position: absolute; left: .02em; right: .25em; bottom: .02em; height: .085em; border-radius: 99px; background: var(--ciano); transform: scaleX(0); transform-origin: left; animation: underline .8s 1.1s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
/* Arte do hero: flutua devagar e acompanha a rolagem */
.hero__art { transform: translate3d(0, var(--par, 0px), 0); will-change: transform; }
.pillar:nth-child(1) { --fl: 0s; } .pillar:nth-child(2) { --fl: -2s; } .pillar:nth-child(3) { --fl: -4s; }
.js .pillar { animation: rise .7s var(--d, 1s) var(--ease) forwards, float 6s calc(var(--d, 1s) + .8s + var(--fl)) ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
/* Títulos de seção: o ponto pisca uma vez ao aparecer */
.reveal.is-in .eyebrow .dot { animation: dotPing 1.2s .2s ease-out 1; }
@keyframes dotPing { 0% { box-shadow: 0 0 0 0 rgba(0, 224, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(0, 224, 255, 0); } }
/* Portfólio: a imagem é revelada de baixo para cima */
.js .case.reveal .stage { clip-path: inset(100% 0 0 0 round var(--radius) var(--radius) 0 0); transition: clip-path 1.1s .1s var(--ease); }
.js .case.reveal.is-in .stage { clip-path: inset(0 0 0 0 round var(--radius) var(--radius) 0 0); }
/* Ícones dos serviços reagem ao passar o mouse */
.svc__ico { transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.svc:hover .svc__ico { transform: translateY(-3px) rotate(-4deg); background: rgba(0, 224, 255, .12); border-color: rgba(0, 224, 255, .4); }
/* Botão principal: brilho discreto ao passar o mouse */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
/* Perguntas: a resposta desliza suavemente */
.qa[open] p { animation: fadeDown .4s var(--ease); }
/* Cartões do "seja sincero": número gira levemente ao aparecer */
.reveal.is-in .pain__n { animation: popIn .6s .15s var(--ease) both; }
@keyframes popIn { from { transform: scale(.6) rotate(-20deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero__copy > * { opacity: 1; transform: none; animation: none; }
  .hl::after { transform: scaleX(1); animation: none; }
  .hero__art { transform: none; }
  .js .case.reveal .stage { clip-path: none; }
}

/* =========================================================
   Selos de segurança (rodapé)
   ========================================================= */
.seals { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; }
.seal { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .85rem .55rem .6rem; border-radius: .75rem; border: 1px solid var(--line); background: rgba(242, 245, 255, .02); font-size: .8125rem; line-height: 1.2; color: var(--muted); transition: border-color .25s, color .25s; }
a.seal:hover { border-color: var(--ciano); color: var(--text); }
.seal svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--ciano); }
.seal b { display: block; color: var(--text); font-weight: 600; font-size: .8125rem; }
.seal small { font-size: .72rem; color: var(--soft); }

/* Galeria: miniaturas lado a lado */
.pj__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .75rem; background: #24170f; }
.pj__pair img, .pj__pair video { width: 100%; height: 100%; object-fit: cover; border-radius: .5rem; aspect-ratio: 4 / 5; }
.footer__contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer__contact .ico { width: 1.15rem; height: 1.15rem; color: var(--ciano); }

.pain__item:hover { transform: translateY(-6px); border-color: rgba(0, 224, 255, .4); box-shadow: 0 30px 60px -35px rgba(0, 224, 255, .3); }
.btn:hover { transform: translateY(-2px); }
.channels a { transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.channels a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(0, 224, 255, .35); }

/* Coliseum: leque de posts na capa */
.stage--fan { background: radial-gradient(120% 100% at 50% 20%, #0f3a66, #071a33 55%, #050b16); }
.stage--fan img { position: absolute; top: 50%; left: 50%; height: 82%; width: auto; aspect-ratio: 4 / 5; border-radius: .6rem; box-shadow: 0 25px 50px -15px rgba(0, 0, 0, .7); transition: transform .7s var(--ease); }
.stage--fan img:nth-child(1) { transform: translate(-112%, -48%) rotate(-8deg); }
.stage--fan img:nth-child(2) { transform: translate(-50%, -52%); z-index: 2; }
.stage--fan img:nth-child(3) { transform: translate(12%, -48%) rotate(8deg); }
.case__btn:hover .stage--fan img:nth-child(1) { transform: translate(-122%, -50%) rotate(-11deg); }
.case__btn:hover .stage--fan img:nth-child(2) { transform: translate(-50%, -56%) scale(1.04); }
.case__btn:hover .stage--fan img:nth-child(3) { transform: translate(22%, -50%) rotate(11deg); }
.js .case.reveal .stage--fan > * { scale: 1; }

/* Galeria dos projetos: miniaturas em molduras iguais (nada fica torto) */
.pj__gallery figure:not(.full) .frame { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #0e1016; overflow: hidden; }
.pj__gallery figure:not(.full) .frame img { width: 100%; height: 100%; object-fit: contain; }
.pj__gallery figure.cover:not(.full) .frame img { object-fit: cover; }
.pj__gallery .frame.on-light, .pj__gallery figure.on-light .frame { background: #F3E7DD; }
.posts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; padding: .75rem; background: #050b16; }
.posts-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .4rem; }
@media (max-width: 560px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan.is-flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 224, 255, 0); } 30% { box-shadow: 0 0 0 4px rgba(0, 224, 255, .55); } }
.pj__gallery .highlights__row { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
.pj__gallery .highlights__row img { width: clamp(4.5rem, 14vw, 7.5rem); height: auto; flex: none; }
.pj__gallery figure.highlights { display: block; padding: 0; }
.pj__gallery .highlights__row { width: 100%; box-sizing: border-box; }
