﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --bg: #080410;
  --bg-soft: #120824;
  --surface: rgba(24, 14, 41, 0.72);
  --surface-strong: rgba(41, 20, 72, 0.9);
  --surface-light: #f8f4ff;
  --line: rgba(188, 151, 255, 0.24);
  --text: #f5efff;
  --text-dark: #1f1235;
  --text-muted: #c7b3ee;
  --brand-1: #5d1fd1;
  --brand-2: #8f46ff;
  --brand-3: #bc97ff;
  --ok: #38d39f;
  --danger: #ff7ca3;
  --shadow: 0 24px 50px rgba(5, 2, 12, 0.38);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 10%, rgba(108, 49, 212, 0.26), transparent 40%),
    radial-gradient(circle at 100% 20%, rgba(143, 70, 255, 0.22), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, #0b0616 45%, #120726 100%);
  min-height: 100vh;
}

body.light {
  color: var(--text-dark);
  background:
    radial-gradient(circle at 0% 10%, rgba(108, 49, 212, 0.16), transparent 40%),
    radial-gradient(circle at 100% 20%, rgba(143, 70, 255, 0.12), transparent 36%),
    linear-gradient(180deg, #f7f1ff 0%, #f4ecff 45%, #faf7ff 100%);
}

main {
  min-height: 60vh;
}

.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(188, 151, 255, 0.2);
  z-index: 200;
}

.scroll-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  box-shadow: 0 0 20px rgba(148, 73, 255, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 4, 16, 0.72);
  border-bottom: 1px solid var(--line);
}

body.light .site-header {
  background: rgba(248, 244, 255, 0.82);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(99, 36, 206, 0.22);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: #f7f0ff;
}

body.light .brand-copy strong {
  color: #2d1752;
}

.brand-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #c8b2ee;
}

body.light .brand-copy small {
  color: #65479d;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e9ddff;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

body.light .nav-link {
  color: #3d2468;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(93, 31, 209, 0.85), rgba(143, 70, 255, 0.82));
  border-color: rgba(207, 179, 255, 0.35);
}

.wrap {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: 84vh;
  padding: 80px 0 48px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.42;
  pointer-events: none;
}

.hero::before {
  width: 410px;
  height: 410px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle at 40% 40%, rgba(180, 130, 255, 0.95), rgba(86, 23, 175, 0));
  animation: drift 14s ease-in-out infinite;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle at 40% 40%, rgba(122, 57, 224, 0.9), rgba(86, 23, 175, 0));
  animation: drift 16s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(143, 70, 255, 0.16);
  border: 1px solid rgba(207, 179, 255, 0.3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #d9c5ff;
}

body.light .kicker {
  color: #5d2eb1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  line-height: 1.12;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-muted);
}

body.light .lead,
body.light .muted {
  color: #614686;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 14px 30px rgba(103, 34, 214, 0.45);
}

.btn-secondary {
  color: #f0e5ff;
  border-color: var(--line);
  background: rgba(56, 30, 99, 0.35);
}

body.light .btn-secondary {
  color: #4a297d;
  background: rgba(212, 194, 247, 0.36);
}

.logo-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18, 7, 33, 0.95), rgba(13, 5, 26, 0.9));
  box-shadow: var(--shadow);
  padding: 18px;
}

.logo-panel img {
  width: 100%;
  border-radius: 18px;
}

.metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(76, 39, 136, 0.24);
  padding: 12px;
}

.metric strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.28rem;
  display: block;
}

.section {
  padding: 72px 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(250, 246, 255, 0.96), rgba(244, 236, 255, 0.98));
  color: var(--text-dark);
  border-top: 1px solid rgba(116, 65, 180, 0.13);
  border-bottom: 1px solid rgba(116, 65, 180, 0.13);
}

.section-head {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.muted {
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.72;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.section-light .card {
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(83, 45, 148, 0.14);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(222, 205, 255, 0.52);
}

.card h3,
.card h4 {
  margin-bottom: 10px;
}

.icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(104, 37, 221, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-index {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-1), var(--brand-2));
}

.image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(120, 66, 202, 0.16);
}

.section-light .contact-item {
  background: rgba(145, 99, 216, 0.08);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(179, 146, 239, 0.45);
  padding: 11px 12px;
  font: inherit;
  background: rgba(47, 22, 87, 0.62);
  color: #f3e9ff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #c9b2ef;
}

.field select option {
  background: #22103f;
  color: #f3e9ff;
}

.form-message {
  margin-top: 10px;
  font-size: 0.92rem;
  min-height: 20px;
}

.form-message.ok {
  color: var(--ok);
}

.form-message.error {
  color: var(--danger);
}

.timeline {
  position: relative;
  padding-left: 24px;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand-3), transparent);
}

.timeline-item {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: rgba(93, 43, 166, 0.2);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  background: rgba(10, 5, 20, 0.9);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.footer-logo {
  max-width: 320px;
  border-radius: 14px;
}

.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: #f1e8ff;
  background: rgba(120, 66, 202, 0.24);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(143, 70, 255, 0.38);
  border-color: rgba(222, 205, 255, 0.65);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-link {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--text-muted);
}

.whatsapp-float {
  position: fixed !important;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.64rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 4vw;
    width: min(280px, 92vw);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(16, 8, 30, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
  }

  body.light .site-nav {
    background: rgba(255, 255, 255, 0.95);
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-icon {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
