@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

* {
  transition: all 0.3s ease;
  font-family: "Plus Jakarta Sans", sans-serif;
}

* :not(html) {
  transition: all 0.3s ease;
}

:root {
  --cor1: #1C5233;
  --cor2: white;
  --cor3: #0000009d;
  --cor4: #D4A820;
  --cor5: #8B1A1A;
  --glass-bg: rgba(28, 82, 51, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(28, 82, 51, 0.37);
  --gradient-primary: linear-gradient(135deg, #1C5233 0%, #2D7A4F 100%);
  --gradient-accent: linear-gradient(135deg, rgba(28, 82, 51, 0.9) 0%, rgba(45, 122, 79, 0.9) 100%);
  --gold-gradient: linear-gradient(135deg, #F5CA38 0%, #BF8A08 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FAD545 0%, #D49A14 100%);
}

html {
  scroll-behavior: smooth !important;
}

body {
  scroll-behavior: smooth !important;
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 44, 0.6);
  border-radius: 4px;
  border: 2px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 44, 0.85);
  box-shadow: 0 0 10px rgba(212, 175, 44, 0.4);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 44, 0.6) rgba(255, 255, 255, 0.1);
}


.overlay-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 40, 25, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.btn-fechar {
  position: absolute;
  right: 10px;
  padding: 8px;
  top: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-fechar:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}


.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000 !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: rgba(15, 40, 25, 0.78);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 44, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.loading p {
  color: var(--cor2);
  font-weight: 600;
  font-size: 1.2rem;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

.loader img {
  width: 50%;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

.loader::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #F2CC30;
  border-right-color: #8B1A1A;
  animation: spin 1.5s linear infinite;
  box-shadow: 0 0 30px rgba(212, 175, 44, 0.35);
}

.loader::after {
  content: '';
  position: absolute;
  width: 160%;
  height: 160%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(28, 82, 51, 0.5);
  border-left-color: rgba(28, 82, 51, 0.5);
  animation: spin 2s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0%);
  }
}
