/* Landing do Gerador de Slides — template-parts/generator-landing.php */

.rpg {
	--rpg-ink: #0e1116;
	--rpg-blue: #0078d4;
	--rpg-blue-dark: #0061ab;
	--rpg-gold: #fdbe4a;
	--rpg-muted: #56606e;
	--rpg-line: #e3e6eb;
	--rpg-soft: #f4f6f9;
	color: #353b46;
}
.rpg h1, .rpg h2, .rpg h3 { font-family: "Sora", system-ui, sans-serif; letter-spacing: -.02em; color: var(--rpg-ink); }

/* ── Botões ─────────────────────────────────────────── */
.rpg-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 24px; border-radius: 10px;
	background: var(--rpg-blue); color: #fff; font-weight: 700; text-decoration: none;
	transition: background .15s, transform .15s;
}
.rpg-btn:hover { background: var(--rpg-blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.rpg-btn--gold { background: var(--rpg-gold); color: var(--rpg-ink); }
.rpg-btn--gold:hover { background: #fcb02a; color: var(--rpg-ink); }

/* ── Hero ───────────────────────────────────────────── */
.rpg-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 80% 30%, rgba(0, 120, 212, .14), transparent 50%),
		radial-gradient(circle at 10% 90%, rgba(253, 190, 74, .14), transparent 40%),
		linear-gradient(135deg, #f7faff 0%, #eaf2fb 100%);
	color: var(--rpg-ink); padding: 88px 0 104px;
}
.rpg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.rpg-badge {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
	padding: 6px 14px; border-radius: 999px;
	background: #fff; border: 1px solid var(--rpg-line);
	color: var(--rpg-blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.rpg .rpg-hero__title { color: var(--rpg-ink); font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 700; line-height: 1.05; margin-bottom: 20px; text-wrap: balance; }
.rpg-hero__title em { font-style: normal; color: var(--rpg-blue); white-space: nowrap; }
.rpg-hero__sub { color: var(--rpg-muted); font-size: 1.125rem; line-height: 1.6; max-width: 630px; margin-bottom: 32px; }

.rpg-prompt {
	display: flex; gap: 8px; max-width: 580px; padding: 8px;
	background: #fff; border: 1px solid var(--rpg-line); border-radius: 14px; box-shadow: 0 20px 50px rgba(14, 17, 22, .08);
}
.rpg-prompt input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 1rem; color: var(--rpg-ink); background: transparent; }
.rpg-prompt input:focus { outline: none; }
.rpg-prompt:focus-within { box-shadow: 0 0 0 3px rgba(0, 120, 212, .5), 0 20px 50px rgba(14, 17, 22, .08); }
.rpg-prompt button {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	border: 0; border-radius: 10px; padding: 12px 22px;
	background: var(--rpg-blue); color: #fff; font-weight: 700; cursor: pointer; transition: background .15s;
}
.rpg-prompt button:hover { background: var(--rpg-blue-dark); }

.rpg-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 28px; max-width: 580px; }
.rpg-examples span { color: var(--rpg-muted); font-size: .8125rem; }
.rpg-examples button {
	border: 1px solid #c9d6e4; border-radius: 999px; padding: 5px 12px;
	background: #fff; color: #353b46; font-size: .8125rem; cursor: pointer; transition: background .15s, border-color .15s;
}
.rpg-examples button:hover { background: #e8f2fb; border-color: var(--rpg-blue); }

.rpg-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; color: #353b46; font-size: .875rem; margin-top: 24px;}
.rpg-trust li { display: flex; align-items: center; gap: 8px; }
.rpg-trust .bi { color: #1f9d63; }

/* Pilha de slides do hero */
.rpg-hero__deck { position: relative; aspect-ratio: 16 / 12; }
.rpg-deck__card { position: absolute; width: 82%; border-radius: 14px; box-shadow: 0 24px 48px rgba(14, 17, 22, .16); transition: transform .4s ease; }
.rpg-deck__card--1 { left: 0; bottom: 0; z-index: 3; transform: rotate(-2deg); }
.rpg-deck__card--2 { left: 9%; top: 18%; z-index: 2; transform: rotate(2deg); }
.rpg-deck__card--3 { right: 0; top: 0; z-index: 1; transform: rotate(5deg); }
.rpg-hero__deck:hover .rpg-deck__card--1 { transform: rotate(-3deg) translate(-8px, 6px); }
.rpg-hero__deck:hover .rpg-deck__card--3 { transform: rotate(7deg) translate(8px, -6px); }

/* ── Slide (HTML) ───────────────────────────────────── */
.rp-slide {
	--s-bg: #fff; --s-ink: #0f1f4b; --s-text: #4b5563; --s-accent: #1e3a8a; --s-soft: #e8eefb;
	container-type: inline-size;
	position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	display: flex; flex-direction: column;
	padding: 6cqw 7cqw; border-radius: 12px;
	background: var(--s-bg); color: var(--s-text);
	font-family: "Manrope", system-ui, sans-serif;
}
.rp-slide--modern   { --s-bg: #0f172a; --s-ink: #f8fafc; --s-text: #cbd5e1; --s-accent: #4ade80; --s-soft: rgba(74, 222, 128, .12); }
.rp-slide--creative { --s-bg: #fff7ed; --s-ink: #7c2d12; --s-text: #9a5b3a; --s-accent: #ea580c; --s-soft: #ffedd5; }
.rp-slide__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3cqw; }
.rp-slide__kicker {
	padding: .6cqw 1.8cqw; border-radius: 99px; background: var(--s-soft); color: var(--s-accent);
	font-size: 2.1cqw; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.rp-slide__num { font-size: 2cqw; font-weight: 700; color: var(--s-text); opacity: .6; letter-spacing: .06em; }
.rp-slide__title { font-family: "Sora", system-ui, sans-serif; font-size: 5.6cqw; font-weight: 700; line-height: 1.12; color: var(--s-ink); letter-spacing: -.02em; margin-bottom: 3.5cqw; }
.rp-slide__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2cqw; }
.rp-slide__list li { position: relative; padding-left: 4cqw; font-size: 2.9cqw; line-height: 1.35; }
.rp-slide__list li::before { content: ""; position: absolute; left: 0; top: .9cqw; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--s-accent); }
.rp-slide__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: auto; margin-bottom: auto; }
.rp-slide__stats div { padding: 2.6cqw; border-radius: 1.6cqw; background: var(--s-soft); }
.rp-slide__stats strong { display: block; font-family: "Sora", sans-serif; font-size: 6.4cqw; font-weight: 700; line-height: 1; color: var(--s-accent); margin-bottom: 1.2cqw; }
.rp-slide__stats span { font-size: 2.3cqw; }
.rp-slide__foot { margin-top: auto; height: .8cqw; width: 14cqw; border-radius: 99px; background: var(--s-accent); }
.rp-slide--corp::after { content: ""; position: absolute; top: 0; right: 0; width: 26cqw; height: 100%; background: linear-gradient(135deg, transparent 50%, var(--s-soft) 50%); pointer-events: none; }
.rp-slide--creative::after { content: ""; position: absolute; right: -8cqw; bottom: -8cqw; width: 30cqw; height: 30cqw; border-radius: 50%; background: var(--s-soft); }

/* ── Faixa de números ───────────────────────────────── */
.rpg-strip { background: #fff; border-bottom: 1px solid var(--rpg-line); padding: 32px 0; }
.rpg-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.rpg-strip strong { display: block; font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; color: var(--rpg-ink); line-height: 1.1; }
.rpg-strip span { color: var(--rpg-muted); font-size: .875rem; }

/* ── Seções ─────────────────────────────────────────── */
.rpg-section { padding: 96px 0; }
.rpg-section--dark { background: linear-gradient(180deg, #0e1116 0%, #161a21 100%); }
.rpg-section--dark .rpg-title { color: #fff; }
.rpg-section--dark .rpg-lead { color: rgba(255, 255, 255, .65); }
.rpg-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.rpg-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rpg-blue); margin-bottom: 12px; }
.rpg-eyebrow--light { color: var(--rpg-gold); }
.rpg-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; text-wrap: balance; }
.rpg-lead { color: var(--rpg-muted); font-size: 1.0625rem; line-height: 1.6; margin: 0; }

/* Passos */
.rpg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.rpg-steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; border-top: 2px dashed var(--rpg-line); }
.rpg-steps li { position: relative; text-align: center; padding: 0 12px; }
.rpg-steps__num {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px;
	background: var(--rpg-blue); color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.375rem;
	box-shadow: 0 0 0 8px #fff, 0 10px 24px rgba(0, 120, 212, .3);
}
.rpg-steps h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 8px; }
.rpg-steps p { color: var(--rpg-muted); line-height: 1.6; margin: 0 auto; max-width: 300px; }

/* Designs */
.rpg-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rpg-designs__item { margin: 0; }
.rpg-designs__item .rp-slide { box-shadow: 0 24px 48px rgba(0, 0, 0, .4); transition: transform .25s; }
.rpg-designs__item:hover .rp-slide { transform: translateY(-6px); }
.rpg-designs figcaption { margin-top: 20px; }
.rpg-designs figcaption strong { display: block; font-family: "Sora", sans-serif; font-size: 1.125rem; color: #fff; margin-bottom: 4px; }
.rpg-designs figcaption span { color: rgba(255, 255, 255, .6); font-size: .9375rem; }

/* Recursos */
.rpg-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.rpg-split > div:first-child { position: sticky; top: 120px; }
.rpg-split .rpg-title { text-align: left; }
.rpg-split .rpg-lead { margin-bottom: 28px; }
.rpg-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rpg-features li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--rpg-line); border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s; }
.rpg-features li:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14, 17, 22, .08); }
.rpg-features__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e6f3fb; color: var(--rpg-blue); font-size: 1.25rem; }
.rpg-features h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.rpg-features p { color: var(--rpg-muted); font-size: .9375rem; line-height: 1.55; margin: 0; }

/* Texto da página (SEO) */
.rpg-text { background: var(--rpg-soft); padding: 80px 0; }
.rpg-text__inner { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.8; }
.rpg-text__inner h2, .rpg-text__inner h3 { margin: 1.6em 0 .6em; }
.rpg-text__inner > :first-child { margin-top: 0; }
.rpg-text__inner > :last-child { margin-bottom: 0; }
.rpg-text__inner a { color: var(--rpg-blue); }

/* CTA */
.rpg-cta { position: relative; overflow: hidden; text-align: center; padding: 96px 0; background: linear-gradient(135deg, #0078d4 0%, #0059a0 100%); }
.rpg-cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at center, rgba(253, 190, 74, .25), transparent 60%); }
.rpg-cta .container { position: relative; }
.rpg-cta h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; max-width: 760px; margin: 0 auto 14px; text-wrap: balance; }
.rpg-cta p { color: rgba(255, 255, 255, .8); font-size: 1.0625rem; margin-bottom: 32px; }

/* ── Responsivo ─────────────────────────────────────── */
@media (max-width: 1199px) {
	.rpg-split { grid-template-columns: 1fr; gap: 40px; }
	.rpg-split > div:first-child { position: static; }
}
@media (max-width: 991px) {
	.rpg-hero__grid { grid-template-columns: 1fr; gap: 56px; }
	.rpg-hero__deck { max-width: 560px; width: 100%; margin: 0 auto; }
	.rpg-designs { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
	.rpg-steps { grid-template-columns: 1fr; gap: 40px; }
	.rpg-steps::before { display: none; }
}
@media (max-width: 767px) {
	.rpg-hero { padding: 56px 0 72px; }
	.rpg-section, .rpg-cta { padding: 64px 0; }
	.rpg-text { padding: 56px 0; }
	.rpg-head { margin-bottom: 40px; }
	.rpg-strip__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.rpg-features { grid-template-columns: 1fr; }
	.rpg-prompt { flex-direction: column; }
	.rpg-prompt button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.rpg *, .rpg *::before { transition: none !important; }
}
