/* ------------------------------------------------------------------
   currículo.md · jpquicoli.com.br/curriculo
   Página de venda para quem chega pelo Instagram. Herda tokens, botões,
   perguntas e revelação de /styles.css; aqui só o que é desta página.
   Branco é o papel, navy é a tinta, azul só nas ações, dourado só no ponto.
   ------------------------------------------------------------------ */

.cv { background: var(--branco); }

/* ---------- Barra do topo ---------- */

.cv-bar {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--navy-12);
}
.cv-bar-inner {
  height: 100%; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--sora); letter-spacing: -0.065em; }
.cv-brand img { width: 32px; height: 32px; border-radius: 8px; }
.cv-brand b, .cv-final b { color: var(--ouro); font-weight: 600; }
.cv-bar-cta { min-height: 38px; padding: 0 18px; font-size: 0.92rem; }

/* ---------- Abertura ---------- */

.cv-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.cv-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cv-hero .display { max-width: 15ch; }
.cv-hero .lede { margin-top: 24px; color: var(--slate); max-width: 52ch; }
.cv-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cv-sign { margin-top: 32px; display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 0.95rem; }
.cv-sign img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 20%; }

.cv-stack { position: relative; height: min(64vh, 520px); display: grid; place-items: center; }
.cv-page {
  position: absolute; width: min(290px, 60vw); aspect-ratio: 1 / 1.414;
  background: var(--branco); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(7, 29, 51, 0.08), 0 30px 60px -30px rgba(7, 29, 51, 0.45);
  padding: 9%; display: flex; flex-direction: column; gap: 8px;
  outline: 3px solid var(--navy); outline-offset: -14px;
}
.cv-page-back { transform: translate(18%, 6%) rotate(5deg); justify-content: center; }
.cv-page-mid { transform: translate(6%, 2%) rotate(1.5deg); }
.cv-page-front { transform: translate(-12%, -3%) rotate(-3deg); justify-content: center; align-items: center; }
.cv-title { font: 600 1.4rem/1 var(--sora); letter-spacing: -0.04em; }
.cv-rule { width: 40%; height: 2px; background: var(--ouro); margin: 6px 0; }
.cv-year { margin-top: 18px; font: 600 0.8rem/1 var(--sora); color: var(--slate); }
.cv-band { display: block; font: 600 0.62rem/1 Georgia, "Times New Roman", serif; padding: 5px 6px; background: var(--apoio); margin-top: 8px; }
.cv-line { display: block; height: 5px; border-radius: 3px; background: var(--mist); }
.cv-rotated {
  align-self: center; width: 128%; flex: none; aspect-ratio: 1.414 / 1; transform: rotate(-90deg) scale(0.66);
  border: 1.5px solid var(--ouro); border-radius: 4px; background: #fbf6ec;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 10%;
}
.cv-cert { font: 600 0.9rem/1 Georgia, "Times New Roman", serif; }
.cv-rotated .cv-line { background: #e5dccb; }

@media (prefers-reduced-motion: no-preference) {
  .cv-page { animation: cv-pousar 1.1s var(--ease) both; }
  .cv-page-mid { animation-delay: 0.12s; }
  .cv-page-front { animation-delay: 0.24s; }
  .cv-hero-copy > * { animation: cv-subir 0.9s var(--ease) both; }
  .cv-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .cv-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .cv-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
}
@keyframes cv-pousar { from { opacity: 0; translate: 0 40px; } }
@keyframes cv-subir { from { opacity: 0; translate: 0 18px; filter: blur(6px); } }

/* ---------- Por que agora ---------- */

.cv-why { background: var(--navy); color: var(--creme); padding: clamp(56px, 8vw, 104px) 0; }
.cv-why-text { font: 600 clamp(1.4rem, 1.05rem + 1.3vw, 2.3rem)/1.25 var(--sora); letter-spacing: -0.03em; max-width: 32ch; }

/* ---------- O que você recebe ---------- */

.cv-h2 { font-size: clamp(1.7rem, 1.25rem + 1.4vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.1; }
.cv-proof { padding: clamp(72px, 9vw, 128px) 0 0; }
.cv-proof-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cv-proof-grid li { padding-top: 24px; border-top: 2px solid var(--navy); }
.cv-proof-grid h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.cv-proof-grid p { margin-top: 10px; color: var(--slate); }

/* ---------- Preços ---------- */

.cv-prices { padding: clamp(72px, 9vw, 128px) 0 0; scroll-margin-top: var(--nav-h); }
.cv-prices-head p { margin-top: 14px; color: var(--slate); max-width: 56ch; }
.cv-plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.cv-plan {
  display: flex; flex-direction: column; padding: 32px 28px; border-radius: 28px;
  background: var(--creme); border: 1px solid var(--navy-12);
}
.cv-plan h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.cv-plan-for { margin-top: 6px; color: var(--slate); font-size: 0.98rem; min-height: 3.2em; }
.cv-price { margin-top: 18px; font: 600 3.2rem/1 var(--sora); letter-spacing: -0.05em; display: flex; align-items: flex-start; gap: 6px; }
.cv-price span { font-size: 1rem; letter-spacing: 0; margin-top: 0.5em; }
.cv-plan ul { margin: 24px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.cv-plan li { position: relative; padding-left: 20px; font-size: 0.98rem; }
.cv-plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 1px; background: var(--navy); }
.cv-plan .btn { width: 100%; }

.cv-plan-main { background: var(--navy); color: var(--creme); border-color: var(--navy); box-shadow: 0 40px 80px -40px rgba(7, 29, 51, 0.6); }
.cv-plan-main .cv-plan-for { color: var(--creme-70); }
.cv-plan-main li::before { background: var(--ouro); }
.cv-plan-main :focus-visible { outline-color: var(--ouro); }

.cv-extras { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cv-extra {
  display: grid; gap: 8px; padding: 24px 28px; border-radius: 24px; text-decoration: none;
  border: 1px solid var(--navy-12); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.cv-extra:hover { border-color: var(--navy); transform: translateY(-2px); }
.cv-extra-name { font: 600 1.2rem/1.2 var(--sora); letter-spacing: -0.025em; display: flex; justify-content: space-between; gap: 12px; }
.cv-extra-name b { font-weight: 600; white-space: nowrap; }
.cv-extra-sub { color: var(--slate); font-size: 0.98rem; }

.cv-terms { margin-top: 28px; display: grid; gap: 6px; color: var(--slate); font-size: 0.95rem; }
.cv-terms li { position: relative; padding-left: 18px; }
.cv-terms li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 1px; background: var(--ouro); }

/* ---------- Como funciona, quem monta, perguntas ---------- */

.cv-how .send { background: var(--creme); }
.cv-how h2.process-heading { margin-bottom: 32px; }

.cv-who { padding: clamp(72px, 9vw, 128px) 0 0; }
.cv-who-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cv-who-photo { width: 240px; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 28px; }
.cv-who p { margin-top: 18px; color: var(--slate); font-size: 1.1rem; max-width: 58ch; }

.cv-faq .faq-item h3 { font: inherit; }
.cv-faq { padding-bottom: clamp(72px, 9vw, 128px); }

/* ---------- Fechamento ---------- */

.cv-final { background: var(--navy); color: var(--creme); padding: clamp(80px, 10vw, 136px) 0; }
.cv-final-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.cv-final .display { max-width: 18ch; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.cv-final-ig { color: var(--creme-70); }
.cv-final-ig a { color: var(--creme); text-underline-offset: 4px; }
.cv-final :focus-visible { outline-color: var(--ouro); }

.cv .footer a { color: var(--creme); text-underline-offset: 3px; }

/* ---------- Barra fixa do WhatsApp (celular) ---------- */

.cv-sticky { display: none; }

@media (max-width: 860px) {
  .cv-hero-grid { grid-template-columns: 1fr; }
  .cv-stack { order: -1; height: 250px; }
  .cv-page { width: 150px; }
  .cv-proof-grid, .cv-plans, .cv-extras { grid-template-columns: 1fr; }
  .cv-plan-main { order: -1; }
  .cv-plan-for { min-height: 0; }
  .cv-who-grid { grid-template-columns: 1fr; }
  .cv-who-photo { width: 120px; border-radius: 24px; }

  .cv-sticky {
    display: flex; position: fixed; z-index: 60;
    left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 56px; box-shadow: 0 18px 40px -12px rgba(1, 75, 178, 0.55);
    transform: translateY(140%); transition: transform 0.5s var(--ease);
  }
  .cv-sticky.is-shown { transform: none; }
  .cv .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .cv-bar-cta { display: none; }
  .cv-hero-actions .btn { width: 100%; }
  .cv-hero-actions .link-quiet { margin-inline: auto; }
}
