/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  color: #F8F6F4;
  overflow: hidden;
  background: linear-gradient(160deg, #400000 0%, #101010 55%, #2a0a0a 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero.has-photo::before {
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}

.hero:not(.has-photo)::before {
  background-image:
    linear-gradient(rgba(248, 246, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 246, 244, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, black 40%, transparent 85%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(192,160,96,0.22), transparent 55%),
              radial-gradient(circle at 8% 95%, rgba(208,32,32,0.4), transparent 50%);
  z-index: 0;
}

.hero-shield {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 46vw;
  max-width: 620px;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-shield { display: none; }
}

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

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(192, 160, 96, 0.16);
  border: 1px solid rgba(192, 160, 96, 0.5);
  color: var(--color-gold);
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
}

.hero h1 .accent {
  color: var(--color-gold);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(248, 246, 244, 0.85);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--color-gold);
}

.hero-stats span {
  font-size: 0.82rem;
  color: rgba(248, 246, 244, 0.7);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(248, 246, 244, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  z-index: 1;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 30px;
  background: linear-gradient(rgba(248,246,244,0.8), transparent);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Revelacao escalonada: itens dentro de um grid aparecem em sequencia, nao todos de uma vez */
.grid > [data-reveal]:nth-child(1) { transition-delay: 0s; }
.grid > [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.grid > [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.grid > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.grid > [data-reveal]:nth-child(5) { transition-delay: 0.32s; }
.grid > [data-reveal]:nth-child(6) { transition-delay: 0.4s; }

/* Pilares (por que 5UP UFC) */
.pillar-card {
  text-align: center;
}

/* Metodo */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 700px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .method-grid { grid-template-columns: repeat(5, 1fr); }
}

.method-item {
  background: var(--color-surface);
  border: 1px solid var(--color-sand-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.method-item .num {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  display: block;
  margin-bottom: 0.4em;
}

/* Spain block */
.spain-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .spain-block { grid-template-columns: 1fr 1fr; }
}

.spain-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.spain-photos img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.spain-photos img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* Coaches */
.coach-card {
  text-align: center;
}

.coach-card img,
.coach-card .avatar-fallback {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--color-gold);
}

.coach-card .avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand-light);
  font-size: 2.4rem;
  color: var(--color-gold-dark);
}

.coach-role {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.6em;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.testimonial-head img,
.testimonial-head .avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-quote {
  font-style: normal;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Final CTA / urgencia */
.urgency-banner {
  background: var(--color-gold);
  color: #241a08;
  text-align: center;
  padding: 0.7em 1em;
  font-weight: 700;
  font-size: 0.95rem;
}

.trial-section {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 4vw, 3rem);
  max-width: 780px;
  margin: 0 auto;
}
