/* ==========================================================================
   Variáveis ​​CSS Globais
   ========================================================================== */
:root {
  /* Colors */
  --bg-color: #010103;
  --bg-color-rgb: 1, 1, 3;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A5;
  --primary-color: #00FF66;
  /* Neon Green */
  --primary-color-rgb: 0, 255, 102;
  --primary-dark: #00CC52;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Utils */
.text-muted {
  color: var(--text-muted);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-100 {
  width: 100%;
  display: inline-block;
  text-align: center;
}

/* Background Glows */
.glow-bg {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.glow-1 {
  top: -10%;
  left: -10%;
  background: var(--primary-color);
}

.glow-2 {
  bottom: 20%;
  right: -20%;
  background: #3B82F6;
  /* Subtle blue complement */
}

/* ==========================================================================
   Magic Cursor
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-color);
  transition: width 0.2s, height 0.2s, transform 0.1s;
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--trans-normal);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 102, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--trans-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(1, 1, 3, 0.8);
  backdrop-filter: blur(12px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary-color);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(1, 1, 3, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--trans-normal);
  }

  .navbar.active .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .d-none-mobile {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 255, 102, 0.08), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(0, 255, 102, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(50deg);
  transform-origin: center center;
  animation: gridMove 3s linear infinite;
  z-index: -2;
  mask-image: radial-gradient(circle at center, black 0%, transparent 45%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 45%);
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 60px;
  }
}

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

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary-color);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-mockup {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-1 {
  width: 350px;
  height: 450px;
  right: 0;
  top: 0;
  z-index: 2;
}

.mockup-2 {
  width: 250px;
  height: 250px;
  left: 0;
  bottom: -30px;
  z-index: 3;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    height: 350px;
    margin-top: 40px;
  }

  .mockup-1 {
    right: 50%;
    width: 300px;
    height: 100%;
    transform: translateX(50%);
    top: 0;
  }

  .mockup-2 {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-heading .title {
    font-size: 2.2rem;
  }

  .pricing-header .price {
    font-size: 2.8rem;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .cta-box {
    padding: 60px 20px;
  }

  .cta-box h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Section Components
   ========================================================================== */
.section-heading {
  margin-bottom: 60px;
}

.section-heading .subtitle {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  display: block;
  margin-bottom: 12px;
}

.section-heading .title {
  font-size: 3rem;
}

.section-heading .title span {
  color: var(--primary-color);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
  transition: var(--trans-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 102, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Importance Grid
   ========================================================================== */
.importance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.importance-grid .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 255, 102, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.importance-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.importance-grid p {
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .importance-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: var(--trans-normal);
}

.pricing-card.popular {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #000;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.pricing-header .price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.price span:first-child {
  font-size: 1.2rem;
  margin-top: 8px;
  margin-right: 4px;
}

.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 4px;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-features {
  margin-bottom: 40px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.pricing-features li i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }
}

/* ==========================================================================
   CTA Box
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 255, 102, 0.05) 100%);
  padding: 80px 40px;
}

.cta-box h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 20px;
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

.footer-links h3,
.footer-contact h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--text-muted);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-contact ul li {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact ul li i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Animations (Fade Up)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.portfolio-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  flex: 0 0 calc(33.333% - 20px);
  aspect-ratio: 4/5; /* Deixei mais horizontal para evitar cortes verticais */
  border: 1px solid var(--glass-border);
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--trans-fast);
  backdrop-filter: blur(5px);
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

@media (max-width: 992px) {
  .portfolio-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 0 0 100%;
  }

  .carousel-btn {
    display: none;
  }

  /* Hide buttons on mobile so users can swipe */
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(to top, rgba(1, 1, 3, 0.9) 0%, rgba(1, 1, 3, 0) 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.4s ease;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.portfolio-overlay p {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--trans-fast);
}

.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  padding: 0 30px;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin-bottom: 24px;
}

.faq-item.active {
  border-color: rgba(0, 255, 102, 0.3);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  /* arbitrary large value */
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 0px 6px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}