/* ==========================================================================
   Jeferson | Estrategista de Lançamentos Digitais
   Landing page · styles.css
   Índice: 1 Fontes · 2 Tokens · 3 Base · 4 Componentes · 5 Dobras · 6 Lightbox · 7 Movimento
   ========================================================================== */

/* 1. FONTES (variáveis, hospedadas localmente) ---------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS --------------------------------------------------------------- */
:root {
  --black: #08090B;
  --navy: #0B1326;
  --blue: #2563EB;
  --blue-hover: #1D4FD0;
  --blue-text: #78A0FF;      /* tom mais claro do azul, para texto sobre fundo escuro (contraste AA) */
  --white: #FFFFFF;
  --gray: #A1A1AA;

  --navy-2: #14275A;         /* azul-marinho mais aberto, usado nos degradês */
  --sky: #78A0FF;            /* azul claro de detalhe */
  --text-2: #D4D4D8;
  --card-bg: linear-gradient(170deg, #0E1730, #0A0F1D);
  --glyph: rgba(120, 160, 255, .09);

  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .20);

  --font-head: "Manrope", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(22px, 5.5vw, 40px);
  --container: min(100vw - (var(--gutter) * 2), 1180px);
  --section-y: clamp(68px, 9vw, 124px);
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -.028em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 4px; border-radius: 6px; }

/* Seções claras: inverte as cores de texto e linhas, mantendo o azul como destaque */
.is-light {
  --white: #0B1326;          /* títulos e texto forte passam a azul-marinho */
  --gray: #4B5263;           /* texto de apoio com contraste adequado sobre branco */
  --text-2: #1F2937;
  --blue-text: #2563EB;
  --line: rgba(11, 19, 38, .12);
  --line-strong: rgba(11, 19, 38, .22);
  --card-bg: linear-gradient(170deg, #F6F9FF, #E6EEFD);
  --glyph: rgba(37, 99, 235, .12);
  color: var(--gray);
}

.container { width: min(100% - (var(--gutter) * 2), 1180px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 26px; height: 26px; }

/* 4. COMPONENTES ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue-text);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blue-text); opacity: .8; flex: none; }

/* Destaque estratégico em azul */
.hl { color: var(--blue-text); }
.dim { color: var(--gray); }

/* Botão */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
  min-height: 54px;
  padding: 8px 34px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  border-radius: 999px;
  box-shadow: 0 8px 22px -14px rgba(37, 99, 235, .6);
  transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .7); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 60px; padding-inline: 42px; font-size: 1rem; }

/* Foto profissional + espaço reservado */
.photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #0F1B38 0%, var(--navy) 45%, #090C14 100%); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 2; }
.hero__photo img { filter: brightness(.9) contrast(1.04); }
.photo__ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 24px;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(37, 99, 235, .22), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .035) 79px 80px);
}
.photo__mark {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 13vw, 9rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(120, 160, 255, .45); margin-bottom: 10px;
}
.photo__label { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: .95rem; }
.photo__path { font-size: .75rem; color: var(--gray); letter-spacing: .02em; }
.photo.has-img .photo__ph { display: none; }

/* 5. DOBRAS --------------------------------------------------------------- */

/* --- Dobra 1 · Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 82% 30%, rgba(11, 19, 38, 1) 0%, transparent 70%),
    radial-gradient(40% 50% at 78% 45%, rgba(37, 99, 235, .08), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: end;
  min-height: min(88svh, 800px);
  gap: clamp(24px, 4vw, 64px);
}
.hero__copy { align-self: center; padding-block: clamp(64px, 9vw, 120px); max-width: 640px; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(1.9rem, 2.9vw + .55rem, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.lead { font-size: clamp(.95rem, .45vw + .82rem, 1.075rem); color: var(--gray); max-width: 52ch; margin-bottom: 34px; }

.lead strong { color: var(--white); font-weight: 600; }

.hero__photo {
  align-self: stretch;
  min-height: 520px;
  margin-right: calc((var(--container) - 100vw) / 2); /* a foto sangra até a borda direita da tela */
  background: transparent;
  /* integração suave da foto ao fundo */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to top, transparent 0, #000 24%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to top, transparent 0, #000 24%);
  mask-composite: intersect;
}
.hero__photo .photo__ph { background: radial-gradient(55% 50% at 55% 40%, rgba(37, 99, 235, .24), transparent 72%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .03) 79px 80px); }

/* --- Dobra 2 · Autoridade ------------------------------------------------ */
.authority {
  background: var(--navy);
  border-block: 1px solid rgba(120, 160, 255, .2);
  overflow: hidden;
}
.mq {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.mq__group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: mq-scroll 22s linear infinite;
}
.mq:hover .mq__group { animation-play-state: paused; }
.mq__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  white-space: nowrap;
  font-size: .92rem;
  line-height: 1;
  color: var(--gray);
}
.mq__item::after { /* separador em losango, azul claro */
  content: "";
  align-self: center;
  width: 5px;
  height: 5px;
  margin-inline: clamp(30px, 4.5vw, 64px);
  background: var(--sky);
  transform: rotate(45deg);
  opacity: .75;
}
.mq__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 1.2vw + 1.15rem, 1.85rem); line-height: 1; letter-spacing: -.025em; color: var(--white); }
.mq__big--sm { font-size: clamp(1.15rem, .6vw + 1rem, 1.35rem); letter-spacing: -.02em; }
@keyframes mq-scroll { to { transform: translateX(-100%); } }

/* --- Dobra 3 · Dor -------------------------------------------------------- */
.pain { background: radial-gradient(55% 70% at 0% 0%, rgba(120, 160, 255, .20), transparent 70%), #FFFFFF; overflow: hidden; }
.pain__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 112px); align-items: start; position: relative; }
.pain h2 { font-size: clamp(1.8rem, 2.9vw + .4rem, 2.9rem); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.pain__head > p { font-size: 1.05rem; margin: 26px 0 34px; max-width: 46ch; }
.pain__intro { color: var(--white); font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; }

.gains { border-top: 1px solid var(--line); margin: 20px 0 0; }
.gains li { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--text-2); line-height: 1.5; }
.gains .ic { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(120, 160, 255, .18); color: var(--blue-text); }

/* --- Dobra 4 · Método ------------------------------------------------------ */
.method { background: radial-gradient(80% 70% at 50% 0%, var(--navy-2) 0%, var(--navy) 60%, #091020 100%); }
.method__head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 8vw, 104px); }
.method h2 { font-size: clamp(1.8rem, 2.9vw + .4rem, 2.9rem); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.method__head p { font-size: 1.0625rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 40px); position: relative; }
.steps::before { /* linha contínua entre as etapas */
  content: ""; position: absolute; left: 0; right: 0; top: calc(clamp(3.2rem, 5vw, 4.6rem) + 28px); height: 1px; background: linear-gradient(90deg, rgba(120, 160, 255, .45), rgba(120, 160, 255, .45) 85%, transparent);
  transform-origin: left; transition: transform 1.6s var(--ease) .2s;
}
.js .steps::before { transform: scaleX(0); }
.js .steps.is-in::before { transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step__num {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(3.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(120, 160, 255, .7); margin-bottom: 20px;
}
.step__dot { position: absolute; left: 0; top: calc(clamp(3.2rem, 5vw, 4.6rem) + 24px); width: 9px; height: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(120, 160, 255, .2); }
.step h3 { font-size: 1.125rem; line-height: 1.25; margin: 46px 0 12px; font-weight: 700; }
.step p { font-size: .975rem; max-width: 30ch; }
.method__cta { margin-top: clamp(52px, 7vw, 88px); }

/* --- Dobra 5 · Prova social ----------------------------------------------- */
.proof { background: radial-gradient(60% 55% at 100% 100%, rgba(120, 160, 255, .18), transparent 70%), #FFFFFF; }
.proof__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.proof h2 { font-size: clamp(1.75rem, 2.6vw + .45rem, 2.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -.028em; margin-bottom: 20px; }
.proof__head > p:last-child { font-size: 1.0625rem; max-width: 60ch; }

/* Dashboard de resultados */
.metrics {
  --white: #FFFFFF;
  --gray: #A1A1AA;
  --line: rgba(255, 255, 255, .12);
  color: var(--gray);
  background: linear-gradient(160deg, #10204A 0%, var(--navy) 55%, #090E1C 100%);
  border: 1px solid rgba(120, 160, 255, .22);
  border-radius: 6px;
  overflow: hidden;
}
.metrics__tag { display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px clamp(24px, 3.6vw, 52px); border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #C7D6FF; }
.metrics__tag i { width: 6px; height: 6px; background: var(--sky); transform: rotate(45deg); flex: none; }
.proof__cta { margin-top: clamp(32px, 4vw, 48px); }
.metrics__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; margin: 0; }
.metric { padding: clamp(28px, 4vw, 52px) clamp(24px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 12px; position: relative; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric dt { font-size: .9375rem; color: var(--gray); line-height: 1.4; }
.metric dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.3vw + .4rem, 3.2rem); line-height: 1.05; letter-spacing: -.03em; color: var(--white); white-space: nowrap; }
.metric--roi { background: linear-gradient(180deg, rgba(120, 160, 255, .14), rgba(120, 160, 255, .05)); }
.metric--roi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sky); }
.metric--roi dt { color: #C7D6FF; }
.metric--roi dd { color: var(--sky); }

/* --- Dobra 6 · Sobre -------------------------------------------------------- */
.about { background: radial-gradient(50% 60% at 100% 0%, rgba(37, 99, 235, .16), transparent 70%), var(--black); border-top: 1px solid rgba(120, 160, 255, .18); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; border-radius: 4px; border: 1px solid var(--line-strong); }
.about__photo::after { /* moldura fina deslocada, detalhe editorial */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; z-index: 3;
}
.about h2 { font-size: clamp(1.75rem, 2.6vw + .45rem, 2.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -.028em; margin-bottom: 26px; }
.about__copy > p:not(.eyebrow) { font-size: 1.0625rem; margin-bottom: 18px; max-width: 58ch; }
.about__copy > div { margin-top: 30px; }
.about__copy strong { color: var(--white); font-weight: 600; }
/* --- Dobra 7 · FAQ ------------------------------------------------------------ */
.faq { background: #FFFFFF; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 112px); align-items: start; }
.faq h2 { font-size: clamp(1.7rem, 2.4vw + .5rem, 2.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.028em; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; font-family: var(--font-head); font-size: clamp(1.02rem, 1vw + .7rem, 1.2rem); font-weight: 600; color: var(--white); letter-spacing: -.012em; line-height: 1.35; transition: color .25s; }
.faq__q:hover { color: var(--blue-text); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__q[aria-expanded="true"] { color: var(--blue-text); }
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s linear .45s; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 40px 26px 0; max-width: 60ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }

/* --- Dobra 8 · CTA final -------------------------------------------------------- */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(96px, 14vw, 190px); background: radial-gradient(65% 85% at 50% 115%, rgba(120, 160, 255, .28), transparent 70%), linear-gradient(180deg, var(--navy), var(--navy-2)); }
.final::before { content: ""; position: absolute; top: 0; left: 50%; width: min(520px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--sky), transparent); }
.final__rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.final__rings i { grid-area: 1 / 1; border: 1px solid rgba(120, 160, 255, .16); border-radius: 50%; }
.final__rings i:nth-child(1) { width: min(46vw, 520px); aspect-ratio: 1; }
.final__rings i:nth-child(2) { width: min(74vw, 860px); aspect-ratio: 1; }
.final__rings i:nth-child(3) { width: min(104vw, 1220px); aspect-ratio: 1; border-color: rgba(120, 160, 255, .09); }
.final__inner { max-width: 880px; }
.final h2 { font-size: clamp(1.9rem, 3.4vw + .4rem, 3.3rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.final p { font-size: clamp(1.02rem, 1vw + .65rem, 1.2rem); max-width: 54ch; margin: 0 auto 44px; }

/* --- Rodapé -------------------------------------------------------------------- */
.footer { background: var(--black); border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom)); font-size: .8125rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--gray); transition: color .25s; }
.footer__ig .ic { width: 20px; height: 20px; }
.footer__ig:hover { color: var(--sky); }

/* RESPONSIVO ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .metrics__grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }

  .pain__grid, .method__head, .faq__grid { grid-template-columns: 1fr; }
  /* Dor no mobile: título, subtítulo, tópicos e só então o botão */
  .pain__grid { gap: 0; }
  .pain__head { display: contents; }
  .pain__head h2 { order: 1; }
  .pain__head > p { order: 2; margin: 20px 0 34px; }
  .pain__body { order: 3; }
  .pain__head > div { order: 4; margin-top: 38px; }

  /* Método: vertical no mobile */
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .steps::before { left: 4px; right: auto; top: 14px; bottom: 14px; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-strong) 85%, transparent); transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .js .steps.is-in::before { transform: scaleY(1); }
  .step { padding-bottom: 44px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { font-size: 3rem; margin-bottom: 10px; }
  .step__dot { left: -34px; top: 18px; }
  .step h3 { margin-top: 0; }
  .step p { max-width: 38ch; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; width: 100%; }
}

@media (max-width: 820px) {
  /* Hero mobile: foto no topo, integrada ao fundo; texto sobrepõe a base da foto */
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__photo {
    order: -1; min-height: 0; height: min(92vw, 440px); margin: 0 calc(var(--gutter) * -1);
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 42%);
    mask-image: linear-gradient(to top, transparent 0, #000 42%);
  }
  .hero__photo img { object-position: center 12%; }
  .hero__copy { padding-block: 0 56px; margin-top: -64px; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.15rem); }
  .btn { width: 100%; }
  .final .btn { width: auto; max-width: 100%; }
}

@media (max-width: 560px) {
  .faq__a p { padding-right: 8px; }
}

/* 7. MOVIMENTO -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__photo { opacity: 0; transition: opacity 1.4s var(--ease) .2s; }
.js .hero__photo.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
  .js .reveal, .js .hero__photo { opacity: 1; transform: none; }
  .js .steps::before { transform: none; }
}
