/* style.css */

/* Variáveis CSS */
:root {
  --primary: #0f2b52;
  --accent: #00a7ff;
  --secondary: #fff;
  --bg: #0c101f;
  --text: #e0e0e0;
  --muted: #888;
  --card: #1c2236;
  --radius: 16px;
  --shadow: 0 15px 35px rgba(0,0,0,0.6);
  --separator: #1f2840;
  --menu-height: 80px; /* inicial */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body, html {
  font-family: 'Exo 2', sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAV - container */
.aorix-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--menu-height);
  display: flex;
  flex-direction: column;
  z-index: 10000;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(12,16,31,0.6), rgba(12,16,31,0.35));
  transition: height 300ms ease, box-shadow 300ms ease, background 300ms ease;
  -webkit-backdrop-filter: blur(8px);
}

/* inner layout */
.aorix-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 40px;
  height: 100%;
  transition: padding 300ms ease;
}

/* Logo */
.aorix-nav .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.aorix-nav .logo img {
  height: 62px;
  transition: transform 400ms ease, filter 400ms ease;
  filter: drop-shadow(0 6px 18px rgba(0,167,255,0.07));
}

.aorix-nav .logo:hover img {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 14px 40px rgba(0,167,255,0.12));
}

/* Menu list */
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  user-select: none;
}

.nav-menu .nav-item {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  padding: 10px 6px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 200ms ease, transform 200ms ease;
}

.nav-menu .nav-item i {
  color: var(--accent);
  opacity: 0.95;
  font-size: 0.95rem;
}

/* neon underline (hover) */
.nav-menu .nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: 4px;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0,167,255,0.0), var(--accent), rgba(15,43,82,0.12));
  border-radius: 999px;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
  opacity: 0;
  transform-origin: center;
  box-shadow: 0 6px 18px rgba(0,167,255,0.12);
}

.nav-menu .nav-item:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.nav-menu .nav-item:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* active state */
.nav-menu .nav-item.active {
  color: var(--secondary);
}

.nav-menu .nav-item.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* CTA button */
.btn-cta {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,167,255,0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,167,255,0.18);
}

/* neon separator */
.nav-neon {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,167,255,0.18), transparent);
  filter: blur(6px);
  opacity: 0.9;
  transition: opacity 300ms ease;
}

/* scroll progress bar */
.nav-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 999px;
  transform-origin: left center;
  transition: width 120ms linear;
  pointer-events: none;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hamb-line {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform 300ms ease, opacity 200ms ease;
}

.hamb-line.line1 {
  top: 16px;
}

.hamb-line.line2 {
  top: 22px;
}

.hamb-line.line3 {
  top: 28px;
}

/* mobile open state */
.aorix-nav.open .line1 {
  transform: translateY(6px) rotate(45deg);
}

.aorix-nav.open .line2 {
  opacity: 0;
  transform: scaleX(0);
}

.aorix-nav.open .line3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .nav-inner {
    padding: 8px 18px;
  }
  
  .nav-menu {
    gap: 14px;
    display: none;
    position: fixed;
    top: var(--menu-height);
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12,16,31,0.96), rgba(12,16,31,0.99));
    flex-direction: column;
    padding: 18px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 9999;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .nav-menu .nav-item {
    width: 100%;
    padding: 14px 10px;
    border-radius: 10px;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  .btn-cta {
    display: none;
  }
}

/* Shrinked state (on scroll) */
.aorix-nav.shrink {
  height: 60px;
  background: linear-gradient(180deg, rgba(8,10,18,0.8), rgba(8,10,18,0.95));
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.aorix-nav.shrink .logo img {
  height: 46px;
  transform: translateY(0);
}

.aorix-nav.shrink .nav-inner {
  padding: 6px 36px;
}

/* small niceties */
.nav-item:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,167,255,0.06);
  border-radius: 8px;
}

/* Partículas */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 120px 10% 80px;
  position: relative;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,167,255,0.4) 0%, rgba(0,167,255,0) 70%);
  transform: translate(-50%, -50%);
  filter: blur(140px);
  z-index: 0;
  animation: pulseGlow 3s ease-in-out infinite;
}

.hero-logo {
  width: 250px;
  margin-bottom: 30px;
  z-index: 2;
  animation: fadeZoom 2s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
  margin-bottom: 20px;
  z-index: 2;
  animation: fadeSlide 2s ease forwards 0.5s;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  z-index: 2;
  animation: fadeSlide 2s ease forwards 1s;
}

.hero button {
  padding: 16px 36px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
  overflow: hidden;
}

.hero button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(120deg, transparent, #00a7ff, transparent);
  transition: 0.5s;
}

.hero button:hover::before {
  left: 100%;
}

.hero button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,167,255,0.7);
}

/* Sections */
section {
  position: relative;
  padding: 120px 10%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

section p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.6;
  margin: 0 auto 40px auto;
  text-align: center;
}

/* Separator */
.separator {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  margin: 40px auto 60px;
  border-radius: 999px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 60px;
  justify-content: center;
  perspective: 1000px;
}

.card {
  flex: 1 1 300px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(0,167,255,0.2);
  transition: all 0.5s ease;
  transform: rotateY(calc(var(--i) * 3deg));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(0,167,255,0.2), rgba(255,255,255,0.05));
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-20px) rotateY(0deg) scale(1.05);
  box-shadow: 0 30px 70px rgba(0,167,255,0.6);
}

.card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.5s;
}

.card:hover i {
  transform: rotate(20deg) scale(1.2);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--secondary);
}

.card p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.card button {
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card button:hover {
  background: var(--primary);
  transform: scale(1.05);
}

/* Contato Form */
#contato {
  background: linear-gradient(135deg, var(--card) 0%, rgba(12,16,31,0.8) 100%);
  padding: 80px 10%;
  border-radius: var(--radius);
  margin: 40px auto;
  max-width: 1050px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,167,255,0.1);
  position: relative;
  overflow: hidden;
}

#contato::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

#contato form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contato form input,
#contato form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid rgba(0,167,255,0.2);
  border-radius: 12px;
  background: rgba(17,17,17,0.8);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#contato form input:focus,
#contato form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(17,17,17,0.95);
  box-shadow: 0 0 20px rgba(0,167,255,0.1);
  transform: translateY(-2px);
}

#contato form input::placeholder,
#contato form textarea::placeholder {
  color: var(--muted);
  font-style: italic;
}

#contato form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Exo 2', sans-serif;
}

#contato form button {
  background: linear-gradient(45deg, var(--accent), var(--primary));
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin-top: 10px;
}

#contato form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

#contato form button:hover::before {
  left: 100%;
}

#contato form button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,167,255,0.4);
}

/* Timestamp */
.timestamp-info {
  background: rgba(0,167,255,0.1);
  border: 1px solid rgba(0,167,255,0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.timestamp-info i {
  color: var(--accent);
  margin-right: 8px;
}

#timestamp {
  background: rgba(255,255,255,0.05);
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 5px;
  font-family: monospace;
  color: var(--accent);
  font-weight: 500;
}

/* Loader */
#loader {
  display: none;
  margin-top: 20px;
  text-align: center;
  color: var(--accent);
  font-size: 1rem;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Sucesso/Error message */
.success-message,
.error-message {
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: center;
  display: none;
}

.success-message {
  background: rgba(0,255,127,0.1);
  border: 1px solid rgba(0,255,127,0.3);
  color: #0f0;
}

.error-message {
  background: rgba(255,0,0,0.1);
  border: 1px solid rgba(255,0,0,0.3);
  color: #f00;
}

#loader {
  display: none;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

/* ACATE e Market */
.acate-section,
.market-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  text-align: center;
}

.acate-section img,
.market-section img {
  width: 250px;
  filter: grayscale(80%) opacity(0.8);
  transition: 0.3s;
}

.acate-section img:hover,
.market-section img:hover {
  filter: none;
  transform: scale(1.05);
}

/* Footer */
.aorix-footer {
  position: relative;
  color: rgba(255,255,255,0.8);
  overflow: hidden;
  border-top: 2px solid var(--accent);
  background: rgba(8, 10, 18, 0.95);
  background-image: url("footer-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,18,0.8), rgba(8,10,18,0.96));
  backdrop-filter: blur(6px);
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 20px rgba(0,167,255,0.1));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.footer-logo:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 0 30px rgba(0,167,255,0.25));
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  color: rgba(255,255,255,0.7);
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-col ul li:hover {
  color: #fff;
  transform: translateX(6px);
  text-shadow: 0 0 12px var(--accent);
}

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.footer-social a {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  transform: translateY(-4px);
  text-shadow: 0 0 14px var(--accent);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  z-index: 1;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }
  
  .footer-col {
    align-items: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Responsivo */
@media (max-width: 1024px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  
  nav {
    padding: 0 20px;
  }
}

.btn-whatsapp {
    background-color: #25D366; /* Verde WhatsApp */
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d; /* Hover mais escuro */
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.5); /* Glow futurista */
}

.btn-whatsapp i {
    font-size: 18px;
}