/* =========================================================
   ORVEXIS DIGITAL STUDIO — Estilos
   Dica: mude as cores aqui em :root e o site todo acompanha.
   ========================================================= */
:root {
  --bg: #000000;
  --bg-card: #0b0614;
  --purple: #a020f0;          /* roxo principal */
  --purple-light: #c77dff;    /* roxo claro (textos/ícones) */
  --purple-glow: rgba(160, 32, 240, 0.55);
  --text: #ffffff;
  --text-soft: #d6d0de;
  --border: rgba(255, 255, 255, 0.08);

  --font: "Lexend", system-ui, sans-serif;
  --font-logo: "Orbitron", "Lexend", sans-serif;

  --container: 1560px;
  --header-h: 116px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.icon { width: 28px; height: 28px; flex-shrink: 0; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 30px;
  border-radius: 14px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(180deg, #a12cf5 0%, #8510e0 100%);
  border: 1.5px solid #c56bff;
  box-shadow: 0 0 28px var(--purple-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { box-shadow: 0 0 44px var(--purple-glow), inset 0 1px 0 rgba(255,255,255,.25); }

.btn--outline {
  background: rgba(10, 4, 18, 0.6);
  border: 1.5px solid #b44cff;
  box-shadow: 0 0 16px rgba(160, 32, 240, .25);
}
.btn--outline:hover { background: rgba(160, 32, 240, .15); box-shadow: 0 0 28px var(--purple-glow); }

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1640px;
  padding: 0 52px 0 80px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo__icon {
  width: 112px;
  height: auto;
  filter: drop-shadow(0 0 10px var(--purple-glow));
}
.logo__text { display: flex; flex-direction: column; align-items: center; }
.logo__name {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 2.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #d9d4e2 45%, #8f889c 55%, #f1eef6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__tag {
  position: relative;
  margin-top: 8px;
  padding: 0 34px;
  font-size: 0.95rem;
  letter-spacing: 0.62em;
  color: var(--purple);
  font-weight: 500;
}
.logo__tag::before,
.logo__tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,.35);
}
.logo__tag::before { left: 0; }
.logo__tag::after  { right: 0; }

.nav { display: flex; align-items: center; gap: 58px; margin-left: auto; margin-right: 34px; }
.nav__link {
  position: relative;
  font-size: 1.2rem;
  font-weight: 400;
  color: #f2eef7;
  padding: 10px 0;
  transition: color .2s;
}
.nav__link:hover { color: var(--purple-light); }
.nav__link.active { color: #c14bff; }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: -14px;
  height: 3px;
  border-radius: 3px;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple), 0 0 24px var(--purple-glow);
}

.btn--whats { height: 56px; padding: 0 26px; font-size: 1.25rem; border-radius: 12px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 76px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 72% 78%, rgba(140, 30, 230, .22), transparent 70%),
    var(--bg);
}

/* faixa diagonal roxa atrás do notebook */
.hero__beam {
  position: absolute;
  top: 0;
  left: 54%;
  width: 70px;
  height: 75%;
  background: linear-gradient(180deg, rgba(190, 80, 255, .9), rgba(120, 20, 220, .15));
  transform: skewX(-34deg);
  filter: blur(2px);
  opacity: .35;
  pointer-events: none;
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  max-width: 1040px;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}

.hero__inner { position: relative; z-index: 2; max-width: 1640px; padding-left: 78px; }
.hero__content { max-width: 760px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #e9e4ef;
  margin-bottom: 26px;
}
.hero__eyebrow::before {
  content: "";
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero__title-line,
.hero__title-accent { display: block; }
.hero__title-line {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #a9a3b5 75%, #e8e4ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-accent {
  background: linear-gradient(90deg, #9b1ff0 0%, #c04cff 55%, #d98cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(160, 32, 240, .45));
}

.hero__text {
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 620px;
  margin-bottom: 44px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 26px; }

/* ===================== CARDS ===================== */
.services {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.9fr;
  gap: 32px;
  margin-top: 96px;
  max-width: 1580px;
}
.container:has(.services) { max-width: 1640px; padding: 0 48px; }

.card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 20px 28px 28px;
  min-height: 148px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 10, 50, .55) 0%, rgba(8, 3, 14, .9) 100%);
  border: 1.5px solid rgba(170, 60, 255, .55);
  box-shadow: 0 0 22px rgba(150, 30, 240, .18), inset 0 0 30px rgba(120, 20, 220, .08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* brilho na borda superior */
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d48bff, transparent);
  box-shadow: 0 0 16px 2px var(--purple);
}
.card:hover {
  transform: translateY(-6px);
  border-color: #c56bff;
  box-shadow: 0 0 40px rgba(160, 32, 240, .4), inset 0 0 30px rgba(120, 20, 220, .12);
}

.card__icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  color: #b13cff;
  filter: drop-shadow(0 0 6px rgba(170, 50, 255, .6));
}
.card__title { font-size: 1.28rem; white-space: nowrap; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }
.card__text  { font-size: 1.05rem; font-weight: 300; line-height: 1.45; color: var(--text-soft); }

/* ===================== PROJETOS ===================== */
.projects {
  position: relative;
  padding: 120px 0 130px;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(140, 30, 230, .14), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.projects__inner { max-width: 1400px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 18px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}
.section-title {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.text-accent {
  background: linear-gradient(90deg, #9b1ff0, #d98cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-text { font-size: 1.25rem; font-weight: 300; color: var(--text-soft); }

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 10, 50, .5), rgba(8, 3, 14, .9));
  border: 1.5px solid rgba(170, 60, 255, .45);
  box-shadow: 0 0 40px rgba(150, 30, 240, .15);
}

.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0c0a12;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 30px rgba(160, 32, 240, .25);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #16121f;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3348; }
.browser__bar span:nth-child(1) { background: #ff5f57; }
.browser__bar span:nth-child(2) { background: #febc2e; }
.browser__bar span:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1;
  margin-left: 14px;
  padding: 5px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  font-size: .9rem;
  color: #b8b0c6;
  text-align: center;
}
.browser__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: opacity .25s; }

.project__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.thumb {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .1);
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.thumb:hover { opacity: .9; transform: translateY(-2px); }
.thumb.active { opacity: 1; border-color: #b44cff; box-shadow: 0 0 14px var(--purple-glow); }

.project__tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: #e6c8ff;
  background: rgba(160, 32, 240, .18);
  border: 1px solid rgba(180, 76, 255, .5);
  margin-bottom: 18px;
}
.project__title { font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.project__subtitle { font-size: 1.15rem; color: var(--purple-light); margin: 8px 0 22px; }
.project__text { font-size: 1.15rem; font-weight: 300; line-height: 1.55; color: var(--text-soft); margin-bottom: 24px; }

.project__features { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.project__features li { position: relative; padding-left: 32px; font-size: 1.08rem; color: #ece7f3; }
.project__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(160, 32, 240, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d18cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(180, 76, 255, .6);
}

.project__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.project__actions .btn { height: 58px; font-size: 1.15rem; }
.icon--sm { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .project { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 600px) {
  .projects__inner { padding: 0 16px; }
  .projects { padding: 80px 0; }
  .project { padding: 18px; border-radius: 18px; }
  .project__thumbs { gap: 6px; }
  .browser__url { font-size: .75rem; }
}

/* ===================== ANIMAÇÕES ===================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1440px) {
  html { font-size: 14px; }
  .nav { gap: 38px; }
  .logo__icon { width: 92px; }
}

@media (max-width: 1180px) {
  .card__title { white-space: normal; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero__image { width: 70%; opacity: .55; }
}

@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .header__inner { padding: 0 24px; }
  .logo__icon { width: 64px; }
  .logo__name { font-size: 2rem; }
  .logo__tag { font-size: .62rem; padding: 0 22px; letter-spacing: .4em; white-space: nowrap; }
  .logo__tag::before, .logo__tag::after { width: 18px; }
  .btn--whats { display: none; }
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 24px;
    background: rgba(0, 0, 0, .97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav__link.active::after { display: none; }

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

  .hero { padding-top: 40px; }
  .hero__inner, .container:has(.services) { padding: 0 24px; }
  .hero__image { position: relative; width: 100%; opacity: 1; margin-bottom: 24px; animation: none; }
  .hero__title { white-space: normal; }
  .card__title { white-space: normal; }
  .hero__beam { display: none; }
  .hero__text { font-size: 1.25rem; }
  .services { margin-top: 64px; }
}

@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .btn { height: 58px; font-size: 1.1rem; width: 100%; justify-content: center; }
}
