/* ============================================================
   HOME TESTE — Tela de entrada (seção 1) + Hero (seção 2)
   ============================================================ */

/* ── Fundo preto nas seções escuras + container root da home-teste ── */
.ht-hero, .ht-contact { background: #111111; }
#app, main { background: #111111; }

/* ── Seção 2: Hero ─────────────────────────────────────────── */
.ht-hero {
  position: relative;
  overflow: hidden;
  background: #111111;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 5vw, 60px);
}

/* Conteúdo acima do vídeo de fundo, centralizado */
.ht-hero .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}


.ht-hero__ctas { justify-content: center; }

.ht-hero__label {
  display: block;
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(241, 241, 241, 0.55);
  margin-bottom: 22px;
}

.ht-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  color: #F1F1F1;
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 820px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ht-hero__sub span:last-child { font-style: italic; }

.ht-hero__headline .ht-amp {
  color: rgba(241, 241, 241, 0.4);
}

.ht-hero__sub {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  color: rgba(241, 241, 241, 0.75);
  margin: 24px auto 22px;
  max-width: 500px;
  line-height: 1.5;
  text-align: center;
}

.ht-hero__headline span,
.ht-hero__sub span { display: block; }

.ht-hero__ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.ht-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: #F1F1F1;
  border: 1.5px solid rgba(241, 241, 241, 0.55);
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.ht-btn-outline:hover {
  border-color: rgba(241, 241, 241, 0.9);
  background: rgba(241, 241, 241, 0.07);
}

.ht-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: #F1F1F1;
  opacity: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.ht-btn-text:hover { opacity: 0.75; }

/* ── Fundo claro nas seções Method e Cases (escopo home-teste) ── */
.page-home-teste .method-section,
.page-home-teste #cases { background: #F1F1F1; }

/* ── Seção de contato com vídeo de fundo + Liquid Glass ─────── */
.ht-contact {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  isolation: isolate;
}

/* Seção de contato: transparente + acima do overlay (z-index 2) */
.ht-contact #contato.section {
  background: transparent;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Box completo (texto + formulário): efeito Liquid Glass */
.ht-contact .contact {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 48px;
  position: relative;
  z-index: 1;
}

/* AJUSTE 2: Textos brancos à esquerda */
.ht-contact h2 {
  color: #F1F1F1;
  line-height: 1.0;
  text-transform: uppercase;
}

.ht-contact .lead {
  color: rgba(241, 241, 241, 0.85);
  line-height: 1.5;
}

.ht-contact .eyebrow { color: rgba(241, 241, 241, 0.65); }

.ht-contact .quickline { color: rgba(241, 241, 241, 0.75); }

/* AJUSTE 3: Inputs e labels */
.ht-contact label { color: #F1F1F1 !important; }

.ht-contact .input,
.ht-contact .textarea {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #111111;
}

.ht-contact .input::placeholder,
.ht-contact .textarea::placeholder { color: #111111; }

/* AJUSTE 4: Texto de rodapé do formulário */
.ht-contact small,
.ht-contact .form-disclaimer {
  color: #F1F1F1 !important;
  white-space: normal;
}

/* AJUSTE 5: Eliminar faixa branca entre contato e rodapé */
.page-home-teste .site-footer,
.page-home-teste footer { margin-top: 0; }

.page-home-teste .ht-contact { margin-bottom: 0; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ht-hero {
    min-height: 0;
    max-height: 1050px;
    padding-top: 60px;
    padding-bottom: 60px;
    justify-content: center;
    align-items: center;
  }
  .ht-hero .wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ht-hero__headline { text-align: center; font-size: clamp(47px, 13vw, 67px); max-width: 300px; }
  .ht-hero__sub { text-align: center; margin-top: 12px; margin-bottom: 11px; }
  .ht-hero .ht-btn-text { display: none; }
  .ht-hero__ctas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .fluxo-col .step h3 { font-size: 38px; }
  .ht-section-light .offer h3 { font-size: 31px; }

  .ht-contact .contact { padding: 33px 25px; }
}

/* Fundo claro nas seções Etapas e Cases */
.ht-section-light { background: #F1F1F1 !important; }

.ht-section-light .method-section,
.ht-section-light #fluxograma,
.ht-section-light #cases,
.ht-section-light .section { background: #F1F1F1 !important; }

/* Reduzir padding-top e padding-bottom da method-section — era clamp(38px,4.8vw,76px) */
.ht-section-light .method-section {
  padding-top: clamp(19px, 2.4vw, 38px) !important;
  padding-bottom: clamp(19px, 2.4vw, 38px) !important;
}

/* Remover margin-top do footer na home-teste */
.page-home-teste .footer { margin-top: 0 !important; }

/* Padding inferior da seção de contato */
.ht-contact #contato,
.ht-contact #contato.section {
  padding-bottom: clamp(38px, 4.8vw, 76px) !important;
}

/* Zerar margin/padding residuais */
.page-home-teste .ht-contact { margin-bottom: 0; }
.ht-contact .section { padding-bottom: 0 !important; }

/* Fluxograma: grid unificado — step + offer por coluna */
.fluxo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(16px, 2vw, 28px); /* era clamp(32px, 4vw, 56px) — reduzido à metade */
}

.fluxo-col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px); /* era clamp(24px, 3vw, 40px) — reduzido à metade */
}

@media (max-width: 768px) {
  .fluxo-grid { grid-template-columns: 1fr; }
}

/* Step boxes — card visual igual ao .offer (escopo home-teste) */
.fluxo-col .step {
  background: var(--dc-bg-card);
  border-radius: 18px;
  border: 1px solid var(--dc-line);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.fluxo-col .step .head {
  display: flex; align-items: center; justify-content: space-between;
}
.fluxo-col .step .num {
  font-family: var(--font-display);
  font-size: 22px; color: var(--dc-blue);
  letter-spacing: 0; line-height: 1;
}
.fluxo-col .step .stage {
  font-family: var(--font-text);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--dc-muted);
}
.fluxo-col .step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: .95;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  color: var(--dc-ink);
}
.fluxo-col .step p {
  font-size: 14px; line-height: 1.6;
  color: var(--dc-muted);
  margin: 0;
}

/* Method connector — centralizado e espaço vertical reduzido (escopo fluxo-col) */
.fluxo-col .method-connector {
  display: flex;
  justify-content: center;
  padding: 6px 0;
  margin: 0;
}
.fluxo-col .method-connector .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Offer boxes — títulos em Block W1G uppercase (escopo home) */
.ht-section-light .offer h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 23px; /* ajustado de 20px */
}

/* Sobre — reduzir espaço entre parágrafos */
.ht-section-light .sobre .body p {
  line-height: 1.5;
  margin-bottom: 0.6em;
}

/* Números 01/02/03 dos offers — cor azul */
.ht-section-light .offer .idx { color: var(--dc-blue); }

/* Footer — copyright centralizado */
.page-home-teste .footer .copy,
.page-home .footer .copy { text-align: center; }

/* WhatsApp flutuante — ring shadow */
.page-home-teste .wpp,
.page-home .wpp {
  box-shadow: 0 0 0 3px rgba(241, 241, 241, 0.5), 0 0 12px rgba(241, 241, 241, 0.3) !important;
}

/* Ocultar player nativo do Safari — seletores globais */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}
