/* ==========================================================================
   Genthe — Planos por pilar (Essencial / Estratégico / Premium)
   Componente compartilhado pelas páginas de serviço e pela página de soluções.
   Prefixo gplan- para não colidir com as classes do Webflow.
   ========================================================================== */

.gplan-section {
  --gplan-primary: #39679f;
  --gplan-primary-deep: #2c5282;
  --gplan-accent: #8fbf58;
  --gplan-dark: #1a1f2e;
  --gplan-text: #374151;
  --gplan-muted: #6b7280;
  --gplan-line: #e5e7eb;
  --gplan-soft: #f8f9fa;
  padding: 96px 24px;
  background: #fff;
  scroll-margin-top: 110px;
}
.gplan-section.is-soft { background: var(--gplan-soft); }
.gplan-section.is-dark { background: var(--gplan-dark); }

.gplan-container { max-width: 1200px; margin: 0 auto; }

/* ---------- Cabeçalho do pilar ---------- */
.gplan-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.gplan-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gplan-primary); margin-bottom: 16px;
}
.gplan-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gplan-accent);
}
.gplan-title {
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 600;
  letter-spacing: -.02em; color: var(--gplan-dark); margin: 0 0 18px;
}
.gplan-title::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 20px auto 0;
  background: linear-gradient(90deg, var(--gplan-primary), var(--gplan-accent));
}
.gplan-lead { font-size: 17px; line-height: 1.65; color: var(--gplan-muted); margin: 0; }
.gplan-section.is-dark .gplan-eyebrow { color: #9cc0ea; }
.gplan-section.is-dark .gplan-title { color: #fff; }
.gplan-section.is-dark .gplan-lead { color: rgba(255,255,255,.64); }

/* ---------- Grade de planos ---------- */
.gplan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

.gplan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gplan-line); border-radius: 16px;
  padding: 32px 28px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gplan-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(26,31,46,.28); }
.gplan-card.is-featured {
  border: 2px solid var(--gplan-primary);
  box-shadow: 0 24px 56px -32px rgba(57,103,159,.55);
}

.gplan-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 24px; margin-bottom: 18px;
}
.gplan-kind {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gplan-muted);
}
.gplan-badge {
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: var(--gplan-primary); padding: 5px 11px; border-radius: 100px;
}

.gplan-name { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--gplan-dark); margin: 0 0 10px; }
.gplan-promise { font-size: 15px; line-height: 1.55; color: var(--gplan-muted); margin: 0 0 22px; }

.gplan-list { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.gplan-list li {
  position: relative; padding: 10px 0 10px 28px;
  font-size: 15px; line-height: 1.45; color: var(--gplan-text);
  border-top: 1px solid var(--gplan-line);
  /* neutraliza o li global do Webflow (texto em gradiente via background-clip) */
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}
.gplan-list li:first-child { border-top: 0; }
.gplan-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(143,191,88,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f9434' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.gplan-meta {
  font-size: 14px; font-weight: 600; color: var(--gplan-primary);
  padding-top: 16px; border-top: 1px solid var(--gplan-line);
}

.gplan-cta {
  display: block; margin-top: 18px; padding: 13px 18px; border-radius: 100px;
  text-align: center; font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--gplan-primary); border: 1.5px solid var(--gplan-primary); background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gplan-cta:hover { background: var(--gplan-primary); color: #fff; }
.gplan-card.is-featured .gplan-cta { background: var(--gplan-primary); color: #fff; }
.gplan-card.is-featured .gplan-cta:hover { background: var(--gplan-primary-deep); border-color: var(--gplan-primary-deep); }
.gplan-cta:focus-visible { outline: 3px solid var(--gplan-accent); outline-offset: 3px; }

@media (max-width: 991px) {
  .gplan-section { padding: 72px 20px; }
  .gplan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 479px) {
  .gplan-section { padding: 56px 16px; }
  .gplan-card { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .gplan-card, .gplan-cta { transition: none; }
  .gplan-card:hover { transform: none; }
}

.gplan-lead-link {
  display: inline-block; margin-top: 6px;
  color: var(--gplan-primary); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--gplan-accent); padding-bottom: 1px;
  transition: color .2s ease;
}
.gplan-lead-link:hover { color: var(--gplan-primary-deep); }
.gplan-section.is-dark .gplan-lead-link { color: #9cc0ea; }
