:root {
  --bg: #0a0a0c;
  --bg-alt: #141417;
  --bg-card: #1b1b20;
  --bg-card-hover: #232329;
  --border: #2a2a31;
  --purple: #5b2cd6;
  --purple-light: #8b5cf6;
  --purple-soft: rgba(91, 44, 214, 0.15);
  --white: #ffffff;
  --text: #e7e7ea;
  --text-muted: #9a9aa5;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

a, button, .btn, .nav-toggle {
  cursor: pointer;
}

img, video {
  -webkit-user-drag: none;
  user-drag: none;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section { position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(91, 44, 214, 0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(91, 44, 214, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn svg { width: 18px; height: 18px; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
}

.logo img { width: 30px; height: 30px; }

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.logo-text small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 0.62rem;
  color: var(--purple-light);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--purple-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 210;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  background: #050506;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,6,0.96) 5%, rgba(5,5,6,0.75) 45%, rgba(20,10,40,0.55) 100%),
    linear-gradient(0deg, rgba(5,5,6,0.9) 0%, rgba(5,5,6,0.1) 45%);
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.hero h1 span { color: var(--purple-light); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}

.hero-stats div strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
}

.hero-stats div span { font-size: 0.85rem; color: var(--text-muted); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}

.marquee-track span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Services */
.services { padding: 120px 0 100px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 44, 214, 0.5);
  box-shadow: var(--shadow);
}

.service-card figure {
  height: 210px;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img { transform: scale(1.06); }

.service-card .service-body { padding: 26px 26px 30px; }

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--purple-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--purple-light);
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Split banners (imagem real + texto) */
.split-banner { padding: 100px 0; }
.split-banner.alt { background: var(--bg-alt); }

.split-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-banner .split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  order: 1;
}

.split-banner .split-text { order: 2; }

.split-banner.reverse .split-media { order: 2; }
.split-banner.reverse .split-text { order: 1; }

.split-media img { width: 100%; display: block; }

.split-text h2 { font-size: 2rem; margin-bottom: 20px; }
.split-text p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 30px; }

/* Differentials */
.differentials { padding: 100px 0; background: var(--bg-alt); }

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.diff-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.diff-media img { width: 100%; }

.diff-media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.diff-list { display: flex; flex-direction: column; gap: 26px; }

.diff-item { display: flex; gap: 18px; }

.diff-item .num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--purple-soft);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.diff-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.diff-item p { color: var(--text-muted); font-size: 0.94rem; }

/* About */
.about { padding: 110px 0; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.02rem; }

.about-text strong { color: var(--white); }

.about-ceo {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.about-ceo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple);
}

.about-ceo .ceo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 180px;
}

.about-ceo .ceo-info strong {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-size: 1rem;
}

.about-ceo .ceo-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ceo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-light);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 100px;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.ceo-link:hover { border-color: var(--purple); background: var(--purple-soft); }

/* Projects */
.projects { padding: 110px 0; background: var(--bg-alt); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-card:hover img { transform: scale(1.08); }

.project-card .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(10,10,12,0.6);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.14);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 55%);
}

.project-card.wide { grid-column: span 2; }
.project-card.tall { grid-row: span 2; }

/* Reels reais */
.reels { padding: 110px 0; }

.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
}

.phone {
  margin: 0;
  text-align: center;
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  border: 3px solid var(--border);
  background: #000;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.phone:hover .phone-screen {
  transform: translateY(-6px);
  border-color: rgba(91, 44, 214, 0.6);
  box-shadow: 0 24px 54px rgba(91, 44, 214, 0.3);
}

.phone-mid .phone-screen { transform: scale(1.05); }
.phone-mid:hover .phone-screen { transform: scale(1.05) translateY(-6px); }

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

.phone figcaption {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Botão de som dos vídeos */
.sound-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sound-toggle:hover {
  background: rgba(91, 44, 214, 0.75);
  border-color: var(--purple-light);
  transform: scale(1.08);
}

.sound-toggle svg { width: 20px; height: 20px; }

.sound-toggle .icon-on { display: none; }
.sound-toggle.on { background: rgba(91, 44, 214, 0.85); border-color: var(--purple-light); }
.sound-toggle.on .icon-on { display: block; }
.sound-toggle.on .icon-off { display: none; }

/* Instagram feed */
.insta { padding: 110px 0; }

.insta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--purple-light);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 100px;
  transition: border-color .2s ease, background .2s ease;
}

.insta-follow:hover { border-color: var(--purple); background: var(--purple-soft); }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.insta-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}

.insta-grid a:hover img { transform: scale(1.1); filter: brightness(0.7); }

/* CTA final */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(91,44,214,0.4) 0%, rgba(10,10,12,0.85) 60%),
    rgba(10, 10, 12, 0.55);
}

.cta-final .container { position: relative; z-index: 2; }

.cta-final h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta-final p { color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }

/* Footer */
footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a { color: var(--text-muted); font-size: 0.93rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--purple-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

.aw-credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.aw-credit p { margin: 0; }
.aw-credit__heart { color: #8b5cf6; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(91,44,214,0.5);
  animation: float-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(91,44,214,0.5); }
  50% { box-shadow: 0 12px 40px rgba(91,44,214,0.8); }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-layout, .about-layout, .split-banner .container { grid-template-columns: 1fr; }
  .diff-media, .about-media { order: -1; }
  .split-banner .split-media, .split-banner.reverse .split-media { order: -1; }
  .split-banner .split-text, .split-banner.reverse .split-text { order: 2; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 560px; }
  .phone-mid .phone-screen { transform: none; }
  .phone-mid:hover .phone-screen { transform: translateY(-6px); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.wide { grid-column: span 2; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #0d0d10;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 200;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.desktop-only { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.wide { grid-column: span 2; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .split-banner { padding: 70px 0; }
}
