/* =========================================================
   HERO V2 (Vanilla CSS Port) - Responsivo
========================================================= */

.hero-v2 {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(ellipse at top, #4a0d17, #2a050b, #1a0306);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 140px;
  font-family: var(--font-sans);
  overflow: hidden;
  z-index: 1;
}

.hero-v2-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge Superior */
.hero-v2-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(202, 138, 4, 0.3);
  background: rgba(59, 10, 20, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  position: relative;
}
@media (min-width: 640px) {
  .hero-v2-badge { padding: 0.5rem 1.5rem; margin-bottom: 3rem; gap: 0.75rem; }
}

.hero-v2-badge-ping {
  width: 0.4rem; height: 0.4rem;
  border-radius: 9999px; background: #facc15;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero-v2-badge-dot {
  width: 0.4rem; height: 0.4rem;
  border-radius: 9999px; background: #eab308;
  position: absolute; left: 1rem;
}
@media (min-width: 640px) {
  .hero-v2-badge-ping, .hero-v2-badge-dot { width: 0.5rem; height: 0.5rem; }
  .hero-v2-badge-dot { left: 1.5rem; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.hero-v2-badge span {
  color: rgba(202, 138, 4, 0.9);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .hero-v2-badge span { font-size: 0.75rem; letter-spacing: 0.15em; }
}

/* Headline */
.hero-v2-title {
  font-size: 1.35rem; /* Ajustado para mobile */
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
  max-width: 48rem;
  padding: 0 0.5rem;
}
@media (min-width: 640px) { .hero-v2-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-v2-title { font-size: 3rem; } }

.gold-text-gradient {
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 4s linear infinite;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  padding: 0 0.2rem;
}

/* Esfera e Orbitais */
.hero-v2-sphere-wrap {
  position: relative;
  width: 9rem;  /* Reduzido de 14rem no mobile */
  height: 9rem; /* Reduzido de 14rem no mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  z-index: 10;
  transition: transform 0.7s ease-out;
}
@media (min-width: 640px) {
  .hero-v2-sphere-wrap { width: 14rem; height: 14rem; margin: 3rem 0; }
}
.hero-v2-main:hover .hero-v2-sphere-wrap {
  transform: scale(1.1);
}
.hero-v2-glow {
  position: absolute;
  inset: 0;
  background: rgba(234, 179, 8, 0.2);
  border-radius: 9999px;
  filter: blur(30px);
  transition: opacity 0.7s;
  opacity: 0.4;
}
@media (min-width: 640px) { .hero-v2-glow { filter: blur(40px); } }
.hero-v2-main:hover .hero-v2-glow { opacity: 1; }

.hero-v2-orbital-1 {
  position: absolute;
  inset: 0;
  animation: spin-slow 15s linear infinite;
}
.hero-v2-orbital-2 {
  position: absolute;
  inset: 0.5rem;
  animation: spin-reverse 20s linear infinite;
}
.hero-v2-orbital-3d {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  perspective: 1000px;
}
.hero-v2-orbital-3d-inner {
  transform: rotateX(70deg);
  width: 140%;
  height: 140%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.hero-v2-orbital-3d-ring-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border: 1px solid rgba(202, 138, 4, 0.4);
}
.hero-v2-orbital-3d-ring-2 {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border: 2px solid rgba(254, 240, 138, 0.9);
  border-top-color: transparent;
  border-bottom-color: transparent;
  box-shadow: 0 0 15px rgba(252, 246, 186, 0.5);
  animation: spin-linear 5s linear infinite;
}
.hero-v2-main:hover .hero-v2-orbital-3d-ring-2 {
  animation-duration: 2.5s;
}

.hero-v2-core {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-wander 6s ease-in-out infinite;
}
.hero-v2-core-glass {
  position: relative;
  width: 4.5rem; /* Reduzido de 6rem */
  height: 4.5rem; /* Reduzido de 6rem */
  border-radius: 9999px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
@media (min-width: 640px) {
  .hero-v2-core-glass { width: 6rem; height: 6rem; box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.hero-v2-core-bg {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, #fcd972, #cca33b, #876115);
}
.hero-v2-core-shadow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: inset -10px -10px 15px rgba(135, 97, 21, 0.9), inset 8px 8px 15px rgba(255, 255, 255, 0.6);
  z-index: 10;
  pointer-events: none;
}
@media (min-width: 640px) {
  .hero-v2-core-shadow {
    box-shadow: inset -12px -12px 20px rgba(135, 97, 21, 0.9), inset 10px 10px 20px rgba(255, 255, 255, 0.6);
  }
}
.hero-v2-core-clip {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  overflow: hidden;
  z-index: 20;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}
.hero-v2-scissors-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: move-inside 6s ease-in-out infinite;
}
.hero-v2-scissors {
  width: 2.2rem; /* Reduzido de 3.5rem */
  height: 2.2rem; /* Reduzido de 3.5rem */
  color: #fff9de;
  filter: drop-shadow(0 0 8px rgba(255, 249, 222, 0.9));
  overflow: visible;
}
@media (min-width: 640px) {
  .hero-v2-scissors { width: 3.5rem; height: 3.5rem; filter: drop-shadow(0 0 10px rgba(255, 249, 222, 0.9)); }
}

.hero-v2-shimmer-mask {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: none;
  z-index: 30;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.hero-v2-shimmer-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

/* Countdown */
.hero-v2-countdown {
  display: flex;
  gap: 0.35rem; /* Ajustado para caber na tela */
  margin-bottom: 2rem;
  margin-top: 1rem;
}
@media (min-width: 640px) { .hero-v2-countdown { gap: 1.5rem; } }

.hero-v2-cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.8rem; /* Reduzido de 5rem */
  height: 4.5rem; /* Reduzido de 6rem */
  background: rgba(42, 8, 16, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(113, 63, 18, 0.5);
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s;
}
@media (min-width: 640px) { 
  .hero-v2-cd-box { width: 6rem; height: 7rem; border-radius: 0.75rem; } 
}

.hero-v2-cd-box:hover .hero-v2-cd-bg { opacity: 1; }
.hero-v2-cd-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(234, 179, 8, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-v2-cd-val {
  font-size: 1.4rem; /* Reduzido de 2.25rem */
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
  text-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
}
@media (min-width: 640px) { 
  .hero-v2-cd-val { font-size: 3rem; text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3); } 
}

.hero-v2-cd-lbl {
  font-size: 0.55rem; /* Reduzido de 0.625rem */
  color: rgba(202, 138, 4, 0.8);
  letter-spacing: 0.1em; /* Reduzido o tracking pra caber */
  margin-top: 0.3rem;
  text-transform: uppercase;
}
@media (min-width: 640px) { 
  .hero-v2-cd-lbl { font-size: 0.75rem; letter-spacing: 0.2em; margin-top: 0.5rem; } 
}

.hero-v2-cd-sep {
  color: #ca8a04;
  font-size: 1.5rem; /* Reduzido */
  margin-top: 1rem;
}
@media (min-width: 640px) { .hero-v2-cd-sep { font-size: 2.25rem; margin-top: 1.5rem; } }

/* Dates */
.hero-v2-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem; /* Reduzido */
  color: rgba(202, 138, 4, 0.8);
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 300px;
}
@media (min-width: 640px) { 
  .hero-v2-dates { gap: 3rem; font-size: 0.875rem; letter-spacing: 0.1em; margin-bottom: 3rem; max-width: none; } 
}
.hero-v2-dates .dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: rgba(202, 138, 4, 0.5);
  display: none; /* Esconder os pontos no mobile porque vai quebrar linha de forma mais natural */
}
@media (min-width: 640px) {
  .hero-v2-dates .dot { display: block; }
}

/* Quote */
.hero-v2-quote {
  text-align: center;
  font-size: 0.95rem; /* Reduzido */
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-serif);
  font-style: italic;
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  padding: 0 1rem;
}
@media (min-width: 640px) { 
  .hero-v2-quote { font-size: 1.25rem; line-height: 1.625; margin-bottom: 3rem; } 
}
.hero-v2-quote strong {
  color: #d4af37;
  font-weight: 700;
  font-family: var(--font-sans);
  font-style: normal;
}

/* Button */
.hero-v2-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #b38728, #dfb950, #b38728);
  color: black;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.28);
  transition: all 0.3s;
  width: auto;
  max-width: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
@media (min-width: 640px) {
  .hero-v2-btn { padding: 0.95rem 2rem; font-size: 0.9rem; box-shadow: 0 0 32px rgba(212, 175, 55, 0.3); }
}
.hero-v2-btn:hover {
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.6);
  transform: translateY(-4px);
}
.hero-v2-btn-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-v2-btn svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.hero-v2-btn:hover svg { transform: translateX(4px); }

.hero-v2-btn-shimmer {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
}
.hero-v2-btn:hover .hero-v2-btn-shimmer {
  animation: shimmer 1.5s infinite;
}

/* Progress */
.hero-v2-progress {
  width: calc(100% - 2rem);
  max-width: 28rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .hero-v2-progress { margin-top: 3rem; } }

.hero-v2-prog-meta {
  display: flex;
  justify-content: space-between;
  color: rgba(202, 138, 4, 0.8);
  font-size: 0.65rem; /* Ajustado */
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .hero-v2-prog-meta { font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
}
.hero-v2-prog-meta strong {
  color: #d4af37;
  font-weight: 700;
  font-size: 0.75rem;
}
@media (min-width: 640px) { .hero-v2-prog-meta strong { font-size: 0.875rem; } }

.hero-v2-prog-bar {
  height: 0.5rem;
  width: 100%;
  background: #1a0306;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(113, 63, 18, 0.3);
  position: relative;
}
.hero-v2-prog-fill {
  height: 100%;
  background: linear-gradient(to right, #a16207, #eab308, #fde047);
  transition: width 1.5s ease-out;
  position: relative;
  width: 0%; /* JS will set to 78% */
}
.hero-v2-prog-glow {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1rem;
  background: rgba(255,255,255,0.5);
  filter: blur(2px);
}

/* Keyframes totais */
@keyframes spin-slow { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }
@keyframes spin-linear { 100% { transform: rotate(360deg); } }
@keyframes scissor-cut-top {
  0%, 100% { transform: rotate(-10deg); }
  10%, 30%, 50% { transform: rotate(0deg); }
  20%, 40% { transform: rotate(-16deg); }
  60%, 90% { transform: rotate(-10deg); }
}
@keyframes scissor-cut-bottom {
  0%, 100% { transform: rotate(10deg); }
  10%, 30%, 50% { transform: rotate(0deg); }
  20%, 40% { transform: rotate(16deg); }
  60%, 90% { transform: rotate(10deg); }
}
.animate-scissor-top { animation: scissor-cut-top 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
.animate-scissor-bottom { animation: scissor-cut-bottom 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
@keyframes move-inside {
  0% { transform: translate(0px, 0px) rotate(-15deg) scale(1); }
  25% { transform: translate(3px, -3px) rotate(5deg) scale(1.02); }
  50% { transform: translate(-4px, 4px) rotate(-25deg) scale(0.98); }
  75% { transform: translate(-2px, -2px) rotate(0deg) scale(1); }
  100% { transform: translate(0px, 0px) rotate(-15deg) scale(1); }
}
@media (min-width: 640px) {
  @keyframes move-inside {
    0% { transform: translate(0px, 0px) rotate(-15deg) scale(1); }
    25% { transform: translate(5px, -5px) rotate(5deg) scale(1.02); }
    50% { transform: translate(-6px, 6px) rotate(-25deg) scale(0.98); }
    75% { transform: translate(-4px, -4px) rotate(0deg) scale(1); }
    100% { transform: translate(0px, 0px) rotate(-15deg) scale(1); }
  }
}
@keyframes float-wander {
  0% { transform: translate(0px, 0px); }
  33% { transform: translate(4px, -6px); }
  66% { transform: translate(-6px, 4px); }
  100% { transform: translate(0px, 0px); }
}
@media (min-width: 640px) {
  @keyframes float-wander {
    0% { transform: translate(0px, 0px); }
    33% { transform: translate(6px, -8px); }
    66% { transform: translate(-8px, 6px); }
    100% { transform: translate(0px, 0px); }
  }
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes bounce-subtle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes float-up {
  0% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: var(--op, 0.8); scale: 1; }
  80% { opacity: var(--op, 0.8); }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Partículas */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle-float {
  position: absolute;
  border-radius: 9999px;
  background: rgba(234, 179, 8, 0.5);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
  bottom: -10%;
  animation: float-up linear infinite;
}
