/* sections.css */

/* Hero Section */
.hero-section {
  background-color: var(--color-beige-light);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 6vw;
  padding-right: 4vw;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.hero-headline .cursive-highlight {
  font-family: var(--font-cursive);
  color: var(--color-gold);
  font-size: 4.8rem;
  font-weight: 400;
  display: inline-block;
  line-height: 0.8;
  vertical-align: middle;
}

.hero-support {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 450px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.hero-img-flush {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}

/* Values Block */
.values-section {
  background-color: transparent;
  padding: 4rem 0;
  position: relative;
}

.values-container {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--box-shadow-soft);
  margin-top: -2rem; /* Pull slightly over Hero section */
  position: relative;
  z-index: 10;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-item h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.value-heart {
  width: 12px;
  height: 12px;
  fill: var(--color-gold);
  margin-top: auto; /* Push heart to bottom */
}

/* Sobre Nós Section */
.about-section {
  background-color: transparent;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* The soft olive wavy background shape on the left */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background-color: var(--color-green-bg);
  border-radius: 0 100% 100% 0 / 0 50% 50% 0;
  z-index: 0;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
  align-items: flex-start;
}

.about-left .organic-image-container {
  max-width: 600px;
  width: 100%;
}

.about-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.about-headline {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.about-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Bottom Cards Highlights */
.cards-section {
  background-color: transparent;
  position: relative;
  margin-top: 4rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  overflow: visible;
}

.card-item {
  position: relative;
  padding: 6rem 4rem 4rem 4rem; /* Top padding is large to accommodate wave */
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 350px;
}

.card-wave {
  position: absolute;
  top: -49px; /* Bridge the gap to the section above */
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
}

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

.card-item-1 {
  background-color: var(--color-olive);
}

.card-item-2 {
  background-color: var(--color-navy);
}

.card-item-3 {
  background-color: var(--color-rose);
}

.card-icon {
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1.5;
}

.card-item h3 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.card-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 280px;
}

.card-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-top: auto; /* Push to bottom */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.card-link:hover {
  gap: 0.8rem;
  opacity: 0.9;
}

/* Responsiveness adjustments for sections */

@media (max-width: 1199px) {
  .hero-headline {
    font-size: 3rem;
  }
  .hero-headline .cursive-highlight {
    font-size: 4rem;
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 4rem 0 0 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-left {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    text-align: center;
    align-items: center;
  }
  .hero-headline {
    font-size: 2.8rem;
    text-align: center;
  }
  .hero-headline .cursive-highlight {
    font-size: 3.8rem;
  }
  .hero-support {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
  }
  .hero-left .btn {
    align-self: center;
  }
  .hero-right {
    margin-top: 2rem;
    justify-content: center;
    padding: 0 1.5rem;
  }
  .hero-img-flush {
    max-height: 50vh;
    object-fit: contain;
    border-radius: 20px;
  }
  
  .about-section {
    padding: 5rem 0;
  }
  .about-section::before {
    width: 100%;
    height: 45%;
    border-radius: 0 0 100% 100% / 0 0 15% 15%;
  }
  .about-right {
    padding-left: 0;
    text-align: center;
    align-items: center;
    margin-top: 2rem;
  }
  .about-headline {
    font-size: 2.4rem;
  }
  .about-text {
    max-width: 600px;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
  .card-item {
    min-height: auto;
    padding: 4rem 2rem;
  }
  .card-wave {
    display: none; /* Hide the connected waves on stack layout */
  }
  .card-item-1 {
    border-radius: 40px 40px 0 0;
  }
  .card-item-3 {
    border-radius: 0 0 40px 40px;
  }
}

@media (max-width: 575px) {
  .hero-headline {
    font-size: 2.2rem;
  }
  .hero-headline .cursive-highlight {
    font-size: 3rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-headline {
    font-size: 2rem;
  }
}

/* Activities Section */
.activities-section {
  padding: 6rem 0;
  background-color: transparent;
  position: relative;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.activity-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(201, 160, 90, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-medium);
  border-color: rgba(201, 160, 90, 0.25);
}

.activity-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.activity-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.activity-card:hover .activity-image-wrapper img {
  transform: scale(1.05);
}

.activity-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-content h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-rose);
  margin-bottom: 0.75rem;
}

.activity-card:nth-child(2n) .activity-content h3 {
  color: var(--color-olive);
}
.activity-card:nth-child(3n) .activity-content h3 {
  color: var(--color-text-primary);
}

.activity-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.activity-dotted-line {
  border-top: 2px dashed rgba(201, 160, 90, 0.25);
  margin: auto 0 1.25rem 0; /* push to bottom of content area */
}

.activity-meta-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-col strong {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-olive);
}

.meta-col span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

@media (max-width: 991px) {
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

