/* ════════════════════════════════════════════════════
   FRAMECODE — Página de vendas
   Paleta: #0A1F1C bg · #0F2C28 alt · #00FF6A acento · #E1ECEE texto
   Fontes: Fira Code (tudo)
════════════════════════════════════════════════════ */

/* ── VARIÁVEIS ───────────────────────────────────── */
:root {
  --fc-bg:       #0A1F1C;
  --fc-alt:      #0F2C28;
  --fc-card:     #0d2420;
  --fc-green:    #00FF6A;
  --fc-text:     #E1ECEE;
  --fc-muted:    rgba(225,236,238,.45);
  --fc-faint:    rgba(225,236,238,.15);
  --fc-border:   rgba(225,236,238,.07);
  --fc-border-g: rgba(0,255,106,.2);
}

/* ── RESET DE PÁGINA ─────────────────────────────── */
.fc-page {
  background: var(--fc-bg);
  font-family: 'Fira Code', monospace;
  color: var(--fc-text);
}

/* ribbon verde no topo */
.fc-page::before { background: var(--fc-green) !important; }

/* ── NAV ─────────────────────────────────────────── */
.fc-nav {
  background: rgba(10,31,28,.9) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--fc-border) !important;
}

.fc-nav-cta {
  background: var(--fc-green) !important;
  color: var(--fc-bg) !important;
  border: none !important;
  font-family: 'Fira Code', monospace !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  padding: .5rem 1.25rem !important;
  transition: opacity .2s !important;
}

.fc-nav-cta:hover { opacity: .8 !important; }

/* ── HERO ────────────────────────────────────────── */
#fc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.fc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(10,31,28,.95) 0%,
      rgba(10,31,28,.80) 42%,
      rgba(10,31,28,.20) 72%,
      rgba(10,31,28,.0)  100%),
    linear-gradient(180deg,
      rgba(10,31,28,.0)  50%,
      rgba(10,31,28,.85) 100%);
}

.fc-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px clamp(2rem,5vw,5rem) 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.fc-hero-pill {
  display: inline-flex;
  align-items: center;
  background: var(--fc-green);
  color: var(--fc-bg);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .38rem .9rem;
}

.fc-hero-h1 {
  margin: 0;
  line-height: 0;
}
.fc-hero-logo-svg {
  width: clamp(260px, 38vw, 480px);
  display: block;
}

.fc-hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.fc-hero-trust span {
  font-size: .78rem;
  font-weight: 300;
  color: var(--fc-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.fc-hero-trust em {
  font-style: normal;
  color: var(--fc-green);
  font-weight: 600;
}

.fc-hero-cta {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

/* ── BOTÕES ──────────────────────────────────────── */
.btn-fc {
  display: inline-flex;
  align-items: center;
  background: var(--fc-green);
  color: var(--fc-bg);
  font-family: 'Fira Code', monospace;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  border: 2px solid var(--fc-green);
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}

.btn-fc:hover {
  background: transparent;
  color: var(--fc-green);
  transform: translateY(-2px);
}

.btn-fc-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--fc-text);
  font-family: 'Fira Code', monospace;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .04em;
  padding: .75rem 1.5rem;
  border: 1px solid var(--fc-border);
  transition: border-color .2s, color .2s, transform .15s;
  white-space: nowrap;
}

.btn-fc-ghost:hover {
  border-color: var(--fc-green);
  color: var(--fc-green);
  transform: translateY(-2px);
}

/* ── SEÇÕES ──────────────────────────────────────── */
.fc-section {
  padding: clamp(5rem,9vw,8rem) clamp(1.5rem,5vw,5rem);
}

.fc-section--alt  { background: var(--fc-alt); }
.fc-section--dark { background: var(--fc-bg); }

.fc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── TIPOGRAFIA ──────────────────────────────────── */
.fc-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--fc-green);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.fc-title {
  font-family: 'Fira Code', monospace;
  font-size: clamp(2rem,4.5vw,3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--fc-text);
  margin-bottom: 2.5rem;
  letter-spacing: -.01em;
}

.fc-title .hl       { color: var(--fc-green); }
.fc-title--center   { text-align: center; }

/* ── COMO FUNCIONA ───────────────────────────────── */
.fc-como-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.fc-como-grid .fc-title { margin-bottom: 0; }

.fc-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: .5rem;
}

.fc-step {
  display: flex;
  gap: 1.5rem;
}

.fc-step-n {
  font-size: .62rem;
  font-weight: 700;
  color: var(--fc-green);
  letter-spacing: .12em;
  min-width: 24px;
  padding-top: .15rem;
  flex-shrink: 0;
}

.fc-step-body h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--fc-text);
  margin-bottom: .4rem;
}

.fc-step-body p {
  font-size: .83rem;
  font-weight: 300;
  color: var(--fc-muted);
  line-height: 1.75;
}

/* ── PACKS ───────────────────────────────────────── */
.fc-packs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--fc-border);
  border: 1px solid var(--fc-border);
  margin-top: .5rem;
}

.fc-pack {
  background: var(--fc-bg);
  padding: 2rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: background .2s;
}

.fc-pack--ativo { background: var(--fc-card); }
.fc-pack:hover  { background: var(--fc-card); }

.fc-pack-top { min-height: 1.2rem; }

.fc-pack-status {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.fc-pack-status--ativo { color: var(--fc-green); }
.fc-pack-status--breve { color: var(--fc-faint); }

.fc-pack-name {
  font-family: 'Fira Code', monospace;
  font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 700;
  line-height: .95;
  color: var(--fc-text);
  letter-spacing: -.02em;
  flex: 1;
}

.fc-pack--breve .fc-pack-name { color: rgba(225,236,238,.22); }

.fc-pack-desc {
  font-size: .8rem;
  font-weight: 300;
  color: var(--fc-muted);
  line-height: 1.7;
}

.fc-pack--breve .fc-pack-desc { color: rgba(225,236,238,.18); }

.fc-pack-footer {
  padding-top: 1.2rem;
  border-top: 1px solid var(--fc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}

.fc-pack-price-main {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fc-text);
  line-height: 1;
}

.fc-pack-price--ghost { color: rgba(225,236,238,.15); }

.fc-pack-price-parcela {
  font-size: .68rem;
  color: var(--fc-muted);
  font-weight: 300;
  margin-top: .2rem;
}

/* ── GALERIA ─────────────────────────────────────── */
.fc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 3px;
  margin-top: .5rem;
}

.fc-gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--fc-card);
}

.fc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1), filter .4s;
  filter: brightness(.88);
}

.fc-gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

.fc-gallery-note {
  margin-top: 1.2rem;
  font-size: .75rem;
  font-weight: 300;
  color: rgba(225,236,238,.25);
  font-style: italic;
  line-height: 1.7;
}

/* ── CREDENCIAL ──────────────────────────────────── */
.fc-cred-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 6rem;
  align-items: center;
}

.fc-cred-title {
  font-family: 'Fira Code', monospace;
  font-size: clamp(1.6rem,3vw,2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fc-text);
  letter-spacing: -.01em;
  margin: .8rem 0 1.5rem;
}

.fc-cred-body {
  font-size: .88rem;
  font-weight: 300;
  color: var(--fc-muted);
  line-height: 1.85;
}

.fc-cred-quote {
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--fc-green);
  font-size: .92rem;
  font-weight: 400;
  color: rgba(225,236,238,.55);
  line-height: 1.7;
  font-style: italic;
}

.fc-cred-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 3rem;
  border-left: 1px solid var(--fc-border);
}

.fc-cred-aside img {
  width: 160px;
  opacity: .35;
  filter: grayscale(1);
}

.fc-cred-aside p {
  font-size: .72rem;
  color: rgba(225,236,238,.2);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PREÇO ───────────────────────────────────────── */
.fc-preco-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
  border: 1px solid var(--fc-border-g);
  padding: 3rem;
  background: var(--fc-card);
  margin-top: .5rem;
}

.fc-preco-title {
  font-family: 'Fira Code', monospace;
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--fc-text);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.fc-preco-sub {
  font-size: .85rem;
  font-weight: 300;
  color: var(--fc-muted);
  margin-bottom: 2rem;
}

.fc-preco-ancora {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--fc-border-g);
  background: rgba(0,255,106,.03);
}

.fc-preco-ancora span {
  font-size: .78rem;
  font-weight: 300;
  color: rgba(225,236,238,.3);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.fc-preco-ancora span em {
  font-style: normal;
  font-weight: 500;
  color: rgba(225,236,238,.45);
}

.fc-ancora-dest {
  color: rgba(225,236,238,.6) !important;
  font-weight: 600 !important;
  border-top: 1px solid var(--fc-border);
  padding-top: .45rem;
  margin-top: .1rem;
}

.fc-ancora-dest em {
  color: var(--fc-green) !important;
  font-weight: 700 !important;
}

.fc-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}

.fc-includes li {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(225,236,238,.5);
  display: flex;
  gap: .8rem;
  line-height: 1.5;
}

.fc-includes li::before {
  content: '—';
  color: var(--fc-green);
  font-size: .6rem;
  flex-shrink: 0;
  padding-top: .2rem;
}

.fc-btn-comprar { margin-bottom: .8rem; }

.fc-garantia {
  font-size: .73rem;
  color: rgba(225,236,238,.2);
  font-weight: 300;
  font-style: italic;
}

.fc-preco-right {
  text-align: center;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-left: 3rem;
  border-left: 1px solid var(--fc-border);
}

.fc-preco-valor {
  font-family: 'Fira Code', monospace;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fc-green);
  letter-spacing: -.03em;
}

.fc-preco-parcela {
  font-size: .75rem;
  color: var(--fc-muted);
  font-weight: 300;
}

/* ── FAQ ─────────────────────────────────────────── */
.fc-faq-wrap {
  max-width: 720px;
  margin: 2rem auto 0;
}

.fc-faq-item { border-top: 1px solid var(--fc-border); }
.fc-faq-item:last-child { border-bottom: 1px solid var(--fc-border); }

.fc-faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: 'Fira Code', monospace;
  font-size: .86rem;
  font-weight: 500;
  color: var(--fc-text);
  text-align: left;
  gap: 1rem;
  transition: color .2s;
}

.fc-faq-q:hover { color: var(--fc-green); }

.fc-faq-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  position: relative;
  color: var(--fc-green);
}

.fc-faq-icon::before,
.fc-faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}

.fc-faq-icon::before { width: 14px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.fc-faq-icon::after  { width: 1.5px; height: 14px; left: 50%; top: 0; transform: translateX(-50%); }

.fc-faq-item.open .fc-faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.fc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}

.fc-faq-item.open .fc-faq-a { max-height: 300px; }

.fc-faq-a p {
  font-size: .83rem;
  font-weight: 300;
  color: var(--fc-muted);
  line-height: 1.8;
  padding-bottom: 1.2rem;
}

/* ── FOOTER ──────────────────────────────────────── */
.fc-footer {
  background: var(--fc-bg);
  border-top: 1px solid var(--fc-border);
  padding: 3.5rem clamp(1.5rem,5vw,5rem) 2rem;
}

.fc-footer-inner {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.fc-footer-logo {
  height: 26px;
  opacity: .4;
  margin-bottom: .8rem;
  display: block;
}

.fc-footer-tagline {
  font-size: .8rem;
  color: var(--fc-muted);
  font-weight: 300;
}

.fc-footer-links {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-end;
}

.fc-footer-links a {
  font-size: .75rem;
  color: var(--fc-faint);
  transition: color .2s;
  letter-spacing: .04em;
}

.fc-footer-links a:hover { color: var(--fc-green); }

.fc-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fc-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .68rem;
  color: rgba(225,236,238,.15);
  letter-spacing: .04em;
}

/* ── RESPONSIVO ──────────────────────────────────── */
@media (max-width: 1100px) {
  .fc-packs-grid   { grid-template-columns: repeat(2,1fr); }
  .fc-cred-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .fc-cred-aside   { flex-direction: row; align-items: center; border-left: none; border-top: 1px solid var(--fc-border); padding: 1.5rem 0 0; }
  .fc-preco-card   { grid-template-columns: 1fr; }
  .fc-preco-right  { flex-direction: row; align-items: center; justify-content: flex-start; border-left: none; border-top: 1px solid var(--fc-border); padding: 2rem 0 0; }
}

@media (max-width: 860px) {
  .fc-hero-content { padding-top: 100px; }
  .fc-hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(10,31,28,.5)  0%,
        rgba(10,31,28,.92) 55%,
        rgba(10,31,28,1)   100%);
  }
  .fc-como-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .fc-gallery-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 600px) {
  .fc-packs-grid   { grid-template-columns: 1fr; }
  .fc-gallery-grid { grid-template-columns: repeat(2,1fr); }
  .fc-preco-card   { padding: 2rem 1.25rem; }
}

/* ════════════════════════════════════════════════════════════════
   UPGRADE — padrão Área de Membros (movimento + polish)
════════════════════════════════════════════════════════════════ */
:root { --fc-ease: cubic-bezier(.22,1,.36,1); }

/* nav: link de membros + CTA */
.fc-nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.fc-nav-login {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--fc-muted);
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}
.fc-nav-login::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--fc-green);
  transition: width .3s var(--fc-ease);
}
.fc-nav-login:hover { color: var(--fc-green); }
.fc-nav-login:hover::after { width: 100%; }

/* hero: ken-burns + entrada em cascata */
.fc-hero-bg img {
  animation: fcKen 24s var(--fc-ease) infinite alternate;
  will-change: transform;
}
@keyframes fcKen {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15) translate(-1.5%, -1%); }
}
.fc-hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fcUp .85s var(--fc-ease) forwards;
}
.fc-hero-content > *:nth-child(1) { animation-delay: .12s; }
.fc-hero-content > *:nth-child(2) { animation-delay: .24s; }
.fc-hero-content > *:nth-child(3) { animation-delay: .36s; }
.fc-hero-content > *:nth-child(4) { animation-delay: .48s; }
@keyframes fcUp { to { opacity: 1; transform: none; } }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--fc-ease), transform .7s var(--fc-ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* polish de hover */
.fc-pack { transition: background .25s, transform .4s var(--fc-ease); }
.fc-pack:hover { transform: translateY(-5px); }
.fc-gallery-item { transition: transform .45s var(--fc-ease); }
.fc-gallery-item:hover { transform: translateY(-5px); }
.fc-step-n, .fc-faq-q { transition: color .2s, background .25s, border-color .25s; }

/* foco acessível por teclado */
.btn-fc:focus-visible, .btn-fc-ghost:focus-visible, .fc-nav-cta:focus-visible,
.fc-nav-login:focus-visible, .fc-faq-q:focus-visible {
  outline: 2px solid var(--fc-green);
  outline-offset: 3px;
}

/* nav: evita aperto em telas estreitas */
@media (max-width: 520px) {
  .fc-nav-actions { gap: .8rem; }
  .fc-nav-login { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-hero-bg img, .fc-hero-content > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
