/* ══════════════════════════════════════════
   PILLARS — Relaxamento / Beleza / Clean Beauty
   3-column full-height interactive grid
══════════════════════════════════════════ */

#pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100vh;
  min-height: 600px;
  padding: 0;
}

.pillar-block {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-block:hover .pillar-bg {
  transform: scale(1.06);
}

/* ── Overlay gradient (verde-escuro based) ── */
.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 83, 76, 0.88) 0%,
    rgba(0, 83, 76, 0.45) 40%,
    rgba(0, 83, 76, 0.15) 100%
  );
  transition: background 0.5s ease;
}

.pillar-block:hover .pillar-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 83, 76, 0.78) 0%,
    rgba(0, 83, 76, 0.35) 50%,
    rgba(0, 83, 76, 0.05) 100%
  );
}

/* ── Divider lines between pillars ── */
.pillar-block:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 1px;
  background: rgba(247, 243, 238, 0.12);
  z-index: 2;
}

/* ── Content block (bottom-aligned) ── */
.pillar-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 40px;
  z-index: 3;
  transform: translateY(8px);
  transition: transform 0.5s ease;
}

.pillar-block:hover .pillar-content {
  transform: translateY(0);
}

/* ── Eyebrow number ── */
.pillar-eyebrow {
  font-family: 'Prompt', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(247, 243, 238, 0.45);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

/* ── Pillar title ── */
.pillar-title {
  font-family: 'Prompt', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--cream);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ── Subtitle (italic tagline) ── */
.pillar-sub {
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 16px;
}

/* ── Description text (revealed on hover) ── */
.pillar-text {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 238, 0.65);
  margin-bottom: 28px;
  max-width: 260px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.1s ease, transform 0.4s 0.1s ease;
}

.pillar-block:hover .pillar-text {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA button (revealed on hover) ── */
.pillar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247, 243, 238, 0.55);
  border-bottom: 1px solid rgba(247, 243, 238, 0.2);
  padding-bottom: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s 0.2s ease,
    transform 0.4s 0.2s ease,
    color 0.3s,
    border-color 0.3s;
}

.pillar-block:hover .pillar-btn {
  opacity: 1;
  transform: translateY(0);
  color: var(--gold-light);
  border-color: var(--gold-light);
}
