/* ═══════════════════════════════════════════════════
   GREEN CONCEPT — Filosofia Construtiva
   Figma 47:1705 · bg-light outer · bg-#1d241e inner
   px: 150px (var(--gutter)) · py: 175px · gap: 96px
   ═══════════════════════════════════════════════════ */


/* ── Seção outer: padding 24px = mesmo padrão do hero ── */
#green-concept {
  background-color: var(--c-light);
  padding: 24px;
}


/* ── Container interno ── */
.gc__inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1d241e;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5vw, 96px);
  padding: clamp(80px, 9.11vw, 175px) var(--gutter);
}


/* ── Grafismo de fundo absoluto ──
   Figma: left -186.09px · top calc(50%−297.57px) · translateY(-50%)
   width 2479.846px · height 1428.197px                                */
.gc__triangles {
  position: absolute;
  left: -186.09px;
  top: calc(50% - 297.57px);
  transform: translateY(-50%);
  width:  2479.846px;
  height: 1428.197px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Todos os blocos de conteúdo acima do grafismo */
.gc__content-row,
.gc__media,
.gc__cta {
  position: relative;
  z-index: 1;
}


/* ── Content row: bloco esq + info dir ──
   Figma: flex items-end justify-between    */
.gc__content-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 96px);
}


/* ── Bloco esquerdo: badge + título ── */
.gc__content-left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.08vw, 40px);
  align-items: flex-start;
  flex-shrink: 0;
}

/* Badge — variante green (dot quadrado #3d5e43) */
.gc__badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 6px;
  background: rgba(85, 85, 85, 0.10);
  backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px);
}

/* Dot quadrado (sem border-radius) — Figma: "Decorative Icon", sem rounded-full */
.gc__badge-dot {
  display: block;
  width:  8.628px;
  height: 8.628px;
  background: var(--c-green);
  flex-shrink: 0;
}

.gc__badge-text {
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.94vw, 18px);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-light);
  white-space: nowrap;
}

/* Título: 88px · leading 1.15 · tracking -0.05em */
.gc__title {
  font-family: var(--f-sans);
  font-size: clamp(40px, 4.58vw, 88px);
  font-weight: var(--fw-regular);
  line-height: 1.15;
  letter-spacing: -0.05em;
  color: var(--c-light);
}

.gc__title-line {
  display: block;
}


/* ── Bloco de informação (direita) ──
   Figma: max-width 757px · 24px · leading 1.6 · gap 48px */
.gc__info {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.5vw, 48px);
  max-width: clamp(360px, 39.43vw, 757px);
  flex-shrink: 0;
}

.gc__info-text {
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: rgba(244, 245, 247, 0.80);
}


/* ── Seção de mídia ── */
.gc__media {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gc__media-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}


/* ── Container de vídeo (esquerda da row 1) ──
   Figma: w-820px · p-40 · gap-40 · bg-#2a2f2b · rounded-12 */
.gc__video-wrap {
  flex-shrink: 0;
  width: clamp(300px, 42.71vw, 820px);
  background: #2a2f2b;
  border-radius: 12px;
  padding: clamp(20px, 2.08vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.08vw, 40px);
  overflow: hidden;
}

/* Thumbnail clicável */
.gc__thumbnail {
  aspect-ratio: 1597 / 900;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  display: block;
}

.gc__thumbnail-img {
  width:  100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease);
}

.gc__thumbnail:hover .gc__thumbnail-img {
  transform: scale(1.03);
}

.gc__thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background var(--dur-base) var(--ease);
}

.gc__thumbnail:hover .gc__thumbnail-overlay {
  background: rgba(0, 0, 0, 0.35);
}

/* Ícone play: centralizado sobre o thumbnail */
.gc__play-icon {
  position: absolute;
  top:  50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:  clamp(80px, 6.63vw, 127px);
  height: clamp(80px, 6.63vw, 127px);
  pointer-events: none;
  user-select: none;
}

/* Barra inferior do vídeo: label + tempo */
.gc__video-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.gc__video-label,
.gc__video-time {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.04vw, 20px);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  letter-spacing: -0.03em;
  color: var(--c-light);
  white-space: nowrap;
}


/* ── Coluna de galeria (direita da row 1) ──
   Figma: flex-1 · flex-col · gap-24 · self-stretch  */
.gc__gallery-col {
  flex: 1 0 0;
  min-width:  0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
}

.gc__gallery-img {
  border-radius: 12px;
  overflow: hidden;
  background: #2a2f2b;
}

/* Imagem superior: altura fixa — Figma h-312px */
.gc__gallery-img--top {
  flex-shrink: 0;
  height: clamp(160px, 16.25vw, 312px);
}

/* Imagem inferior: ocupa o restante da coluna */
.gc__gallery-img--bottom {
  flex: 1 0 0;
  min-height: 100px;
}

.gc__gallery-img img {
  display: block;
  width:  100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ── Row 2: imagens largas ── */

/* Imagem esquerda: mesma largura do video-wrap */
.gc__wide-img--left {
  flex-shrink: 0;
  width: clamp(300px, 42.71vw, 820px);
}

/* Imagem direita: ocupa o restante */
.gc__wide-img--right {
  flex: 1 0 0;
  min-width: 0;
}

.gc__wide-img--left,
.gc__wide-img--right {
  height: clamp(180px, 19.17vw, 368px);
  border-radius: 12px;
  overflow: hidden;
  background: #2a2f2b;
}

.gc__wide-img--left img,
.gc__wide-img--right img {
  display: block;
  width:  100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ── CTA — reutiliza .hero__btn* com override de cor verde ── */
.gc__cta {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* Override: verde em vez de vermelho no botão primário */
.gc__cta .hero__btn--primary {
  background:   var(--c-green);
  border-color: var(--c-green);
}

.gc__cta .hero__btn--primary:hover {
  background:   transparent;
  color:        var(--c-green);
  border-color: var(--c-green);
}


/* ── Lightbox de vídeo ── */
.gc__lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.gc__lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.gc__lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  cursor: pointer;
}

.gc__lightbox-body {
  position: relative;
  z-index: 1;
  width: min(90vw, 1200px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gc__lightbox-close {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width:  40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(244, 245, 247, 0.10);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}

.gc__lightbox-close:hover {
  background: rgba(244, 245, 247, 0.20);
}

.gc__lightbox-close svg {
  display: block;
}

.gc__lightbox-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.gc__lightbox-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width:  100%;
  height: 100%;
  border: 0;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1280px) {
  .gc__content-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .gc__info {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .gc__media-row {
    flex-direction: column;
    gap: 16px;
  }

  .gc__video-wrap {
    width: 100%;
  }

  .gc__gallery-col {
    align-self: auto;
    flex-direction: row;
    height: clamp(200px, 30vw, 320px);
  }

  .gc__gallery-img--top,
  .gc__gallery-img--bottom {
    flex: 1 0 0;
    height: 100%;
    min-height: 0;
  }

  .gc__wide-img--left {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .gc__gallery-col {
    flex-direction: column;
    height: auto;
  }

  .gc__gallery-img--top {
    height: clamp(160px, 40vw, 280px);
  }

  .gc__gallery-img--bottom {
    height: clamp(160px, 40vw, 280px);
    flex: none;
  }

  .gc__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .gc__cta-secondary {
    align-self: auto;
    width: 100%;
  }
}
