/* Copyuse site styles - extracted from inline CSS and improved for accessibility */
/* Base and accessibility */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Design tokens (can evolve to CSS variables) */
:root {
  --primary: transparent;
  --accent: transparent;
  --text: #1f2937; /* gray-800 */
  --surface: #ffffff; /* antes: rgba(255, 255, 255, 0.9) */
  --font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  /* Nova variável para cor global dos ícones */
  --icon-color: #32CD32;
  --stats-accent: var(--icon-color);
}

/* Components */
.gradient-bg { background: none; backdrop-filter: none; border: none; box-shadow: none; }
/* Ícone com fundo neutro e moderno (substitui verde por cinzas) */
.icon-bg { 
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.9) 100%); /* gray-900 -> gray-800 */
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
/* Cartões com estética clean: borda suave, sombra sutil e elevação ao hover */
.service-card { 
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  background: var(--surface);
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 1rem; /* reforça rounded-xl */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.service-card:hover { 
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  border-color: #d1d5db; /* gray-300 */
}
/* Foco acessível para navegação por teclado dentro do cartão */
.service-card:focus-within { 
  outline: 2px solid #000; 
  outline-offset: 4px;
}

.stats-counter { font-weight: 700; font-size: 2.5rem; }
body { font-family: var(--font-family); }
input, select, textarea, button { font-family: inherit; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeInUp 0.6s ease-out; }

/* View transition */
@view-transition { navigation: auto; }
.hero-bg {
  position: relative;
  background-image: image-set(
    url("../../Imagens/Alto-volume-Copyusa-1536x1152.svg") type("image/jpeg") 1x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Fallback color in case image fails */
  background-color: var(--primary);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.40),
    rgba(0, 0, 0, 0.25)
  );
}
.hero-bg > * { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before { transition: none; }
}

/* Text shadows for readability on translucent backgrounds */
.text-shadow { text-shadow: 0 2px 2px rgba(0, 0, 0, 0.35); }
.text-shadow-lg { text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5); }

/* Regra global: todos os ícones SVG ficam verdes */
svg { color: var(--icon-color) !important; }

/* Cartões de métricas (500+, 24/7, 100%) */
.stats-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(50, 205, 50, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.stats-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 4px; border-radius: 0.75rem 0.75rem 0 0;
  background: linear-gradient(90deg, rgba(50,205,50,0.15), rgba(50,205,50,0.35), rgba(50,205,50,0.15));
}
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  border-color: rgba(50, 205, 50, 0.32);
}
.stats-card:focus-within {
  outline: 2px solid #000; outline-offset: 4px;
}

/* Número grande das métricas */
.stats-counter {
  font-weight: 800;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--stats-accent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Rótulo descritivo */
.stats-label {
  color: #1f2937; /* gray-800 */
  font-weight: 600;
}
/* Seção Sobre (Por que escolher a Copyuse?) */
#sobre .section-wrapper { max-width: 72rem; margin-inline: auto; }
#sobre h2 { letter-spacing: -0.01em; }
#sobre p { line-height: 1.75; }
#sobre .bullet-list { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { /* md */
  #sobre .bullet-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
#sobre .bullet-item { padding: 0.5rem 0.25rem; border-radius: 0.5rem; }
#sobre .bullet-icon { box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.08); }
#sobre .bullet-title { font-weight: 700; }
#sobre .bullet-desc { color: #4b5563; }

/* Ajustes de responsividade para largura ampliada */
@media (min-width: 1024px) {
  #sobre .section-wrapper { padding-inline: 1rem; }
}