/* =========================================================
   DF SOLUÇÕES — Design System
   Montserrat (títulos) + Inter (corpo)
   ========================================================= */

:root {
  /* Colors */
  --bg: #0A0415;
  --bg2: #0F0520;
  --bg3: #1A1A2E;
  --surface: rgba(26, 26, 46, 0.5);
  --surface2: rgba(15, 5, 32, 0.8);

  --roxo: #8B5CF6;
  --roxo-dark: #6D28D9;
  --magenta: #C026D3;
  --lav: #E879F9;
  --lilac: #A78BFA;

  --white: #ffffff;
  --text: #D4D4D8;
  --muted: #9CA3AF;
  --dim: #52525B;

  --border: rgba(139, 92, 246, 0.12);
  --border-strong: rgba(139, 92, 246, 0.3);

  --grd: linear-gradient(135deg, var(--roxo) 0%, var(--magenta) 100%);
  --grd2: linear-gradient(90deg, var(--roxo), var(--magenta));

  /* Type */
  --f-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --container: 1320px;
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 32px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--roxo);
  color: var(--white);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--roxo); border-radius: 3px; }

/* ----- BG ATMOSPHERE ----- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.atmosphere .dotgrid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.atmosphere .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orb 20s ease-in-out infinite alternate;
}
.atmosphere .orb-1 {
  width: 500px; height: 500px;
  background: var(--roxo);
  top: -10%; left: -10%;
}
.atmosphere .orb-2 {
  width: 400px; height: 400px;
  background: var(--magenta);
  top: 40%; right: -15%;
  animation-delay: -10s;
}
.atmosphere .orb-3 {
  width: 450px; height: 450px;
  background: var(--roxo-dark);
  bottom: -15%; left: 30%;
  animation-delay: -5s;
}
@keyframes orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

/* ----- LAYOUT ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--container);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 24px;
  background: rgba(15, 5, 32, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 4, 21, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(139, 92, 246, 0.08);
}
.nav-link.active {
  color: var(--white);
  background: rgba(139, 92, 246, 0.15);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grd2);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 24px rgba(139, 92, 246, 0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 32px rgba(139, 92, 246, 0.5);
}

.nav-burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px;
}

/* ----- TYPOGRAPHY ----- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.display-lg {
  font-size: clamp(48px, 8vw, 128px);
}
.display-md {
  font-size: clamp(40px, 6vw, 88px);
}
.display-sm {
  font-size: clamp(32px, 4.5vw, 60px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--lilac);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--roxo);
}

.gradient-text {
  background: var(--grd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outline-text {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
  -webkit-text-fill-color: transparent;
}

/* ----- SECTIONS ----- */
.section {
  position: relative;
  padding: 120px 0;
  z-index: 1;
}
.section-sm { padding: 80px 0; }
.section-header {
  margin-bottom: 64px;
  max-width: 800px;
}
.section-header .eyebrow {
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 620px;
  line-height: 1.7;
}

.section-number {
  position: absolute;
  top: 120px;
  right: 32px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--roxo);
  letter-spacing: 0.1em;
  z-index: 2;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--grd2);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 14px 38px rgba(139, 92, 246, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  border-color: var(--roxo);
  background: rgba(139, 92, 246, 0.08);
}
.btn-wpp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.3);
}
.btn-wpp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5);
}

/* ----- MARQUEE ----- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 5, 32, 0.4);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}
.marquee-item .outline-text { color: transparent; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- REVEAL ----- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ----- FLOATING WHATSAPP ----- */
.float-wpp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  animation: floatBounce 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
.float-wpp:hover {
  transform: scale(1.08);
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ----- FOOTER ----- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover {
  color: var(--roxo);
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dim);
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.footer-socials a:hover {
  border-color: var(--roxo);
  color: var(--roxo);
  background: rgba(139, 92, 246, 0.1);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .nav { padding: 10px 10px 10px 20px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; flex-direction: column; background: rgba(15, 5, 32, 0.98); backdrop-filter: blur(20px); padding: 16px; border-radius: 24px; border: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; text-align: center; padding: 14px; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .section { padding: 80px 0; }
  .section-number { top: 80px; right: 24px; }
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .marquee-item { font-size: 22px; }
}
