.home {
  position: relative;
  width: 100%;
}

/* Hero Scroll Video Section */
.heroContainer {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
}

/* Vimeo background — covers container maintaining 16:9 */
.heroVideoBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.heroVideoBg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  border: none;
}

.heroBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 15% 35%, rgba(33, 49, 122, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 85% 65%, rgba(240, 45, 98, 0.25) 0%, transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(7, 9, 25, 0.72) 0%, rgba(12, 15, 30, 0.80) 100%);
  animation: heroBgPulse 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes heroBgPulse {
  0% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
  100% {
    background-position: 100% 50%;
    filter: brightness(1);
  }
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-primary) 90%),
              linear-gradient(to bottom, var(--bg-primary) 0%, transparent 15%, transparent 85%, var(--bg-primary) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Rede neural de partículas sobre o vídeo (interage com o cursor) */
.heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.heroContent {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.heroContent .badge {
  background: rgba(240, 45, 98, 0.22);
  border-color: rgba(240, 45, 98, 0.55);
  color: #ff6b8a;
}

.heroContent .badge-emerald {
  background: rgba(33, 49, 122, 0.35);
  border-color: rgba(143, 164, 245, 0.55);
  color: #b0c4ff;
}

.heroContent h2 .text-gradient-brand {
  background: linear-gradient(135deg, #7b93ff 0%, #F02D62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(240, 45, 98, 0.5));
}

.heroSubtitle,
.heroContent p {
  color: rgba(205, 215, 235, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.heroHeadline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.1;
}

.heroSubtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ctaGroup {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 576px) {
  .ctaGroup {
    flex-direction: column;
    align-items: stretch;
    padding: 0 40px;
  }
}

/* Manifesto Section */
.manifestoSection {
  background: var(--bg-light-secondary);
  position: relative;
}

.manifestoSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.manifestoCard {
  max-width: 850px;
  margin: 0 auto;
  padding: 60px;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(33, 49, 122, 0.15);
  background: rgba(12, 15, 30, 0.92);
  box-shadow: 0 20px 60px -20px rgba(33, 49, 122, 0.3), var(--glass-shadow);
}

@media (max-width: 768px) {
  .manifestoCard {
    padding: 30px 20px;
  }
}

.manifestoHeading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manifestoText {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.manifestoHighlight {
  color: var(--text-primary);
  font-weight: 600;
  border-left: 3px solid var(--brand-pink);
  padding-left: 20px;
  margin: 10px 0;
}

/* Pillars Section */
.pillarsSection {
  background-color: #090C1D;
}

.pillarsIntro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.pillarsIntro h2 {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillarsGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1200px) {
  .pillarsGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pillarsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pillarsGrid {
    grid-template-columns: 1fr;
  }
}

.pillarCard {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pillarCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillarCard:hover::before,
.pillarCardActive::before {
  opacity: 1;
}

.pillarCardActive, .pillarCard:hover {
  border-color: var(--brand-pink);
  box-shadow: 0 0 30px rgba(240, 45, 98, 0.12),
              0 0 60px rgba(33, 49, 122, 0.08);
}

.pillarIcon {
  color: var(--brand-pink);
  margin-bottom: 20px;
}

.pillarTitle {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillarDesc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillarFooter {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillarMetricLabel {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.pillarMetricValue {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Portfolio Highlights */
.portfolioIntro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.portfolioIntro h2 {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .portfolioIntro {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.caseCard {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-secondary);
  transition: var(--transition-normal);
}

.caseCard:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 45, 98, 0.25);
  box-shadow: 0 12px 40px rgba(240, 45, 98, 0.08);
}

.caseImagePlaceholder {
  height: 240px;
  background: linear-gradient(135deg, #0f1c2e 0%, #172a45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.caseImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caseLogo {
  max-width: 85%;
  max-height: 80%;
  width: auto;
  height: auto;
}

.caseLogoOverlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 25, 47, 0.85);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: bold;
}

.caseContent {
  padding: 30px;
}

.caseTitle {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.caseText {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.tagGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.caseResult {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caseResultLabel {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.caseResultValue {
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials */
.testimonialsSection {
  background-color: var(--bg-light);
  position: relative;
}

.testimonialsSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.testimonialsSection::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand-reverse);
}

.testimonialsSection .pillarsIntro p {
  color: var(--text-on-light-muted);
}

.testimonialCard {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonialQuote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonialAuthor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.authorAvatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(240, 45, 98, 0.3);
}

.authorName {
  font-weight: 600;
  font-size: 0.95rem;
}

.authorRole {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Final CTA Section */
.ctaSection {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(240, 45, 98, 0.07) 0%, rgba(33, 49, 122, 0.06) 50%, transparent 75%);
}

.ctaBox {
  max-width: 800px;
  margin: 0 auto;
}

.ctaTitle {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctaText {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
