/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0a1a2f;
  --secondary-color: #1cb5e0;
  --light-bg: #f4f4f4;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary,
.btn-secondary,
.btn-hero,
.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #1a9fc7;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(28, 181, 224, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-hero {
  background: var(--secondary-color);
  color: var(--white);
  padding: 15px 40px;
  font-size: 18px;
}

.btn-hero:hover {
  background: #1a9fc7;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(28, 181, 224, 0.4);
}

.btn-cta {
  background: var(--white);
  color: var(--primary-color);
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 600;
}

.btn-cta:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h1 {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 700;
}

.logo h1 span {
  color: var(--secondary-color);
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-top: -5px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu ul li a:hover {
  color: var(--secondary-color);
}

.nav-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(10, 26, 47, 0.92) 0%,
      rgba(26, 47, 77, 0.92) 100%
    ),
    url("imagens/logo%20sem%20fundo@4x.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(28, 181, 224, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(28, 181, 224, 0.15) 0%,
      transparent 50%
    );
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: bold;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Systems Section */
.systems {
  padding: 100px 0;
  background: var(--light-bg);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.system-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.system-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
  margin-bottom: 25px;
}

.card-logo img {
  max-height: 70px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.system-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.system-card p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Ecommerce Section */
.ecommerce {
  padding: 100px 0;
  background: var(--white);
}

.ecommerce-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ecommerce-text h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.ecommerce-text p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.ecommerce-note {
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 10px;
  margin-bottom: 30px;
}

.ecommerce-features {
  list-style: none;
  margin-bottom: 30px;
}

.ecommerce-features li {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ecommerce-features li span {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 20px;
}

.ecommerce-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ecommerce-slider {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  background: var(--light-bg);
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider-image.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(10, 26, 47, 0.2);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dot.active {
  background: rgba(28, 181, 224, 0.9);
  transform: scale(1.1);
}

/* CTA Store Section */
.cta-store {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2f4d 100%);
  position: relative;
  overflow: hidden;
}

.cta-store::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(28, 181, 224, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(28, 181, 224, 0.1) 0%,
      transparent 50%
    );
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 20px;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--light-bg);
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 900px;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.info-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  font-size: 16px;
}

.info-card a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.info-card a:hover {
  color: var(--primary-color);
}

.whatsapp-card {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  box-shadow: 0 12px 35px rgba(18, 140, 126, 0.35);
}

.whatsapp-card h3,
.whatsapp-card p {
  color: var(--white);
}

.whatsapp-card .info-icon {
  margin-bottom: 20px;
}

.whatsapp-logo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  animation: whatsappBuzz 1.6s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-link::after {
  content: "→";
  font-size: 18px;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

@keyframes whatsappBuzz {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-2px, 1px) rotate(-5deg);
  }
  40% {
    transform: translate(2px, -1px) rotate(4deg);
  }
  60% {
    transform: translate(-1px, 2px) rotate(-3deg);
  }
  80% {
    transform: translate(1px, -2px) rotate(3deg);
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-section h3 span {
  color: var(--secondary-color);
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-top: 5px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav-menu ul li {
    width: 100%;
    text-align: center;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .ecommerce-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 568px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}
