/*
Theme Name: Brasil Discos Premium
Theme URI: https://brasildiscos.com.br
Description: Tema customizado minimalista esportivo futurista para Brasil Discos - Cestos de Disc Golf Premium
Version: 1.0
Author: Brasil Discos
Author URI: https://brasildiscos.com.br
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brasil-discos-premium
Domain Path: /languages

/* ============================================
   GUIA DE EDIÇÃO RÁPIDA
   ============================================
   
   CORES PRINCIPAIS:
   - --primary: #00ff88 (Verde elétrico) - Botões e destaques
   - --accent: #ffd700 (Amarelo ouro) - Acentos secundários
   - --background: #0a0a0a (Preto profundo) - Fundo principal
   - --foreground: #e8e8e8 (Cinza claro) - Texto principal
   
   TIPOGRAFIA:
   - Montserrat: Títulos e headlines (bold)
   - Inter: Corpo de texto (regular/medium)
   - Courier Prime: Especificações técnicas
   
   ESTRUTURA:
   - Container: Largura máxima 1280px com padding responsivo
   - Seções: Padding 5rem vertical (8rem em desktop)
   - Cards: Padding 2rem com border-radius var(--radius)
   
   ============================================ */

/* ============================================
   VARIÁVEIS CSS (CSS CUSTOM PROPERTIES)
   Altere aqui para mudar cores globalmente
   ============================================ */
:root {
  --primary: #00ff88;
  --primary-foreground: #0a0a0a;
  --background: #0a0a0a;
  --foreground: #e8e8e8;
  --card: #2a2a2a;
  --card-foreground: #e8e8e8;
  --muted: #3a3a3a;
  --muted-foreground: #808080;
  --accent: #ffd700;
  --accent-foreground: #0a0a0a;
  --border: #3a3a3a;
  --radius: 0.5rem;
}

/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================
   TIPOGRAFIA
   EDITAR: Adicionar novas fontes do Google Fonts em client/index.html
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Courier+Prime:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
}

/* Especificações técnicas em monospace */
.tech-spec {
  font-family: 'Courier Prime', monospace;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ============================================
   ESTILOS GERAIS
   ============================================ */

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

a:hover {
  color: #00cc6a;
}

/* Container: Largura máxima com padding responsivo */
.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;
  }
}

/* ============================================
   BOTÕES
   EDITAR: Mudar cores, padding ou efeitos hover
   ============================================ */

.btn, button, input[type="button"], input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.btn:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  background-color: #00cc6a;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-secondary {
  background-color: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

/* ============================================
   ACCENT LINE (BARRA VERDE À ESQUERDA)
   Elemento visual que aparece em cards
   ============================================ */

.accent-line {
  position: relative;
  padding-left: 1.5rem;
}

.accent-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #00ff88 0%, #00cc6a 100%);
  border-radius: 2px;
}

/* ============================================
   NAVEGAÇÃO
   EDITAR: Mudar cores, tamanho ou posicionamento
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
}

/* Logo no cabeçalho */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Imagem do logo customizado */
.site-logo img {
  max-height: 2.5rem;
  width: auto;
  display: block;
}

/* Logo reduzido no cabeçalho */
.site-header .site-logo img {
  max-height: 1.5rem;
}

.site-logo a {
  display: flex;
  align-items: center;
}

/* Ícone padrão "BD" (quando não há logo customizado) */
.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 255, 136, 0.6) 100%);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--background);
}

/* Ícone reduzido no cabeçalho */
.site-header .logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.625rem;
}

/* Menu de navegação */
.site-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

/* ============================================
   HERO SECTION (SEÇÃO PRINCIPAL)
   EDITAR: Mudar imagem de fundo, cores ou layout
   ============================================ */

.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--background) 0%, var(--card) 100%);
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho de fundo */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
  z-index: 0;
}

/* Grid de conteúdo hero */
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Badge/etiqueta de destaque */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Grid de credenciais */
.hero-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.credential-item {
  padding: 1rem;
}

.credential-item p:first-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.credential-item p:last-child {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-cta .btn {
    width: auto;
  }
}

.hero-cta p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Imagem hero */
.hero-image {
  position: relative;
  height: 24rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */

section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 8rem 0;
  }
}

/* Cabeçalho de seção */
.section-header {
  max-width: 42rem;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Variações de fundo */
.bg-card {
  background-color: var(--card);
}

.bg-background {
  background-color: var(--background);
}

/* ============================================
   GRID DE ESTATÍSTICAS
   EDITAR: Mudar números, labels ou descrições
   ============================================ */

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

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

.stat-card {
  padding: 2rem;
}

.stat-card .stat-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.stat-card .stat-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   GRID DE BENEFÍCIOS
   EDITAR: Adicionar/remover cards ou mudar layout
   ============================================ */

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

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

.benefit-card {
  padding: 2rem;
  display: flex;
  gap: 1rem;
}

/* Ícone SVG inline nos cards de benefício */
.benefit-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG dentro do ícone */
.benefit-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.benefit-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   SEÇÃO DE PRODUTO
   EDITAR: Mudar imagens, especificações ou layout
   ============================================ */

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

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--muted);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tabela de especificações */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background-color: rgba(0, 255, 136, 0.05);
  font-weight: 600;
  color: var(--primary);
}

.specs-table td {
  color: var(--muted-foreground);
}

/* ============================================
   RODAPÉ
   EDITAR: Mudar links, informações de contato ou layout
   ============================================ */

.site-footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

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

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

/* ============================================
   RESPONSIVIDADE MOBILE
   ============================================ */

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* ============================================
   ANIMAÇÕES
   Respeita preferência de movimento reduzido
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }

  .btn, button {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .btn:active, button:active {
    transform: scale(0.97);
  }
}

/* ============================================
   COMPATIBILIDADE WORDPRESS
   Estilos para blocos Gutenberg
   ============================================ */

.wp-block-image {
  margin: 1.5rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-columns {
  display: grid;
  gap: 2rem;
}

.wp-block-column {
  min-width: 0;
}

@media (min-width: 768px) {
  .wp-block-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.wp-block-group {
  margin: 1.5rem 0;
}

.wp-block-group.has-background {
  padding: 2rem;
  border-radius: var(--radius);
}
