:root {
  --primary-color: #25e6c8;
  --primary-dark: #1cb6a0;
  --primary-light: #5eefd7;
  --dark-bg: #111111;
  --dark-surface: #1a1a1a;
  --dark-card: #222222;
  --text-primary: #ffffff;
  --text-secondary: #c5c5c5;
  --text-tertiary: #8c8c8c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: -10px;
  left: 25%;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--dark-bg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
}

.logo img {
  height: 110px;
  width: auto;
  transition: height 0.3s ease;
}

nav ul {
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

.btn-contato {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-contato:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
}

.menu-mobile {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    var(--dark-surface) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(37, 230, 200, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(37, 230, 200, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Serviços */
.services {
  padding: 100px 0;
  background-color: var(--dark-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--dark-card);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card ul {
  padding-left: 20px;
}

.service-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
}

.service-card ul li::before {
  content: "➔";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Sobre */
.about {
  padding: 100px 0;
  background-color: var(--dark-bg);
}

.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-text {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Contato */
.contact {
  padding: 100px 0;
  background-color: var(--dark-surface);
}

.contact-wrapper {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--dark-card);
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-5px);
}

.contact-form {
  flex: 2;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  background-color: var(--dark-card);
  border: 1px solid #333;
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 230, 200, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
}

.footer-logo img {
  height: 110px;
  width: auto;
  margin-bottom: 15px;
}

.footer-logo p {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

.footer-links-column h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column ul li a {
  color: var(--text-tertiary);
  transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Animações */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Menu Mobile */
nav.show {
  display: block;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--dark-bg);
  padding: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease forwards;
  z-index: 999;
}

nav.show ul {
  flex-direction: column;
  align-items: center;
}

nav.show ul li {
  margin: 15px 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header.scrolled {
  background-color: rgba(17, 17, 17, 0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 5px 0;
}

header.scrolled .logo img {
  height: 80px;
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .logo img,
  .footer-logo img {
    height: 80px; /* Ajustado para telas médias */
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-mobile {
    display: block;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .hero-btns {
    justify-content: center;
  }

  .about .container {
    flex-direction: column;
  }

  .about-content {
    order: 2;
    text-align: center;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-links {
    justify-content: space-around;
  }

  .logo img,
  .footer-logo img {
    height: 70px; /* Ajustado para telas menores */
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .logo img,
  .footer-logo img {
    height: 60px; /* Ajustado para telas muito pequenas */
  }
}

/* Alertas personalizados */
.alert {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  position: relative;
  animation: fadeIn 0.3s ease;
  display: flex;
  align-items: center;
}

.alert-success {
  background-color: rgba(37, 230, 200, 0.1);
  border-left: 4px solid var(--primary-color);
  color: var(--text-primary);
}

.alert-error {
  background-color: rgba(255, 76, 76, 0.1);
  border-left: 4px solid #ff4c4c;
  color: var(--text-primary);
}

.alert i {
  font-size: 1.5rem;
  margin-right: 15px;
}

.alert-success i {
  color: var(--primary-color);
}

.alert-error i {
  color: #ff4c4c;
}

.alert-close {
  position: absolute;
  right: 10px;
  top: 10px;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.alert-close:hover {
  color: var(--text-primary);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Seção de Clientes */
.clients {
  padding: 80px 0;
  background-color: var(--dark-bg);
  overflow: hidden;
}

.client-logos-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  margin: 20px 0;
}

.client-logos {
  display: flex;
  animation: scrollLogos 30s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 90px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-card);
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%) brightness(1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-190px * 5)
    ); /* Width + margin * número fixo de logos */
  }
}

/* Pausar a animação quando o mouse estiver sobre o carrossel */
.client-logos-container:hover .client-logos {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .client-logo {
    width: 130px;
    height: 80px;
    margin: 0 15px;
  }

  .client-logo img {
    max-height: 60px;
  }

  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(
        calc(-160px * 5)
      ); /* Ajustado para mobile: (width + margin) * 5 */
    }
  }
}

/* Seção Valor Social */
.social-value {
  padding: 100px 0;
  background-color: var(--dark-surface);
}

.social-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.value-card {
  background-color: var(--dark-card);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transition: height 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.social-impact {
  background-color: var(--dark-card);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  border-left: 5px solid var(--primary-color);
}

.social-impact h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.social-impact p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .social-value-grid {
    grid-template-columns: 1fr;
  }

  .social-impact {
    padding: 30px 20px;
  }
}
