/* ============================================================
   INSTITUTO PODER & DIREÇÃO: V2
   Design system + motion layer
   ============================================================ */

/* ---------- 1. Tokens ---------- */

:root {
  /* Brand */
  --ink:        #02070e;
  --ink-900:    #030b16;
  --ink-800:    #061428;
  --navy:       #0d2646;
  --navy-600:   #143257;
  --navy-500:   #1b3f6b;
  --teal:       #6acae2;
  --teal-hi:    #9ee6f6;
  --teal-dim:   #3d8fa6;
  --steel:      #9eb6c9;
  --steel-dim:  #6b839a;
  --white:      #ffffff;
  --violet:     #4b63c9;

  /* Semantic */
  --bg:         var(--ink-900);
  --fg:         var(--white);
  --muted:      var(--steel);
  --line:       rgba(255, 255, 255, .10);
  --line-soft:  rgba(255, 255, 255, .06);
  --line-hi:    rgba(106, 202, 226, .45);

  /* Type */
  --font-sans: "Red Hat Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 88rem;
  --maxw-prose: 46rem;
  --section-y: clamp(5.5rem, 11vw, 11rem);

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --dur: 900ms;

  /* Elevation */
  --glow-teal: 0 0 60px -12px rgba(106, 202, 226, .55);
  --shadow-deep: 0 40px 120px -60px rgba(0, 0, 0, .9);
}

/* ---------- 2. Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--navy-500) var(--ink);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--teal); color: var(--ink-800); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 999;
  background: var(--teal); color: var(--ink-800);
  padding: .75rem 1.25rem; font-weight: 700; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .12em;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Atmosphere (global background) ---------- */

.atmos {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(27, 63, 107, .55) 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 105%, rgba(75, 99, 201, .18) 0%, transparent 60%),
    var(--ink-900);
}

.atmos::after {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(closest-side, rgba(106, 202, 226, .16), transparent 70%);
  width: 60vmax; height: 60vmax;
  translate: calc(var(--mx, .5) * 40vw - 12vw) calc(var(--my, .5) * 40vh - 8vh);
  filter: blur(40px);
  transition: translate 1.4s var(--ease);
}

.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none;
  opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}

@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%, 4%); }
  40% { transform: translate(4%, -2%); }
  60% { transform: translate(-2%, -4%); }
  80% { transform: translate(3%, 2%); }
}

/* ---------- 4. Layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 104rem; }
.wrap--prose { max-width: var(--maxw-prose); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--line::before {
  content: ""; position: absolute; inset-inline: var(--gutter); top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.section--navy { background: linear-gradient(180deg, rgba(13,38,70,.55), rgba(6,20,40,.25)); }
.section--deep { background: linear-gradient(180deg, rgba(2,7,14,.7), transparent); }

.grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .grid--12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.6vw, 2.5rem);
    row-gap: clamp(2.5rem, 5vw, 4rem);
  }
  /* `grid-column: span N` sozinho define start=span N e end=auto: o item ocuparia
     uma única coluna. A forma correta é `auto / span N`. */
  .c-4 { grid-column: auto / span 4; } .c-5 { grid-column: auto / span 5; }
  .c-6 { grid-column: auto / span 6; } .c-7 { grid-column: auto / span 7; }
  .c-8 { grid-column: auto / span 8; } .c-12 { grid-column: auto / span 12; }
  .s-6 { grid-column-start: 6; } .s-7 { grid-column-start: 7; }
  .s-8 { grid-column-start: 8; } .s-9 { grid-column-start: 9; }
  .self-c { align-self: center; } .self-e { align-self: end; }
}

.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* ---------- 5. Typography ---------- */

.eyebrow {
  display: flex; align-items: center; gap: .875rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--teal));
  transform-origin: left; animation: line-in 1.2s var(--ease) both;
}
@keyframes line-in { from { scale: 0 1; opacity: 0 } to { scale: 1 1; opacity: 1 } }

.d1, .d2, .d3, .d4 {
  font-weight: 800; letter-spacing: -.035em; line-height: .95;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.75rem, 7.4vw, 7rem); line-height: .9; letter-spacing: -.045em; }
.d2 { font-size: clamp(2.25rem, 5.4vw, 4.75rem); }
.d3 { font-size: clamp(1.75rem, 3.6vw, 3rem); letter-spacing: -.028em; line-height: 1.04; }
.d4 { font-size: clamp(1.25rem, 2.1vw, 1.75rem); letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }

.serif {
  font-family: var(--font-serif);
  font-weight: 400; font-style: italic;
  letter-spacing: -.01em;
  color: var(--teal);
}

.tl { color: var(--teal); }
.tw { color: var(--white); }
.tm { color: var(--muted); }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.65; color: var(--steel); max-width: 44rem;
}

.body {
  font-size: 1rem; line-height: 1.78; color: var(--steel); max-width: 40rem;
}
.body--sm { font-size: .9375rem; line-height: 1.7; }

.kicker {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; color: var(--steel-dim);
}

.num {
  font-variant-numeric: tabular-nums;
  font-size: .6875rem; font-weight: 600; letter-spacing: .22em; color: var(--teal);
}

/* ---------- 6. Buttons ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  min-height: 3.25rem; padding: 0 1.75rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  isolation: isolate; overflow: hidden;
  border: 1px solid transparent;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }

.btn--primary { background: var(--teal); color: var(--ink-800); }
.btn--primary::before { background: var(--white); }
.btn--primary:hover { color: var(--ink); }

.btn--ghost { border-color: var(--line); color: var(--fg); }
.btn--ghost::before { background: var(--teal); }
.btn--ghost:hover { color: var(--ink-800); border-color: var(--teal); }

.btn--bare {
  padding: 0; min-height: 2.5rem; color: var(--teal);
  border-bottom: 1px solid rgba(106,202,226,.3); border-radius: 0;
}
.btn--bare::before { display: none; }
.btn--bare:hover { border-bottom-color: var(--teal); }

.btn__arrow { transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(.375rem); }

.btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 7. Cursor ---------- */

.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 900;
  pointer-events: none; border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor {
  width: 2.5rem; height: 2.5rem; margin: -1.25rem 0 0 -1.25rem;
  border: 1px solid rgba(255,255,255,.6);
  transition: opacity .3s, width .4s var(--ease), height .4s var(--ease),
              margin .4s var(--ease), background-color .4s var(--ease);
}
.cursor-dot {
  width: .3125rem; height: .3125rem; margin: -.15625rem 0 0 -.15625rem;
  background: var(--white);
}
body.cursor-ready .cursor, body.cursor-ready .cursor-dot { opacity: 1; }
body.cursor-hot .cursor {
  width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem;
  background: rgba(255,255,255,.9); border-color: transparent;
}
body.cursor-hot .cursor-dot { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- 8. Progress + header ---------- */

.progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal-dim), var(--teal), var(--teal-hi));
  box-shadow: 0 0 18px rgba(106,202,226,.8);
}

.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: transform .6s var(--ease), background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(3, 11, 22, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.hdr.is-hidden { transform: translateY(-100%); }

.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 5rem;
}
@media (min-width: 900px) { .hdr__in { height: 6rem; } }

.mark { display: block; line-height: 1; }
.mark__top {
  display: block; font-size: .5rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .44em; color: var(--steel-dim);
}
.mark__main {
  display: block; margin-top: .375rem; font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em;
}
@media (min-width: 900px) { .mark__main { font-size: 1.125rem; } }
.mark--lg .mark__top { font-size: .625rem; }
.mark--lg .mark__main { font-size: 1.625rem; }

.nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1180px) { .nav { display: flex; } }
.nav a {
  position: relative; font-size: .8125rem; font-weight: 600; color: var(--steel);
  transition: color .35s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -.375rem; height: 1px; width: 100%;
  background: var(--teal); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hdr__cta { display: flex; align-items: center; gap: .75rem; }
.hdr__cta .btn { display: none; }
@media (min-width: 720px) { .hdr__cta .btn { display: inline-flex; } }

.burger {
  position: relative; z-index: 2; width: 3rem; height: 3rem; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  transition: border-color .4s, background-color .4s;
}
.burger:hover { border-color: var(--teal); }
@media (min-width: 1180px) { .burger { display: none; } }
.burger span {
  display: block; width: 1.125rem; height: 1px; background: currentColor;
  transition: transform .45s var(--ease), opacity .3s;
}
.burger span + span { margin-top: .3125rem; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.burger[aria-expanded="true"] { border-color: var(--teal); color: var(--teal); }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(2, 7, 14, .97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: grid; align-content: safe center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__list { padding-block: clamp(6rem, 12vh, 8rem) 2rem; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: clamp(.75rem, 1.6vw, 1.5rem);
  padding-block: clamp(.3rem, .8vh, .625rem);
  font-size: clamp(1.375rem, 3.4vw, 2.625rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.16;
  transform: translateY(110%); transition: transform .8s var(--ease), color .35s;
  color: rgba(255,255,255,.88);
}
.menu.is-open .menu__list a { transform: none; }
.menu__list a:hover { color: var(--teal); }
.menu__list a .num { font-size: .625rem; opacity: .55; }
.menu__foot {
  padding-bottom: clamp(1.5rem, 4vh, 3rem); display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: center; border-top: 1px solid var(--line-soft); padding-top: 2rem;
  font-size: .8125rem; color: var(--steel);
}

/* ---------- 9. Reveal / motion primitives ---------- */

.rv { opacity: 0; transform: translateY(2rem); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

.rv-up { opacity: 0; transform: translateY(3.5rem); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv-up.in { opacity: 1; transform: none; }

.rv-3d {
  opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(3rem) scale(.97);
  transform-origin: 50% 100%;
  transition: opacity 1s var(--ease), transform 1.3s var(--ease);
}
.rv-3d.in { opacity: 1; transform: none; }

.rv-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.rv-clip.in { clip-path: inset(0 0 0 0); }

/* split text */
.split { display: block; }
.split .ln { display: block; overflow: hidden; }
.split .ln > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.split.in .ln > span { transform: none; }

.split-w .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-w .w > span {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform .95s var(--ease), opacity .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 38ms);
}
.split-w.in .w > span { transform: none; opacity: 1; }

/* scroll-linked helpers set by JS: --p (0..1) */
.par { will-change: transform; }

/* ---------- 10. Hero ---------- */

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding-block: 9rem 4rem; overflow: hidden;
  perspective: 1400px;
}
@media (min-width: 900px) { .hero { padding-block: 11rem 6rem; } }

.hero__bg {
  position: absolute; inset: -6% -4%; z-index: 0;
  background-size: cover; background-position: 62% 40%;
  opacity: .5;
  transform: scale(1.06) translate3d(calc(var(--mx,.5) * -18px), calc(var(--my,.5) * -18px), 0);
  transition: transform 1.6s var(--ease);
  filter: saturate(.75) contrast(1.05);
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--ink-900) 4%, rgba(3,11,22,.86) 34%, rgba(3,11,22,.18) 62%, rgba(3,11,22,.55) 100%),
    linear-gradient(180deg, rgba(2,7,14,.9) 0%, transparent 26%, transparent 62%, var(--ink-900) 98%);
}

.hero__grid { position: relative; z-index: 3; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); } }

.hero__copy { max-width: 40rem; }
.hero__title { margin-top: 2rem; }
.hero__lead { margin-top: 2rem; }
.hero__body { margin-top: 1.25rem; }
.hero__btns { margin-top: 2.75rem; }

.hero__stage {
  position: relative; z-index: 2; align-self: end;
  transform-style: preserve-3d;
  min-height: 46vh;
}
@media (min-width: 1024px) { .hero__stage { min-height: 74vh; } }

.hero__figure {
  position: relative; height: 100%; display: grid; place-items: end center;
  transform: translate3d(calc(var(--mx,.5) * 26px - 13px), calc(var(--my,.5) * 22px - 11px), 0);
  transition: transform 1.2s var(--ease);
}
.hero__figure img {
  position: relative; z-index: 2;
  max-height: 82vh; width: auto; object-fit: contain;
  filter: contrast(1.06) brightness(.97) saturate(.95)
          drop-shadow(0 40px 80px rgba(0,0,0,.75));
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
}
.hero__halo {
  position: absolute; z-index: 1; inset: 12% 4% 12%;
  background: radial-gradient(closest-side, rgba(106,202,226,.28), transparent 72%);
  filter: blur(28px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .75; scale: 1 } 50% { opacity: 1; scale: 1.06 } }

.hero__beam {
  position: absolute; z-index: 1; inset: -20% -10% -10% 20%;
  background: linear-gradient(198deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.1) 32%, transparent 66%);
  clip-path: polygon(72% -10%, 100% 2%, 44% 110%, 12% 96%);
  filter: blur(26px); opacity: .7;
}

.hero__ring {
  position: absolute; z-index: 0; inset: auto 0 6% 0; height: 0;
  display: grid; place-items: center;
}
.hero__ring i {
  position: absolute; display: block; border: 1px solid rgba(106,202,226,.16);
  border-radius: 50%; aspect-ratio: 1; width: min(46rem, 90vw);
  animation: ringspin 26s linear infinite;
}
.hero__ring i:nth-child(2) { width: min(32rem, 68vw); border-color: rgba(106,202,226,.24); animation-duration: 18s; animation-direction: reverse; }
.hero__ring i:nth-child(3) { width: min(20rem, 46vw); border-color: rgba(106,202,226,.12); animation-duration: 34s; }
@keyframes ringspin { to { rotate: 360deg } }

.hero__scroll {
  position: absolute; z-index: 4; left: var(--gutter); bottom: 2rem;
  display: flex; align-items: center; gap: .875rem;
  font-size: .625rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--steel-dim);
}
.hero__scroll i {
  display: block; width: 1px; height: 3rem; background: var(--line);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--teal);
  animation: trickle 2.4s var(--ease-io) infinite;
}
@keyframes trickle { 0% { transform: translateY(-100%) } 60%,100% { transform: translateY(100%) } }

.hero__meta {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 2rem;
  display: none; text-align: right;
}
@media (min-width: 900px) { .hero__meta { display: block; } }
.hero__meta p { font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-dim); }
.hero__meta p + p { margin-top: .375rem; color: var(--teal); }

/* ---------- 11. Statement blocks ---------- */

.statement { max-width: 56rem; }
.statement .d2 { line-height: 1.02; }

.pull {
  position: relative; padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--teal);
  max-width: 44rem;
}
.pull::before {
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%;
  background: var(--teal); box-shadow: var(--glow-teal);
}

/* ---------- 12. 3D scroll deck (Método) ---------- */

.deck { position: relative; height: 460vh; }
@media (max-width: 900px) { .deck { height: 330vh; } }
.deck__sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  perspective: 1100px; perspective-origin: 50% 46%;
}
.deck__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .34; filter: saturate(.7) contrast(1.1);
  transform: scale(calc(1.05 + var(--p, 0) * .16));
}
.deck__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 50%, transparent 0%, rgba(3,11,22,.72) 70%, var(--ink-900) 100%),
    linear-gradient(180deg, var(--ink-900) 0%, transparent 22%, transparent 78%, var(--ink-900) 100%);
}
.deck__track {
  position: relative; width: min(100%, 62rem); height: 100%;
  transform-style: preserve-3d; display: grid; place-items: center;
}
.deck__card {
  position: absolute; width: min(90vw, 40rem);
  padding: clamp(2rem, 3.6vw, 3.25rem);
  background:
    linear-gradient(155deg, rgba(16,44,80,.96), rgba(3,11,22,.98));
  border: 1px solid color-mix(in oklab, var(--teal) calc(var(--near, 0) * 42%), rgba(255,255,255,.10));
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    var(--shadow-deep),
    0 0 calc(var(--near, 0) * 90px) calc(var(--near, 0) * -20px) rgba(106,202,226,.45);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.deck__card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: calc(.25 + var(--near, 0) * .75);
}
.deck__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 12% 0%, rgba(106,202,226,.10), transparent 60%);
}
.deck__card h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; margin-top: 1rem; }
.deck__card p { margin-top: 1rem; color: var(--steel); line-height: 1.7; }
.deck__card .num { font-size: .75rem; letter-spacing: .3em; }

.deck__head {
  position: absolute; top: clamp(6rem, 14vh, 9rem); left: 0; right: 0; z-index: 6;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .deck { height: auto !important; }
  .deck__sticky { position: static; height: auto; display: block; padding-block: clamp(4rem, 9vw, 7rem); }
  .deck__head { position: relative; top: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
  .deck__track {
    display: block; height: auto;
    width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  }
  .deck__bg { opacity: .14; }
  .deck__card {
    position: relative; width: 100%; opacity: 1; transform: none; filter: none;
    margin-bottom: 1.25rem;
  }
  .deck__hud, .deck__label { display: none; }
}

/* HUD: passo, barra de progresso e nome da etapa: sempre visíveis, para que
   a seção ancorada nunca pareça travada. */
.deck__hud {
  position: absolute; z-index: 6; pointer-events: none;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(1.25rem, 4.5vh, 2.75rem);
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem);
}

.deck__step {
  flex: none; font-size: .75rem; font-weight: 700; letter-spacing: .18em;
  font-variant-numeric: tabular-nums; color: var(--steel-dim);
}
.deck__step b { color: var(--teal); font-weight: 800; }

.deck__bar {
  position: relative; flex: 1 1 auto; height: 3px; min-width: 3rem;
  background: var(--line); overflow: hidden;
}
.deck__bar i {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal), var(--teal-hi));
  box-shadow: 0 0 14px rgba(106, 202, 226, .7);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

.deck__name {
  flex: none; max-width: 40vw;
  font-size: .625rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--steel);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 640px) { .deck__name { display: none; } }

/* Dica de rolagem: some quando a sequência está terminando. */
.deck__cue {
  position: absolute; z-index: 6; pointer-events: none;
  left: 0; right: 0; bottom: calc(clamp(1.25rem, 4.5vh, 2.75rem) + 2.25rem);
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  font-size: .625rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--steel);
  transition: opacity .6s var(--ease);
}
.deck__cue i {
  display: block; width: .5rem; height: .5rem; flex: none;
  border-right: 1px solid var(--teal); border-bottom: 1px solid var(--teal);
  rotate: 45deg;
  animation: cueDrop 1.8s var(--ease-io) infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: translateY(-2px); opacity: .35 }
  50% { transform: translateY(3px); opacity: 1 }
}

.deck__label { display: none; }

@media (prefers-reduced-motion: reduce) {
  .deck__hud, .deck__cue { display: none; }
}

/* ---------- 13. Cards & lists ---------- */

.tiles {
  display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (min-width: 640px) { .tiles--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .tiles--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles--5 { grid-template-columns: repeat(5, 1fr); } }

.tile {
  position: relative; padding: clamp(1.75rem, 3vw, 2.75rem);
  background: rgba(3, 11, 22, .82); overflow: hidden;
  transition: background-color .55s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(18rem 18rem at var(--px, 50%) var(--py, 50%), rgba(106,202,226,.13), transparent 65%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.tile:hover::after { opacity: 1; }
.tile:hover { background: rgba(13, 38, 70, .55); }
.tile h3 { margin-top: 1rem; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; text-transform: uppercase; }
.tile p { margin-top: .75rem; font-size: .9375rem; line-height: 1.7; color: var(--steel); }
.tile .mod { margin-top: .5rem; font-size: .625rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }

/* tilt */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease); }

/* index list (soluções) */
.index { border-top: 1px solid var(--line-soft); }
.index__row {
  position: relative; display: grid; align-items: center; gap: .5rem 1.5rem;
  grid-template-columns: 3rem 1fr 1.5rem;
  padding-block: clamp(1.75rem, 3.4vw, 2.75rem);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .5s, padding-left .6s var(--ease);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .index__row { grid-template-columns: 4rem 22rem 1fr 2rem; }
}
.index__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,38,70,.7), transparent 70%);
  transform: translateX(-101%); transition: transform .7s var(--ease);
}
.index__row:hover::before { transform: none; }
.index__row:hover { border-color: var(--line-hi); padding-left: 1rem; }
.index__name {
  font-size: clamp(1.0625rem, 1.7vw, 1.375rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: -.015em;
  transition: color .4s var(--ease);
}
.index__row:hover .index__name { color: var(--teal); }
.index__desc { grid-column: 2 / 4; color: var(--steel); font-size: .9375rem; line-height: 1.6; }
@media (min-width: 1024px) { .index__desc { grid-column: auto; max-width: 44ch; } }
.index__go { justify-self: end; color: var(--teal); transition: transform .5s var(--ease); grid-row: 1; grid-column: 3; }
@media (min-width: 1024px) { .index__go { grid-column: 4; } }
.index__row:hover .index__go { transform: translateX(.5rem); }

/* rule list */
.rules { border-block: 1px solid var(--line-soft); }
.rules li {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding-block: 1.25rem; border-bottom: 1px solid var(--line-soft);
  color: var(--steel); font-size: 1rem; line-height: 1.6;
}
.rules li:last-child { border-bottom: 0; }
.rules li::before {
  content: ""; flex: none; margin-top: .8125rem; width: 1.5rem; height: 1px; background: var(--teal);
  transition: width .5s var(--ease);
}
.rules li:hover::before { width: 2.5rem; }
.rules--num li::before { display: none; }
.rules--num li .num { flex: none; margin-top: .375rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .625rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding: 0 1.125rem; border: 1px solid var(--line);
  font-size: .875rem; color: var(--steel);
  transition: border-color .4s, color .4s, background-color .4s, transform .4s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); background: rgba(106,202,226,.08); transform: translateY(-2px); }

/* ---------- 14. Journey rail ---------- */

.rail { position: relative; }
.rail__line {
  position: absolute; left: 1.375rem; top: 1.5rem; bottom: 1.5rem; width: 1px;
  background: linear-gradient(180deg, rgba(106,202,226,.15), rgba(106,202,226,.7));
}
@media (min-width: 1024px) {
  .rail__line { left: 8%; right: 8%; top: 1.375rem; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(106,202,226,.15), rgba(106,202,226,.75)); }
}
.rail__line::after {
  content: ""; position: absolute; inset: 0; background: var(--teal);
  box-shadow: var(--glow-teal);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
@media (max-width: 1023px) {
  .rail__line::after { transform-origin: 50% 0; transform: scaleY(var(--p, 0)) scaleX(1); }
}
.rail__list { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .rail__list { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }
.rail__item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .rail__item { display: block; text-align: center; } }
.rail__dot {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%;
  border: 1px solid rgba(106,202,226,.4); background: var(--ink-900);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--teal);
  font-variant-numeric: tabular-nums;
  transition: box-shadow .5s var(--ease), border-color .5s, background-color .5s, transform .5s var(--ease);
}
@media (min-width: 1024px) { .rail__dot { margin-inline: auto; } }
.rail__item:hover .rail__dot, .rail__item.on .rail__dot {
  border-color: var(--teal); background: rgba(106,202,226,.12);
  box-shadow: 0 0 26px -4px rgba(106,202,226,.6); transform: scale(1.06);
}
.rail__body { padding-top: .25rem; }
@media (min-width: 1024px) { .rail__body { margin-top: 2rem; } }
.rail__body h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; transition: color .4s; }
@media (min-width: 1024px) { .rail__body h3 { font-size: 1.3125rem; } }
.rail__item:hover .rail__body h3 { color: var(--teal); }
.rail__body p { margin-top: .75rem; font-size: .9375rem; line-height: 1.65; color: var(--steel); }

/* ---------- 14b. Diagrama de lentes ---------- */

.lens { position: relative; width: 100%; max-width: 26rem; }
.lens svg { width: 100%; height: auto; display: block; overflow: visible; }

.lens__frame {
  fill: none; stroke: var(--line-soft); stroke-width: 1;
  stroke-dasharray: 2 7; opacity: .8;
}

.lens__rings { transform-origin: 200px 200px; }
@media (hover: hover) {
  .lens__rings { animation: lensTurn 90s linear infinite; }
  .lens:hover .lens__rings, .lens-group:hover .lens__rings { animation-play-state: paused; }
}
@keyframes lensTurn { to { rotate: 360deg } }

.lens__ring {
  fill: color-mix(in oklab, var(--teal) 4%, transparent);
  stroke: color-mix(in oklab, var(--teal) 26%, transparent);
  stroke-width: 1;
  stroke-dashoffset: 722.6;
  stroke-dasharray: 722.6;
  transform-origin: 200px 200px;
  transition:
    stroke-dashoffset 1.5s var(--ease),
    fill .5s var(--ease), stroke .5s var(--ease),
    transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 150ms), 0s, 0s, 0s;
}
.lens.in .lens__ring { stroke-dashoffset: 0; }

.lens__ring.on {
  fill: color-mix(in oklab, var(--teal) 13%, transparent);
  stroke: var(--teal);
  transform: scale(1.035);
}

.lens__halo { opacity: .5; transition: opacity .6s var(--ease); }
.lens-group:hover .lens__halo { opacity: .9; }
.lens__core { fill: var(--teal-hi); }

.lens__cap {
  margin-top: 1.5rem; min-height: 1.5rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--steel-dim);
}
.lens__capText { transition: color .4s var(--ease); }
.lens__cap.is-active .lens__capText { color: var(--teal); }

.lens__list li {
  cursor: default; outline-offset: 6px;
  transition: color .4s var(--ease), padding-left .5s var(--ease);
}
.lens__list li:hover, .lens__list li:focus-visible, .lens__list li.on { padding-left: .5rem; }
.lens__list li:hover strong, .lens__list li:focus-visible strong, .lens__list li.on strong { color: var(--teal); }
.lens__list li.on::before, .lens__list li:hover::before { width: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
  .lens__ring { stroke-dashoffset: 0; }
  .lens__rings { animation: none; }
}

/* ---------- 15. Media ---------- */

.media { position: relative; }
.media img {
  width: 100%; height: auto; object-fit: contain;
  filter: contrast(1.05) brightness(.94) saturate(.92);
}
/* Duas máscaras em elementos diferentes (horizontal no wrapper, vertical na
   imagem) evitam depender de mask-composite, que varia entre navegadores. */
.media--fade-l, .media--fade-r { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.media--fade-l {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 38%, #000 86%, rgba(0,0,0,.25) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 38%, #000 86%, rgba(0,0,0,.25) 100%);
}
.media--fade-r {
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 38%, #000 86%, rgba(0,0,0,.25) 100%);
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 38%, #000 86%, rgba(0,0,0,.25) 100%);
}
.media--fade-l img, .media--fade-r img {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 82%, transparent 100%);
}

/* Sangria até a borda da viewport nas cenas full-bleed. */
@media (min-width: 1024px) {
  .media--bleed-r { margin-right: calc(var(--gutter) * -1 - 3vw); }
  .media--bleed-l { margin-left: calc(var(--gutter) * -1 - 3vw); }
}
.media--frame {
  overflow: hidden; border: 1px solid var(--line-soft);
  background: var(--ink-800);
}
.media--frame img { width: 100%; height: 100%; object-fit: cover; }
.media__glow {
  position: absolute; inset: 8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(106,202,226,.22), transparent 70%);
  filter: blur(36px);
}
.media__cap {
  margin-top: 1rem; font-size: .6875rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--steel-dim);
}

.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* ---------- 16. Banner (full-bleed scene) ---------- */

.scene {
  position: relative; min-height: 78svh; display: grid; align-items: center;
  overflow: hidden; isolation: isolate;
}
.scene__img {
  position: absolute; inset: -12% 0; z-index: -2;
  background-size: cover; background-position: center;
  will-change: transform;
}
.scene__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink-900) 2%, rgba(3,11,22,.82) 40%, rgba(3,11,22,.35) 100%),
    linear-gradient(180deg, var(--ink-900) 0%, transparent 22%, transparent 74%, var(--ink-900) 100%);
}

/* Fotografia real ocupando a cena inteira, preservando alt e object-position. */
.scene__photo {
  position: absolute; inset: -10% 0; z-index: -2;
  width: 100%; height: 120%;
  object-fit: cover; object-position: 24% 42%;
  filter: contrast(1.06) brightness(.9) saturate(.92);
  will-change: transform;
}

/* Assunto à esquerda, texto à direita: escurece o lado do texto. */
.scene--right .scene__veil {
  background:
    linear-gradient(270deg, var(--ink-900) 4%, rgba(3,11,22,.9) 30%, rgba(3,11,22,.5) 58%, rgba(3,11,22,.15) 100%),
    linear-gradient(180deg, var(--ink-900) 0%, transparent 20%, transparent 78%, var(--ink-900) 100%);
}

/* Em telas estreitas o texto fica sobre a foto: escurece por inteiro. */
@media (max-width: 1023px) {
  .scene__veil {
    background:
      linear-gradient(180deg, rgba(3,11,22,.6) 0%, rgba(3,11,22,.86) 46%, var(--ink-900) 100%),
      linear-gradient(180deg, var(--ink-900) 0%, transparent 18%, transparent 82%, var(--ink-900) 100%);
  }
  .scene--right .scene__veil {
    background:
      linear-gradient(180deg, rgba(3,11,22,.45) 0%, rgba(3,11,22,.88) 52%, var(--ink-900) 100%),
      linear-gradient(180deg, var(--ink-900) 0%, transparent 14%, transparent 82%, var(--ink-900) 100%);
  }
  .scene__photo { object-position: 30% 28%; inset: 0; height: 100%; }
}

/* ---------- 17. Marquee ---------- */

.marquee {
  position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%) } }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -.03em;
  text-transform: uppercase; color: rgba(255,255,255,.09);
  white-space: nowrap;
}
.marquee__track span i { display: block; width: .4375rem; height: .4375rem; background: var(--teal); flex: none; }

/* ---------- 18. Accordion ---------- */

.acc { border-top: 1px solid var(--line-soft); }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  padding-block: clamp(1.25rem, 2.4vw, 1.75rem); text-align: left;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 700; letter-spacing: -.015em;
  transition: color .4s var(--ease);
}
.acc__btn:hover { color: var(--teal); }
.acc__ico { flex: none; position: relative; width: 1rem; height: 1rem; margin-top: .375rem; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--teal);
  transition: transform .5s var(--ease);
}
.acc__ico::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.75rem; color: var(--steel); line-height: 1.75; max-width: 46rem; }

/* ---------- 19. Forms ---------- */

.field { display: block; }
.field__label {
  display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel);
}
.field__label .opt { text-transform: none; letter-spacing: 0; color: var(--steel-dim); font-weight: 500; }
.field input, .field textarea, .field select {
  margin-top: .625rem; width: 100%; padding: .9375rem 1.125rem;
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
  font-size: 1rem; color: var(--fg);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: rgba(106,202,226,.04);
  box-shadow: 0 0 0 3px rgba(106,202,226,.1);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size: 6px 6px; background-repeat: no-repeat; }
.field option { background: var(--ink-800); }

.form-grid { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: 1 / -1; } }

.pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill {
  min-height: 3rem; padding: .625rem 1.25rem; border: 1px solid var(--line);
  font-size: .875rem; color: var(--steel); text-align: left;
  transition: border-color .4s, color .4s, background-color .4s;
}
.pill:hover { border-color: rgba(106,202,226,.5); color: var(--fg); }
.pill[aria-pressed="true"] { border-color: var(--teal); color: var(--teal); background: rgba(106,202,226,.07); }

/* Campo isca contra robôs: fora da tela, mas não display:none: há robôs que
   ignoram campos escondidos por display. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-status {
  font-size: .9375rem; line-height: 1.6;
  padding-left: 1rem; border-left: 2px solid var(--steel-dim);
  color: var(--steel);
}
.form-status[data-tipo="ok"] { border-color: var(--teal); color: var(--teal); }
.form-status[data-tipo="erro"] { border-color: #e0736b; color: #f0a49e; }
.form-status a { color: var(--teal); text-decoration: underline; }

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #e0736b;
}

.consent { display: flex; align-items: flex-start; gap: .875rem; font-size: .875rem; color: var(--steel); }
.consent input { margin-top: .3125rem; width: 1rem; height: 1rem; accent-color: var(--teal); flex: none; }

/* ---------- 20. CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(13,38,70,.9), rgba(3,11,22,.98));
  border-top: 1px solid var(--line-soft);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% 40% 40% -20%;
  background: radial-gradient(closest-side, rgba(106,202,226,.16), transparent 70%);
  filter: blur(20px);
}
.cta-band__in { position: relative; padding-block: clamp(5rem, 10vw, 9rem); }

/* ---------- 21. Footer ---------- */

.ftr { position: relative; border-top: 1px solid var(--line-soft); background: var(--ink); }
.ftr__in { padding-block: clamp(4rem, 8vw, 6.5rem) 2.5rem; }
.ftr__grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.4fr 1fr .9fr; } }
.ftr h2 { font-size: .6875rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.ftr__nav { margin-top: 1.5rem; display: grid; gap: .875rem; }
@media (min-width: 480px) { .ftr__nav { grid-template-columns: repeat(2, 1fr); } }
.ftr__nav a, .ftr__contact a { color: var(--steel); font-size: .9375rem; transition: color .35s; }
.ftr__nav a:hover, .ftr__contact a:hover { color: var(--teal); }
.ftr__contact { margin-top: 1.5rem; display: grid; gap: .875rem; font-size: .9375rem; color: var(--steel); }
.ftr__sig { margin-top: 1.75rem; max-width: 24rem; color: var(--steel); font-size: .9375rem; line-height: 1.7; }
.ftr__bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
}
.ftr__bottom .sig {
  font-size: .6875rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--steel);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .75rem; color: var(--steel-dim); }
.ftr__legal a:hover { color: var(--teal); }

.ftr__word {
  margin-top: 3.5rem; font-size: clamp(2rem, 9.1vw, 8.25rem); font-weight: 800;
  letter-spacing: -.055em; line-height: .82; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  user-select: none; pointer-events: none; white-space: nowrap; overflow: hidden;
}

/* ---------- 22. Page transition ---------- */

.pt {
  position: fixed; inset: 0; z-index: 950; pointer-events: none;
  background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%;
}
.pt.in { transform: scaleY(1); transform-origin: 50% 100%; transition: transform .55s var(--ease-io); }
.pt.out { transform: scaleY(0); transform-origin: 50% 0; transition: transform .55s var(--ease-io); }

/* ---------- 23. Page head ---------- */

.phead { position: relative; padding-block: clamp(9rem, 16vw, 14rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.phead .d1 { font-size: clamp(2.5rem, 5.9vw, 5.25rem); }
.phead__bg {
  position: absolute; inset: -10% 0 -20%; z-index: -2;
  background-size: cover; opacity: .55;
  filter: saturate(.7) contrast(1.06);
  transform: translate3d(calc(var(--mx,.5) * -14px), calc(var(--my,.5) * -14px), 0) scale(1.05);
  transition: transform 1.6s var(--ease);
}
.phead__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink-900) 2%, rgba(3,11,22,.88) 38%, rgba(3,11,22,.42) 72%, rgba(3,11,22,.62) 100%),
    linear-gradient(180deg, var(--ink-900) 0%, rgba(3,11,22,.35) 26%, transparent 55%, var(--ink-900) 100%);
}

/* ---------- 24. Utilities ---------- */

.mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem }
.mt-4 { margin-top: 2rem } .mt-5 { margin-top: 2.5rem } .mt-6 { margin-top: 3rem }
.mt-8 { margin-top: 4rem } .mt-10 { margin-top: 5rem } .mt-12 { margin-top: clamp(3.5rem, 8vw, 7rem) }
.mw-sm { max-width: 30rem } .mw-md { max-width: 40rem } .mw-lg { max-width: 52rem } .mw-xl { max-width: 64rem }
.tc-18 { max-width: 18ch } .tc-22 { max-width: 22ch } .tc-26 { max-width: 26ch } .tc-30 { max-width: 30ch }
.hr { height: 1px; background: var(--line-soft); border: 0; }
.rel { position: relative }
.ovh { overflow: hidden }
.nowrap { white-space: nowrap }

/* ---------- 25. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv, .rv-up, .rv-3d { opacity: 1 !important; transform: none !important; }
  .rv-clip { clip-path: none !important; }
  .split .ln > span, .split-w .w > span { transform: none !important; opacity: 1 !important; }
  .grain { display: none; }
  .deck__sticky { position: relative; height: auto; }
}
