/* ============================================================
   Plano 3S — Landing (redesign 2026-08)
   Portado de "Plano 3S - Landing.dc.html" (Claude Design).

   Escopo: TUDO aqui está sob `.p3` — a página carrega também o
   assets/style.css, que é compartilhado por outras 15 páginas do
   micro-site e pinta body em preto. Este arquivo vem depois e
   reverte só o que precisa, sem tocar no compartilhado.

   Tokens (--ffc-*, --space-*, --radius-*) vêm do :root de style.css.
   Componentes .ffc-btn / .ffc-num vêm de ds-components.css.

   Contraste: o mockup usava #b0b0b0 sobre branco (2.17:1) e
   #0529f6 sobre preto (2.65:1) — ambos reprovam no AA. Trocados
   por --text-muted-onlight (5.10:1) e --accent-ondark (6.37:1),
   tokens que já existiam. Branco 70% sobre azul (4.44:1) foi para
   80% (5.44:1). Ver CHECKLIST §4.
   ============================================================ */

/* --- reset local: style.css pinta body de preto --- */
body.p3-page {
  background: var(--ffc-white);
  color: var(--ffc-gray-900);
}
.p3 * { box-sizing: border-box; }
.p3 img { display: block; max-width: 100%; height: auto; }

.p3 {
  background: var(--ffc-white);
  padding-bottom: var(--space-9);
  overflow-x: hidden;
}

/* Âncora do CTA: header fixo não existe, mas o scroll suave
   precisa de folga pra não colar o título no topo. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p3 * { animation: none !important; transition: none !important; }
}
.p3 [id] { scroll-margin-top: var(--space-6); }

/* --- wrapper de largura --- */
.p3-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

/* --- foco visível (CHECKLIST §4) --- */
.p3 a:focus-visible,
.p3 button:focus-visible,
.p3 summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
.p3-sec--blue a:focus-visible,
.p3-sec--black a:focus-visible,
.p3-sec--black summary:focus-visible {
  outline-color: #fff;
}

/* ============================================================
   Header / footer
   ============================================================ */
.p3-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: 26px;
  padding-bottom: 26px;
}
/* especificidade precisa bater `.p3 img{height:auto}` acima (0,1,1) —
   por isso o `.p3` na frente, e não só a classe. */
.p3 .p3-header__logo { height: 26px; width: auto; object-fit: contain; }
.p3-header__tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--ffc-blue);
}

.p3-footer {
  margin-top: 56px;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-on-light);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}
.p3 .p3-footer__logo { height: 20px; width: auto; object-fit: contain; }
.p3-footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--text-muted-onlight);
}

/* ============================================================
   Tipografia de seção
   ============================================================ */
.p3-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
  color: var(--ffc-black);
  margin: 22px 0 0;
  max-width: 20ch;
  text-wrap: pretty;
}
.p3-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--ffc-black);
  margin: 0 0 var(--space-6);
  text-wrap: pretty;
}
.p3-sec--blue .p3-h2,
.p3-sec--black .p3-h2 { color: #fff; }

.p3-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 26px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.p3-lead strong { color: var(--ffc-gray-900); font-weight: 600; }

/* microcopy — era #b0b0b0 (2.17:1, reprova AA) */
.p3-micro {
  font-size: .9375rem;
  color: var(--text-muted-onlight);
}
.p3-fineprint {
  font-size: .75rem;
  line-height: 1.4;
  color: var(--text-muted-onlight);
  margin: var(--space-3) 0 0;
}

.p3-eyebrow {
  display: inline-block;
  background: rgba(5, 41, 246, .07);
  color: var(--ffc-blue);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  line-height: 1.5;
  max-width: 640px;
}

/* ============================================================
   Seções com fundo
   ============================================================ */
.p3-sec { padding-top: 104px; }
.p3-sec--blue {
  position: relative;
  z-index: 1;
  background: var(--ffc-blue);
  padding: 64px 0 72px;
  margin-top: 0;
}
.p3-sec--black {
  background: var(--ffc-black);
  margin-top: 104px;
  padding: 80px 0;
}
.p3-sec--black .p3-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.p3-sec--black .p3-body strong { color: #fff; font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.p3-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-end;
  padding-top: 56px;
}
.p3-hero__copy { flex: 1 1 380px; min-width: 0; padding-bottom: 56px; }
.p3-hero__art {
  flex: 1.7 1 470px;
  min-width: 0;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.p3-hero__art img { width: 100%; margin-bottom: -40px; }
/* o mockup sangra pra direita só quando há espaço lateral */
@media (min-width: 1100px) {
  .p3-hero__art { margin-right: -120px; }
}

.p3-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: var(--space-6);
}

/* ============================================================
   Comparativo Hoje × Depois (fundo azul)
   ============================================================ */
.p3-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.p3-compare__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  padding-bottom: 14px;
}
/* era rgba(255,255,255,.6) = 3.56:1 */
.p3-compare__label--before { color: rgba(255, 255, 255, .8); }
.p3-compare__label--after { color: #fff; }

.p3-compare__list { display: flex; flex-direction: column; }
.p3-compare__item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  font-size: .9375rem;
  line-height: 1.45;
}
.p3-compare__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .24); }
/* era rgba(255,255,255,.7) = 4.44:1, abaixo do AA pra 15px */
.p3-compare__item--before { color: rgba(255, 255, 255, .8); }
.p3-compare__item--after { color: #fff; font-weight: 600; }
.p3-compare__mark { flex: none; }
.p3-compare__item--before .p3-compare__mark { color: rgba(255, 255, 255, .7); }
.p3-compare__item--after .p3-compare__mark { color: #fff; }

/* ============================================================
   Depoimentos (prints de WhatsApp)
   ============================================================ */
.p3-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  align-items: start;
}
.p3-proof figure { margin: 0; }
.p3-proof__frame {
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  padding: 10px;
  background: #fafafa;
}
.p3-proof__frame img { border-radius: 10px; width: 100%; }
.p3-proof figcaption {
  font-size: .875rem;
  color: var(--text-muted-onlight);
  padding-top: var(--space-3);
}

/* ============================================================
   Os 3 S
   ============================================================ */
.p3-3s-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--ffc-blue);
  margin-bottom: 14px;
}
.p3-3s-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--ffc-black);
  margin: 0 0 40px;
}
.p3-3s-list { display: flex; flex-direction: column; }
.p3-3s-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--border-on-light);
}
.p3-3s-item:last-child { border-bottom: 1px solid var(--border-on-light); }
.p3-3s-item__s {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: .85;
  color: var(--ffc-blue);
  letter-spacing: var(--tracking-tight);
}
.p3-3s-item__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ffc-black);
  margin: 0 0 8px;
}
.p3-3s-item__d {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============================================================
   Autoridade (fundo preto) + stats
   ============================================================ */
.p3-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.p3-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.p3-stat__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: #fff;
}
.p3-stat__l {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.p3-authority { padding-top: 40px; max-width: 66ch; }
/* era #0529f6 sobre preto = 2.65:1, reprova AA. O próprio DS
   documenta --accent-ondark exatamente para este caso. */
.p3-authority__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--accent-ondark);
  margin: 0 0 var(--space-3);
}

/* ============================================================
   Oferta — entregáveis numerados
   ============================================================ */
.p3-deliver { margin-top: 48px; display: flex; flex-direction: column; }
.p3-deliver__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--border-on-light);
}
.p3-deliver__item:last-child { border-bottom: 1px solid var(--border-on-light); }
.p3-deliver__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ffc-black);
  margin: 0 0 6px;
}
.p3-deliver__d {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 62ch;
  font-style: italic;
}
.p3-sublist { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.p3-sublist__row {
  display: flex;
  gap: 10px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ffc-gray-900);
}
.p3-sublist__mark { color: var(--ffc-blue); flex: none; }

/* Bônus */
.p3-bonus { margin-top: 44px; }
.p3-bonus__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--ffc-blue);
  margin-bottom: 20px;
}
.p3-bonus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px var(--space-6);
}
.p3-bonus__row {
  display: flex;
  gap: var(--space-3);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ffc-gray-900);
}
.p3-bonus__row svg { flex: none; margin-top: 1px; }

/* ============================================================
   Caixa de preço
   ============================================================ */
.p3-price {
  margin-top: 44px;
  border: 1px solid rgba(5, 41, 246, .25);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.p3-price__intro {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -.02em;
  color: var(--ffc-black);
  margin-bottom: var(--space-5);
}
.p3-price__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}
.p3-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.p3-plan--primary { border: 1px solid var(--ffc-blue); background: var(--ffc-blue); color: #fff; }
.p3-plan--primary:hover { background: #0420c9; border-color: #0420c9; }
.p3-plan--alt { border: 1px solid rgba(5, 41, 246, .35); color: var(--ffc-blue); }
.p3-plan--alt:hover { background: rgba(5, 41, 246, .06); }
.p3-plan__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
}
.p3-plan--primary .p3-plan__label { color: rgba(255, 255, 255, .85); }
.p3-plan--alt .p3-plan__label { color: var(--text-muted-onlight); }
.p3-plan__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}
.p3-plan__price small { font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.p3-plan__note { font-size: .875rem; line-height: 1.4; }
.p3-plan--primary .p3-plan__note { color: rgba(255, 255, 255, .9); }
.p3-plan--alt .p3-plan__note { color: var(--text-secondary); }

.p3-price__foot {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}
.p3-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: var(--tracking-meta);
  text-transform: uppercase;
  color: var(--ffc-blue);
  background: rgba(5, 41, 246, .07);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
}

/* ============================================================
   Garantia
   ============================================================ */
.p3-guarantee {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  line-height: 1.45;
  color: #fff;
  background: var(--ffc-blue);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 0 0 20px;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============================================================
   FAQ — <details> nativo (mesmo padrão da LP anterior, tema claro)
   ============================================================ */
.p3-faq { border-top: 1px solid var(--border-on-light); }
.p3-faq__i { border-bottom: 1px solid var(--border-on-light); }
.p3-faq__i summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  line-height: 1.3;
  color: var(--ffc-black);
}
.p3-faq__i summary::-webkit-details-marker { display: none; }
.p3-faq__i summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font-size: 24px;
  font-weight: 400;
  color: var(--ffc-blue);
}
.p3-faq__i[open] summary::after { content: "\2212"; }
.p3-faq__a {
  padding: 0 0 22px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 68ch;
}
.p3-faq__a p { margin: 0 0 10px; }
.p3-faq__a p:last-child { margin-bottom: 0; }

/* ============================================================
   "Feito para você que:"
   ============================================================ */
.p3-for { display: flex; flex-direction: column; }
.p3-for__i { padding: 28px 0; border-top: 1px solid var(--border-on-light); }
.p3-for__i:last-child { border-bottom: 1px solid var(--border-on-light); }
.p3-for__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ffc-blue);
  margin: 0 0 8px;
}
.p3-for__d {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ============================================================
   Fecho
   ============================================================ */
.p3-tagline {
  margin: 96px auto 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  letter-spacing: -.02em;
  color: var(--ffc-black);
}
.p3-tagline span { color: var(--ffc-blue); }

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 640px) {
  .p3-sec { padding-top: 72px; }
  .p3-sec--black { margin-top: 72px; padding: 56px 0; }
  .p3-hero { padding-top: 32px; gap: 24px; }
  .p3-hero__copy { padding-bottom: 24px; }
  .p3-hero__art img { margin-bottom: -16px; }
  .p3-price { padding: var(--space-5); }
  .p3-3s-item { gap: 14px; padding: 24px 0; }
  .p3-3s-item__s { font-size: 2rem; }
  .p3-3s-brand { font-size: 26px; }
  .p3-tagline { margin-top: 64px; }
  /* alvo de toque ≥44px no mobile (CHECKLIST §4) */
  .p3 .ffc-btn--lg { width: 100%; min-height: 52px; }
  .p3-faq__i summary { padding-right: 40px; min-height: 44px; }
}
