/* Sections Styles */
.section-content {
  background-color: var(--color-bg-light);
  padding: 80px 0 180px;
  position: relative;
  overflow: hidden;
}

/* Quem Somos Section */
.section-quem-somos {
  background-color: var(--color-bg-light);
  padding: 100px 0 180px;
  position: relative;
  overflow: hidden;
}

.quem-somos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.quem-somos-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #2c2c2c;
  line-height: 1.2;
}

.quem-somos-video {
  margin-bottom: 3rem;
}

.video-container {
  position: relative;
  padding-bottom: 42%;
  /* Reduced from 56.25% to make it shorter */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.quem-somos-text-section {
  max-width: 900px;
  margin: 0 auto;
}

.quem-somos-text-section h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.quem-somos-text-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: left;
}

.quem-somos-text-section .btn-primary {
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* Dark Section */
.section-dark {
  background-color: #1a1a1a;
  padding: 80px 0 220px;
  position: relative;
  overflow: hidden;
}

.text-content-dark {
  max-width: 900px;
  margin: 0 auto;
}

.text-content-dark h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.text-content-dark p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 1.5rem;
  text-align: left;
}

.text-content-dark .btn-primary {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.text-content-dark .btn-primary {
  margin-top: 1rem;
}

/* Valores Section - Slider Style */
.section-valores {
  background-color: #1a1a1a;
  padding: 70px 0 180px;
  position: relative;
  overflow: hidden;
}

.section-valores .welcome-text h2 {
  color: #ffffff;
}

.section-valores .welcome-text .subtitle {
  color: #cccccc;
}

.valores-slider-wrapper {
  position: relative;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.valores-slider {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.valor-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.valor-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  padding: 2rem;
  color: #ffffff;
}

.slide-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 2rem;
}

.slide-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  stroke-width: 1.5;
}

.slide-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cccccc;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-accent);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
  background-color: #c89560;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(212, 165, 116, 0.5);
}

.slider-arrow svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.slider-arrow-left {
  left: -70px;
}

.slider-arrow-right {
  right: -70px;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 3rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background-color: var(--color-accent);
  width: 32px;
  border-radius: 6px;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Popup Modal */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.popup-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.popup-modal.closing {
  animation: fadeOut 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.popup-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-modal.closing .popup-content {
  animation: slideDown 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(50px);
    opacity: 0;
  }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #666;
  font-size: 2rem;
  font-weight: 300;
  border: none;
  background: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.popup-close:hover {
  background-color: #f0f0f0;
  color: #2c2c2c;
  transform: rotate(90deg);
}

.popup-body {
  margin-top: 1rem;
}

.popup-body h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.popup-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1rem;
}

/* Button popup styling */
.btn-popup {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(212, 165, 116, 0.2);
  font-family: var(--font-family);
  font-size: 1rem;
}

.btn-popup:hover {
  background-color: #c89560;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.pilar-card .btn-popup {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

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

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

/* Welcome Text */
.welcome-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.welcome-text h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.welcome-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #666;
}

.welcome-text .subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* Pilares Grid */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pilar-card {
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.pilar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.15);
  border-top-color: var(--color-accent);
}

.pilar-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
}

.pilar-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
}

.pilar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: center;
}

.pilar-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  flex: 1;
  margin-bottom: 1rem;
  text-align: left;
}

.pilar-card .btn-popup {
  align-self: center;
}

/* Button Container */
.btn-container {
  text-align: center;
  margin-top: 3rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(212, 165, 116, 0.2);
}

.btn-primary:hover {
  background-color: #c89560;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Section with Image and Text */
.section-image-text {
  background: linear-gradient(135deg, #f9f9f9 0%, #eeeeee 100%);
  padding: 170px 0;
  position: relative;
  overflow: hidden;
}

.content-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-grid-two .content-image {
  width: 100%;
}

.content-grid-two .content-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-grid-two .content-text {
  text-align: left;
}

.content-grid-two .content-text h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.content-grid-two .content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.content-grid-two .btn-primary {
  margin-top: 1rem;
}

/* Programação Section */
.section-programacao {
  background-color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.programacao-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.programacao-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid #e0e0e0;
  transition: all var(--transition-normal);
  align-items: center;
}

.programacao-item:first-child {
  padding-top: 0;
}

.programacao-item:last-child {
  border-bottom: none;
}

.programacao-image {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.programacao-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.programacao-item:hover .programacao-image img {
  transform: scale(1.05);
}

.programacao-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.programacao-details h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.3;
  margin: 0;
}

.programacao-local {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.local-igreja {
  background-color: var(--color-accent);
  color: #ffffff;
}

.local-casas {
  background-color: var(--color-accent-light);
  color: #2c2c2c;
  border: 1px solid var(--color-accent);
}

.programacao-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.programacao-day {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.programacao-time {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.programacao-details p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #666;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 80px 0 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-address h3,
.footer-social h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-address {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-map {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-address-link {
  color: #cccccc;
  transition: color var(--transition-normal);
  display: inline-block;
}

.footer-address-link:hover {
  color: #ffffff;
}

.footer-address p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: inherit;
  margin: 0;
}

.footer-social {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all var(--transition-normal);
}

.social-icons a:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .valores-carousel-wrapper {
    padding: 0 50px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .programacao-item {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }

  .programacao-image {
    height: 160px;
  }

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

  .quem-somos-text-section h2,
  .text-content-dark h2 {
    font-size: 2.25rem;
  }

  .quem-somos-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 968px) {
  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .valores-carousel-wrapper {
    padding: 0 45px;
  }

  .valor-card {
    flex: 0 0 280px;
  }

  .section-quem-somos {
    padding: 80px 0 80px;
  }

  .section-dark {
    padding: 80px 0;
  }

  .section-valores {
    padding: 140px 0 80px;
  }

  .quem-somos-video {
    margin-bottom: 3rem;
  }

  .programacao-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .programacao-image {
    height: 220px;
  }

  .programacao-header {
    gap: 0.75rem;
  }

  .programacao-details h3 {
    font-size: 1.5rem;
  }

  .programacao-local {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  .programacao-time {
    font-size: 1.1rem;
  }

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

  .section-content {
    padding: 60px 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-address,
  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .popup-modal.active {
    padding: 1.5rem;
  }

  /* Slider responsive */
  .valor-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide-image {
    height: 350px;
  }

  .slider-arrow-left {
    left: 10px;
  }

  .slider-arrow-right {
    right: 10px;
  }

  .slide-content h3 {
    font-size: 2rem;
  }

  .popup-content {
    padding: 2rem;
    width: 100%;
  }

  .popup-body h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .welcome-text h2 {
    font-size: 1.75rem;
  }

  .welcome-text .subtitle {
    font-size: 1rem;
  }

  .pilar-card {
    padding: 2rem 1.5rem;
  }

  .quem-somos-text-section h2,
  .text-content-dark h2 {
    font-size: 1.85rem;
  }

  .quem-somos-header h2 {
    font-size: 2.25rem;
  }

  .quem-somos-text-section p,
  .text-content-dark p {
    font-size: 1.05rem;
  }

  .slider-arrow {
    width: 45px;
    height: 45px;
  }

  .slider-arrow svg {
    width: 22px;
    height: 22px;
  }

  .slider-arrow-left {
    left: 5px;
  }

  .slider-arrow-right {
    right: 5px;
  }

  .slide-content {
    padding: 1rem;
  }

  .slide-content h3 {
    font-size: 1.75rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .popup-modal.active {
    padding: 1rem;
  }

  .popup-content {
    padding: 1.5rem;
  }

  .popup-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1.75rem;
  }

  .popup-body h2 {
    font-size: 1.5rem;
  }

  .popup-body p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .valores-carousel-wrapper {
    padding: 0 35px;
  }

  .valor-card {
    flex: 0 0 240px;
    padding: 2rem 1.5rem;
  }

  .quem-somos-text-section h2,
  .text-content-dark h2 {
    font-size: 1.5rem;
  }

  .quem-somos-header h2 {
    font-size: 2rem;
  }

  .section-quem-somos,
  .section-dark {
    padding: 60px 0;
  }

  .section-valores {
    padding: 120px 0 60px;
  }
}