/* ============ TOKENS ============ */
:root {
  --spz-yellow: #FFCC01;
  --spz-yellow-deep: #A78200;
  --spz-black: #0B0B0B;
  --spz-charcoal: #161616;
  --spz-charcoal-2: #1F1F1F;
  --spz-white: #F8F9FA;
  --spz-ink: #0F0F0F;
  --spz-gray: #8C8C86;
  --spz-line: rgba(248,249,250,0.10);
  --spz-line-dark: rgba(255,255,255,0.10); /* Alterado para contraste no escuro */

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--spz-charcoal); /* Fundo geral escuro */
  color: var(--spz-white); /* Texto geral claro */
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.text-yellow { color: var(--spz-yellow); }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spz-yellow); /* Amarelo puro para brilhar no fundo escuro */
  margin-bottom: 18px;
  display: block;
}
.eyebrow--onDark { color: var(--spz-yellow); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--spz-white); /* Títulos claros */
}
.section-title--onDark { color: var(--spz-white); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--spz-yellow);
  color: var(--spz-black);
}
.btn--primary:hover { transform: translateY(-2px); background: #FFD733; }
.btn--ghost {
  background: transparent;
  color: var(--spz-white);
  border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn--small { padding: 10px 20px; font-size: 13px; }
.btn--large { padding: 20px 40px; font-size: 16px; }

/* ============ FLIGHT RAIL (signature element) ============ */
.flight-rail {
  position: fixed;
  top: 0; right: 22px;
  height: 100vh;
  width: 2px;
  z-index: 60;
  display: none;
}
@media (min-width: 1080px) { .flight-rail { display: block; } }
.flight-rail__track {
  position: absolute;
  top: 12%; bottom: 12%; left: 0;
  width: 1px;
  /* Linha invertida para branco translúcido */
  background: linear-gradient(to bottom, transparent, rgba(248,249,250,0.12) 10%, rgba(248,249,250,0.12) 90%, transparent);
}
.flight-rail__dot {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--spz-yellow);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(255,204,1,0.15);
  transition: top .1s linear;
}

/* ============ HEADER ============ */
#themeToggle {
  z-index: 99;
}
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11,11,11,0.82);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-color: rgba(248,249,250,0.08);
}
.header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo img { height: 32px; width: auto; }

.header__nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  margin-left: 20px;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--spz-white);
  opacity: 0.75;
  transition: opacity .25s;
}
.header__nav a:hover { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}
.header__burger span { 
  width: 22px; 
  height: 2px; 
  background: var(--spz-white);
  transition: transform .3s ease, opacity .3s ease;
}

/* Animação do ícone de Hambúrguer virando X */
.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* AJUSTES RESPONSIVOS MOBILE */
@media (max-width: 780px) {
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* Transformando o menu em um painel mobile / modal */
  .header__nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 260px;
    height: 100vh;
    background: #0B0B0B;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.1);
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 18px;
    font-weight: 600;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--spz-black);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.34;
  filter: grayscale(0.3);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.85) 65%, var(--spz-black) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 160px clamp(20px, 5vw, 64px) 100px;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--spz-white);
  margin: 14px 0 26px;
}
.hero__subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(248,249,250,0.72);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero .btn--ghost { color: var(--spz-white); }
.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,249,250,0.5);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: rgba(248,249,250,0.3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: var(--spz-yellow);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============ NÚMEROS ============ */
.numeros {
  background: var(--spz-black);
  padding: 90px 0 110px;
  border-top: 1px solid var(--spz-line);
}
.numeros__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.numero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  border-left: 1px solid var(--spz-line);
}
.numero:first-child { border-left: none; padding-left: 0; }
.numero__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 62px);
  color: var(--spz-yellow);
  letter-spacing: -0.02em;
}
.numero__label {
  font-size: 14px;
  color: rgba(248,249,250,0.65);
}
@media (max-width: 720px) {
  .numeros__grid { grid-template-columns: 1fr; gap: 32px; }
  .numero { border-left: none; padding-left: 0; border-top: 1px solid var(--spz-line); padding-top: 24px; }
  .numero:first-child { border-top: none; padding-top: 0; }
}

/* ============ SERVIÇOS ============ */
.servico { background: var(--spz-charcoal); padding: 120px 0; }
.servico__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.card-servico {
  background: var(--spz-charcoal-2); /* Fundo dos cards escuro */
  border: 1px solid rgba(255,255,255,0.05); /* Borda sutil */
  border-radius: 18px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.card-servico::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--spz-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card-servico:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.card-servico:hover::before { transform: scaleX(1); }
.card-servico__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--spz-black);
  color: var(--spz-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .35s var(--ease);
}
.card-servico:hover .card-servico__icon { background: var(--spz-yellow); color: var(--spz-black); }
.card-servico__icon svg { width: 22px; height: 22px; }
.card-servico h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card-servico p {
  font-size: 14.5px;
  color: rgba(248,249,250,0.65); /* Parágrafos mais legíveis no escuro */
  margin-bottom: 20px;
}
.card-servico__link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--spz-white);
}
.card-servico__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.card-servico__link:hover svg { transform: translateX(4px); }

@media (max-width: 980px) { .servico__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .servico__grid { grid-template-columns: 1fr; } }

/* ============ PROCESSO ============ */
.processo {
  background: var(--spz-black);
  padding: 120px 0;
  position: relative;
}
.processo__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.processo__line {
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 1px;
  background: var(--spz-line);
  z-index: 0;
}
.processo__line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: var(--progress, 0%);
  background: var(--spz-yellow);
  transition: width 1s var(--ease);
}
.processo__step { position: relative; z-index: 1; }
.processo__marker {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--spz-black);
  border: 2px solid var(--spz-yellow);
  margin-bottom: 26px;
}
.processo__stage {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--spz-yellow);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.processo__step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--spz-white);
  margin-bottom: 12px;
}
.processo__step p {
  font-size: 14.5px;
  color: rgba(248,249,250,0.62);
  max-width: 320px;
}
@media (max-width: 820px) {
  .processo__timeline { grid-template-columns: 1fr; gap: 44px; }
  .processo__line { display: none; }
}

/* ============ SOBRE ============ */
.sobre { background: var(--spz-charcoal); padding: 120px 0; }
.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.sobre__media img {
  border-radius: 20px;
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.sobre__text {
  font-size: 16px;
  color: rgba(248,249,250,0.7); /* Texto mais claro */
  margin-bottom: 34px;
  max-width: 480px;
}
@media (max-width: 900px) {
  .sobre__grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre__media { order: -1; }
}

/* ============ CHAMADA (CTA) ============ */
.chamada {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: var(--spz-black);
}
.chamada__bg { position: absolute; inset: 0; }
.chamada__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(0.5); }
.chamada__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,204,1,0.10), transparent 55%), var(--spz-black);
  opacity: 0.92;
}
.chamada__content { position: relative; z-index: 1; max-width: 720px; }
.chamada__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--spz-white);
  margin-bottom: 20px;
}
.chamada__subtitle {
  color: rgba(248,249,250,0.65);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 520px;
}

/* ============ CASES ============ */
.cases { background: var(--spz-charcoal); padding: 120px 0; }
.cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 50px; }
.card-case { background: var(--spz-charcoal-2); border: 1px solid rgba(11,11,11,0.08); border-radius: 20px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card-case:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,11,11,0.10); }
.card-case__img { display: block; overflow: hidden; aspect-ratio: 16/10; }
.card-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-case:hover .card-case__img img { transform: scale(1.05); }
.card-case__content { padding: 36px 32px; }
.card-case__content h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.card-case__content p { font-size: 15px; margin-bottom: 24px; }
@media (max-width: 780px) { .cases__grid { grid-template-columns: 1fr; } }

/* ============ LOGOS (MARQUEE) ============ */
.logos { background: var(--spz-yellow); padding: 48px 0; overflow: hidden; border-top: 1px solid rgba(11,11,11,0.05); border-bottom: 1px solid rgba(11,11,11,0.05); }
.logos__track { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.logos__track:hover { animation-play-state: paused; }
.logos__group { display: flex; align-items: center; gap: 80px; padding-right: 80px; }
.logo-item { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--spz-ink); opacity: 0.8; transition: opacity .3s; white-space: nowrap; cursor: default; }
.logo-item:hover { opacity: 1; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============ DEPOIMENTOS ============ */
.depoimentos { background: var(--spz-black); padding: 120px 0; }
.depoimentos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.card-depoimento { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 40px 32px; display: flex; flex-direction: column; }
.card-depoimento__quote { font-family: var(--font-display); font-size: 60px; color: var(--spz-yellow); line-height: 1; margin-bottom: 16px; opacity: 0.8; }
.card-depoimento p { color: rgba(248,249,250,0.75); font-size: 15px; flex-grow: 1; margin-bottom: 30px; font-style: italic; }
.card-depoimento__author { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.card-depoimento__author strong { color: var(--spz-white); font-weight: 600; font-size: 15px; }
.card-depoimento__author span { color: var(--spz-yellow); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 980px) { .depoimentos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .depoimentos__grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { background: var(--spz-charcoal); padding: 120px 0; }
.faq__list { margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.10); } /* Borda clara translúcida */
.faq__item { border-bottom: 1px solid rgba(255,255,255,0.10); } /* Borda clara translúcida */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  color: var(--spz-white); /* Texto claro no escuro */
}
.faq__question svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .4s var(--ease); }
.faq__item.is-open .faq__question svg { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.faq__answer p {
  padding: 0 4px 26px;
  font-size: 15px;
  color: rgba(248,249,250,0.65); /* Texto descritivo mais claro */
  max-width: 640px;
}

/* ============ FOOTER ============ */
.footer { background: var(--spz-black); padding: 80px 0 30px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer__logo { height: 48px; margin-bottom: 18px; }
.footer__brand p {
  color: rgba(248,249,250,0.55);
  font-size: 14px;
  max-width: 280px;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--spz-yellow);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(248,249,250,0.68);
  margin-bottom: 12px;
  transition: color .25s;
}
.footer__col a:hover { color: var(--spz-yellow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--spz-line);
  font-size: 13px;
  color: rgba(248,249,250,0.45);
}
.footer__tag { font-family: var(--font-mono); color: var(--spz-yellow-deep); }
@media (max-width: 720px) { .header__inner { justify-content: space-between; } .footer__inner { grid-template-columns: 1fr; gap: 34px; } }