:root{
  --maxw: 1200px;
  --green: #6FAE2E;
  --green-dark: #00692C;
  --dark: #2b2b2b;
  --muted: #5a5a5a;
  --border: #e6e6e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Libre Franklin', sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 60px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #f8fdf4 0%, #eef7e8 100%);
  overflow: hidden;
  width: 100%;
}

.hero__container{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 1rem 1rem;
  width: 100%;
}

.hero__title{
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3rem);
  margin: 0 0 1.5rem;
  color: var(--green-dark);
  font-weight: 400;
}

.hero__highlight{
  color: var(--green-dark);
  font-weight: 700;
}

.hero__lead{
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--green);
  font-weight: 700;
}

.hero__lead strong {
  color: var(--green);
  font-weight: 700;
}

.hero__para{
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.hero__cta{
  display: inline-flex;
  align-items: center;
  margin: 2rem 0 0;
  padding: 1rem 1.8rem;
  background: var(--green);
  color: #fff;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(111, 174, 46, 0.3);
}
.hero__cta:hover{
  background: #5a8f26;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(111, 174, 46, 0.4);
}
.hero__cta-icon {
  margin-right: 0.8rem;
  font-size: 1.1rem;
}
.hero__cta-icon-img {
  width: 20px;
  height: 20px;
  margin-right: 0.8rem;
  filter: brightness(0) invert(1);
}

.hero__bottom-section {
  background: #f5f5f5;
  padding: 2.5rem 0;
  margin-top: -15px;
  position: relative;
  z-index: 1;
}

.hero__bottom-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-horizontal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.feature-horizontal .feature__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.feature-horizontal .feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

.feature-horizontal .feature__text {
  margin: 0;
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-divider {
  width: 2px;
  height: 100px;
  background: var(--green);
  border-radius: 1px;
}

.hero__img{ 
  width: 100%; 
  max-width: 350px; 
  display: block; 
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.hero__bg-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__bg{
  position: absolute;
  width: clamp(160px, 25vw, 280px);
  opacity: 0.15;
  z-index: 1;
}
.hero__bg--left{ 
  left: -5%; 
  top: 10%; 
  transform: rotate(-15deg); 
}
.hero__bg--right{ 
  right: -8%; 
  bottom: 15%; 
  transform: rotate(25deg) scaleX(-1); 
}

.publicacoes{
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FBEC 100%);
  padding: 4rem 0;
  margin: 1rem 0 4rem 0;
}
.publicacoes__container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
  font-family: 'Libre Franklin', sans-serif;
}
.section__header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}
.section__title{ 
  font-size: 2.5rem; 
  color: var(--green-dark); 
  font-weight: 700;
  font-family: 'Libre Franklin', sans-serif;
}
.link-verde{ 
  color: #90B626;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-weight: 700; 
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 20px;
  font-family: 'Libre Franklin', sans-serif;
}
.link-verde .icon-publicacao {
  width: 20px;
  height: 20px;
}
.link-verde:hover{ 
  color: #7A9A1F;
  text-decoration: none;
}

.pub__grid{
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  position: relative;
}
.pub__card {
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  flex: 1;
  min-height: 450px;
}

.pub__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start; /* ← muda de space-between para flex-start */
}

.pub__content-bottom {
  margin-top: 1.5rem; /* adiciona espaçamento fixo entre imagem e título */
}

.pub__grid {
  align-items: flex-start; /* garante topo alinhado */
}


.pub__card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  width: 1px;
  background: #d0d0d0;
  z-index: 2;
}

.pub__content-top {
  display: flex;
  flex-direction: column;
}

.pub__content-bottom {
  margin-top: auto;
}

.pub__img{ 
  width: 75%; 
  height: auto;
  margin-bottom: 1.5rem; 
}
.pub__title{ 
  font-size: 1.1rem; 
  margin: 0 0 1rem; 
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}
.pub__text{ 
  font-size: 0.95rem; 
  color: var(--muted); 
  line-height: 1.5;
  text-align: left;
}
.refletir{
  background: #fff;
  padding: 2rem 0;
  margin: 0;
}
.refletir__container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
  font-family: 'Libre Franklin', sans-serif;
}
.refletir__title {
  color: var(--green-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.refletir__subtitle{ 
  font-size: 1.3rem; 
  margin: 0 0 1.5rem; 
  color: var(--green); 
  font-weight: 400;
}
.highlight {
  color: var(--green);
  font-weight: 600;
}
.refletir__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.refletir__text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}
.refletir__text p {
  margin-bottom: 0.8rem;
}
.refletir__highlight {
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
  margin: 1rem 0;
  display: block;
}
.refletir__img{ 
  width: 100%; 
  max-width: 500px; 
  display: block; 
  margin: 0; 
}

.refletir__cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.refcard{
  background: transparent;
  padding: 1rem 0;
  border-radius: 0;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none;
  transition: none;
}
.refcard:hover {
  transform: none;
}
.refcard__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.refcard__icon-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.refcard__content {
  text-align: center;
}
.refcard h3{ 
  margin: 0; 
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
.refcard h3 strong {
  color: var(--green-dark);
  font-weight: 600;
}

@media (max-width: 992px){
  .hero__media {
    display: none !important;
  }
  
  .hero__container { 
    grid-template-columns: 1fr !important; 
    gap: 2rem;
    text-align: center !important;
    padding: 2rem 1rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero__media { 
    order: -1; 
    justify-self: center; 
  }
  
  .hero__img {
    max-width: 300px;
  }
  
  .hero__bottom-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .feature-divider {
    width: 60%;
    height: 2px;
    justify-self: center;
    background: var(--green);
  }
  
  .feature-horizontal {
    justify-content: center;
    text-align: left;
  }
  
  .refletir__grid { 
    grid-template-columns: 1fr; 
    gap: 2rem;
    text-align: center;
  }
  
  .refletir__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .refcard {
    text-align: center;
    align-items: center;
  }
  
  .refcard__icon {
    align-self: center;
  }
  
  .refletir__title {
    font-size: 2rem;
  }
  
  .section__header {
    margin-bottom: 3rem;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .pub__grid {
    flex-direction: column;
    gap: 0;
  }
  
  .pub__card {
    padding: 1.5rem 0;
    border-bottom: 1px solid #d0d0d0;
  }
  
  .pub__card:not(:last-child)::after {
    display: none;
  }
  
  .pub__card:last-child {
    border-bottom: none;
  }
  
  .section__title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) and (min-width: 576px) {
  .pub__grid {
    flex-direction: column;
    gap: 0;
  }
  
  .pub__card {
    padding: 1.5rem 0;
    border-bottom: 1px solid #d0d0d0;
  }
  
  .pub__card:not(:last-child)::after {
    display: none;
  }
  
  .pub__card:last-child {
    border-bottom: none;
  }
  
  .refletir__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .hero__container {
    padding: 1.5rem 0.5rem 1rem !important;
    width: 100%;
  }
  
  .hero__bg--left,
  .hero__bg--right {
    opacity: 0.08;
  }
  
  .hero__bottom-container {
    padding: 0 1rem;
    gap: 1.5rem;
    width: 100%;
  }
  
  .hero__img {
    max-width: 250px;
  }
  
  .feature-horizontal {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .feature-horizontal .feature__icon {
    width: 48px;
    height: 48px;
  }
}
