/* GlassUP 360 - Reciclagem Inteligente de Vidro */
/* Tema Claro com Verde e Azul */
/* Versão: 2.3 - Melhor contraste no simulador */

:root {
  /* Cores principais */
  --white: #ffffff;
  --bg-light: #f8fdfb;
  --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f0f9f6 50%, #e8f5f1 100%);
  
  /* Verde - reciclagem */
  --green-primary: #00c389;
  --green-dark: #09a66d;
  --green-light: #e8f9f3;
  --green-soft: #c7f2e3;
  
  /* Azul - limpeza/tecnologia */
  --blue-primary: #0ea5e9;
  --blue-dark: #0284c7;
  --blue-light: #e0f2fe;
  --blue-soft: #bae6fd;
  
  /* Neutros */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Texto */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transições */
  --transition: all 0.3s ease;
}

/* Reset e Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green-dark);
}

/* Utilitários */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  border: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn:active {
  transform: translateY(0);
}

.btn.outline {
  background: white;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
  box-shadow: var(--shadow);
}

.btn.outline:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.btn.blue {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
}

/* Badge */
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  color: var(--green-dark);
  border: 2px solid var(--green-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
}

.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--blue-primary) 100%);
  box-shadow: 0 4px 12px rgba(0, 195, 137, 0.4);
  position: relative;
  overflow: hidden;
}

.logo .mark::before {
  content: '♻️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}

.nav nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--green-primary);
  background: var(--green-light);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 195, 137, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  margin: 16px 0 20px;
  font-weight: 900;
  color: var(--text-primary);
}

h1 em {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  display: inline-block;
}

p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}

.hero .cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat {
  padding: 14px 20px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--green-soft);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Simulador no Hero */
.hero .form-wrap {
  background: white;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.hero .form-wrap h3 {
  color: var(--text-primary) !important;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.hero .form-wrap p {
  color: #1f2937 !important;
  font-size: 15px !important;
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 600 !important;
}

/* Cards */
section {
  padding: 80px 0;
}

section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--text-primary);
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border: 2px solid var(--gray-200);
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--green-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Lista */
.list {
  margin: 16px 0 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.list li {
  margin: 12px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 8px;
}

.list li::before {
  content: '✓';
  position: absolute;
  left: -24px;
  color: var(--green-primary);
  font-weight: bold;
  font-size: 18px;
}

/* Formulário */
.form-wrap {
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  border: 2px solid var(--green-soft);
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-wrap h3 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.form-wrap p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  font-weight: 500;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-300);
  background: white;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(0, 195, 137, 0.1);
}

textarea {
  min-height: 120px;
  grid-column: 1/-1;
  resize: vertical;
}

.full {
  grid-column: 1/-1;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.consent input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
}

.submit-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.success {
  display: none;
  padding: 16px 20px;
  border: 2px solid var(--green-primary);
  background: var(--green-light);
  border-radius: var(--radius);
  color: var(--green-dark);
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Imagens */
.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.media:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.media img {
  display: block;
  width: 100%;
  height: auto;
}

.thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  margin-bottom: 16px;
  transition: var(--transition);
}

.card:hover .thumb {
  border-color: var(--green-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Seções Alternadas */
#sobre {
  background: white;
}

#como {
  background: var(--gray-50);
}

#beneficios {
  background: white;
}

#aplicacoes {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 50%, var(--green-light) 100%);
}

#parcerias {
  background: white;
}

#cta {
  background: var(--gray-50);
}

#galeria {
  background: white;
}

/* Blockquote */
blockquote {
  margin: 20px 0 0;
  padding: 20px;
  background: var(--green-light);
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius);
  color: #000000 !important;
  font-style: italic;
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 700;
}

blockquote strong {
  color: #000000 !important;
  font-style: normal;
  font-weight: 900;
}

/* Footer */
footer {
  padding: 60px 0 40px;
  color: var(--text-secondary);
  background: var(--gray-900);
  border-top: 4px solid var(--green-primary);
}

footer h4 {
  color: white;
  margin-bottom: 12px;
  font-size: 18px;
}

footer p {
  line-height: 1.8;
}

footer a {
  color: var(--green-soft);
}

footer a:hover {
  color: white;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.foot-grid .logo {
  color: white;
  margin-bottom: 16px;
}

footer p {
  color: var(--gray-400);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .cards,
  form {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav nav {
    gap: 12px;
  }
  
  .nav a {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  section {
    padding: 50px 0;
  }
  
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid > * {
  animation: fadeInUp 0.8s ease-out;
}

/* Acessibilidade */
:focus-visible {
  outline: 3px solid var(--green-primary);
  outline-offset: 2px;
}

/* Print */
@media print {
  header {
    position: static;
  }
  
  .hero::before,
  .hero::after {
    display: none;
  }
}
