/* Estilos Base e Variáveis (Extraídos do projeto original) */
:root {
  --primary: #D4AF37;
  --primary-foreground: #0A0A0A;
  --background: #0A0A0A;
  --foreground: #E8E0CC;
  --card: #111111;
  --card-foreground: #E8E0CC;
  --popover: #111111;
  --popover-foreground: #E8E0CC;
  --secondary: #1A1A1A;
  --secondary-foreground: #E8E0CC;
  --muted: #222222;
  --muted-foreground: #9A8F7A;
  --accent: #D4AF37;
  --accent-foreground: #0A0A0A;
  --destructive: #DC2626;
  --destructive-foreground: #FFFFFF;
  --border: #2A2A2A;
  --input: #1A1A1A;
  --ring: #D4AF37;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Lato', sans-serif;
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0;
}

h1 { color: var(--primary); }
h2 { color: #2C3E50; }
h3 { color: var(--primary); }

a {
  text-decoration: none;
  transition: color 0.2s;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Utilitários Customizados */
.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; } }

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  animation: btn-pulse 2.5s ease-in-out infinite;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: btn-shine 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

@keyframes btn-shine {
  0%   { transform: translateX(-100%); }
  40%, 100% { transform: translateX(100%); }
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  animation: none;
}

.btn-secondary:hover::before {
  animation: none;
}

.card-service {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.card-service:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Animações */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Styles */
header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

/* Mobile Menu */
#mobile-menu.hidden {
  display: none !important;
}

.icon-check {
  color: #f97316;
}

/* ===== HERO EFFECTS ===== */

/* Blueprint-style background pattern */
#hero {
  position: relative;
  overflow: hidden;
  background-color: var(--background);
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Animated gradient overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 10% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

/* Decorative floating shape - top right */
#hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  animation: hero-rotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Second decorative ring */
.hero-ring {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  border: 2px dashed rgba(217, 119, 6, 0.1);
  border-radius: 50%;
  animation: hero-rotate 35s linear infinite reverse;
  pointer-events: none;
  z-index: 0;
}

/* Staggered text entrance */
.hero-badge {
  opacity: 0;
  animation: slideUp 0.6s ease-out 0.1s forwards;
}

.hero-title {
  opacity: 0;
  animation: slideUp 0.7s ease-out 0.25s forwards;
}

.hero-desc {
  opacity: 0;
  animation: slideUp 0.7s ease-out 0.4s forwards;
}

.hero-cta {
  opacity: 0;
  animation: slideUp 0.7s ease-out 0.55s forwards;
}

.hero-stats {
  opacity: 0;
  animation: slideUp 0.7s ease-out 0.7s forwards;
}

.hero-image {
  opacity: 0;
  animation: fadeInScale 0.9s ease-out 0.3s forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Animated badge pulse */
.hero-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Counter animation */
.hero-counter {
  display: inline-block;
  transition: transform 0.1s;
}

/* Image overlay shimmer on load */
.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shimmer 1.4s ease-out 0.6s forwards;
  border-radius: 0.5rem;
  pointer-events: none;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}

/* Stat item hover pop */
.hero-stat-item {
  transition: transform 0.2s ease;
  cursor: default;
}

.hero-stat-item:hover {
  transform: translateY(-3px);
}

.hero-stat-item p:first-child {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5fa0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
