/* ========================================================
   GDETIV · componentes da landing page
   Usado por: gdetiv.html (seletor de perfil), gdetiv-formado.html,
   gdetiv-estudante.html
   Carregar SEMPRE depois de produto.css.
   ======================================================== */

/* --- HERO: compactado para caber H1 + 3 pilares + CTA no primeiro viewport --- */
.prod-hero { padding: 118px 0 56px; }
.prod-breadcrumb { margin-bottom: 14px; }
.prod-hero-course-logo { height: 120px; max-width: 360px; margin-bottom: 12px; }
.prod-title { font-size: clamp(1.875rem, 3.2vw, 2.875rem); line-height: 1.08; margin-bottom: 12px; }
.prod-subtitle { font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.5; margin-bottom: 4px; }

@media (max-width: 720px) {
  .prod-hero { padding: 100px 0 44px; }
  .prod-hero-course-logo { height: 66px; max-width: 220px; }
  /* No mobile o botão vem antes dos 3 pilares: o clique é o gargalo. */
  .prod-hero-content { display: flex; flex-direction: column; }
  .v2-hero-cta { order: 1; margin-top: 18px; }
  .v2-hero-fine { order: 2; }
  .v2-tri { order: 3; margin: 22px 0 0; }
}

/* --- HERO: os 3 pilares em linha --- */
.v2-tri { display: grid; gap: 8px; margin: 20px 0 22px; }
.v2-tri-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg-card);
}
[data-theme="dark"] .v2-tri-item { background: rgba(255, 255, 255, 0.04); }
.v2-ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal);
}
.v2-tri-txt { font-size: 0.9375rem; line-height: 1.5; color: var(--text-muted); }
.v2-tri-txt b {
  display: inline-block; margin-right: 6px; color: var(--text);
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
}

.v2-hero-fine { margin-top: 14px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.v2-hero-fine a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.v2-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- BARRA DE PROVA --- */
.v2-proofbar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-alt); padding: 16px 0;
}
.v2-proofbar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 26px; font-size: 0.875rem; color: var(--text-muted);
}
.v2-proofbar-item { display: inline-flex; align-items: center; gap: 8px; }
.v2-proofbar-item svg { flex: 0 0 auto; color: var(--teal); }

/* --- CENAS (as três da manhã / a reta final) --- */
.v2-scenes { display: grid; gap: 18px; margin-top: 12px; }
@media (min-width: 860px) { .v2-scenes { grid-template-columns: repeat(3, 1fr); } }
.v2-scene-time {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--teal); background: color-mix(in srgb, var(--teal) 12%, transparent);
  border-radius: 100px;
}
.v2-note { margin-top: 24px; font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted); text-align: center; }

/* --- SISTEMA: aprender / consultar / perguntar --- */
.v2-system { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 980px) { .v2-system { grid-template-columns: repeat(3, 1fr); } }
.v2-system-block {
  display: flex; flex-direction: column; gap: 14px; padding: 28px 24px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.v2-system-block:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
}
.v2-system-head { display: flex; align-items: center; gap: 12px; }
.v2-system-verb {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
}
.v2-system-block h3 {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 500;
  line-height: 1.2; margin: 0; color: var(--text);
}
.v2-system-block p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }
.v2-system-solve {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 0.875rem; line-height: 1.55; color: var(--text);
}
.v2-system-solve strong { color: var(--teal); }

.v2-callout {
  margin-top: 28px; padding: 24px 28px; border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--teal) 40%, var(--line));
  background: color-mix(in srgb, var(--teal) 8%, var(--bg-card));
}
.v2-callout p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
.v2-callout strong { font-family: var(--font-display); font-weight: 600; }

/* --- REALIDADE DA CLÍNICA (sem bomba, sem gasometria...) --- */
.v2-reality { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 860px) { .v2-reality { grid-template-columns: repeat(3, 1fr); } }
.v2-reality-card { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--line); }
.v2-reality-card h3 {
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500;
  margin: 0 0 10px; color: var(--teal);
}
.v2-reality-card p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }

/* --- APP EM AÇÃO --- */
.v2-appshot-hero { display: grid; gap: 24px; align-items: center; margin-top: 28px; }
@media (min-width: 900px) { .v2-appshot-hero { grid-template-columns: 1fr 1fr; gap: 48px; } }
.v2-appshot-hero img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.v2-appshot-hero-copy h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0 0 12px; }
.v2-appshot-hero-copy p { color: var(--text-muted); line-height: 1.65; margin: 0 0 10px; }
.v2-appshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .v2-appshots { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.v2-appshot { margin: 0; }
.v2-appshot img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal) 4%, transparent);
}
.v2-appshot figcaption { margin-top: 10px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-muted); }

/* --- É PRA VOCÊ / NÃO É PRA VOCÊ --- */
.v2-fit { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 900px) { .v2-fit { grid-template-columns: 1.15fr 0.85fr; } }
.v2-fit-col { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--line); }
.v2-fit-col--yes { border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.v2-fit-col h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin: 0 0 18px; }
.v2-fit-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.v2-fit-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted);
}
.v2-fit-list svg { flex: 0 0 auto; margin-top: 3px; }
.v2-fit-col--yes .v2-fit-list svg { color: var(--teal); }
.v2-fit-col--no .v2-fit-list svg { color: var(--text-muted); opacity: 0.7; }

/* --- CAPTURA (gratuito) --- */
.v2-free { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 860px) { .v2-free { grid-template-columns: repeat(2, 1fr); } }
.v2-free-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--line);
}
.v2-free-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin: 0; }
.v2-free-card p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); }
.v2-free-card .btn { margin-top: auto; align-self: flex-start; }

/* --- Botão secundário com contorno --- */
.v2-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.v2-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.pricing-tier .v2-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.pricing-tier .v2-btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* --- Linha humana no card do professor (.prof-creds é caixa alta) --- */
.v2-prof-human { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; color: var(--text-muted); font-style: italic; }

/* --- Ancoragens da oferta --- */
.v2-anchors { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px auto 8px; max-width: 720px; }
.v2-anchors li { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-size: 0.9375rem; line-height: 1.55; }
.v2-anchors svg { flex: 0 0 auto; margin-top: 3px; }

/* --- Sticky CTA mobile --- */
.v2-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.v2-sticky.is-visible { transform: translateY(0); }
.v2-sticky-price { display: flex; flex-direction: column; line-height: 1.25; }
.v2-sticky-price strong { font-size: 1rem; color: var(--text); }
.v2-sticky-price span { font-size: 0.75rem; color: var(--text-muted); }
.v2-sticky .btn { flex: 0 0 auto; }
@media (max-width: 760px) {
  .v2-sticky { display: flex; }
  body:has(.v2-sticky.is-visible) .wa-float { display: none; }
}

/* ========================================================
   Seletor de perfil (estudante / formado)
   ======================================================== */
.v2-gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}
.v2-gate[hidden] { display: none; }
.v2-gate-card {
  width: 100%; max-width: 760px; margin: auto;
  padding: 40px 32px 32px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.v2-gate-logo { height: 74px; width: auto; max-width: 240px; object-fit: contain; margin: 0 auto 18px; display: block; }
/* Troca de logo por tema (mesma lógica de .prod-hero-course-logo em styles.css) */
.v2-gate-logo.course-logo-light { display: none; }
[data-theme="light"] .v2-gate-logo.course-logo-dark { display: none; }
[data-theme="light"] .v2-gate-logo.course-logo-light { display: block; }
.v2-gate-kicker {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.v2-gate-card h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  font-weight: 500; line-height: 1.15; margin: 0 0 10px;
}
.v2-gate-card > p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin: 0 auto 28px; max-width: 520px; }
.v2-gate-opts { display: grid; gap: 16px; }
@media (min-width: 720px) { .v2-gate-opts { grid-template-columns: 1fr 1fr; } }
.v2-gate-opt {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 24px; text-align: left; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); color: var(--text); cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.v2-gate-opt:hover, .v2-gate-opt:focus-visible {
  transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-lg);
}
.v2-gate-opt strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.v2-gate-opt span { font-size: 0.875rem; line-height: 1.5; color: var(--text-muted); }
.v2-gate-opt em {
  margin-top: 4px; font-style: normal; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--teal);
}
.v2-gate-skip {
  display: inline-block; margin-top: 22px; font-size: 0.875rem;
  color: var(--text-muted); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.v2-gate-skip:hover { color: var(--text); }

/* No celular as duas opções precisam caber na tela sem rolagem. */
@media (max-width: 720px) {
  .v2-gate { padding: 16px; align-items: flex-start; }
  .v2-gate-card { padding: 24px 20px 20px; border-radius: var(--radius-lg); }
  .v2-gate-logo { height: 44px; max-width: 150px; margin-bottom: 12px; }
  .v2-gate-kicker { margin-bottom: 8px; }
  .v2-gate-card h2 { font-size: 1.375rem; }
  .v2-gate-card > p { font-size: 0.875rem; line-height: 1.5; margin-bottom: 18px; }
  .v2-gate-opts { gap: 12px; }
  .v2-gate-opt { padding: 16px 18px; gap: 6px; }
  .v2-gate-opt strong { font-size: 1.0625rem; line-height: 1.2; }
  .v2-gate-opt span { font-size: 0.8125rem; line-height: 1.45; }
  .v2-gate-skip { margin-top: 16px; }
}

/* Trava o scroll enquanto o seletor está aberto */
body.v2-gate-open { overflow: hidden; }

/* --- Bloco de dado de pesquisa --- */
.v2-stat {
  display: grid; gap: 18px; align-items: center; margin-top: 28px;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--line);
}
@media (min-width: 820px) { .v2-stat { grid-template-columns: auto 1fr; gap: 32px; } }
.v2-stat-number {
  font-family: var(--font-display); font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 600; line-height: 1; color: var(--teal); white-space: nowrap;
}
.v2-stat-body p { margin: 0 0 8px; font-size: 1.0625rem; line-height: 1.65; }
.v2-stat-source { font-size: 0.75rem; line-height: 1.5; color: var(--text-muted); }

/* --- Lista de dores --- */
.v2-pains { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 860px) { .v2-pains { grid-template-columns: repeat(2, 1fr); } }
.v2-pain {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card);
}
.v2-pain-num {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700;
  background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal);
}
.v2-pain h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; margin: 0 0 6px; }
.v2-pain p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }

/* --- Linha do tempo (o que muda até a formatura) --- */
.v2-timeline { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 860px) { .v2-timeline { grid-template-columns: repeat(3, 1fr); } }
.v2-timeline li {
  padding: 22px; border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid var(--line); border-top: 3px solid var(--teal);
}
.v2-timeline strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; margin-bottom: 8px; }
.v2-timeline span { font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }
