/* /planilha-gratis/ — a Planilha FériasClaras de presente para quem entra na lista (desenho aprovado em 27/10/2026). Prefixo pg-. */
.pg { --pg-azul: #0a6cd9; --pg-marinho: #0b1b3d; --pg-ambar-alto: #ffcb5c; --pg-laranja: #ff9440; --pg-tinta-cta: #1a1206; }

.pg-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, #0b1b3d 0%, #0a3a8c 62%, #0a6cd9 120%); }
.pg-hero::before { content: ""; position: absolute; right: -140px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 230, 255, 0.28), rgba(143, 230, 255, 0) 68%); pointer-events: none; }
.pg-hero::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 75, 0.16), rgba(255, 194, 75, 0) 70%); pointer-events: none; }
.pg-hero-miolo { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 36px; padding-block: 36px 52px; }
.pg-hero-texto { min-width: 0; }
.pg-migalhas, .pg-migalhas a, .pg-migalhas li, .pg-migalhas li::before, .pg-migalhas li + li::before { color: #dbeafe; }
.pg-sobre { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: #8fe6ff; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pg-sobre::before { content: ""; width: 28px; height: 2px; background: #5ce1ff; box-shadow: 0 0 10px #5ce1ff; }
.pg-hero h1 { margin: 14px 0 0; color: #fff; font-size: clamp(1.7rem, 6vw, 2.7rem); line-height: 1.14; letter-spacing: -0.02em; }
.pg-lead { margin: 16px 0 0; max-width: 34em; color: #dbeafe; font-size: 1.1rem; line-height: 1.55; }

.pg-form { margin: 28px 0 0; max-width: 34rem; }
.pg-form[hidden] { display: none; }
.pg-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.pg-form-linha { display: flex; flex-direction: column; gap: 12px; }
.pg-form input[type="email"] { width: 100%; min-height: 56px; box-sizing: border-box; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 16px; background: rgba(255, 255, 255, 0.97); color: #14161a; font: inherit; font-size: 1.05rem; }
.pg-botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 16px; background: linear-gradient(180deg, var(--pg-ambar-alto), var(--pg-laranja)); color: var(--pg-tinta-cta); font: inherit; font-size: 1.05rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 26px rgba(255, 148, 64, 0.35); }
.pg-botao:hover { background: linear-gradient(180deg, #ffd577, #ffa258); color: var(--pg-tinta-cta); }
.pg-botao:disabled { opacity: 0.7; cursor: wait; }
.pg-form input:focus-visible, .pg-botao:focus-visible { outline: 3px solid #ffc24b; outline-offset: 3px; }
.pg-nota { margin: 14px 0 0; max-width: 34rem; color: #c7d6f5; font-size: 0.95rem; line-height: 1.5; }
.pg-status { margin: 14px 0 0; max-width: 34rem; font-weight: 600; line-height: 1.5; color: #fff; }
.pg-status:empty { display: none; }
.pg-status:focus { outline: none; }

/* a planilha desenhada */
.pg-arte { position: relative; width: min(100%, 340px); height: 250px; margin-inline: auto; }
.pg-folha { position: absolute; border-radius: 16px; box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35); }
.pg-folha--3 { left: 14px; top: 28px; width: 76%; height: 74%; background: #e8ecf5; transform: rotate(-7deg); }
.pg-folha--2 { left: 6px; top: 18px; width: 76%; height: 74%; background: #f4f6fb; transform: rotate(-3deg); }
.pg-folha--1 { left: 26px; top: 16px; width: 82%; height: 84%; background: #fff; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 28px 60px rgba(2, 10, 40, 0.55); }
.pg-barra { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--pg-azul); color: #fff; }
.pg-barra span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.pg-barra b { margin-left: 6px; font-size: 0.7rem; }
.pg-corpo { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.pg-linha { display: flex; gap: 8px; }
.pg-linha i { flex: 1; height: 16px; border-radius: 4px; background: #eef1f6; }
.pg-linha--topo i { height: 20px; border-radius: 5px; background: #dbeafe; }
.pg-abas { display: flex; gap: 6px; margin-top: 6px; }
.pg-abas span { padding: 4px 9px; border-radius: 6px 6px 0 0; background: #e5e9f0; color: #4a5260; font-size: 0.62rem; font-weight: 700; }
.pg-abas .pg-aba--ativa { background: var(--pg-azul); color: #fff; }
.pg-selo { position: absolute; right: 0; top: -4px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 50%; background: linear-gradient(180deg, #ffd577, var(--pg-laranja)); color: var(--pg-tinta-cta); box-shadow: 0 14px 34px rgba(255, 148, 64, 0.55); transform: rotate(8deg); }
.pg-selo svg { width: 24px; height: 24px; }
.pg-selo strong { font-size: 0.85rem; letter-spacing: 0.02em; }

/* seções */
.pg-secao { padding-block: 44px 8px; }
.pg-etiqueta { margin: 0; color: var(--pg-azul); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pg-secao h2 { margin: 10px 0 0; font-size: clamp(1.35rem, 4.5vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.pg-grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.pg-cartao { padding: 22px; border: 1px solid var(--linha, #e8ebf0); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 14px 34px rgba(20, 22, 26, 0.07); }
.pg-icone { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: #e6f0fd; color: var(--pg-azul); }
.pg-cartao h3 { margin: 16px 0 6px; font-size: 1.2rem; }
.pg-cartao p { margin: 0; color: #4a5260; font-size: 1.02rem; line-height: 1.55; }
.pg-nota-escura { margin: 20px 0 0; color: #4a5260; line-height: 1.55; }
.pg-passos { display: grid; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.pg-passos li { display: flex; align-items: flex-start; gap: 16px; }
.pg-numero { flex: 0 0 46px; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 50%; background: var(--pg-azul); color: #fff; font-size: 1.15rem; font-weight: 800; box-shadow: 0 8px 20px rgba(10, 108, 217, 0.35); }
.pg-passos h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.pg-passos p { margin: 0; color: #4a5260; line-height: 1.55; }

.pg-final { padding-block: 40px 56px; }
.pg-final-caixa { display: flex; flex-direction: column; gap: 22px; padding: 24px 20px; border-radius: 24px; color: #fff; background: linear-gradient(160deg, #0b1b3d, #0a3a8c); box-shadow: 0 24px 60px rgba(11, 27, 61, 0.35); }
.pg-final-caixa h2 { margin: 0; color: #fff; font-size: 1.3rem; line-height: 1.2; }
.pg-final-caixa p { margin: 10px 0 0; color: #dbeafe; line-height: 1.55; }
.pg-botao--link { width: 100%; box-sizing: border-box; }
.pg-rodape-nota { margin: 20px 0 0; color: #5b6370; font-size: 0.9rem; line-height: 1.5; }

@media (min-width: 880px) {
  .pg-hero-miolo { flex-direction: row; align-items: center; gap: 56px; padding-block: 48px 72px; }
  .pg-hero-texto { flex: 1 1 0; }
  .pg-form-linha { flex-direction: row; }
  .pg-form input[type="email"] { flex: 1 1 240px; width: auto; min-width: 0; }
  .pg-botao { flex: 0 0 auto; }
  .pg-arte { flex: 0 0 420px; height: 400px; margin: 0; width: 420px; }
  .pg-folha--3 { left: 30px; top: 44px; }
  .pg-folha--1 { left: 40px; top: 32px; width: 88%; height: 82%; }
  .pg-barra { height: 44px; padding-inline: 16px; }
  .pg-barra b { font-size: 0.82rem; }
  .pg-corpo { gap: 10px; padding: 16px; }
  .pg-linha i { height: 20px; }
  .pg-linha--topo i { height: 26px; }
  .pg-abas span { font-size: 0.75rem; padding: 6px 12px; }
  .pg-selo { width: 108px; height: 108px; }
  .pg-selo svg { width: 30px; height: 30px; }
  .pg-selo strong { font-size: 1.05rem; }
  .pg-secao { padding-block: 72px 16px; }
  .pg-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .pg-cartao { padding: 28px; }
  .pg-passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .pg-final { padding-block: 56px 80px; }
  .pg-final-caixa { flex-direction: row; align-items: center; gap: 32px; padding: 36px 40px; }
  .pg-final-caixa > div { flex: 1 1 0; }
  .pg-botao--link { width: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .pg-botao { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .pg-botao:hover { transform: translateY(-1px); }
}
.pg .pg-migalhas li[aria-current="page"] { color: #dbeafe; }
