/* =========================================================================
   Perfect Win — Landing
   Caixilharia PVC / Alumínio · Portugal
   Static rebuild (semantic HTML/CSS/JS) of the Claude Design source.
   ========================================================================= */

/* ---------- Design tokens ---------- */
.pw-root {
  --pw-red: #E41919;
  --pw-bg: #0e0e10;
  --pw-bg-deep: #0a0a0c;
  --pw-surface: #141416;
  --pw-text: #fff;
  --pw-text-2: rgba(255, 255, 255, .74);
  --pw-text-3: rgba(255, 255, 255, .6);
  --pw-text-4: rgba(255, 255, 255, .45);
  --pw-line: rgba(255, 255, 255, .16);
  --pw-line-soft: rgba(255, 255, 255, .1);
  --pw-line-strong: rgba(255, 255, 255, .28);
  --pw-fill: rgba(255, 255, 255, .05);
  --pw-fill-soft: rgba(255, 255, 255, .02);
  --pw-grid: rgba(255, 255, 255, .04);
  --pw-header-bg: rgba(14, 14, 16, .72);
  --pw-on-red: #fff;
  --pw-logo-white: block;
  --pw-logo-dark: none;
  --pw-sun: inline-flex;
  --pw-moon: none;
  --pw-scrim-rgb: 14, 14, 16;
  --pw-vid-a: #1d1d20;
  --pw-vid-b: #161618;
  --pw-vid-a2: #212125;
  --pw-vid-b2: #151517;
  --pw-ghost: rgba(255, 255, 255, .055);
  --pw-card: rgba(20, 20, 22, .72);
}

/* Sections layered over imagery keep the dark (white-text) palette even in light theme. */
.pw-root [data-media] {
  --pw-text: #fff;
  --pw-text-2: rgba(255, 255, 255, .74);
  --pw-text-3: rgba(255, 255, 255, .6);
  --pw-text-4: rgba(255, 255, 255, .45);
  --pw-line: rgba(255, 255, 255, .16);
  --pw-line-soft: rgba(255, 255, 255, .1);
  --pw-line-strong: rgba(255, 255, 255, .28);
  --pw-fill: rgba(255, 255, 255, .05);
  --pw-fill-soft: rgba(255, 255, 255, .02);
  --pw-scrim-rgb: 14, 14, 16;
  --pw-card: rgba(20, 20, 22, .72);
  --pw-surface: #141416;
}

.pw-root[data-theme="light"] {
  --pw-bg: #f5f4f2;
  --pw-bg-deep: #ecebe8;
  --pw-surface: #e6e5e2;
  --pw-text: #0e0e10;
  --pw-text-2: rgba(14, 14, 16, .72);
  --pw-text-3: rgba(14, 14, 16, .55);
  --pw-text-4: rgba(14, 14, 16, .46);
  --pw-line: rgba(14, 14, 16, .16);
  --pw-line-soft: rgba(14, 14, 16, .12);
  --pw-line-strong: rgba(14, 14, 16, .3);
  --pw-fill: rgba(14, 14, 16, .04);
  --pw-fill-soft: rgba(14, 14, 16, .03);
  --pw-grid: rgba(14, 14, 16, .06);
  --pw-header-bg: rgba(245, 244, 242, .82);
  --pw-on-red: #fff;
  --pw-logo-white: none;
  --pw-logo-dark: block;
  --pw-sun: none;
  --pw-moon: inline-flex;
  --pw-scrim-rgb: 245, 244, 242;
  --pw-vid-a: #dedcd8;
  --pw-vid-b: #e9e7e3;
  --pw-vid-a2: #d7d5d0;
  --pw-vid-b2: #efedea;
  --pw-ghost: rgba(14, 14, 16, .05);
  --pw-card: rgba(255, 255, 255, .78);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; background: #0e0e10; }
img { max-width: 100%; }
a { cursor: pointer; color: inherit; }

.pw-root {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pw-text);
  min-height: 100vh;
  background: var(--pw-bg);
}
.pw-root ::selection { background: var(--pw-red); color: var(--pw-on-red); }

.pw-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

@keyframes pwdrift { from { background-position: 0 0; } to { background-position: 120px 120px; } }
@keyframes pwfade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .pw-anim-drift { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }

/* ---------- Layout helpers ---------- */
.pw-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.pw-section {
  position: relative;
  overflow: hidden;
  background: var(--pw-bg);
  color: var(--pw-text);
  padding: clamp(64px, 10vh, 120px) 0;
}
.pw-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pw-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--pw-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pw-media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Section eyebrow row */
.pw-eyebrow-row { display: flex; align-items: center; gap: 16px; }
.pw-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--pw-red);
}
.pw-rule { flex: 1; height: 1px; background: var(--pw-line); }
.pw-rule-soft { flex: 1; height: 1px; background: var(--pw-line-soft); }
.pw-eyebrow-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--pw-text-4);
}

/* Buttons */
.pw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease;
}
.pw-btn-red { background: var(--pw-red); color: var(--pw-on-red); }
.pw-btn-red:hover { opacity: .9; color: var(--pw-on-red); }
.pw-btn-ghost {
  background: var(--pw-fill);
  border-color: var(--pw-line-strong);
  color: var(--pw-text);
  font-weight: 500;
}
.pw-btn-ghost:hover { border-color: var(--pw-red); color: var(--pw-text); }

/* ============================ HEADER ============================ */
.pw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  background: var(--pw-header-bg);
  color: var(--pw-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pw-line-soft);
}
.pw-logo { display: flex; align-items: center; text-decoration: none; }
.pw-logo img { height: 26px; }
.pw-logo-w { display: var(--pw-logo-white); }
.pw-logo-d { display: var(--pw-logo-dark); }
.pw-header-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.pw-nav { display: flex; gap: 22px; font-size: 14px; color: var(--pw-text-2); }
.pw-nav a { text-decoration: none; }
.pw-nav a:hover { color: var(--pw-red); }
.pw-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pw-line-strong);
  color: inherit;
  cursor: pointer;
  background: none;
}
.pw-iconbtn:hover { color: var(--pw-red); border-color: var(--pw-red); }
.pw-burger { display: none; }
.pw-sun { display: var(--pw-sun); }
.pw-moon { display: var(--pw-moon); }
.pw-lang {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pw-lang b { cursor: pointer; font-weight: 700; color: var(--pw-text-4); }
.pw-lang b.is-active { color: var(--pw-text); }
.pw-lang .sep { color: var(--pw-text-4); }
.pw-cta-sm {
  padding: 11px 20px;
  background: var(--pw-red);
  color: var(--pw-on-red);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.pw-cta-sm:hover { opacity: .9; color: var(--pw-on-red); }

/* Mobile nav dropdown */
.pw-mobnav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pw-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pw-line-soft);
  display: none;
  flex-direction: column;
  padding: 8px clamp(20px, 5vw, 56px) 20px;
}
.pw-mobnav.is-open { display: flex; }
.pw-mobnav a {
  text-decoration: none;
  color: var(--pw-text);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--pw-line-soft);
}
.pw-mobnav a.pw-mobnav-cta {
  color: var(--pw-on-red);
  background: var(--pw-red);
  font-size: 16px;
  padding: 14px;
  text-align: center;
  margin-top: 16px;
  border-bottom: none;
}

/* ============================ HERO ============================ */
.pw-hero {
  position: relative;
  min-height: calc(100vh - 59px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--pw-text);
}
.pw-hero-weave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, var(--pw-vid-a) 0 2px, var(--pw-vid-b) 2px 12px);
  animation: pwdrift 7s linear infinite;
}
.pw-scrim-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 30% 30%, rgba(var(--pw-scrim-rgb), .28), rgba(var(--pw-scrim-rgb), .9));
}
.pw-scrim-vert {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--pw-scrim-rgb), .5) 0%,
    rgba(var(--pw-scrim-rgb), 0) 22%,
    rgba(var(--pw-scrim-rgb), 0) 60%,
    rgba(var(--pw-scrim-rgb), .85) 100%);
}
.pw-vidtag {
  position: absolute;
  top: 22px;
  right: clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--pw-text-3);
}
.pw-dot-red { width: 7px; height: 7px; background: var(--pw-red); border-radius: 50%; display: inline-block; }
.pw-vidtag-stage { color: var(--pw-text); min-width: 118px; display: inline-block; }
.pw-vidtag-num { color: var(--pw-text-4); }

.pw-hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 72px) clamp(20px, 5vw, 56px) 0;
}
.pw-hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 940px;
}
.pw-hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--pw-red);
  margin-bottom: 24px;
}
.pw-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 15ch;
}
.pw-hero-lead {
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.55;
  color: var(--pw-text-2);
  max-width: 640px;
  margin: 26px 0 0;
}
.pw-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  max-width: 660px;
  margin: 38px 0 40px;
}
.pw-hero-feat {
  display: flex;
  align-items: baseline;
  gap: 13px;
  border-top: 1px solid var(--pw-line);
  padding-top: 12px;
}
.pw-hero-feat .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--pw-red); }
.pw-hero-feat .t { font-size: 15.5px; color: var(--pw-text); }
.pw-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.pw-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  margin-top: 24px;
  border-top: 1px solid var(--pw-line-soft);
}
.pw-social {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--pw-text-3);
}
.pw-social a { display: flex; text-decoration: none; }
.pw-social a:hover { color: var(--pw-red); }
.pw-social svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.pw-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pw-dots { display: flex; align-items: center; gap: 9px; }
.pw-dots a {
  height: 3px;
  width: 9px;
  background: var(--pw-text-4);
  display: inline-block;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.pw-dots a.is-active { width: 26px; background: var(--pw-red); }
.pw-hero-scroll {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--pw-text-4);
}

/* ============================ OBJETIVOS ============================ */
.pw-radial-tr {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(228, 25, 25, .08), transparent 55%);
}
.pw-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.pw-h2-lg {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
}
.pw-body {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
  color: var(--pw-text-2);
  margin: 26px 0 0;
}
.pw-body .hl { color: var(--pw-text); }
.pw-notecol { display: flex; flex-direction: column; gap: 18px; }
.pw-note { padding: 4px 0 4px 20px; border-left: 3px solid var(--pw-line); }
.pw-note.is-key { border-left-color: var(--pw-red); }
.pw-note-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--pw-text-4);
  margin-bottom: 9px;
}
.pw-note.is-key .pw-note-label { color: var(--pw-red); }
.pw-note p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--pw-text-2); }

.pw-strip-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 64px 0 22px;
}
.pw-strip-head span:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--pw-text-4);
}
.pw-video-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pw-vidcard {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  text-decoration: none;
  color: var(--pw-text);
  border: 1px solid var(--pw-line);
  cursor: pointer;
  transition: border .3s ease, box-shadow .3s ease;
}
.pw-vidcard.is-active {
  border: 1px solid rgba(228, 25, 25, .7);
  box-shadow: 0 0 0 3px rgba(228, 25, 25, .14);
}
.pw-vidcard-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 16, .15), rgba(14, 14, 16, .82));
}
.pw-corner { position: absolute; width: 18px; height: 18px; }
.pw-corner.tl { top: 12px; left: 12px; border-top: 2px solid var(--pw-line-strong); border-left: 2px solid var(--pw-line-strong); }
.pw-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--pw-line-strong); border-right: 2px solid var(--pw-line-strong); }
.pw-vidcard.is-active .pw-corner.tl { border-top-color: var(--pw-red); border-left-color: var(--pw-red); }
.pw-vidcard.is-active .pw-corner.br { border-bottom-color: var(--pw-red); border-right-color: var(--pw-red); }
.pw-vidcard-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 20px 22px;
}
.pw-vidcard-n {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--pw-line-strong);
}
.pw-vidcard.is-active .pw-vidcard-n { color: var(--pw-red); }
.pw-vidcard-meta { align-self: flex-end; text-align: right; }
.pw-vidcard-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--pw-text-4);
  margin-bottom: 5px;
}
.pw-vidcard-title { font-size: 17px; font-weight: 600; }

.pw-payoff {
  margin-top: clamp(56px, 8vh, 96px);
  border-top: 1px solid var(--pw-line-soft);
  padding-top: clamp(40px, 6vh, 64px);
  max-width: 920px;
}
.pw-h2-xl {
  margin: 0;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.02em;
}
.pw-h2-xl .muted { color: var(--pw-text-4); }
.pw-payoff p {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.56;
  color: var(--pw-text-2);
  margin: 24px 0 0;
}
.pw-payoff .pw-btn { margin-top: 34px; }

/* ============================ MEDIA SECTIONS (work / soluções) ============================ */
.pw-media-section {
  position: relative;
  overflow: hidden;
  background: var(--pw-bg);
  color: var(--pw-text);
  min-height: clamp(660px, 94vh, 920px);
  display: flex;
  flex-direction: column;
}
.pw-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: var(--pw-line-soft);
}
.pw-progress-bar {
  height: 3px;
  background: var(--pw-red);
  width: 25%;
  transition: width .5s ease;
}
.pw-weave-2 {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, var(--pw-vid-a) 0 2px, var(--pw-vid-b2) 2px 12px);
  animation: pwdrift 8s linear infinite;
}
.pw-radial-red-l { position: absolute; inset: 0; background: radial-gradient(85% 70% at 22% 22%, rgba(228, 25, 25, .14), transparent 55%); }
.pw-radial-red-r { position: absolute; inset: 0; background: radial-gradient(85% 70% at 76% 24%, rgba(228, 25, 25, .14), transparent 55%); }
.pw-scrim-c { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 42%, rgba(var(--pw-scrim-rgb), .12), rgba(var(--pw-scrim-rgb), .72)); }
.pw-scrim-v2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--pw-scrim-rgb), .72), rgba(var(--pw-scrim-rgb), .24) 30%, rgba(var(--pw-scrim-rgb), .92));
}
.pw-ghost {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  top: clamp(150px, 22vh, 240px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--pw-ghost);
  text-align: right;
  pointer-events: none;
  overflow: hidden;
}
.pw-ghost.work { font-size: clamp(58px, 10vw, 150px); line-height: .84; max-width: 58%; }
.pw-ghost.sol { font-size: clamp(84px, 15vw, 230px); line-height: .82; max-width: 64%; }
.pw-media-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 5vh, 56px) clamp(20px, 5vw, 56px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pw-media-bgtag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--pw-text-3);
  margin-bottom: 16px;
}
.pw-media-bgtag .pw-dot-red { border-radius: 50%; }
.pw-h2-media {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.02em;
  max-width: 22ch;
}
.pw-h2-media .em { color: var(--pw-red); }
.pw-h2-sol {
  margin: 0;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 16ch;
}
.pw-media-spacer { flex: 1; min-height: 40px; }
.pw-media-desc {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--pw-text-2);
  max-width: 560px;
  margin: 0 0 24px;
}
.pw-steps { max-width: 840px; }
.pw-step {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 15px 4px;
  border-bottom: 1px solid var(--pw-line);
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--pw-text);
  transition: border-color .3s ease, padding-left .3s ease;
}
.pw-step.is-active { border-left-color: var(--pw-red); padding-left: 16px; }
.pw-step .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--pw-text-4);
  min-width: 22px;
}
.pw-step.is-active .n { color: var(--pw-red); }
.pw-step .t {
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--pw-text-3);
  transition: font-size .3s ease, color .3s ease;
}
.pw-step.is-active .t { font-size: 22px; color: var(--pw-text); }
.pw-step .arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--pw-text-4);
  transition: all .3s ease;
}
.pw-step.is-active .arrow { color: var(--pw-red); transform: translateX(4px); }
.pw-media-inner > .pw-btn { align-self: flex-start; margin-top: clamp(28px, 4vh, 42px); }

/* Soluções rows (with PDF pill) */
.pw-sol-rows { display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 48px); }
.pw-sol-rows-inner { flex: 1 1 auto; max-width: 760px; }
.pw-sol-row {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 4px;
  border-bottom: 1px solid var(--pw-line);
  border-left: 2px solid transparent;
  transition: border-color .3s ease, padding-left .3s ease;
}
.pw-sol-row.is-active { border-left-color: var(--pw-red); padding-left: 16px; }
.pw-sol-row .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--pw-text-4);
  min-width: 22px;
}
.pw-sol-row.is-active .n { color: var(--pw-red); }
.pw-sol-row .name {
  flex: 1 1 auto;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--pw-text-3);
  transition: font-size .3s ease, color .3s ease;
}
.pw-sol-row.is-active .name { font-size: 23px; color: var(--pw-text); }
.pw-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 9px 14px;
  white-space: nowrap;
  color: var(--pw-text);
  border: 1px solid var(--pw-line-strong);
  background: rgba(var(--pw-scrim-rgb), .35);
  transition: background .3s ease, border-color .3s ease;
}
.pw-sol-row.is-active .pw-pdf { border-color: var(--pw-red); background: var(--pw-red); }
.pw-sol-row .arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--pw-text-4);
  transition: all .3s ease;
}
.pw-sol-row.is-active .arrow { color: var(--pw-red); transform: translateX(4px); }

/* ============================ PROJETO (process cards) ============================ */
.pw-scrim-v3 {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--pw-scrim-rgb), .9), rgba(var(--pw-scrim-rgb), .66) 35%, rgba(var(--pw-scrim-rgb), .92));
}
.pw-corner-tag {
  position: absolute;
  top: 22px;
  right: clamp(20px, 5vw, 56px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--pw-text-4);
}
.pw-lead-560 {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--pw-text-2);
  margin: 20px 0 0;
  max-width: 560px;
}
.pw-lead-600 {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--pw-text-2);
  margin: 20px 0 0;
  max-width: 600px;
}
.pw-proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: clamp(36px, 5vh, 52px);
}
.pw-proc {
  position: relative;
  border: 1px solid var(--pw-line-soft);
  border-top: 2px solid var(--pw-red);
  background: var(--pw-fill-soft);
  padding: 22px;
}
.pw-proc.is-final { border-color: rgba(228, 25, 25, .5); background: rgba(228, 25, 25, .07); }
.pw-proc-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--pw-red);
  letter-spacing: -.02em;
}
.pw-proc-t { font-size: 16px; font-weight: 600; margin-top: 12px; line-height: 1.3; }
.pw-proc-sub { font-size: 13px; color: var(--pw-text-3); margin-top: 6px; line-height: 1.4; }

.pw-pdfrow {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid var(--pw-line);
  background: var(--pw-fill-soft);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--pw-text);
}
.pw-pdfrow:hover { border-color: var(--pw-red); color: var(--pw-text); }
.pw-pdf-icon {
  position: relative;
  width: 46px;
  height: 56px;
  flex: 0 0 auto;
  background: var(--pw-red);
}
.pw-pdf-icon .fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 15px 15px;
  border-color: transparent transparent transparent transparent;
  border-left-color: var(--pw-bg);
  border-bottom-color: var(--pw-bg);
}
.pw-pdf-icon .lbl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--pw-text);
  letter-spacing: .08em;
}
.pw-pdfrow-main { flex: 1; min-width: 200px; }
.pw-pdfrow-main .ttl { font-size: 17px; font-weight: 600; }
.pw-pdfrow-main .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--pw-text-3);
  margin-top: 5px;
}
.pw-pdfrow .act {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--pw-line-strong);
  font-weight: 600;
  font-size: 14px;
}

.pw-cta-band {
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--pw-line-soft);
  padding-top: clamp(32px, 5vh, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.pw-cta-band .kick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--pw-red);
}
.pw-cta-band h3 {
  margin: 10px 0 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -.015em;
}
.pw-cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================ GALLERY / LIGHTBOX ============================ */
.pw-radial-top { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(228, 25, 25, .06), transparent 55%); }
.pw-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(30px, 4vh, 40px) 0 24px; }
.pw-filter {
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 10px 15px;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  color: var(--pw-text-3);
  border: 1px solid var(--pw-line);
  transition: all .2s ease;
}
.pw-filter.is-active { background: var(--pw-red); color: var(--pw-on-red); border-color: var(--pw-red); }
.pw-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  color: var(--pw-text);
}
.pw-tile {
  position: relative;
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--pw-line-soft);
  background: var(--pw-bg);
  cursor: pointer;
  transition: border-color .2s ease;
}
.pw-tile:hover { border-color: rgba(228, 25, 25, .6); }
.pw-tile.is-hidden { display: none; }
.pw-tile-ba { position: absolute; inset: 0; display: flex; }
.pw-tile-ba > .half { flex: 1; position: relative; overflow: hidden; }
.pw-tile-ba > .divider { width: 2px; background: var(--pw-red); position: relative; z-index: 1; }
.pw-ba-label {
  position: absolute;
  bottom: 44px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--pw-text-3);
}
.pw-ba-label.left { left: 14px; }
.pw-ba-label.right { right: 14px; }
.pw-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-play-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--pw-text-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--pw-text);
  margin-left: 3px;
}
.pw-tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--pw-scrim-rgb), .12), rgba(var(--pw-scrim-rgb), 0) 40%, rgba(var(--pw-scrim-rgb), .78));
}
.pw-tile-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--pw-red);
  background: rgba(var(--pw-scrim-rgb), .55);
  padding: 5px 9px;
}
.pw-tile-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--pw-text-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--pw-text);
}
.pw-tile-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.pw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(var(--pw-scrim-rgb), .93);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
.pw-lightbox.is-open { display: flex; }
.pw-lb-stage {
  position: relative;
  width: min(1000px, 94vw);
}
.pw-lb-frame {
  position: relative;
  height: min(62vh, 540px);
  overflow: hidden;
  border: 1px solid var(--pw-line);
  background: var(--pw-bg);
}
.pw-lb-ba { position: absolute; inset: 0; display: flex; }
.pw-lb-ba > .half { flex: 1; position: relative; overflow: hidden; }
.pw-lb-ba > .divider { width: 3px; background: var(--pw-red); position: relative; z-index: 1; }
.pw-lb-ba-label {
  position: absolute;
  top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--pw-text-3);
}
.pw-lb-ba-label.left { left: 20px; }
.pw-lb-ba-label.right { right: 20px; }
.pw-lb-play-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid var(--pw-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-lb-play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--pw-text);
  margin-left: 4px;
}
.pw-lb-tag {
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--pw-red);
  background: rgba(var(--pw-scrim-rgb), .55);
  padding: 6px 10px;
}
.pw-lb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.pw-lb-title { font-size: 18px; font-weight: 600; color: var(--pw-text); }
.pw-lb-counter { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .1em; color: var(--pw-text-4); }
.pw-lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  background: var(--pw-red);
  color: var(--pw-on-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}
.pw-lb-nav {
  position: absolute;
  top: calc(min(62vh, 540px) / 2 - 22px);
  width: 44px;
  height: 44px;
  background: rgba(var(--pw-scrim-rgb), .9);
  border: 1px solid var(--pw-line);
  color: var(--pw-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}
.pw-lb-nav.prev { left: -20px; }
.pw-lb-nav.next { right: -20px; }

/* ============================ FORM / CONTACTO ============================ */
.pw-radial-red-tr { position: absolute; inset: 0; background: radial-gradient(90% 70% at 82% 8%, rgba(228, 25, 25, .12), transparent 55%); }
.pw-scrim-v4 {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--pw-scrim-rgb), .86), rgba(var(--pw-scrim-rgb), .62) 35%, rgba(var(--pw-scrim-rgb), .92));
}
.pw-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.pw-h2-form {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.pw-form-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--pw-text-2);
  margin: 22px 0 0;
  max-width: 460px;
}
.pw-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border: 1px solid var(--pw-line-strong);
  color: var(--pw-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.pw-wa-btn:hover { border-color: var(--pw-red); color: var(--pw-text); }
.pw-checks { margin-top: clamp(30px, 4vh, 44px); display: flex; flex-direction: column; gap: 12px; }
.pw-check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--pw-text-2); }
.pw-check .mk { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--pw-red); }

.pw-form {
  background: var(--pw-card);
  border: 1px solid var(--pw-line);
  padding: clamp(24px, 3vw, 34px);
}
.pw-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.pw-field { margin-top: 16px; }
.pw-form-row + .pw-field, .pw-form-row { margin-top: 0; }
.pw-form > .pw-field:first-of-type { margin-top: 0; }
.pw-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--pw-text-4);
  margin-bottom: 8px;
}
.pw-input, .pw-select, .pw-textarea {
  width: 100%;
  background: var(--pw-fill);
  border: 1px solid var(--pw-line);
  color: var(--pw-text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  padding: 13px 15px;
  outline: none;
}
.pw-select { background: var(--pw-vid-b); }
.pw-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.pw-input:focus, .pw-textarea:focus, .pw-select:focus { border-color: var(--pw-red); }
.pw-input::placeholder, .pw-textarea::placeholder { color: var(--pw-text-4); }
.pw-submit {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  background: var(--pw-red);
  color: var(--pw-on-red);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.pw-submit:hover { opacity: .92; }
.pw-form-note {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--pw-text-4);
  margin-top: 14px;
}

.pw-licenses { margin-top: clamp(48px, 7vh, 80px); border-top: 1px solid var(--pw-line-soft); padding-top: clamp(32px, 5vh, 48px); }
.pw-licenses-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--pw-text-4);
  margin-bottom: 22px;
}
.pw-licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.pw-lic {
  position: relative;
  height: 160px;
  border: 1px solid var(--pw-line-soft);
  overflow: hidden;
  background: var(--pw-bg);
  text-decoration: none;
  color: var(--pw-text);
  display: block;
}
.pw-lic-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 16, .1), rgba(14, 14, 16, .8)); }
.pw-lic-cap { position: absolute; left: 14px; bottom: 14px; right: 14px; }
.pw-lic-kick { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--pw-red); }
.pw-lic-title { font-size: 15px; font-weight: 600; margin-top: 4px; }
.pw-lic.is-official { border-color: rgba(228, 25, 25, .5); background: rgba(228, 25, 25, .07); }
.pw-lic.is-official .kick-top { position: absolute; left: 14px; top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--pw-red); }
.pw-lic.is-official .pw-lic-title { font-size: 16px; }
.pw-lic.is-official .sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; color: var(--pw-text-3); margin-top: 6px; }

/* ============================ PARCERIAS ============================ */
.pw-radial-tl { position: absolute; inset: 0; background: radial-gradient(120% 80% at 15% 0%, rgba(228, 25, 25, .07), transparent 55%); }
.pw-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: clamp(36px, 5vh, 52px);
}
.pw-partner {
  position: relative;
  border: 1px solid var(--pw-line-soft);
  border-top: 2px solid var(--pw-red);
  background: var(--pw-fill-soft);
  padding: 24px;
}
.pw-partner .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .1em; color: var(--pw-red); }
.pw-partner .t { font-size: 19px; font-weight: 600; margin-top: 12px; }
.pw-partner .d { font-size: 14px; color: var(--pw-text-3); margin-top: 8px; line-height: 1.5; }
.pw-h2-parc {
  margin: 0;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 18ch;
}
.pw-lead-620 {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--pw-text-2);
  margin: 20px 0 0;
  max-width: 620px;
}

/* ============================ FOOTER ============================ */
.pw-footer {
  position: relative;
  background: var(--pw-bg-deep);
  color: var(--pw-text);
  border-top: 1px solid var(--pw-line-soft);
  padding: clamp(52px, 8vh, 88px) 0 0;
}
.pw-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.pw-footer img { height: 26px; }
.pw-footer-about { font-size: 15px; line-height: 1.6; color: var(--pw-text-3); margin: 20px 0 0; max-width: 300px; }
.pw-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  color: var(--pw-text-3);
}
.pw-footer-social a { display: flex; text-decoration: none; }
.pw-footer-social a:hover { color: var(--pw-red); }
.pw-footer-social svg { width: 19px; height: 19px; display: block; fill: currentColor; }
.pw-footer-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--pw-red);
  margin-bottom: 18px;
}
.pw-contacts { display: flex; flex-direction: column; gap: 14px; }
.pw-contacts a, .pw-contacts > div { text-decoration: none; color: var(--pw-text); }
.pw-contacts .k { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em; color: var(--pw-text-4); }
.pw-contacts .v { font-size: 16px; font-weight: 500; margin-top: 3px; }
.pw-contacts a:hover .v { color: var(--pw-red); }
.pw-address { font-size: 16px; line-height: 1.6; color: var(--pw-text-2); }
a.pw-address { display: block; text-decoration: none; transition: color .2s ease; }
a.pw-address:hover { color: var(--pw-red); }
.pw-map {
  position: relative;
  display: block;
  height: 150px;
  margin-top: 18px;
  border: 1px solid var(--pw-line);
  overflow: hidden;
  text-decoration: none;
}
.pw-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pw-fill) 1px, transparent 1px),
    linear-gradient(90deg, var(--pw-fill) 1px, transparent 1px);
  background-size: 26px 26px;
  background-color: var(--pw-surface);
}
.pw-map-pin {
  position: absolute;
  left: 22%;
  top: 34%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--pw-red);
  transform: rotate(-45deg);
}
.pw-map-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--pw-text);
  background: rgba(var(--pw-scrim-rgb), .7);
  padding: 6px 10px;
}
.pw-footer-bottom {
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--pw-line-soft);
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.pw-footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .06em; color: var(--pw-text-4); }
.pw-footer-credit { padding: 0 0 26px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; color: var(--pw-text-4); }
.pw-footer-credit a { color: var(--pw-text-3); text-decoration: none; transition: color .2s ease; }
.pw-footer-credit a:hover { color: var(--pw-red); }
.pw-footer-legal { display: flex; gap: 22px; font-size: 13.5px; color: var(--pw-text-3); }
.pw-footer-legal a { text-decoration: none; }
.pw-footer-legal a:hover { color: var(--pw-red); }

/* ============================ VIDEO MODAL + TOAST ============================ */
.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(10, 10, 12, .94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
.pw-modal.is-open { display: flex; }
.pw-modal-stage { position: relative; width: min(1000px, 94vw); }
.pw-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #0e0e10;
}
.pw-modal-scrim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(14, 14, 16, .15), rgba(14, 14, 16, .72)); }
.pw-modal-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-modal-play-btn {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--pw-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 44px rgba(0, 0, 0, .45);
}
.pw-modal-play-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.pw-modal-tag {
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(14, 14, 16, .55);
  padding: 6px 10px;
}
.pw-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pw-modal-title { font-size: 19px; font-weight: 600; color: #fff; }
.pw-modal-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.pw-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  background: var(--pw-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.pw-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 400;
  display: none;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  background: #0e0e10;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 3px solid var(--pw-red);
  padding: 16px 22px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .45);
}
.pw-toast.is-open { display: flex; animation: pwfade .3s ease; }
.pw-toast-ic {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pw-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-toast-t { font-size: 16px; font-weight: 600; }
.pw-toast-s { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin-top: 2px; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 760px) {
  .pw-header .pw-nav { display: none; }
  .pw-header { gap: 12px; }
  .pw-hero-grid { grid-template-columns: 1fr !important; gap: 12px 0 !important; }
  .pw-burger { display: inline-flex !important; }
}
@media (min-width: 761px) {
  .pw-burger { display: none !important; }
  .pw-mobnav { display: none !important; }
}
@media (max-width: 500px) {
  .pw-header .pw-cta-sm { display: none; }
  .pw-header { padding: 14px 16px; }
}
/* Soluções rows: on phones put the PDF button on its own line, drop the arrow. */
@media (max-width: 640px) {
  .pw-sol-row { align-items: baseline; row-gap: 4px; }
  .pw-sol-row .name { flex: 1 1 auto; }
  .pw-sol-row .arrow { display: none; }
  .pw-sol-row .pw-pdf { order: 3; flex: 1 0 100%; justify-content: center; margin-top: 4px; }
  /* Work steps: keep the arrow tight to the title, never on its own line. */
  .pw-step .arrow { flex: 0 0 auto; }
}

/* ============================ SCROLL REVEAL ============================
   Hidden state applies only when JS is active (html.pw-js, set before first
   paint by the inline <head> script) and the visitor has not requested
   reduced motion. Without JS everything stays visible — SEO / no-JS safe.
   app.js reveals each element (inline opacity/transform) as it enters view. */
.pw-js .pw-hero-kicker,
.pw-js .pw-hero h1,
.pw-js .pw-hero-lead,
.pw-js .pw-hero-feat,
.pw-js .pw-hero-actions,
.pw-js .pw-eyebrow-row,
.pw-js .pw-strip-head,
.pw-js .pw-h2-lg,
.pw-js .pw-body,
.pw-js .pw-note,
.pw-js .pw-vidcard,
.pw-js .pw-payoff > *,
.pw-js .pw-h2-media,
.pw-js .pw-media-desc,
.pw-js .pw-media-bgtag,
.pw-js .pw-step,
.pw-js .pw-sol-row,
.pw-js .pw-h2-xl,
.pw-js .pw-h2-sol,
.pw-js .pw-h2-form,
.pw-js .pw-h2-parc,
.pw-js .pw-lead-560,
.pw-js .pw-lead-600,
.pw-js .pw-lead-620,
.pw-js .pw-form-lead,
.pw-js .pw-proc,
.pw-js .pw-partner,
.pw-js .pw-lic,
.pw-js .pw-pdfrow,
.pw-js .pw-cta-band,
.pw-js .pw-form,
.pw-js .pw-checks,
.pw-js .pw-wa-btn,
.pw-js .pw-filters,
.pw-js .pw-licenses-label,
.pw-js .pw-tile,
.pw-js .pw-footer-grid > div,
.pw-js .pw-footer-bottom > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.16, .84, .34, 1), transform .8s cubic-bezier(.16, .84, .34, 1);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .pw-js .pw-hero-kicker, .pw-js .pw-hero h1, .pw-js .pw-hero-lead, .pw-js .pw-hero-feat,
  .pw-js .pw-hero-actions, .pw-js .pw-eyebrow-row, .pw-js .pw-strip-head, .pw-js .pw-h2-lg,
  .pw-js .pw-body, .pw-js .pw-note, .pw-js .pw-vidcard, .pw-js .pw-payoff > *, .pw-js .pw-h2-media,
  .pw-js .pw-media-desc, .pw-js .pw-media-bgtag, .pw-js .pw-step, .pw-js .pw-sol-row, .pw-js .pw-h2-xl,
  .pw-js .pw-h2-sol, .pw-js .pw-h2-form, .pw-js .pw-h2-parc, .pw-js .pw-lead-560, .pw-js .pw-lead-600,
  .pw-js .pw-lead-620, .pw-js .pw-form-lead, .pw-js .pw-proc, .pw-js .pw-partner, .pw-js .pw-lic,
  .pw-js .pw-pdfrow, .pw-js .pw-cta-band, .pw-js .pw-form, .pw-js .pw-checks, .pw-js .pw-wa-btn,
  .pw-js .pw-filters, .pw-js .pw-licenses-label, .pw-js .pw-tile, .pw-js .pw-footer-grid > div,
  .pw-js .pw-footer-bottom > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================ CHATBOT WIDGET ============================ */
.pw-chatbot { position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 500; }
.pw-chatbot-fab {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--pw-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(228, 25, 25, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pw-chatbot-fab:hover { transform: scale(1.06); }
.pw-chatbot-fab .ic-close { display: none; }
.pw-chatbot.is-open .pw-chatbot-fab .ic-chat { display: none; }
.pw-chatbot.is-open .pw-chatbot-fab .ic-close { display: block; }
.pw-chatbot-panel {
  position: absolute; right: 0; bottom: 74px;
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 140px));
  background: var(--pw-bg-deep); color: var(--pw-text);
  border: 1px solid var(--pw-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  display: none; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px); transition: opacity .18s ease, transform .18s ease;
}
.pw-chatbot.is-open .pw-chatbot-panel { display: flex; }
.pw-chatbot.is-open .pw-chatbot-panel.is-shown { opacity: 1; transform: none; }
.pw-chatbot-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  background: var(--pw-header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pw-line-soft); flex: 0 0 auto;
}
.pw-chatbot-logo { height: 20px; }
.pw-root[data-theme="light"] .pw-chatbot-logo { display: none; }
.pw-chatbot-head-t { flex: 1; min-width: 0; }
.pw-chatbot-name { font-weight: 600; font-size: 14.5px; }
.pw-chatbot-status {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em;
  color: var(--pw-text-4); margin-top: 2px;
}
.pw-chatbot-x {
  background: none; border: none; color: var(--pw-text-3); font-size: 20px; line-height: 1;
  cursor: pointer; padding: 4px 6px;
}
.pw-chatbot-x:hover { color: var(--pw-red); }
.pw-chatbot-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pw-chatbot-msg {
  max-width: 84%; padding: 10px 13px; font-size: 14px; line-height: 1.5;
  border-radius: 3px; white-space: pre-wrap; word-wrap: break-word;
}
.pw-chatbot-msg.bot { align-self: flex-start; background: var(--pw-fill); color: var(--pw-text); }
.pw-chatbot-msg.user { align-self: flex-end; background: var(--pw-red); color: #fff; }
.pw-chatbot-msg.err { align-self: flex-start; background: rgba(228, 25, 25, .1); border: 1px solid rgba(228, 25, 25, .35); }
.pw-chatbot-msg a { color: inherit; text-decoration: underline; }
.pw-chatbot-typing {
  display: flex; gap: 4px; padding: 0 16px 10px; flex: 0 0 auto;
}
.pw-chatbot-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--pw-text-4);
  animation: pwtyping 1.1s infinite ease-in-out;
}
.pw-chatbot-typing span:nth-child(2) { animation-delay: .15s; }
.pw-chatbot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pwtyping { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.pw-chatbot-form {
  display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--pw-line-soft); flex: 0 0 auto;
}
.pw-chatbot-form input {
  flex: 1; background: var(--pw-fill); border: 1px solid var(--pw-line); color: var(--pw-text);
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; padding: 10px 12px; outline: none;
}
.pw-chatbot-form input:focus { border-color: var(--pw-red); }
.pw-chatbot-form button {
  width: 40px; flex: 0 0 auto; background: var(--pw-red); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pw-chatbot-form button:hover { opacity: .9; }
.pw-chatbot-form button:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) {
  .pw-chatbot { right: 12px; bottom: 12px; }
  .pw-chatbot-panel { right: -4px; width: calc(100vw - 20px); height: min(70vh, 560px); }
}
