/* Planos (2026-09-29, v2): 4 cards + faixa do Enterprise, limites em destaque, tabela de comparação. */
.gm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gm-plans-section { padding: 104px 0 24px; background: linear-gradient(180deg, var(--gm-bg) 0%, #fff 38%, var(--gm-bg) 100%); }
.gm-plans-head { margin: 0 auto; text-align: center; }
.gm-plans-head .gm-section-text { margin-left: auto; margin-right: auto; }

.gm-plans {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
	align-items: stretch; margin-top: 48px;
}
@media (max-width: 1100px) { .gm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gm-plans { grid-template-columns: 1fr; } }

.gm-plan {
	position: relative; background: #fff; border: 1px solid var(--gm-border); border-radius: 18px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 28px rgba(15, 23, 42, .05);
	display: flex; flex-direction: column; overflow: visible;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gm-plan:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(15, 23, 42, .1); }
.gm-plan--featured { border: 2px solid var(--gm-blue); box-shadow: 0 20px 56px rgba(37, 99, 235, .18); }
.gm-plan__badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gm-gradient); color: #fff;
	font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
	box-shadow: 0 6px 16px rgba(37, 99, 235, .3);
}
.gm-plan__head { padding: 28px 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.gm-plan__name { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.gm-plan__for { font-size: 14.5px; line-height: 1.45; color: var(--gm-text-secondary); margin: 0; min-height: 42px; }
.gm-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 18px; }
.gm-plan__price strong { font-size: 42px; line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.gm-plan__price span { font-size: 15px; color: var(--gm-text-secondary); }
.gm-plan__cta { width: 100%; justify-content: center; min-height: 46px; font-size: 15px; }
.gm-plan__trial { text-align: center; font-size: 13px; font-weight: 500; color: var(--gm-text-secondary); margin-top: 6px; }
.gm-plan__trial:hover { color: var(--gm-blue); }

.gm-plan__limits {
	display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--gm-border); border-bottom: 1px solid var(--gm-border);
	background: #F8FAFC;
}
.gm-plan__limits > div { padding: 14px 18px; }
.gm-plan__limits > div:nth-child(odd) { border-right: 1px solid var(--gm-border); }
.gm-plan__limits > div:nth-child(-n+2) { border-bottom: 1px solid var(--gm-border); }
.gm-plan__limits dt { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--gm-text); }
.gm-plan__limits dd { margin: 2px 0 0; font-size: 12.5px; color: var(--gm-text-secondary); }
.gm-plan--featured .gm-plan__limits { background: #EFF6FF; }

.gm-plan__body { padding: 20px 26px 28px; }
.gm-plan__base { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--gm-text); }
.gm-plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; line-height: 1.45; }
.gm-plan__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.gm-plan__list li svg { margin-top: 3px; }
.gm-plan-ok { color: var(--gm-success); flex-shrink: 0; }
.gm-plan-no { color: #94A3B8; }

/* Enterprise em faixa larga */
.gm-plan-ent {
	margin-top: 20px; display: grid; grid-template-columns: 1.15fr 1.1fr .75fr; gap: 36px; align-items: center;
	padding: 34px 36px; border-radius: 20px; color: #E2E8F0;
	background: radial-gradient(900px 300px at 0% 0%, rgba(37, 99, 235, .35), transparent 60%), radial-gradient(700px 300px at 100% 100%, rgba(124, 58, 237, .35), transparent 60%), #0B1224;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
}
.gm-plan-ent__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93C5FD; }
.gm-plan-ent__title { margin: 8px 0 12px; font-size: 24px; line-height: 1.25; color: #fff; font-weight: 700; letter-spacing: -.015em; }
.gm-plan-ent__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.gm-plan-ent__price strong { font-size: 38px; color: #fff; letter-spacing: -.03em; font-weight: 800; }
.gm-plan-ent__price span { font-size: 14px; color: #94A3B8; }
.gm-plan-ent .gm-plan__limits { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.gm-plan-ent .gm-plan__limits > div { border-color: rgba(255, 255, 255, .1) !important; }
.gm-plan-ent .gm-plan__limits dt { color: #fff; }
.gm-plan-ent .gm-plan__limits dd { color: #94A3B8; }
.gm-plan-ent .gm-plan__base { color: #fff; }
.gm-plan-ent .gm-plan__list { color: #CBD5E1; }
.gm-plan-ent .gm-plan-ok { color: #4ADE80; }
.gm-plan-ent__cta { display: grid; gap: 12px; }
.gm-plan-ent__cta .gm-btn { width: 100%; justify-content: center; min-height: 48px; }
.gm-plan-ent__cta p { margin: 0; font-size: 13px; color: #94A3B8; text-align: center; }
@media (max-width: 1100px) { .gm-plan-ent { grid-template-columns: 1fr 1fr; } .gm-plan-ent__cta { grid-column: 1 / -1; } }
@media (max-width: 720px) { .gm-plan-ent { grid-template-columns: 1fr; padding: 28px 22px; } }

.gm-plans__more { margin-top: 28px; text-align: center; }

/* Tabela lado a lado */
.gm-compare { overflow-x: auto; margin-top: 32px; border: 1px solid var(--gm-border); border-radius: 16px; background: #fff; box-shadow: var(--gm-shadow-card); }
.gm-compare:focus-visible { outline: 2px solid var(--gm-blue); outline-offset: 2px; }
.gm-compare__table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.gm-compare__table th, .gm-compare__table td { padding: 14px 16px; border-bottom: 1px solid #EEF2F6; text-align: center; }
.gm-compare__table tbody th[scope="row"] { text-align: left; font-weight: 500; color: #334155; width: 34%; }
.gm-compare__table thead th { position: sticky; top: 0; background: #fff; vertical-align: bottom; padding-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--gm-border); }
.gm-compare__table thead th:first-child, .gm-compare__table tbody th[scope="row"] { position: sticky; left: 0; background: #fff; z-index: 1; }
.gm-compare__name { display: block; font-size: 17px; font-weight: 700; }
.gm-compare__price { display: block; font-size: 13px; color: var(--gm-text-secondary); font-weight: 500; margin-top: 2px; }
.gm-compare__table .is-featured { background: #F5F9FF; }
.gm-compare__table thead .is-featured { box-shadow: inset 0 3px 0 var(--gm-blue); }
.gm-compare__group th { text-align: left !important; background: #F8FAFC !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gm-text-secondary); }
.gm-compare__cta td { border-bottom: 0; padding: 20px 12px; }
.gm-compare__cta .gm-btn { white-space: nowrap; }
.gm-plans-notes { margin-top: 20px; font-size: 13.5px; color: var(--gm-text-secondary); display: grid; gap: 6px; }

/* Só a API do WhatsApp + nota do Protheus */
.gm-api { margin-top: 88px; }
.gm-api__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 900px) { .gm-api__intro { grid-template-columns: 1fr; gap: 20px; } }
.gm-api__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--gm-text-secondary); font-size: 14.5px; line-height: 1.55; }
.gm-api__notes li { padding-left: 26px; position: relative; }
.gm-api__notes li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.gm-api__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
@media (max-width: 1100px) { .gm-api__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .gm-api__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .gm-api__grid { grid-template-columns: 1fr; } }
.gm-api__card {
	background: #fff; border: 1px solid var(--gm-border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.gm-api__card:hover { border-color: #25D366; box-shadow: 0 12px 32px rgba(37, 211, 102, .12); }
.gm-api__name { font-size: 17px; font-weight: 700; margin: 0; }
.gm-api__num { font-size: 13.5px; color: var(--gm-text-secondary); margin: 0; }
.gm-api__price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 12px; }
.gm-api__price strong { font-size: 30px; letter-spacing: -.03em; font-weight: 800; line-height: 1; }
.gm-api__price span { font-size: 14px; color: var(--gm-text-secondary); }
.gm-api__card .gm-btn { justify-content: center; margin-top: auto; }
.gm-api__protheus {
	margin-top: 24px; padding: 22px 26px; border-radius: 16px; background: #EFF6FF; border: 1px solid #BFDBFE;
	display: flex; gap: 24px; align-items: center; justify-content: space-between; font-size: 14.5px; line-height: 1.6; color: #1E3A8A;
}
.gm-api__protheus p { margin: 4px 0 0; }
.gm-api__protheus .gm-btn { flex: none; }
@media (max-width: 760px) { .gm-api__protheus { flex-direction: column; align-items: flex-start; } }
