/* ============================================================
   ALLBURN — black + fire
   ============================================================ */

:root {
  --black: #050505;
  --black-2: #0c0c0c;
  --black-3: #141414;
  --white: #f5f2ee;
  --gray: #8a8580;
  --fire-1: #ffb300;
  --fire-2: #ff6b00;
  --fire-3: #ff2d00;
  --fire-grad: linear-gradient(100deg, var(--fire-1), var(--fire-2) 45%, var(--fire-3));
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

@media (hover: none), (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-glow { display: none; }
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--fire-2); color: var(--black); }

/* ---------- efeitos globais ---------- */

.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#embers {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}

.cursor-dot {
  position: fixed; z-index: 2101; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fire-2);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--fire-2), 0 0 30px rgba(255, 107, 0, 0.5);
}

.cursor-glow {
  position: fixed; z-index: 2100; pointer-events: none;
  width: 440px; height: 440px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08), transparent 65%);
  transition: width 0.3s, height 0.3s;
}

body.cursor-hot .cursor-dot { transform: translate(-50%, -50%) scale(2.4); }
body.cursor-hot .cursor-glow { width: 560px; height: 560px; }

.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1002;
  height: 3px; width: 0;
  background: var(--fire-grad);
  box-shadow: 0 0 14px var(--fire-2);
}

/* ---------- texto de fogo ---------- */

.fire-text {
  position: relative;
  display: inline-block;
  background: var(--fire-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fireShift 3s ease-in-out infinite alternate;
}

.fire-text::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--fire-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(22px); opacity: 0.55;
  z-index: -1;
  animation: glowFlicker 2.6s ease-in-out infinite;
}

@keyframes fireShift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* pulso irregular do glow, como chama de verdade */
@keyframes glowFlicker {
  0%, 100% { opacity: 0.4; filter: blur(22px); }
  18%      { opacity: 0.75; filter: blur(26px); }
  34%      { opacity: 0.45; filter: blur(20px); }
  52%      { opacity: 0.9;  filter: blur(30px); }
  68%      { opacity: 0.55; filter: blur(23px); }
  84%      { opacity: 0.7;  filter: blur(27px); }
}

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5vw;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  padding: 14px 5vw;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(255, 107, 0, 0.12);
}

@media (min-width: 701px) {
  .nav.scrolled {
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}

.nav__logo { display: flex; align-items: center; }

.nav__logo-img {
  height: 34px; width: auto; display: block;
  filter: drop-shadow(0 0 14px rgba(255, 107, 0, 0.3));
  transition: filter 0.35s, transform 0.35s var(--ease-out);
}

.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 24px rgba(255, 107, 0, 0.65));
  transform: scale(1.05);
}

@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); filter: brightness(1); }
  25% { transform: scale(1.12) rotate(2deg); filter: brightness(1.3); }
  50% { transform: scale(0.95) rotate(-1deg); }
  75% { transform: scale(1.06) rotate(1deg); filter: brightness(1.15); }
}

.nav__links { display: flex; align-items: center; gap: 34px; }

.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--gray);
  position: relative; transition: color 0.3s;
}

.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--fire-grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  padding: 10px 22px; border-radius: 999px;
  color: var(--white) !important;
  border: 1px solid rgba(255, 107, 0, 0.5);
  background: rgba(255, 107, 0, 0.08);
  transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
  background: var(--fire-grad);
  color: var(--black) !important;
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.55);
  border-color: transparent;
}

.nav__burger { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}

.hero__grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 70px 70px, 70px 70px; }
}

.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(110px); pointer-events: none;
}

.hero__orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255, 45, 0, 0.35), transparent 70%);
  bottom: -180px; left: 50%; transform: translateX(-50%);
  animation: orbPulse 6s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.22), transparent 70%);
  top: 8%; right: 6%;
  animation: orbPulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes orbPulse {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.18); }
}

.hero__orb--2 { animation-name: orbPulse2; }
@keyframes orbPulse2 {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.25); }
}

.hero__content { position: relative; max-width: 900px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 999px;
  font-size: 0.85rem; color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  margin-bottom: 34px;
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fire-2);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8.5vw, 6.4rem);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}

.hero__title .line { display: block; overflow: hidden; }

/* liberado via JS após a animação de entrada, para o glow/pulso não ser cortado */
.hero__title .line.free { overflow: visible; }

.reveal-line {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) forwards;
}

.line:nth-child(1) .reveal-line { animation-delay: 0.15s; }
.line:nth-child(2) .reveal-line { animation-delay: 0.3s; }
.line:nth-child(3) .reveal-line { animation-delay: 0.45s; }

@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  max-width: 560px; margin: 0 auto 42px;
  color: var(--gray); font-size: 1.12rem; font-weight: 300;
}

.hero__sub strong { color: var(--white); font-weight: 600; }

.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--gray); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--fire-2));
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn--big { padding: 19px 44px; font-size: 1.05rem; }

.btn--fire {
  background: var(--fire-grad);
  background-size: 160% 100%;
  color: var(--black);
  box-shadow: 0 4px 34px rgba(255, 107, 0, 0.35);
}

.btn--fire::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
}

.btn--fire:hover { box-shadow: 0 8px 50px rgba(255, 107, 0, 0.6); transform: translateY(-2px); }
.btn--fire:hover::before { transform: translateX(110%); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--fire-2);
  box-shadow: inset 0 0 24px rgba(255, 107, 0, 0.12), 0 0 24px rgba(255, 107, 0, 0.2);
  transform: translateY(-2px);
}

/* ---------- marquee ---------- */

.marquee {
  position: relative; z-index: 2;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 107, 0, 0.14);
  border-bottom: 1px solid rgba(255, 107, 0, 0.14);
  background: rgba(255, 107, 0, 0.025);
  transform: rotate(-1.2deg) scale(1.02);
}

.marquee__track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.14em; color: rgba(245, 242, 238, 0.55);
  white-space: nowrap;
}

.marquee__track i { font-style: normal; font-size: 0.85rem; opacity: 0.8; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section {
  position: relative; z-index: 2;
  padding: 130px 5vw;
  max-width: 1240px; margin: 0 auto;
}

.section__head { text-align: center; margin-bottom: 70px; }

.section__tag {
  font-family: var(--font-display); font-size: 0.82rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--fire-2);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  margin: 14px 0 18px;
}

.section__desc { color: var(--gray); font-size: 1.05rem; max-width: 460px; margin: 0 auto; }

/* ---------- apps ---------- */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 26px;
}

.app-card {
  position: relative;
  padding: 38px 30px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.15s ease-out, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}

.app-card:hover {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 44px rgba(255, 107, 0, 0.12);
}

.app-card__banner {
  position: relative;
  margin: -38px -30px 0;
  height: 168px;
  overflow: hidden;
}

.app-card__banner img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.03);
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: saturate(0.95);
}

.app-card:hover .app-card__banner img {
  transform: scale(1.1);
  filter: saturate(1.15);
}

/* fusão da capa com o card */
.app-card__banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--black-3) 4%, transparent 55%);
}

/* ícone sobreposto à capa, estilo loja de apps */
.app-card__banner + .app-card__icon {
  margin-top: -33px;
  position: relative; z-index: 2;
  outline: 4px solid var(--black-3);
}

.app-card__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 0, 0.13), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}

.app-card:hover .app-card__glow { opacity: 1; }

.app-card__icon {
  width: 66px; height: 66px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  background: var(--icon-grad);
  box-shadow: 0 10px 28px rgba(255, 80, 0, 0.28);
  margin-bottom: 26px;
  transform: translateZ(36px);
  overflow: hidden;
}

.app-card__icon img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.app-card__tags span.tag--dev {
  color: #fff;
  background: rgba(255, 45, 0, 0.85);
  border-color: rgba(255, 45, 0, 0.85);
}

.app-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 12px; transform: translateZ(28px);
}

.app-card p {
  color: var(--gray); font-size: 0.94rem; margin-bottom: 22px;
  transform: translateZ(20px);
}

.app-card__download-label {
  display: block;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); opacity: 0.7;
  margin-bottom: 10px;
}

.app-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.app-card__tags span {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 5px 13px; border-radius: 999px;
  color: rgba(255, 179, 0, 0.9);
  background: rgba(255, 107, 0, 0.09);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.app-card__store {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 5px 13px 5px 8px; border-radius: 999px;
  color: rgba(255, 179, 0, 0.9);
  background: rgba(255, 107, 0, 0.09);
  border: 1px solid rgba(255, 107, 0, 0.2);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.app-card__store:hover {
  background: rgba(255, 107, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.45);
  color: #fff;
}

.app-card__store img {
  width: 14px; height: 14px; display: block;
}

.app-card__link {
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: var(--fire-1);
  display: inline-flex; align-items: center; gap: 8px;
}

.app-card__link span { transition: transform 0.3s var(--ease-out); }
.app-card__link:hover span { transform: translateX(6px); }

.app-card--soon { border-style: dashed; }
.app-card--soon .app-card__icon { box-shadow: none; border: 1px solid rgba(255,255,255,0.1); }

/* ---------- quem somos ---------- */

.section--about {
  max-width: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 50%, rgba(255, 45, 0, 0.07), transparent),
    var(--black-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: center;
}

.about__text .section__title { margin-bottom: 26px; }
.about__text p { color: var(--gray); margin-bottom: 20px; max-width: 520px; }
.about__text strong { color: var(--fire-1); font-weight: 600; }
.about__text .btn { margin-top: 16px; }

.about__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}

.stat {
  padding: 34px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.stat:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-5px);
}

.stat__num {
  display: block;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  background: var(--fire-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label { color: var(--gray); font-size: 0.85rem; }

/* ---------- time ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.member {
  position: relative;
  text-align: center;
  padding: 42px 26px 36px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.member:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-6px);
}

.member__flame {
  position: absolute; bottom: -60px; left: 50%;
  width: 180px; height: 180px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 80, 0, 0.22), transparent 65%);
  filter: blur(20px);
  opacity: 0; transition: opacity 0.5s;
}

.member:hover .member__flame { opacity: 1; }

.member__avatar {
  position: relative;
  width: 88px; height: 88px; border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--fire-grad);
  color: var(--black);
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem;
  box-shadow: 0 12px 34px rgba(255, 107, 0, 0.35);
}

/* anel que acende e gira no hover */
.member__avatar::after {
  content: ""; position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 107, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s;
}

.member:hover .member__avatar::after {
  opacity: 1;
  animation: ringRotate 9s linear infinite;
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

.member h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  margin-bottom: 6px;
}

.member__role {
  display: block;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fire-1);
  margin-bottom: 14px;
}

.member p { color: var(--gray); font-size: 0.88rem; }

/* ---------- processo ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.step {
  position: relative;
  padding: 40px 28px 34px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.step:hover { border-color: rgba(255, 107, 0, 0.4); transform: translateY(-6px); }

.step__num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.4);
  display: block; margin-bottom: 18px;
}

.step__flame {
  position: absolute; bottom: -60px; left: 50%;
  width: 160px; height: 160px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 80, 0, 0.22), transparent 65%);
  filter: blur(20px);
  opacity: 0; transition: opacity 0.5s;
}

.step:hover .step__flame { opacity: 1; }

.step h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 10px;
}

.step p { color: var(--gray); font-size: 0.92rem; }

/* ---------- CTA ---------- */

.section--cta { padding-bottom: 160px; }

.cta {
  position: relative;
  text-align: center;
  padding: 90px 6vw;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(255, 60, 0, 0.22), transparent),
    linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 107, 0, 0.2);
  overflow: hidden;
}

.cta__fire-ring {
  position: absolute; inset: -2px; border-radius: 32px;
  padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ring-angle, 0deg), transparent 0%, var(--fire-2) 12%, transparent 28%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringSpin 5s linear infinite;
}

@property --ring-angle {
  syntax: "<angle>"; initial-value: 0deg; inherits: false;
}

@keyframes ringSpin { to { --ring-angle: 360deg; } }

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta p { color: var(--gray); margin-bottom: 44px; font-size: 1.05rem; }

.cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 44px 5vw;
}

.footer__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.footer__logo-img {
  height: 26px; width: auto; display: block;
  opacity: 0.9;
}

.footer p { color: var(--gray); font-size: 0.85rem; }

.footer__social { display: flex; gap: 24px; }

.footer__social a {
  color: var(--gray); font-size: 0.85rem;
  transition: color 0.3s;
}

.footer__social a:hover { color: var(--fire-1); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsivo ---------- */

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 50px; }
  .section { padding: 90px 6vw; }
}

@media (max-width: 700px) {
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 40px;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }
  .nav__links a { font-size: 1.4rem; }

  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    z-index: 101; padding: 6px;
  }

  .nav__burger span {
    width: 26px; height: 2px; background: var(--white);
    border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.3s;
  }

  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about__stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 26px 16px; }
  .stat__num { font-size: 2rem; }
}

/* ---------- preloader ---------- */

.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader.instant { transition: none; }

.preloader__flame {
  font-size: 3.6rem;
  animation: preIgnite 0.9s var(--ease-out) both, flicker 1.6s 0.6s ease-in-out infinite;
  filter: drop-shadow(0 0 34px rgba(255, 107, 0, 0.65));
}

@keyframes preIgnite {
  from { transform: scale(0) translateY(40px); opacity: 0; }
  60%  { transform: scale(1.25); }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.preloader__logo {
  height: 48px; width: auto;
  animation: preWord 0.9s 0.3s var(--ease-out) both;
  filter: drop-shadow(0 0 26px rgba(255, 107, 0, 0.4));
}

@keyframes preWord {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- marquee de tecnologias ---------- */

.marquee--tech {
  transform: rotate(1.2deg) scale(1.02);
  background: rgba(255, 179, 0, 0.02);
}

.marquee--tech .marquee__track {
  animation-direction: reverse;
  animation-duration: 32s;
  font-size: 1rem;
  color: rgba(245, 242, 238, 0.4);
}

.marquee--tech i { color: var(--fire-1); }

/* ---------- depoimentos ---------- */

.section--testi { max-width: none; padding-left: 0; padding-right: 0; }
.section--testi .section__head { padding: 0 5vw; }

.testi-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 10px 0;
}

.testi-track {
  display: flex; gap: 26px; width: max-content;
  animation: marquee 46s linear infinite;
}

.testi-marquee:hover .testi-track { animation-play-state: paused; }

.testi-card {
  width: min(380px, 82vw);
  padding: 32px 30px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.testi-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-4px);
}

.testi-card__stars {
  color: var(--fire-1); letter-spacing: 4px; margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(255, 179, 0, 0.5);
}

.testi-card p { color: var(--white); font-size: 0.97rem; font-weight: 300; }

.testi-card__who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }

.testi-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--fire-grad);
  color: var(--black);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.35);
}

.testi-card__who strong { display: block; font-size: 0.95rem; }
.testi-card__who small { color: var(--gray); font-size: 0.8rem; }

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}

.faq-item.open {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.03);
}

.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 22px 26px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--white);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 400;
  color: var(--fire-1);
  border: 1px solid rgba(255, 107, 0, 0.35);
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--fire-grad);
  color: var(--black);
  border-color: transparent;
}

.faq-item__panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}

.faq-item__panel p {
  padding: 0 26px 24px;
  color: var(--gray); font-size: 0.95rem;
}

/* ---------- formulário de contato ---------- */

.contact-form {
  max-width: 620px; margin: 0 auto 36px;
  display: grid; gap: 18px;
  text-align: left;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}

.form-field label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 15px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body); font-size: 0.97rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: auto;
  resize: vertical;
}

.form-field select { cursor: pointer; }
.form-field select option { background: var(--black-2); }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(138, 133, 128, 0.6); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--fire-2);
  background: rgba(255, 107, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.14), 0 0 28px rgba(255, 107, 0, 0.12);
}

.contact-form__submit { justify-self: center; margin-top: 6px; }

.form-status { min-height: 1.4em; text-align: center; font-size: 0.92rem; color: var(--gray); }
.form-status.ok { color: var(--fire-1); }
.form-status.err { color: #ff5c5c; }

.cta__actions--alt { align-items: center; }

.cta__or {
  width: 100%; display: block;
  color: var(--gray); font-size: 0.85rem; margin-bottom: 4px;
}

/* ---------- modal de case ---------- */

body.no-scroll { overflow: hidden; }

.case-modal {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
  padding: 22px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.case-modal.open { opacity: 1; visibility: visible; }

.case-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-modal__panel {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 280px 1fr; gap: 44px;
  width: min(880px, 100%);
  max-height: 88vh; overflow-y: auto;
  padding: 46px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(255, 60, 0, 0.12), transparent),
    linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid rgba(255, 107, 0, 0.25);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 107, 0, 0.08);
  transform: translateY(36px) scale(0.96);
  transition: transform 0.45s var(--ease-out);
}

.case-modal.open .case-modal__panel { transform: translateY(0) scale(1); }

.case-modal__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white); font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.case-modal__close:hover {
  background: var(--fire-grad); color: var(--black);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(255, 107, 0, 0.5);
}

.case-modal__phone { display: flex; align-items: center; }

.phone {
  position: relative;
  width: 100%; max-width: 250px; margin: 0 auto;
  aspect-ratio: 9 / 18;
  border-radius: 38px;
  border: 3px solid #2c2c2c;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 60px rgba(255, 107, 0, 0.14);
}

.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 12px;
  background: #000; border: 1px solid #1c1c1c;
  z-index: 2;
}

.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-modal__body h3 {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  margin: 10px 0 22px;
}

.case-modal__body h4 {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fire-1);
  margin-bottom: 8px;
}

.case-modal__body > p {
  color: var(--gray); font-size: 0.95rem; margin-bottom: 22px;
}

.case-modal__results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 6px 0 28px;
}

.case-res {
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.case-res strong {
  display: block;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  background: var(--fire-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-res span { color: var(--gray); font-size: 0.72rem; }

@media (max-width: 720px) {
  .case-modal__panel {
    grid-template-columns: 1fr;
    gap: 30px; padding: 30px 24px;
  }
  .phone { max-width: 190px; }
  .form-row { grid-template-columns: 1fr; }
  .case-modal__results { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
