/* RESET & BASE VARIABLES (DARK TECH THEME) */
:root {
  --bg-color: #050505; /* Fundo principal quase preto */
  --surface-color: #111111; /* Fundo dos cards */
  --surface-color-light: #1a1a1a;
  --text-main: #a3a3a3; /* Texto de leitura, cinza suave */
  --text-heading: #ffffff; /* Títulos em branco puro */
  
  /* Mantendo as cores da marca (WS Verde e WR Vermelho) */
  --ws-green: #00e676; /* Verde Neon Tech */
  --ws-green-dark: #00c853;
  --ws-green-glow: rgba(0, 230, 118, 0.4);
  
  --wr-red: #ff1744; /* Vermelho Neon Tech */
  --wr-red-dark: #d50000;
  --wr-red-glow: rgba(255, 23, 68, 0.4);
  
  --dark-section: #0a0a0a;
  --dark-section-text: #a3a3a3;

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -2px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -4px rgba(0, 0, 0, 0.7);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
  
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

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

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

/* TYPOGRAPHY */
h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ws-green-dark), var(--ws-green));
  color: #000000; /* Texto preto para contraste no neon */
  box-shadow: 0 0 15px var(--ws-green-glow);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--ws-green-glow);
  color: #000000;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* HEADER & NAVIGATION */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-ws {
  color: var(--ws-green);
  text-shadow: 0 0 10px var(--ws-green-glow);
}

.logo-wr {
  color: var(--wr-red);
  text-shadow: 0 0 10px var(--wr-red-glow);
}

.logo-text {
  color: var(--text-heading);
  margin-left: 0.25rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ws-green);
  transition: var(--transition);
  box-shadow: 0 0 5px var(--ws-green-glow);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--text-heading);
}

/* HERO SECTION */
.hero-section {
  padding: 180px 0 100px;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(17, 17, 17, 1) 0%, rgba(5, 5, 5, 1) 100%);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* Decoratives */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  z-index: 0;
}

.hero-section::before {
  background: var(--ws-green);
  top: -100px;
  left: -100px;
}

.hero-section::after {
  background: var(--wr-red);
  bottom: -100px;
  right: -100px;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #ffffff, #737373);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-section p {
  font-size: 1.25rem;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.trust-signals {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.trust-signals span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 0.9rem;
}

/* SERVICES SECTION */
.services-section {
  padding: 100px 0;
  background-color: var(--surface-color);
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-link {
  display: block;
}

.service-card {
  background: var(--surface-color-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
}

.service-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.85; /* Deixa imagens levemente mais escuras */
}

.service-card:hover .service-image {
  transform: scale(1.05);
  opacity: 1; /* Ilumina ao focar */
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  background: var(--surface-color-light);
  position: relative;
  z-index: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card:hover .card-content h3 {
  color: var(--ws-green);
  text-shadow: 0 0 8px var(--ws-green-glow);
}

.card-description {
  color: var(--text-main);
}

/* DETAILED SERVICES */
.detailed-services-section {
  padding: 100px 0;
  background-color: var(--bg-color);
  overflow: hidden;
}

.service-category {
  margin-bottom: 4rem;
}

.service-category:last-child {
  margin-bottom: 0;
}

.service-category h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--ws-green);
  text-shadow: 0 0 10px var(--ws-green-glow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-category h3::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--ws-green-glow), transparent);
}

.detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-detail-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-top: 4px solid var(--surface-color-light);
}

.service-detail-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-5px);
  border-top-color: var(--ws-green);
  background: var(--surface-color-light);
}

.neon-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--ws-green);
  filter: drop-shadow(0 0 10px var(--ws-green-glow));
  transition: var(--transition);
}

.service-detail-card:hover .neon-icon {
  transform: scale(1.1);
  color: var(--ws-green-dark);
  filter: drop-shadow(0 0 20px var(--ws-green-glow));
}

/* Red Theme Modifiers for Services */
.theme-red h3 {
  color: var(--wr-red);
  text-shadow: 0 0 10px var(--wr-red-glow);
}
.theme-red h3::after {
  background: linear-gradient(90deg, var(--wr-red-glow), transparent);
}
.theme-red .service-detail-card:hover {
  border-top-color: var(--wr-red);
}
.theme-red .neon-icon {
  color: var(--wr-red);
  filter: drop-shadow(0 0 10px var(--wr-red-glow));
}
.theme-red .service-detail-card:hover .neon-icon {
  color: var(--wr-red-dark);
  filter: drop-shadow(0 0 20px var(--wr-red-glow));
}

.service-detail-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.service-detail-card p {
  color: var(--text-main);
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--surface-color);
  overflow: hidden;
}

/* ABOUT SECTION */
.about-section {
  padding: 100px 0;
  background-color: var(--dark-section);
  color: var(--dark-section-text);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-section h2 {
  text-align: left;
  color: white;
  margin-bottom: 1.5rem;
}

.about-section p {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  opacity: 0.8;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.about-image:hover {
  opacity: 1;
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.15);
}

.social-links {
  margin-top: 2rem;
}

.social-links h4 {
  color: white;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: var(--ws-green);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--ws-green-glow);
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

/* QUOTE SECTION */
.quote-section {
  padding: 100px 0;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.quote-form {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group:nth-child(3) {
  grid-column: 1 / -1;
}

.quote-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(0,0,0,0.5);
  color: var(--text-heading);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--ws-green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.15);
  background: rgba(0, 230, 118, 0.02);
}

.quote-form select option {
  background: var(--surface-color);
  color: var(--text-heading);
}

.quote-form button {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

/* LOCATION */
.location-section {
  padding: 80px 0;
  background: var(--surface-color);
  overflow: hidden;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

/* FOOTER */
.main-footer {
  background: #000000;
  color: #737373;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col p {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float img {
  width: 35px;
  height: 35px;
  filter: invert(1);
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-section h1 { font-size: 2.75rem; }
  .about-section .container { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Fix Header */
  .main-header { padding: 0.75rem 0; }
  .main-header .container { flex-direction: column; gap: 0.5rem; align-items: center; justify-content: center; text-align: center; }
  .main-header .btn { display: none; } /* Ocultar botão no menu para economizar espaço vertical */
  .main-nav { width: 100%; display: flex; justify-content: center; }
  .main-nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; padding: 0; margin: 0; }
  .logo { justify-content: center; font-size: 1.5rem; }
  
  /* Fix Hero */
  .hero-section { padding: 120px 0 60px; }
  .hero-section h1 { font-size: 2.25rem; }
  
  /* Reduce excessive padding on all sections */
  .services-section, .detailed-services-section, .about-section, .quote-section, .location-section, .testimonials-section {
    padding: 60px 0;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Fix typography */
  h2 { font-size: 2rem; }
  
  /* Fix Form */
  .quote-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .form-group:nth-child(3) { grid-column: auto; }
  .quote-form button { grid-column: auto; }
  
  /* Fix footer */
  .main-footer { padding-bottom: 100px; } /* Espaço para o botão do WhatsApp */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; width: 100%; }
  .footer-col { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .social-links { justify-content: center; display: flex; }
}

@media (max-width: 480px) {
  .hero-section h1 { font-size: 1.75rem; }
  .hero-section p { font-size: 1rem; }
  .btn-large { padding: 0.875rem 1.25rem; width: 100%; font-size: 1rem; }
  
  /* Fix Trust Signals */
  .trust-signals { flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 2rem; }
  .trust-signals span { justify-content: center; font-size: 0.85rem; padding: 0.5rem; }
  
  /* Fix Services Grids */
  .services-grid, .detailed-grid { grid-template-columns: 1fr; }
  .service-detail-card { padding: 1.5rem; }
  
  /* Fix Logo */
  .logo { font-size: 1.15rem; gap: 1px; }
  .logo-text { font-size: 1rem; margin-left: 1px; }
  .main-nav ul { gap: 0.75rem; }
  .main-nav a { font-size: 0.9rem; }
}
