.cgd-container--fold { max-width: 1360px; }

/* ── Primeira dobra (Figma) ── */
.cgd-fold {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #ffffff;
}

.cgd-fold__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cgd-fold__bg picture {
  position: absolute;
  inset: 0;
  display: block;
}

.cgd-fold__bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.cgd-fold__bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 14, 12, 0.55) 0%, rgba(3, 14, 12, 0.18) 38%, transparent 62%),
    linear-gradient(180deg, rgba(3, 14, 12, 0.35) 0%, transparent 28%, rgba(3, 14, 12, 0.2) 100%);
}

.cgd-fold__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  height: var(--cgd-header-h);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.cgd-fold__header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.cgd-fold__logo img {
  display: block;
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.35s;
}

.cgd-fold__header--scrolled .cgd-fold__logo img {
  filter: none;
}

.cgd-fold__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.cgd-fold__nav-link {
  font-family: var(--cgd-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.cgd-fold__nav-link span {
  display: block;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.cgd-fold__nav-link:hover { color: #ffffff; }

.cgd-fold__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cgd-fold__phone {
  font-family: var(--cgd-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.cgd-fold__cta-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-family: var(--cgd-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  transition: background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.cgd-fold__cta-top:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}

.cgd-fold__menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--cgd-font-display);
  font-weight: 600;
  font-size: 0.875rem;
}

.cgd-fold__header--scrolled {
  background: rgba(246, 248, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 63, 54, 0.08);
  box-shadow: var(--cgd-shadow);
}

.cgd-fold__header--scrolled .cgd-fold__nav-link { color: var(--cgd-gray-text); }
.cgd-fold__header--scrolled .cgd-fold__nav-link span { border-top-color: rgba(11, 63, 54, 0.12); }
.cgd-fold__header--scrolled .cgd-fold__nav-link:hover { color: var(--cgd-green-dark); }
.cgd-fold__header--scrolled .cgd-fold__phone { color: var(--cgd-green-dark); }
.cgd-fold__header--scrolled .cgd-fold__cta-top {
  color: var(--cgd-green-dark);
  border-color: rgba(11, 63, 54, 0.25);
}
.cgd-fold__header--scrolled .cgd-fold__menu-toggle {
  color: var(--cgd-green-dark);
  border-color: rgba(11, 63, 54, 0.2);
}

.cgd-fold__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--cgd-header-h) + 32px);
  padding-bottom: clamp(220px, 28vh, 320px);
}

.cgd-fold__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: end;
  padding-bottom: clamp(28px, 5vh, 48px);
}

.cgd-fold__foot > .cgd-fold-card {
  position: relative;
  z-index: 1;
  grid-row: 1;
}

.cgd-fold__foot > .cgd-fold-card:nth-child(1) { grid-column: 1 / span 3; }
.cgd-fold__foot > .cgd-fold-card:nth-child(2) { grid-column: 4 / span 3; }
.cgd-fold__foot > .cgd-fold-card:nth-child(3) { grid-column: 7 / span 3; }

.cgd-fold__main {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 52vh, 560px);
  max-width: min(100%, 760px);
}

.cgd-fold__title {
  font-family: var(--cgd-font-display);
  font-size: clamp(3rem, 7vw, 120px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: none;
}

.cgd-fold__line { display: block; }

.cgd-fold__title-accent {
  color: var(--cgd-green-bright);
  text-shadow: 0 0 40px rgba(46, 207, 154, 0.22);
}

.cgd-fold__title-light {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
}

.cgd-fold__lead {
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  color: rgba(246, 248, 247, 0.88);
  max-width: 22em;
}

.cgd-fold-card {
  position: relative;
  min-height: 168px;
  padding: 24px 24px 56px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  border: 1px solid rgba(11, 63, 54, 0.06);
  box-shadow: 0 18px 48px rgba(3, 20, 17, 0.28);
  overflow: hidden;
  transition: transform 0.35s var(--cgd-ease-out), box-shadow 0.35s;
}

.cgd-fold-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 63, 54, 0.05) 100%);
  pointer-events: none;
}

.cgd-fold-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(3, 20, 17, 0.34);
}

.cgd-fold-card__title {
  font-family: var(--cgd-font-display);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cgd-green-dark);
  max-width: 11em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cgd-fold-card__num {
  font-family: var(--cgd-font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cgd-gray-muted);
  position: relative;
  z-index: 1;
}

.cgd-fold-card__action {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3d4845;
  color: #ffffff;
  z-index: 1;
}

.cgd-fold-card__action--accent {
  background: var(--cgd-green-accent);
  box-shadow: 0 8px 20px rgba(0, 168, 120, 0.35);
}

.cgd-fold__brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: end;
  pointer-events: none;
}

.cgd-fold__brand-mark {
  grid-column: 8 / -1;
  position: relative;
  margin-right: -12%;
}

.cgd-fold__brand-text {
  margin: 0;
  font-family: var(--cgd-font-display);
  font-size: clamp(15rem, 32vw, 26rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.045em;
  color: var(--cgd-green-bright);
  text-shadow: 0 0 80px rgba(46, 207, 154, 0.2);
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .cgd-fold__header-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .cgd-fold__nav { display: none; }
  .cgd-fold__phone { display: none; }
  .cgd-fold__menu-toggle { display: inline-flex; }
  .cgd-fold__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--cgd-header-h);
    left: 0;
    right: 0;
    padding: 24px;
    background: rgba(3, 20, 17, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--cgd-shadow-lg);
    gap: 16px;
  }
  .cgd-fold__header--scrolled .cgd-fold__nav.is-open {
    background: var(--cgd-white);
  }
}

@media (max-width: 1024px) {
  .cgd-fold__bg-photo { object-position: 70% center; }
  .cgd-fold__bg-scrim {
    background:
      linear-gradient(90deg, rgba(3, 14, 12, 0.72) 0%, rgba(3, 14, 12, 0.35) 55%, transparent 85%),
      linear-gradient(180deg, rgba(3, 14, 12, 0.45) 0%, transparent 30%, rgba(3, 14, 12, 0.35) 100%);
  }
  .cgd-fold__main { max-width: 100%; }
  .cgd-fold__brand-mark { margin-right: -10%; }
  .cgd-fold__brand-text {
    font-size: clamp(10rem, 24vw, 18rem);
  }
}

@media (max-width: 768px) {
  .cgd-fold__bg-photo { object-position: 78% 42%; }
  .cgd-fold__bg-scrim {
    background:
      linear-gradient(180deg, rgba(3, 14, 12, 0.82) 0%, rgba(3, 14, 12, 0.45) 42%, rgba(3, 14, 12, 0.25) 100%);
  }
  .cgd-fold__body { padding-bottom: clamp(48px, 10vh, 80px); }
  .cgd-fold__title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .cgd-fold__foot { display: none; }
  .cgd-fold__brand-mark {
    grid-column: 1 / -1;
    margin-right: -18%;
    opacity: 0.7;
  }
  .cgd-fold__cta-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cgd-fold-card:hover { transform: none; }
}
