/* =====================================================================
   NOPUS FILMS — design tokens
   Paleta oficial: preto e branco como base, laranja #f78638 como cor de
   marca principal, variando até o tom mais escuro #b92a1c em gradientes,
   sombras e bordas. Todo o resto do arquivo consome essas variáveis.
   ===================================================================== */
:root {
  --bg: #07070a;
  --bg-2: #0a0a0d;
  --card: #0c0c10;
  --card-2: #111116;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f4f0;
  --muted: rgba(246, 244, 240, 0.56);
  --dim: rgba(246, 244, 240, 0.38);

  --accent: #b92a1c;   /* laranja/vermelho escuro — sombra e profundidade */
  --accent-2: #f78638; /* laranja principal da marca Nopus */

  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: var(--sans);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

::selection { background: rgba(185, 42, 28, 0.32); color: #fff; }

/* ================= PRELOADER ================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { position: relative; display: grid; place-items: center; width: 220px; height: 220px; }
.preloader__mark {
  position: relative; z-index: 2;
  width: 150px; height: auto; color: var(--text);
  animation: preGlow 1.1s ease-in-out infinite;
}
.preloader__ring { position: absolute; top: 50%; left: 50%; width: 0; height: 0; z-index: 1; }
.preloader__ring::before, .preloader__ring::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%; border: 1px solid rgba(185, 42, 28, 0.5);
  animation: preRadar 1.1s ease-out infinite;
}
.preloader__ring::after { animation-delay: 0.55s; }
@keyframes preGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(185, 42, 28, 0.35)); opacity: 0.75; }
  50% { filter: drop-shadow(0 0 22px rgba(247, 134, 56, 0.7)); opacity: 1; }
}
@keyframes preRadar {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(70px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.center { text-align: center; }

/* ================= TYPE ================= */
.h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 52ch; line-height: 1.6; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.eyebrow.center { display: block; text-align: center; }
.eyebrow--accent {
  color: var(--accent-2); border: 1px solid rgba(185, 42, 28, 0.4);
  background: rgba(185, 42, 28, 0.08); padding: 7px 14px; border-radius: 999px;
}
.section__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 54px; max-width: 720px; }
.section__head .eyebrow { margin-bottom: 4px; }

.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.serif.grad {
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-2) 30%, var(--accent) 50%, var(--accent-2) 70%, #ffffff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
  animation: gradFlow 7s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Sombra radial laranja pulsando atrás de uma palavra/frase de destaque em
   títulos — a palavra fica por cima, sobrepondo a sombra. z-index:0 no
   elemento cria um contexto de empilhamento local, então o ::after
   (z-index:-1) fica preso atrás só deste texto, sem interferir em nada
   mais na página. */
.glow-word {
  position: relative;
  z-index: 0;
  display: inline-block;
}
.glow-word::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 160%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse closest-side, rgba(247, 134, 56, 1), rgba(185, 42, 28, 0.7) 55%, transparent 78%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
  animation: glowPulse 3.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-word::after { animation: none; opacity: 0.8; }
}

/* ================= SECTION INDEX BAR ================= */
.secbar { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--dim); }
.secbar__n { color: var(--accent-2); }
.secbar__line { flex: 1; height: 1px; background: var(--line); opacity: 0.6; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .chevron { transition: transform 0.25s var(--ease); display: inline-block; }
.btn:hover .chevron { transform: translateX(3px); }

.btn--primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: transparent; color: #fff;
  border-color: rgba(247, 134, 56, 0.5);
  box-shadow: 0 14px 34px -14px rgba(185, 42, 28, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 60%, #7a1b12 100%);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, 0.4) 46%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
}
.btn--primary:hover { border-color: rgba(247, 134, 56, 0.7); box-shadow: 0 20px 44px -12px rgba(185, 42, 28, 1), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--primary:hover::after { transform: translateX(130%); }
.btn--primary:has(.chevron) { padding-right: 8px; }
.btn--primary .chevron {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 50%; font-size: 13px; line-height: 1; color: #fff;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.btn--primary:hover .chevron { background: rgba(255, 255, 255, 0.34); transform: translateX(3px); }
.btn--primary.btn--lg .chevron { width: 29px; height: 29px; font-size: 14px; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.045); border-color: var(--line-2); color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(185, 42, 28, 0.13); border-color: rgba(185, 42, 28, 0.5); box-shadow: 0 0 0 4px rgba(185, 42, 28, 0.09); }
.btn--pill { background: var(--card-2); border-color: var(--line); color: #fff; border-radius: 999px; }
.btn--pill:hover { background: #16161a; border-color: var(--line-2); }
.btn--nav { background: rgba(255, 255, 255, 0.06); border-color: var(--line); color: #fff; font-size: 13.5px; padding: 11px 20px; }
.btn--nav:hover { background: rgba(255, 255, 255, 0.12); }
.btn--lg { padding: 15px 30px; font-size: 15.5px; }

/* ================= NAV ================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 16px; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 7, 10, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav.is-menu { background: rgba(7, 7, 10, 0.9); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__l { display: flex; align-items: center; min-width: 0; }
.nav__r { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.brand { display: flex; align-items: center; color: #fff; transition: color 0.2s; }
.brand:hover { color: var(--accent-2); }
.brand__logo { height: 26px; width: auto; display: block; }

.mtrig { display: inline-flex; align-items: center; gap: 10px; flex: none; background: none; border: 0; padding: 6px 2px; cursor: pointer; color: var(--muted); font-family: var(--sans); transition: color 0.22s; }
.mtrig:hover, .mtrig[aria-expanded="true"] { color: #fff; }
.mtrig__dots { width: 15px; height: 15px; flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transition: transform 0.42s var(--ease); }
.mtrig__dots i { width: 100%; height: 100%; border-radius: 50%; background: currentColor; transition: transform 0.42s var(--ease), background 0.22s; }
.mtrig[aria-expanded="true"] .mtrig__dots { transform: rotate(135deg); }
.mtrig__lbl { font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 560px) {
  .nav__r .btn--nav { display: none; }
}

.mscrim { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: rgba(3, 3, 4, 0.62); backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.34s var(--ease); }
.mscrim.is-on { opacity: 1; pointer-events: auto; }
.mpanel { position: absolute; top: 100%; left: 0; right: 0; }
.mpanel[hidden] { display: block; pointer-events: none; }
.mp { width: min(320px, calc(100vw - 40px)); margin-left: auto; margin-right: max(28px, calc((100vw - var(--maxw)) / 2 + 28px)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #0a0a0d; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(185, 42, 28, 0.08); transform: translateY(-10px) scale(0.985); opacity: 0; transition: opacity 0.34s var(--ease), transform 0.42s var(--ease); }
.mpanel.is-open .mp { transform: none; opacity: 1; }
.mp__links { display: flex; flex-direction: column; padding: 14px 22px; }
.mp__links a { position: relative; display: block; padding: 11px 0; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.22s, padding-left 0.28s var(--ease); }
.mp__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); transform: translateY(-50%) scale(0); transition: transform 0.28s var(--ease); }
.mp__links a:hover { color: #fff; padding-left: 15px; }
.mp__links a:hover::before { transform: translateY(-50%) scale(1); }
.mp__cta { padding: 4px 22px 22px; }
.mp__cta .btn { width: 100%; justify-content: center; }

/* ================= HERO ================= */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; text-align: center; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 90px; }
.hero__title { font-size: clamp(38px, 6.6vw, 84px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.06; color: #fff; }
.hero__text { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }
.hero__text .serif { color: rgba(255, 255, 255, 0.88); font-size: 1.12em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; }
.rings span { position: absolute; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 50%; aspect-ratio: 1; }
.rings span:nth-child(1) { width: 460px; }
.rings span:nth-child(2) { width: 760px; }
.rings span:nth-child(3) { width: 1080px; }
.rings span:nth-child(4) { width: 1420px; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(closest-side at 50% 46%, rgba(185, 42, 28, 0.2), transparent 70%);
  animation: heroBreath 11s ease-in-out infinite;
}
@keyframes heroBreath { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.statuspill {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86); padding: 9px 17px 9px 14px; border-radius: 999px;
  border: 1px solid rgba(185, 42, 28, 0.28);
  background: linear-gradient(180deg, rgba(185, 42, 28, 0.14), rgba(185, 42, 28, 0.05));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 28px rgba(185, 42, 28, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.statuspill i { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: radial-gradient(circle at 34% 32%, #ffe3c9, var(--accent-2) 55%, var(--accent)); box-shadow: 0 0 10px rgba(185, 42, 28, 0.9); animation: pulseDot 2.6s ease-out infinite; }
.statuspill i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid rgba(247, 134, 56, 0.65); animation: pillPing 2.6s ease-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 8px rgba(185, 42, 28, 0.7); } 50% { box-shadow: 0 0 15px rgba(247, 134, 56, 1); } }
@keyframes pillPing { 0% { transform: scale(0.65); opacity: 0.85; } 75% { opacity: 0; } 100% { transform: scale(2.4); opacity: 0; } }

.scrollcue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: var(--dim); transition: color 0.3s var(--ease); animation: cueIn 1s var(--ease) 0.7s both; }
.scrollcue:hover { color: rgba(255, 255, 255, 0.72); }
@media (max-height: 820px), (max-width: 900px) { .scrollcue { display: none; } }
.scrollcue__txt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.scrollcue__line { position: relative; width: 1px; height: 46px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent); overflow: hidden; }
.scrollcue__line i { position: absolute; left: 0; top: 0; width: 1px; height: 42%; background: linear-gradient(180deg, transparent, var(--accent-2)); animation: cueTravel 2.2s var(--ease) infinite; }
@keyframes cueIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cueTravel { 0% { transform: translateY(-110%); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(255%); opacity: 0; } }

/* Hero background video */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
}
.hero__videofade {
  position: absolute; inset: auto 0 0 0; z-index: 1; height: 46%;
  background: linear-gradient(to bottom, transparent, var(--bg) 88%);
  pointer-events: none;
}

/* ================= MARQUEE ================= */
.marqueesec .eyebrow { margin-bottom: 34px; }
.marquee { display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; flex: none; animation: marquee 34s linear infinite; padding-right: 64px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 30px; width: auto; flex: none; filter: grayscale(1) brightness(0) invert(1); opacity: 0.5; transition: opacity 0.3s; }
.marquee__track img:hover { opacity: 0.95; }
@media (min-width: 1001px) {
  .marquee__track img { height: 43px; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= PARALLAX STILLS ================= */
.parallaxrow { display: flex; flex-direction: column; }
.pxblock {
  width: 100%;
  height: 400px;
  background-color: var(--card);
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  will-change: background-position;
}

/* ================= PORTFOLIO GRID ================= */
.pfgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pfitem {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; padding: 0;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.pfitem:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pfitem__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; filter: saturate(0.9) brightness(0.82); }
.pfitem:hover .pfitem__thumb { transform: scale(1.06); filter: saturate(1) brightness(0.65); }
.pfitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,10,0.1), rgba(7,7,10,0.55)); }
.pfitem__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #14110a;
  box-shadow: 0 14px 34px -12px rgba(185, 42, 28, 0.9);
  transition: transform 0.35s var(--ease);
}
.pfitem:hover .pfitem__play { transform: translate(-50%, -50%) scale(1.1); }

/* ================= ABOUT ================= */
.about { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.about__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; position: relative; background: linear-gradient(180deg, #14120c, #08070a); }
.about__photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; filter: grayscale(0.15); }
.about__media::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 10, 0.82) 100%), radial-gradient(120% 90% at 50% 0%, rgba(185, 42, 28, 0.14), transparent 60%); }
.about__media::after { content: attr(data-label); position: absolute; left: 22px; bottom: 22px; z-index: 3; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about__body .btn { margin-top: 8px; }

.statsbig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(56px, 8vw, 112px); padding-top: 52px; border-top: 1px solid var(--line); }
.bignum { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.bignum__n { font-size: clamp(58px, 9.5vw, 148px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.84; background: linear-gradient(176deg, #ffffff 52%, var(--accent-2) 88%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; transition: filter 0.4s; }
.bignum:hover .bignum__n { filter: drop-shadow(0 0 26px rgba(185, 42, 28, 0.5)); }
.bignum__cap { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); max-width: 18ch; line-height: 1.5; }

/* ================= PROCESS (bento) ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ptile { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 2.6vw, 38px); transition: border-color 0.35s, transform 0.4s var(--ease); }
.ptile:hover { border-color: rgba(185, 42, 28, 0.4); transform: translateY(-4px); }
.ptile__n { position: relative; font-size: clamp(48px, 5vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.8; background: linear-gradient(176deg, #ffffff 44%, var(--accent-2) 84%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; display: block; flex: none; }
.ptile__body { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ptile__title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.ptile__body p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.monolist { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.monolist li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); list-style: none; padding: 11px 0; }
.monolist--rules li { border-top: 1px solid var(--line); }
.monolist--rules li:last-child { border-bottom: 1px solid var(--line); }
.ptile--a, .ptile--b, .ptile--c { grid-column: span 1; }

/* ================= SERVICES ================= */
.services { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.services__aside { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.services__aside .btn { margin-top: 8px; }
.services__list { display: flex; flex-direction: column; gap: 18px; }
.service { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; transition: border-color 0.3s, transform 0.35s var(--ease); }
.service:hover { border-color: rgba(185, 42, 28, 0.4); transform: translateY(-4px); }
.service__n { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--accent-2); padding-top: 4px; }
.service__title { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.service__sub { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ================= TESTIMONIALS ================= */
.thead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.tnav { display: flex; gap: 10px; flex: none; }
.tnav__btn { width: 50px; height: 50px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, transform 0.15s, opacity 0.2s; }
.tnav__btn:hover { background: #17171c; border-color: var(--line-2); }
.tnav__btn:active { transform: scale(0.94); }
.tnav__btn:disabled { opacity: 0.32; cursor: default; }

/* Fade nas bordas em vez de corte seco — some no lado que não tem mais
   card pra revelar (início/fim), controlado via .is-start/.is-end no JS */
.tslider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  transition: -webkit-mask-image 0.3s ease, mask-image 0.3s ease;
}
.tslider.is-start {
  -webkit-mask-image: linear-gradient(90deg, #000, #000 94%, transparent);
  mask-image: linear-gradient(90deg, #000, #000 94%, transparent);
}
.tslider.is-end {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000);
}
.tslider.is-start.is-end {
  -webkit-mask-image: none;
  mask-image: none;
}
.ttrack { display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.ttrack::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 min(720px, 84vw); scroll-snap-align: start; display: grid; grid-template-columns: 1.05fr 0.82fr; min-height: 400px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s; }
.tcard:hover { border-color: var(--line-2); }
.tcard__body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.tcard blockquote { color: #ececed; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; }
.tcard__who { display: flex; flex-direction: column; gap: 5px; }
.tcard__who strong { font-size: 16px; font-weight: 500; }
.tcard__who .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.tcard__photo { position: relative; border-left: 1px solid var(--line); background: linear-gradient(160deg, #17150f, #0a090a); }
.tcard__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; filter: grayscale(0.1); }
.tcard__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 60%, rgba(7,7,10,0.7)); }

/* ================= FAQ ================= */
.faqwrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faqwrap__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.faqwrap__head .btn { margin-top: 8px; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--accent-2); transition: transform 0.3s var(--ease); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding-bottom: 24px; max-width: 62ch; }

/* ================= CTA ================= */
.cta { position: relative; overflow: hidden; border: 1px solid rgba(185, 42, 28, 0.26); border-radius: 28px; background: linear-gradient(180deg, #120e08, #09070a); padding: clamp(40px, 4.4vw, 58px) clamp(28px, 4.4vw, 62px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 300px); align-items: center; gap: clamp(32px, 5vw, 64px); }
.cta > * { position: relative; z-index: 2; }
.cta .rings { position: absolute; inset: 0; z-index: 1; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.cta__text .lead { margin: 0; max-width: 46ch; }
.cta__text .btn { margin-top: 4px; }
.cta__title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(58% 86% at var(--cta-gx, 50%) var(--cta-gy, 0%), rgba(185, 42, 28, 0.2), transparent 70%);
  animation: ctaGlowDrift 14s ease-in-out infinite;
}
/* propriedades registradas pra o navegador interpolar a posição do
   gradiente de forma contínua (sem @property, custom property não anima,
   só troca de valor em corte seco a cada keyframe) */
@property --cta-gx {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --cta-gy {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
/* pontos irregulares (não é um vai-e-volta simétrico) pra parecer uma
   deriva orgânica em vez de um movimento mecânico */
@keyframes ctaGlowDrift {
  0%   { --cta-gx: 50%; --cta-gy: 0%; }
  17%  { --cta-gx: 71%; --cta-gy: 18%; }
  33%  { --cta-gx: 60%; --cta-gy: 34%; }
  49%  { --cta-gx: 29%; --cta-gy: 22%; }
  64%  { --cta-gx: 22%; --cta-gy: 2%; }
  81%  { --cta-gx: 44%; --cta-gy: -8%; }
  100% { --cta-gx: 50%; --cta-gy: 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta::after { animation: none; }
}
.rings--cta span { border-color: rgba(247, 134, 56, 0.1); }
.rings--cta span:nth-child(1) { width: 240px; }
.rings--cta span:nth-child(2) { width: 400px; }
.rings--cta span:nth-child(3) { width: 560px; }
.cta__card { position: relative; display: grid; place-items: center; }
.ctamark { color: var(--accent-2); opacity: 0.9; filter: drop-shadow(0 0 30px rgba(185, 42, 28, 0.35)); animation: ctaFloat 6s ease-in-out infinite; }
@keyframes ctaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.perks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 13px; }
.perks__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; color: var(--accent-2); background: rgba(185, 42, 28, 0.12); border: 1px solid rgba(185, 42, 28, 0.3); }
.perks__t { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.perks__t strong { font-weight: 500; font-size: 14.5px; color: #fff; }

@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cta__text { align-items: center; }
  .cta__text .lead { text-align: center; }
  .cta__card { order: -1; }
}

/* ================= CONTACT ================= */
.contactwrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: sticky; top: 110px; }
.contact__form { display: flex; flex-direction: column; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px; color: #fff; background: var(--card-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(185, 42, 28, 0.55); box-shadow: 0 0 0 4px rgba(185, 42, 28, 0.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.contact__form .btn { align-self: flex-start; margin-top: 4px; }
.form__note { font-size: 13.5px; color: var(--accent-2); min-height: 1.4em; }
.form__note.is-error { color: #e08a8a; }

@media (max-width: 1000px) {
  .contactwrap { grid-template-columns: 1fr; }
  .contact__head { position: static; }
}

/* ================= LIGHTBOX ================= */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__scrim { position: absolute; inset: 0; background: rgba(4, 4, 5, 0.88); backdrop-filter: blur(6px); }
.lightbox__box { position: relative; z-index: 1; width: min(960px, 100%); }
.lightbox__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: -46px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; font-size: 15px; }
.lightbox__close:hover { background: rgba(255,255,255,0.14); }

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); padding-block: 64px 34px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.footer__col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--dim); font-size: 13px; font-family: var(--mono); letter-spacing: 0.03em; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.ttrack .reveal { transform: none; }

/* ================= CARD SPOTLIGHT ================= */
.service, .tcard, .ptile, .pfitem {
  --mx: 50%; --my: 50%;
}
.service::before, .tcard::before, .ptile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(185, 42, 28, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.service:hover::before, .tcard:hover::before, .ptile:hover::before { opacity: 1; }
.service > *, .ptile__body, .ptile__n { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero::after, .statuspill i, .statuspill i::after, .scrollcue, .scrollcue__line i,
  .preloader__mark, .preloader__ring::before, .preloader__ring::after,
  .marquee__track, .ctamark, .serif.grad { animation: none; }
  .hero::after { opacity: 1; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .ptile--a, .ptile--b, .ptile--c { grid-column: span 1; }
  .about, .services, .faqwrap { grid-template-columns: 1fr; }
  .services__aside, .faqwrap__head { position: static; }
  .about__media { max-width: 420px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .pfgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .hero { min-height: auto; padding: 26px 0 48px; }
  .hero__inner { gap: 16px; padding-top: 74px; }
  .hero__title { font-size: clamp(32px, 9.6vw, 44px); letter-spacing: -0.035em; line-height: 1.08; }
  .hero__text { font-size: 15px; line-height: 1.6; max-width: 38ch; }
  .statuspill { font-size: 10.5px; letter-spacing: 0.07em; padding: 8px 14px 8px 12px; }
  .hero__actions { flex-wrap: nowrap; gap: 9px; margin-top: 6px; }
  .hero__actions .btn { flex: 0 1 auto; min-width: 0; justify-content: center; font-size: 12.5px; padding: 12px 15px; gap: 8px; }

  .section { padding-block: 54px; }
  .section--tight { padding-block: 34px; }
  .container { padding-inline: 22px; }
  .h2 { font-size: 27px; }
  .lead { font-size: 14.5px; }

  .steps { grid-template-columns: 1fr; }
  .pfgrid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .statsbig { grid-template-columns: 1fr; gap: 0; padding-top: 26px; margin-top: 44px; }
  .bignum { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; }
  .bignum + .bignum { border-top: 1px solid var(--line); }
  .bignum__n { font-size: 58px; letter-spacing: -0.055em; line-height: 0.86; }
  .bignum__cap { font-size: 10.5px; text-align: right; max-width: 13ch; line-height: 1.5; }

  .thead__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tnav { display: none; }
  .ttrack { padding-inline: 22px; scroll-padding-left: 22px; }
  .tcard { grid-template-columns: 1fr; }
  .tcard__photo { order: -1; min-height: 220px; border-left: 0; border-bottom: 1px solid var(--line); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mp { width: calc(100vw - 32px); margin-left: 16px; }
}
