/* ── INTRO FRAÇÕES ── */
.fracoes-intro-section {
  background: var(--bg-light);
  padding: 72px 0;
}

.fracoes-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  position: relative;
}

.fracoes-conteudo {
  background: var(--white);
  border-radius: 16px;
  padding: 52px 52px 52px 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  margin-left: -40px;
  box-shadow: -4px 0 32px rgba(0,0,0,0.07);
}

.fracoes-conteudo h2,
.fracoes-conteudo .car-label,
.fracoes-conteudo p,
.fracoes-conteudo .btn-vermelho {
  text-align: right;
  align-self: flex-end;
}

.fracoes-imagem {
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
}

.fracoes-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fracoes-conteudo .car-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}

.fracoes-conteudo h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--olive-dark);
  margin: 0;
}

.fracoes-conteudo p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

.btn-vermelho {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #761011;
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.22s;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}

.btn-vermelho:hover {
  background: #5a0c0c;
  color: var(--white);
}

/* ── TIPOLOGIAS ── */
.tipologias-section {
  background: var(--bg-light);
  padding: 72px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .fracoes-wrap {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .fracoes-conteudo {
    margin-right: 0;
    border-radius: 16px;
    padding: 36px 28px;
  }

  .fracoes-imagem {
    height: 260px;
    margin-top: -32px;
  }
}


/* ── PLANTAS ── */
.plantas-section {
  background: var(--light);
  padding: 64px 0;
}

.plantas-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 32px;
}

.plantas-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.plantas-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.plantas-slide {
  display: none;
  position: relative;
  width: 70%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.plantas-slide.active {
  display: block;
}

.plantas-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.plantas-legenda {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(107, 110, 53, 0.85);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  padding: 16px 24px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plantas-legenda img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.plantas-section .carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: var(--olive);
  font-size: 40px;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
}

.plantas-section .carrossel-btn:hover { color: var(--olive-dark); }
.plantas-section .carrossel-prev { left: 0; }
.plantas-section .carrossel-next { right: 0; }

@media (max-width: 768px) {
  .plantas-slide { width: 100%; }
}

@media (max-width: 768px) {
  .carrossel-btn {
    display: flex;
    font-size: 32px;
    padding: 0 4px;
  }
  .carrossel-prev { left: 4px; }
  .carrossel-next { right: 4px; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.lightbox.open { display: flex; }

.lightbox-img-wrap {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-legenda {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { color: var(--white); }

.lightbox-prev,
.lightbox-next {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 56px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0 8px;
  flex-shrink: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }

.plantas-slide { cursor: pointer; }

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next { font-size: 36px; }
  .lightbox-img-wrap img { max-width: 95vw; }
}