/* ─────────────────────────────────────────
   FOCUS PERFORMANCE — landing layout
   Sections mirror the Figma frames 1:1 (same ids):
   hero · como-funciona · planos · prova · faq · cta-final · footer
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-gray-900);
  color: var(--color-white);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ── Type ── */
.display { font: var(--text-display); font-style: italic; letter-spacing: -1px; }
.h1 { font: var(--text-h1); font-style: italic; letter-spacing: -0.5px; }
.h2 { font: var(--text-h2); font-style: italic; }
.h3 { font: var(--text-h3); }
.eyebrow { font: var(--text-eyebrow); letter-spacing: 2px; text-transform: uppercase; color: var(--color-yellow); }
.body-l { font: var(--text-body-l); }
.body-m { font: var(--text-body-m); }
.caption { font: var(--text-caption); letter-spacing: 0.5px; }
.muted { color: var(--color-gray-400); }

/* ── Sections ── */
.section { padding: var(--section-pad-y) var(--section-pad-x); }
.section--light { background: var(--color-surface); color: var(--color-black); }
.section--light .eyebrow { color: var(--color-black); }
.section--yellow { background: var(--color-yellow); color: var(--color-black); }
.content { max-width: var(--content-width); margin: 0 auto; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.head .h2 { max-width: 760px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 32px; border-radius: 12px; border: 2px solid transparent;
  font: var(--text-body-m); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--color-orange); outline-offset: 3px; }
.btn--primary { background: var(--color-yellow); color: var(--color-black); }
.btn--orange { background: var(--color-orange); color: var(--color-black); }
.btn--dark { background: var(--color-black); color: var(--color-yellow); }
.btn--secondary { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--block { display: flex; width: 100%; }

/* ── Badge / chip ── */
.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; list-style: none; margin: 0; padding: 0; }
.chip {
  padding: 10px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-gray-700); font: var(--text-caption); letter-spacing: 0.5px; color: var(--color-gray-200);
}
.section--light .chip { border-color: var(--color-gray-200); color: var(--color-gray-700); }

/* ── Hero ── */
#hero { padding-top: 32px; padding-bottom: 80px; }
.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 64px; }
.nav .logo { width: 140px; height: auto; }
.hero-row { display: flex; align-items: center; gap: 64px; margin-bottom: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; flex: 0 0 600px; max-width: 600px; }
.hero-copy .body-l { color: var(--color-gray-200); max-width: 560px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-photo { flex: 1 1 auto; width: 536px; height: 420px; object-fit: cover; border-radius: var(--radius-lg); }

/* ── Como funciona ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-yellow); color: var(--color-black);
  display: grid; place-items: center; font: var(--text-h3);
}
.step .h3 { max-width: 360px; }
.step p { color: var(--color-gray-700); max-width: 360px; }

/* ── Planos ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-bottom: 40px; }
.plan {
  display: flex; flex-direction: column; background: var(--color-black); border-radius: var(--radius-lg);
  border: 2px solid var(--color-yellow); overflow: hidden;
}
.plan--black { border-color: var(--color-white); }
.plan--premium { border-color: var(--color-orange); }
.plan-head { padding: 24px; display: flex; flex-direction: column; gap: 4px; background: var(--color-yellow); color: var(--color-black); }
.plan-head .h3 { text-transform: uppercase; }
.plan--black .plan-head { background: var(--color-black); color: var(--color-white); }
.plan--black .plan-head .body-m { color: var(--color-gray-200); }
.plan--premium .plan-head { background: var(--color-orange); }
.plan-head .eyebrow { color: var(--color-black); }
.plan-body { flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 24px; background: var(--color-white); color: var(--color-black); }
.plan-bullets { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-gray-700); }
.plan-bullets li::before { content: "✓"; font: var(--text-body-m); color: var(--color-black); }
.plan-price {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px;
  background: var(--color-surface); border: 1px solid var(--color-gray-200); border-radius: 12px;
}
.plan-price .eyebrow { color: var(--color-gray-700); }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-price-row strong { font: var(--text-price); }
.plan-price-row span { font: var(--text-body-m); color: var(--color-gray-700); }
.conditions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.condition {
  display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-radius: 12px;
  background: var(--color-white); color: var(--color-black); font: var(--text-body-m);
}
.condition::before { content: "★"; color: var(--color-orange); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.platforms .eyebrow { color: var(--color-gray-400); }

/* ── Prova ── */
.prova-row { display: flex; align-items: center; gap: 64px; }
.coach { display: flex; flex-direction: column; gap: 24px; flex: 0 0 520px; max-width: 520px; }
.coach .head { margin: 0; }
.creds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.creds li { display: flex; gap: 10px; align-items: flex-start; color: var(--color-gray-700); }
.creds li::before { content: "—"; font: var(--text-body-m); color: var(--color-black); }
.prova-media { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.prova-photos { display: flex; gap: 16px; align-items: center; }
.prova-photos .photo-coach { flex: none; width: 360px; height: 360px; object-fit: cover; border-radius: var(--radius-md); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--color-gray-700); padding: 24px 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 0; background: none; border: 0; color: var(--color-white); font: var(--text-body-m); text-align: left; cursor: pointer;
}
.faq-q:focus-visible { outline: 3px solid var(--color-orange); outline-offset: 6px; border-radius: 4px; }
.faq-icon { font: var(--text-h3); color: var(--color-yellow); line-height: 1; }
.faq-icon::before { content: "+"; }
.faq-q[aria-expanded="true"] .faq-icon::before { content: "–"; }
.faq-a { color: var(--color-gray-200); max-width: 1000px; padding-top: 12px; }
.faq-a[hidden] { display: none; }

/* ── CTA final ── */
#cta-final .content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
#cta-final .display { max-width: 900px; }
#cta-final .body-l { max-width: 700px; }

/* ── Footer ── */
#footer { padding-top: 48px; padding-bottom: 48px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-row .logo { width: 112px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--color-gray-200); }
.footer-links a:hover { color: var(--color-yellow); }

/* ── Tablet / small laptop (768–1279px): fixed desktop widths become fluid ── */
@media (max-width: 1279px) {
  .section { padding-left: 40px; padding-right: 40px; }
  .hero-row { gap: 40px; }
  .hero-copy { flex: 1 1 50%; max-width: none; min-width: 0; }
  .hero-copy .display { font: var(--text-h1); font-style: italic; }
  .hero-photo { flex: 1 1 45%; width: auto; min-width: 0; height: auto; aspect-ratio: 4 / 3; }
  .prova-row { gap: 40px; }
  .coach { flex: 1 1 45%; max-width: none; min-width: 0; }
  .prova-photos .photo-coach { width: 300px; height: 300px; }
  .plans { gap: 16px; }
  .plan-bullets li { font-size: 16px; line-height: 24px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  #hero { padding-top: 20px; padding-bottom: 48px; }
  .nav { margin-bottom: 32px; }
  .nav .logo { width: 100px; }
  .nav .btn { display: none; }
  .hero-row { flex-direction: column; align-items: stretch; gap: 32px; margin-bottom: 32px; }
  .hero-copy { flex: none; max-width: none; gap: 16px; }
  .hero-copy .body-l { font: var(--text-body); }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { display: flex; width: 100%; }
  .hero-photo { width: 100%; height: 240px; border-radius: var(--radius-md); }
  .chips { gap: 8px; }
  .head { gap: 8px; margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { flex-direction: row; align-items: flex-start; }
  .step-num { flex: 0 0 40px; width: 40px; height: 40px; font: var(--text-body-m); }
  .step-copy { display: flex; flex-direction: column; gap: 6px; }
  .plans { grid-template-columns: 1fr; margin-bottom: 24px; }
  .plan-head, .plan-body { padding: 20px; }
  .plan-body { gap: 20px; }
  .plan-bullets { gap: 10px; }
  .conditions { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
  .condition { align-items: flex-start; padding: 12px 16px; }
  .platforms { flex-direction: column; align-items: flex-start; gap: 8px; }
  .prova-row { flex-direction: column; align-items: stretch; gap: 24px; }
  .coach { flex: none; max-width: none; }
  .prova-media { order: -1; }
  .prova-photos { gap: 12px; }
  .prova-photos .photo-coach { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; border-radius: 12px; }
  .faq-item { padding: 20px 0; }
  .faq-q { align-items: flex-start; }
  .faq-a { padding-top: 8px; }
  #cta-final .content { gap: 16px; }
  #cta-final .display { font: var(--text-h1); font-style: italic; }
  #cta-final .body-l { font: var(--text-body); }
  #cta-final .btn { width: 100%; }
  #footer { padding-top: 40px; padding-bottom: 40px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-row .logo { width: 100px; }
  .footer-links { flex-direction: column; gap: 12px; }
}
