/* Reset e Estilos Básicos */
:root {
  --black: #000000;
  --dark-gray: #121212;
  --darker-gray: #0a0a0a;
  --medium-gray: #333333;
  --light-gray: rgba(255, 255, 255, 0.6);
  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-dark: #ea580c;
  --white: #ffffff;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-orange: rgba(249, 115, 22, 0.3);
  --shadow-orange: rgba(249, 115, 22, 0.15);
  --shadow-orange-strong: rgba(249, 115, 22, 0.5);
  --transition: all 0.3s ease;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--orange-dark);
  box-shadow: 0 0 15px var(--shadow-orange-strong);
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

/* Utilitários */
.highlight {
  color: var(--orange);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.25rem; /* Reduzido um pouco para caber o texto maior */
  font-weight: 700;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  margin-left: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--orange);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background-color: rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--border-light);
}

.mobile-nav.active {
  display: block;
  animation: fadeIn 0.3s ease-out forwards;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--orange);
}

/* Hero Section */
.hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.bg-elements {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-circle-1 {
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 16rem;
  height: 16rem;
  background-color: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
}

.bg-circle-2 {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background-color: rgba(249, 115, 22, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-text {
  max-width: 36rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  display: block;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.tech-icon {
  position: absolute;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.tech-icon i {
  font-size: 1.5rem;
  color: var(--orange);
}

.tech-icon-1 {
  top: -2.5rem;
  left: -2.5rem;
  animation: float 6s ease-in-out infinite;
}

.tech-icon-2 {
  top: 50%;
  right: -2rem;
  animation: float 6s ease-in-out 2s infinite;
}

.tech-icon-3 {
  bottom: -2rem;
  left: 25%;
  animation: float 6s ease-in-out 4s infinite;
}

.illustration-container {
  width: 100%;
  height: 20rem;
  background: linear-gradient(to bottom right, var(--dark-gray), var(--black));
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.2);
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle {
  position: absolute;
  border-radius: 50%;
}

.circle-1 {
  width: 8rem;
  height: 8rem;
  border: 4px solid rgba(249, 115, 22, 0.3);
  animation: spin 20s linear infinite;
}

.circle-2 {
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.circle-3 {
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.logo-box {
  width: 4rem;
  height: 4rem;
  background-color: var(--orange);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}

.logo-box span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.code-window {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 5rem;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  padding: 0.75rem;
  overflow: hidden;
}

.window-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.window-controls span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.window-controls span:nth-child(1) {
  background-color: #ff5f56;
}

.window-controls span:nth-child(2) {
  background-color: #ffbd2e;
}

.window-controls span:nth-child(3) {
  background-color: #27c93f;
}

.code-text {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--orange);
}

.typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(40, end);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--darker-gray);
  position: relative;
}

.top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(249, 115, 22, 0.2), transparent);
}

.bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-card {
  background: linear-gradient(to bottom right, var(--dark-gray), var(--black));
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 1rem;
}

.about-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
}

.feature-list i {
  color: var(--orange);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-box {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Solutions Section */
.solutions {
  padding: 5rem 0;
  position: relative;
}

.solutions-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.solution-card {
  background: linear-gradient(to bottom right, var(--dark-gray), var(--black));
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  transition: var(--transition);
}

.solution-card:hover {
  border-color: var(--border-orange);
  box-shadow: 0 0 15px var(--shadow-orange);
}

.solution-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(249, 115, 22, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.solution-card:hover .solution-icon {
  background-color: rgba(249, 115, 22, 0.2);
}

.solution-icon i {
  font-size: 1.75rem;
  color: var(--orange);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
  transition: var(--transition);
}

.solution-card:hover h3 {
  color: var(--orange-light);
}

.solution-card p {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.solution-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.cta-box {
  background: linear-gradient(to right, var(--dark-gray), var(--black));
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--darker-gray);
  padding-top: 4rem;
  padding-bottom: 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.25rem; /* Reduzido um pouco para caber o texto maior */
  font-weight: 700;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: rgba(249, 115, 22, 0.2);
  color: var(--orange-light);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--orange-light);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--orange);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.copyright {
  text-align: center;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.copyright p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1s ease-out forwards;
}

/* Media Queries */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

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

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

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

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

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

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

/* Adicione estes estilos ao final do arquivo CSS */

/* Modal de Contato */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  overflow-y: auto;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(to bottom right, var(--dark-gray), var(--black));
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.2);
  position: relative;
  overflow: hidden;
  animation: modalSlideIn 0.4s ease-out forwards;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--orange);
}

.contact-options {
  padding: 1.5rem;
}

.option-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.option-tab {
  background: none;
  border: none;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.option-tab:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.option-tab.active {
  color: var(--orange);
}

.option-tab.active:after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out forwards;
}

/* Formulário de Contato */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

/* WhatsApp Option */
.whatsapp-option {
  text-align: center;
  padding: 1.5rem;
}

.whatsapp-option i {
  font-size: 3rem;
  color: #25d366;
  margin-bottom: 1rem;
}

.whatsapp-option h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.whatsapp-option p {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Atualizar o logo para IMPACTO SISTEMAS */
.logo,
.footer-logo {
  font-size: 1.25rem; /* Reduzido um pouco para caber o texto maior */
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }
}

/* Mensagem de sucesso do formulário */
.form-success {
  background-color: rgba(39, 174, 96, 0.2);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #2ecc71;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  animation: fadeIn 0.3s ease-out forwards;
}

.form-success i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

/* Spinner de carregamento */
.fa-spinner {
  animation: spin 1s linear infinite;
}
