/* =========================================================
   HOME DIVIZZO - VERSÃO PROFISSIONAL FINAL
   - Tipografia Suavizada e Hierarquia Visual
   - Mais Imagens e Gráficos com Espaçamento
   - Botão e Grid Corrigidos
   ========================================================= */

/* Base e Tipografia Suavizada */
.dvz-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.dvz-section { padding: 64px 0; }
.dvz-section--alt { padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.dvz-section-head { margin-bottom: 40px; }

.dvz-h1 { margin: 16px 0 12px; color: #fff; font-size: 48px; line-height: 1.15; font-weight: 700; letter-spacing: -1.2px; }
.dvz-h2 { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 36px; text-align: center; letter-spacing: -.8px; }
.dvz-h3 { margin: 0 0 8px; color: #fff; font-weight: 700; font-size: 20px; }
.dvz-p { margin: 0 auto 12px; color: var(--text-1); line-height: 1.8; max-width: 60ch; text-align: center; font-size: 18px; font-weight: 400; }

.dvz-sub { margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.75; font-size: 18px; font-weight: 400; max-width: 55ch; }
.dvz-sub strong { color: #fff; font-weight: 700; }

.dvz-pill { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--border); background: var(--surface-2); border-radius: 999px; color: var(--text-1); font-weight: 700; font-size: 13px; letter-spacing: .4px; }

/* Hero */
.dvz-hero { padding: 72px 0; }
.dvz-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Botões e CTAs */
.dvz-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 16px; }
.dvz-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; min-width: 240px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: all 220ms var(--ease); }
.dvz-btn--primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink) !important; box-shadow: 0 18px 50px rgba(212, 175, 55, .18); }
.dvz-btn--primary:hover { transform: translateY(-3px); filter: brightness(1.05); }
.dvz-btn--ghost { background: var(--surface); border-color: var(--border); color: #fff; }
.dvz-btn--ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); }

/* Mockup com Imagem e Gráfico */
.dvz-mockup { border: 1px solid var(--border); background: var(--surface); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.dvz-mockup__header { height: 32px; background: var(--surface-2); border-radius: 12px 12px 0 0; display: flex; align-items: center; padding: 0 14px; gap: 8px; }
.dvz-mockup__dot { width: 12px; height: 12px; border-radius: 50%; }
.dvz-mockup__dot:nth-child(1) { background: #ef4444; }
.dvz-mockup__dot:nth-child(2) { background: #f59e0b; }
.dvz-mockup__dot:nth-child(3) { background: #10b981; }

.dvz-mockup__body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 16px; }
.dvz-screenshot { border: 1px solid var(--border); background: var(--surface-2); border-radius: 16px; overflow: hidden; }
.dvz-screenshot img { width: 100%; height: 340px; display: block; object-fit: cover; }
.dvz-screenshot.is-placeholder { padding: 24px; text-align: center; }

.dvz-chart-stack { display: flex; flex-direction: column; gap: 16px; }
.dvz-kpis { display: flex; flex-direction: column; gap: 10px; }
.dvz-kpi { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); background: var(--surface-2); border-radius: 14px; padding: 10px 12px; }
.dvz-kpi span { color: var(--text-2); font-weight: 700; font-size: 13px; }
.dvz-kpi strong { color: #fff; font-weight: 700; }
.dvz-kpi .is-pos { color: var(--success); }
.dvz-kpi .is-neg { color: var(--danger); }

.dvz-chart { border: 1px solid var(--border); background: var(--surface-2); border-radius: 16px; padding: 14px; flex: 1; }
.dvz-chart__title { text-align: center; color: var(--text-1); font-weight: 700; font-size: 13px; margin-bottom: 12px; letter-spacing: .6px; text-transform: uppercase; }
.dvz-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.dvz-bar { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(212, 175, 55, .6), rgba(212, 175, 55, .2)); animation: dvzGrow 1s var(--ease) both; }
.dvz-bar.b2 { background: linear-gradient(180deg, rgba(59, 130, 246, .6), rgba(59, 130, 246, .2)); animation-delay: 100ms; }
.dvz-bar.b4 { background: linear-gradient(180deg, rgba(16, 185, 129, .6), rgba(16, 185, 129, .2)); animation-delay: 200ms; }
@keyframes dvzGrow { from { height: 0; } }

/* Seções Posteriores */
.dvz-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 40px; }
.dvz-feature__text { display: flex; flex-direction: column; gap: 20px; }
.dvz-feature__visual { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.dvz-feature__visual img { width: 100%; display: block; }
.dvz-feature__visual.is-placeholder { background: var(--surface-2); padding: 24px; text-align: center; min-height: 300px; }

.dvz-card { border: 1px solid var(--border); background: var(--surface-2); border-radius: 20px; padding: 24px; transition: all 220ms var(--ease); }
.dvz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 255, 255, .15); }
.dvz-card strong { display: block; color: #fff; font-weight: 700; font-size: 18px; }
.dvz-card p { margin: 10px 0 0; color: var(--text-2); font-weight: 400; line-height: 1.7; text-align: left; font-size: 16px; }
.dvz-step { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .22); background: rgba(212, 175, 55, .08); color: rgba(212, 175, 55, .95); font-weight: 700; margin-bottom: 16px; }

.dvz-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.dvz-story { border: 1px solid var(--border); background: var(--surface-2); border-radius: 20px; padding: 24px; }
.dvz-story p { margin: 0; color: #fff; font-weight: 500; font-size: 18px; line-height: 1.6; text-align: left; }
.dvz-story span { display: block; margin-top: 12px; color: var(--text-2); font-weight: 400; font-size: 13px; line-height: 1.6; }
.dvz-story--gold { border-color: rgba(212, 175, 55, .18); background: linear-gradient(180deg, rgba(212, 175, 55, .08), var(--surface-2)); }

/* Gráfico Grande */
.dvz-big-chart { border: 1px solid var(--border); background: var(--surface); border-radius: 24px; padding: 32px; margin-top: 40px; }
.dvz-big-chart__header { text-align: center; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 32px; }
.dvz-big-chart__body { display: flex; align-items: flex-end; gap: 24px; height: 280px; }
.dvz-big-chart__bar { flex: 1; background: linear-gradient(180deg, rgba(212, 175, 55, .6), rgba(212, 175, 55, .2)); border-radius: 8px 8px 0 0; position: relative; animation: dvzGrow 1s var(--ease) both; }
.dvz-big-chart__bar span { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: var(--text-2); }

/* CTA Final */
.dvz-final-cta { text-align: center; }
.dvz-final-cta .dvz-cta { justify-content: center; }

/* FAQ */
.dvz-faq__items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.dvz-faq__item { border: 1px solid var(--border); background: var(--surface-2); border-radius: 20px; padding: 24px; }
.dvz-faq__item strong { display: block; color: #fff; font-weight: 700; margin-bottom: 8px; font-size: 18px; }
.dvz-faq__item p { margin: 0; color: var(--text-2); font-weight: 400; line-height: 1.7; text-align: left; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 32px 0; color: var(--text-2); background: transparent; }
.footer__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; text-align: center; font-size: 14px; line-height: 1.8; }
.footer p { margin: 0; color: var(--text-2); }

/* Responsivo */
@media (max-width: 980px) {
    .dvz-hero__inner, .dvz-feature, .dvz-stories, .dvz-faq__items, .dvz-steps { grid-template-columns: 1fr; }
    .dvz-h1 { font-size: 36px; }
    .dvz-h2 { font-size: 28px; }
    .dvz-feature__visual { margin-top: 32px; }
}

/* Hotfix para o botão do header */
.nav-btn--primary { color: var(--gold-ink) !important; }
/* =========================================================
   FIX CTA TOPO (deixar lado a lado)
   ========================================================= */

/* força o container a não “quebrar” em coluna */
.dvz-hero .dvz-cta{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:16px !important;
  flex-wrap:nowrap !important;  /* mantém lado a lado no desktop */
}

/* força os botões a não ocuparem 100% da largura */
.dvz-hero .dvz-cta .dvz-btn{
  display:inline-flex !important;
  width:auto !important;
  min-width:240px;
  flex:0 0 auto !important;
}

/* no mobile, pode empilhar para não estourar */
@media (max-width: 720px){
  .dvz-hero .dvz-cta{
    flex-wrap:wrap !important;
  }
  .dvz-hero .dvz-cta .dvz-btn{
    min-width:0;
    width:100% !important;
  }
}
/* =========================================================
   COMO FUNCIONA — imagem alinhada à altura do texto
   ========================================================= */

.dvz-feature{
  align-items: stretch;            /* faz as duas colunas “esticar” igual */
}

/* O container da imagem vira um “quadro” com altura igual à coluna do texto */
.dvz-feature__visual{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(11,18,32,.35);

  display: flex;
  align-items: stretch;
}

/* A imagem ocupa 100% da altura do quadro sem distorcer */
.dvz-feature__visual img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;              /* mantém proporção e preenche */
  object-position: center;
}

/* Garante que o quadro não fique “baixo” demais em telas altas */
@media (min-width: 981px){
  .dvz-feature__visual{
    min-height: 520px;            /* ajuste fino: aumenta/baixa conforme seu conteúdo */
  }
}

/* No mobile, deixa mais “natural” */
@media (max-width: 980px){
  .dvz-feature__visual{
    min-height: 260px;
  }
}