/* Solarien Energy - CSS Estático Compartilhado */
/* ============================================== */

/* Reset e Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores Solarien */
  --solarien-primary: #02ff91;
  --solarien-secondary: #00c26f;
  --solarien-tertiary: #00844e;
  --solarien-dark: #002113;
  --solarien-bg: rgb(8, 12, 23);
  
  /* Cores de texto */
  --text-white: #ffffff;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  
  /* Bordas */
  --border-green: rgba(34, 197, 94, 0.3);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, rgb(8, 12, 23) 0%, rgb(15, 23, 42) 50%, rgb(8, 12, 23) 100%);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-gray-300);
}

a {
  color: var(--solarien-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--solarien-secondary);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--solarien-dark);
  border-bottom: 1px solid var(--border-green);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  height: 48px;
  width: auto;
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  color: var(--text-white);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(34, 197, 94, 0.2);
  color: var(--solarien-primary);
}

.nav-buttons {
  display: none;
}

@media (min-width: 768px) {
  .nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--solarien-primary), var(--solarien-secondary));
  color: #000;
}

.btn-primary:hover {
  box-shadow: 0 10px 25px rgba(2, 255, 145, 0.25);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--solarien-primary);
  color: var(--solarien-primary);
}

.btn-outline:hover {
  background: var(--solarien-primary);
  color: #000;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

/* Seções */
.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--solarien-dark);
}

.section-green {
  background-color: rgba(34, 197, 94, 0.1);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Gradiente de texto */
.text-gradient {
  background: linear-gradient(to right, var(--solarien-primary), var(--solarien-secondary), var(--solarien-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards */
.card {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-green);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(2, 255, 145, 0.1);
  transform: translateY(-2px);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(to right, var(--solarien-primary), var(--solarien-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-gray-300);
  font-size: 0.875rem;
}

/* Benefits */
.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray-300);
  font-weight: 500;
}

.benefit-icon {
  width: 20px;
  height: 20px;
  color: var(--solarien-primary);
}

/* Footer */
.footer {
  background-color: var(--solarien-dark);
  border-top: 1px solid var(--border-green);
  padding: 4rem 0 2rem;
  position: relative;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-gray-300);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-title {
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray-300);
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--solarien-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-green);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--text-gray-300);
  font-size: 0.875rem;
}

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

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid var(--border-green);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(34, 197, 94, 0.3);
  border-color: var(--solarien-primary);
}

.social-link svg {
  width: 24px;
  height: 24px;
  color: var(--text-white);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-gray-400);
}

.breadcrumbs a {
  color: var(--text-gray-300);
}

.breadcrumbs a:hover {
  color: var(--solarien-primary);
}

.breadcrumbs span {
  color: var(--solarien-primary);
}

/* Menu Mobile */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-white);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--solarien-dark);
  border-bottom: 1px solid var(--border-green);
  padding: 1rem;
  display: none;
  z-index: 40;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: var(--text-white);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: rgba(34, 197, 94, 0.2);
  color: var(--solarien-primary);
}

/* Utilitários */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animações */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Responsividade extra */
@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .btn {
    width: 100%;
  }
}

/* Print styles */
@media print {
  .header, .footer, .whatsapp-float {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
