/* =============================================================
   index-light.css — Light theme overrides & shared components
   Complementa styles.css para a versão index-light.html
   Não usa seletores body.theme-dark (light é o default)
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   1. NAV — logo sizing
───────────────────────────────────────────────────────────── */
.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

/* ─────────────────────────────────────────────────────────────
   2. HERO badge — tamanho reduzido para caber em uma linha
───────────────────────────────────────────────────────────── */
.hero-badge {
  font-size: 0.6rem;
}

/* ─────────────────────────────────────────────────────────────
   3. HERO VISUAL — browser mockup (light palette)
───────────────────────────────────────────────────────────── */

/* Layout 2 colunas no desktop */
@media (min-width: 1060px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0 52px;
    max-width: 1160px;
    align-items: center;
  }
  .hero-visual {
    grid-column: 2;
    grid-row: 1 / span 7;
    align-self: center;
  }
}

/* ── Keyframes (idênticos ao dark — cor-agnósticos) ─────── */
@keyframes hvSlideIn {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hvCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes hvPulse {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

/* ── Container ─────────────────────────────────────────────── */
.hero-visual {
  display: none;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
@media (min-width: 1060px) {
  .hero-visual {
    display: block;
    will-change: transform, opacity;
    animation: hvSlideIn 0.9s var(--ease-smooth) 0.25s both;
  }
}

/* ── Browser frame ─────────────────────────────────────────── */
.hv-browser {
  background: #ffffff;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(4,12,95,0.04),
    0 24px 64px rgba(4,12,95,0.10);
}

.hv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}
.hv-dots { display: flex; gap: 6px; }
.hv-dot  { width: 9px; height: 9px; border-radius: 50%; }
.hv-dot--r { background: #ff5f56; }
.hv-dot--y { background: #febc2e; }
.hv-dot--g { background: #28c840; }

.hv-url-pill {
  flex: 1;
  background: rgba(4,12,95,0.05);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.65rem;
  color: var(--color-text-soft);
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
}

.hv-body {
  padding: 14px 16px 18px;
}

/* ── Site nav simulado ─────────────────────────────────────── */
.hv-site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  opacity: 0;
  animation: hvCardIn 0.5s ease 0.7s both;
}
.hv-nav-links { display: flex; gap: 8px; flex: 1; justify-content: center; }

.hv-block {
  background: rgba(4,12,95,0.08);
  border-radius: 4px;
}
.hv-block--logo    { width: 56px; height: 10px; background: rgba(0,115,176,0.35); }
.hv-block--link    { width: 30px; height: 8px; }
.hv-block--cta-sm  { width: 52px; height: 18px; background: rgba(0,115,176,0.20); border-radius: 9px; }
.hv-block--eyebrow { width: 80px; height: 7px; background: rgba(0,115,176,0.28); margin-bottom: 10px; }
.hv-block--line    { height: 7px; width: 90%; margin-bottom: 7px; }
.hv-block--line-sm { width: 65%; }

/* ── Site hero simulado ────────────────────────────────────── */
.hv-site-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hv-site-copy {
  flex: 1;
  opacity: 0;
  animation: hvCardIn 0.5s ease 0.9s both;
}
.hv-site-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brand-deep);
  margin-bottom: 10px;
}
.hv-site-title em {
  font-style: normal;
  color: var(--color-brand);
}
.hv-site-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 14px;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: hvCardIn 0.5s ease 1.1s both;
}

/* Avatar simulado */
.hv-site-avatar {
  flex-shrink: 0;
  position: relative;
  width: 88px; height: 88px;
  opacity: 0;
  animation: hvCardIn 0.5s ease 1.0s both;
}
.hv-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0,115,176,0.35);
  will-change: opacity, transform;
  animation: hvPulse 3s ease-in-out 1.5s infinite;
}
.hv-avatar-core {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0,115,176,0.12) 0%, rgba(235,245,250,0.9) 100%);
}

/* ── Card flutuante ────────────────────────────────────────── */
.hv-card {
  position: absolute;
  bottom: -16px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lift);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  will-change: transform, opacity;
  opacity: 0;
  animation:
    hvCardIn 0.6s var(--ease-smooth) 1.3s both,
    hvFloat  4.5s ease-in-out 2.0s infinite;
}
.hv-card-icon {
  font-size: 0.85rem;
  color: var(--color-accent);
  line-height: 1;
}
.hv-card-text { display: flex; flex-direction: column; gap: 2px; }
.hv-card-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  display: block;
}
.hv-card-sub {
  font-size: 0.62rem;
  color: var(--color-text-soft);
  display: block;
}
.hv-card-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 6px rgba(40,200,64,0.45);
  will-change: opacity, transform;
  animation: hvPulse 2s ease-in-out 2s infinite;
}

/* ── Badge de métrica ──────────────────────────────────────── */
.hv-metric {
  position: absolute;
  top: -14px;
  right: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
  background: var(--color-brand-deep);
  border: 1px solid rgba(4,12,95,0.15);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  animation:
    hvCardIn 0.6s var(--ease-smooth) 1.5s both,
    hvFloat  5s ease-in-out 2.2s infinite;
}
.hv-metric-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.hv-metric-label {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* ── prefers-reduced-motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .hv-card,
  .hv-metric,
  .hv-site-nav,
  .hv-site-copy,
  .hv-site-btn,
  .hv-site-avatar {
    animation: none;
    opacity: 1;
  }
  .hv-avatar-ring,
  .hv-card-status { animation: none; }
}

/* ─────────────────────────────────────────────────────────────
   4. PORTFÓLIO — wireframes (base estrutural + cores light)
───────────────────────────────────────────────────────────── */
.pf-wireframe {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.pf-bar {
  height: 6px;
  border-radius: 3px;
  background: currentColor;
}
.pf-bar--sm   { height: 5px; }
.pf-bar--lg   { height: 8px; }
.pf-bar--xl   { height: 11px; }
.pf-bar--full { width: 100%; }
.pf-bar--70   { width: 70%; }
.pf-bar--65   { width: 65%; }
.pf-bar--60   { width: 60%; }
.pf-bar--55   { width: 55%; }
.pf-bar--50   { width: 50%; }

.pf-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: currentColor;
  margin-bottom: 4px;
}

.pf-pill {
  width: 72px;
  height: 22px;
  border-radius: 11px;
  background: currentColor;
  margin-top: 4px;
}

.pf-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.pf-slot {
  height: 20px;
  border-radius: 4px;
  background: currentColor;
}

.pf-feature-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.pf-cta-bar {
  width: 90px;
  height: 22px;
  border-radius: 4px;
  background: currentColor;
  margin-top: 4px;
}

/* Cores por tema de card (light) */
.card-light .pf-wireframe { color: rgba(4,12,95,0.13); }
.card-gold  .pf-wireframe { color: rgba(4,12,95,0.16); }
.card-dark  .pf-wireframe { color: rgba(255,255,255,0.18); }
.card-mid   .pf-wireframe { color: rgba(255,255,255,0.18); }

/* ─────────────────────────────────────────────────────────────
   5. PROPOSTA DE VALOR — comparativo antes/depois (light)
───────────────────────────────────────────────────────────── */
.value-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.value-compare-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}
.value-compare-card--before {
  border-left: 3px solid rgba(180,40,40,0.35);
}
.value-compare-card--after {
  border-left: 3px solid var(--color-brand);
  box-shadow: 0 0 18px rgba(0,115,176,0.06);
}
.vc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.value-compare-card--before .vc-icon {
  background: rgba(180,40,40,0.07);
  color: rgba(180,40,40,0.70);
}
.value-compare-card--after .vc-icon {
  background: rgba(0,115,176,0.08);
  color: var(--color-brand);
}
.vc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vc-list li {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text);
  opacity: 0.8;
}
.value-compare-card--before .vc-list li {
  opacity: 0.5;
}
@media (max-width: 520px) {
  .value-compare { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   6. CASES — bloco de resultado com métrica (light)
───────────────────────────────────────────────────────────── */
.case-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.case-result-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
}
.case-result-label {
  font-size: 0.72rem;
  color: var(--color-text-soft);
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────
   7. FOOTER — grid 3 colunas
───────────────────────────────────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer-copy  { justify-self: start; }
.footer-logo  { justify-self: center; }
.footer-links { justify-self: end; }
.footer-logo img {
  display: block;
  height: 60px;
  width: auto;
}
