/*
 Theme Name: Neve Child
 Theme URI: https://brasiquezela.org/
 Description: Tema filho do Neve.
 Author: Edir Fonseca
 Template: neve
 Version: 1.0.0
*/

/* Hero Section Styles */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');

/* Hero Section Styles */

/* Hero Section Styles */

/* Hero Section Styles */

/* Hero Section Styles */

:root {
  --hero-bg-color: #FFFFFF;
  --hero-text-color: #023347;
  /* Midnight Blue */
  --hero-accent-color: #2A8E9E;
  /* Teal */
  --hero-text-gray: #556977;
  --hero-font: 'Sora', sans-serif;
}

/* Page on Blue Background Effect */
body {
  background-color: var(--hero-text-color) !important;
  /* Midnight Blue Background */
  padding: 20px;
  /* Space around the card */
}

/* Target Neve's main wrapper (usually .wrapper) or generic #page */
.wrapper,
#page {
  background-color: #FFFFFF;
  border-radius: 32px;
  /* Large rounded corners */
  overflow: hidden;
  min-height: calc(100vh - 40px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  max-width: 1400px;
  /* Limit width for better look */
}

.hero-section {
  background-color: var(--hero-bg-color);
  padding: 80px 0;
  font-family: var(--hero-font);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Content */
.hero-content {
  max-width: 540px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--hero-text-color);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hero-text-gray);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--hero-text-color);
  color: #FFFFFF;
  border: 2px solid var(--hero-text-color);
}

.btn-primary:hover {
  background-color: #034a66;
  border-color: #034a66;
}

.btn-outline {
  background-color: #FFFFFF;
  /* White background */
  color: var(--hero-text-color);
  border: 1px solid #D1D5DB;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  border-color: var(--hero-text-color);
  background-color: #F9FAFB;
}

/* Right Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  border-radius: 32px;
  width: 100%;
}

.hero-main-image {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
  background-color: #FFFFFF;
}

.card-stats {
  background-color: var(--hero-accent-color);
  color: #FFFFFF;
  padding: 20px;
  bottom: 40px;
  left: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
}

.stat-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.stat-text span {
  font-size: 0.75rem;
  opacity: 0.9;
  line-height: 1.2;
  display: block;
}

.card-icon-box {
  background-color: var(--hero-text-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: -20px;
  right: -20px;
  border-radius: 12px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .card-stats {
    left: 0;
    bottom: 20px;
  }

  .card-icon-box {
    right: 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Partners Section */
.partners-section {
  padding: 40px 0 80px;
  /* Spacing below hero */
  background-color: #FFFFFF;
  /* Match container bg */
}

.partners-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-label p {
  font-size: 0.875rem;
  color: var(--hero-text-gray);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
}

.partners-logos {
  flex: 1;
  overflow: hidden;
  /* Hide scrollbar */
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  /* Space between logos */
  width: max-content;
  /* Ensure track is wide enough */
  animation: scroll 20s linear infinite;
  /* Infinite scroll animation */
}

.partners-track img {
  height: 32px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* Prevent logos from shrinking */
}

.partners-track:hover {
  animation-play-state: paused;
  /* Pause on hover */
}

.partners-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Move half the width (since content is duplicated) */
  }
}

@media (max-width: 768px) {
  .partners-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .partners-logos {
    width: 100%;
    /* Full width on mobile */
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.features-title {
  font-size: 2.5rem;
  color: var(--hero-text-color);
  line-height: 1.2;
  font-weight: 700;
  flex: 1;
}

.features-desc {
  flex: 1;
  color: var(--hero-text-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  height: 400px;
  /* Fixed height for alignment */
}

.feature-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 100%;
}

/* Image Card */
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Teal Card */
.teal-card {
  background-color: var(--hero-accent-color);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

.card-icon-top {
  align-self: flex-end;
  background-color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-content-bottom h3 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1;
}

.card-content-bottom p {
  font-size: 1.125rem;
  margin: 0;
  opacity: 0.9;
}

/* Stacked Column */
.feature-column-stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.feature-column-stacked .feature-card {
  height: 50%;
  /* Each takes half height */
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dark Card */
.dark-card {
  background-color: var(--hero-text-color);
  color: #FFFFFF;
}

.dark-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.dark-card p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

/* White Card */
.white-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: var(--hero-text-color);
}

.white-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.white-card p {
  font-size: 0.875rem;
  color: var(--hero-text-gray);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .features-header {
    flex-direction: column;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .feature-card,
  .feature-column-stacked {
    height: auto;
    min-height: 300px;
  }

  .feature-column-stacked .feature-card {
    min-height: 200px;
  }
}