/* Missões Page Styles */

/* Hero Section */
.missoes-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.missoes-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.missoes-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 2rem;
}

.missoes-hero .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  text-transform: none;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.95;
}

/* Introdução Section */
.introducao-section {
  background: #fafafa;
  padding: 100px 0 60px;
  /* mais respiro no final sem wave */
  position: relative;
}

.casa-global-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 20px;
  /* reduz espaço claro antes da próxima seção */
}

.casa-global-header {
  text-align: center;
  margin-bottom: 60px;
}

.casa-global-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 25px;
}

.section-divider-center {
  width: 90px;
  height: 4px;
  background: linear-gradient(135deg, #d4a574 0%, #e8c9a8 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.casa-global-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.casa-global-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.section-divider-left {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #d4a574 0%, #e8c9a8 100%);
  margin-bottom: 30px;
}

.casa-global-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.casa-global-text p:last-of-type {
  margin-bottom: 30px;
}

.btn-ofertar-inline {
  display: inline-block;
  background: linear-gradient(135deg, #d4a574 0%, #e8c9a8 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-ofertar-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ofertar-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.btn-ofertar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

.btn-ofertar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: -3px;
  /* overlap a bit more to avoid antialiasing gap */
  left: 0;
  width: 100%;
  z-index: 20;
  /* ensure above any card shadows */
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Fill the area behind the intro wave to hide any underlying shadow */
.introducao-section .wave-bottom {
  background-color: #1a1a1a;
}

/* Líderes de Missões Section */
.lideres-missoes-section {
  background-color: #1a1a1a;
  padding: 80px 0 180px;
  /* more breathing room before the title */
  position: relative;
  overflow: hidden;
}

.no-gap-top {
  /* waves disabled: neutralize helper */
  margin-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.lideres-missoes-section .section-header h2 {
  color: #ffffff;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4a574, #e8c9a8);
  margin: 0 auto;
  border-radius: 2px;
}

.lideres-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.lideres-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  background: #2d2d2d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lideres-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lideres-content:hover .lideres-image img {
  transform: scale(1.05);
}

.lideres-text {
  color: #ffffff;
}

.lideres-text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.lideres-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 1.5rem;
}

/* Como Contribuir Section */
.como-contribuir-section {
  background-color: #fafafa;
  padding: 100px 0 180px;
  position: relative;
  overflow: hidden;
}

.contribuir-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.contribuir-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 2rem;
}

.contribuir-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2.5rem;
}

.pix-missoes {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.pix-item-missoes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.pix-item-missoes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pix-text-missoes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pix-label-missoes {
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c2c2c;
}

.pix-value-missoes {
  font-weight: 400;
  font-size: 1rem;
  color: #666;
  font-family: 'Courier New', monospace;
}

.copy-button-missoes {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.copy-button-missoes:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.copy-button-missoes:active {
  transform: translateY(0);
}

.copy-button-missoes.copied {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.copy-button-missoes svg {
  width: 18px;
  height: 18px;
}

.gratidao-text {
  font-size: 1rem;
  font-style: italic;
  color: #999;
  margin-top: 2rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lideres-content {
    grid-template-columns: 350px 1fr;
  }
}

@media (max-width: 768px) {
  .missoes-hero {
    height: 50vh;
  }

  .missoes-hero .hero-content h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .introducao-section,
  .lideres-missoes-section,
  .como-contribuir-section {
    padding: 80px 0 140px;
  }

  .casa-global-title {
    font-size: 2.5rem;
  }

  .introducao-subtitle {
    font-size: 1.1rem;
  }

  .introducao-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .introducao-text {
    font-size: 1.05rem;
  }

  .lideres-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .casa-global-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .casa-global-image img {
    height: 400px;
  }

  .casa-global-text h2 {
    font-size: 2.2rem;
  }

  .lideres-image {
    height: 400px;
  }

  .lideres-text h3 {
    font-size: 1.8rem;
  }

  .lideres-text p {
    font-size: 1rem;
  }

  .pix-item-missoes {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: stretch;
  }

  .pix-text-missoes {
    text-align: center;
  }

  .copy-button-missoes {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .missoes-hero .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .introducao-section,
  .lideres-missoes-section,
  .como-contribuir-section {
    padding: 60px 0 100px;
  }

  .casa-global-image img {
    height: 350px;
  }

  .casa-global-text h2 {
    font-size: 2rem;
  }

  .casa-global-text p {
    font-size: 1rem;
  }

  .btn-ofertar-inline {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .section-header h2,
  .contribuir-content h2 {
    font-size: 2rem;
  }

  .btn-ofertar {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }

  .lideres-image {
    height: 350px;
  }

  .lideres-text h3 {
    font-size: 1.6rem;
  }
}