/* ============================================================
   ARTHUR FEEDBACK 02 (2026-05-25) — DESPOLUIR — v2
   "Deixar a IMAGEM dos projetos impressionar"
   ============================================================ */

/* ---------- 1) Tag em areia, menor pra caber, sem cortar ---------- */
.hero-tag {
  color: var(--areia) !important;
  letter-spacing: 2px !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  font-size: 9.5px !important;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.85),
    0 2px 14px rgba(0,0,0,0.7),
    0 0 3px rgba(0,0,0,0.6) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
@media (max-width: 480px) {
  .hero-tag { font-size: 8.5px !important; letter-spacing: 1.5px !important; }
}

/* ---------- 2) Hero limpo: foto aparece mais ---------- */
@media (max-width: 820px) {
  .hero {
    background: linear-gradient(180deg,
      rgba(33, 56, 24, 0.50) 0%,
      rgba(33, 56, 24, 0.18) 35%,
      rgba(33, 56, 24, 0.70) 100%
    ) !important;
    min-height: 540px !important;
    padding: 90px 22px 28px !important;
    position: relative !important;
  }
  .hero-carousel img.active {
    opacity: 0.90 !important;
  }
}

@media (max-width: 480px) {
  .hero { min-height: 480px !important; }
}

/* ---------- 3) CTAs na PARTE INFERIOR do hero, lado a lado, super sutis ---------- */
@media (max-width: 820px) {
  /* tira o .hero-content-wrap como containing block do absolute */
  .hero-content-wrap { position: static !important; }
  .hero-inner { position: static !important; }

  .hero-btns {
    position: absolute !important;
    bottom: 28px !important;
    left: 22px !important;
    right: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-direction: row !important;
    gap: 8px !important;
    flex-wrap: nowrap;
    z-index: 3;
  }
  .hero-btns .btn {
    flex: 1 1 0 !important;
    min-height: 38px !important;
    padding: 8px 6px !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    border-radius: 2px !important;
    text-align: center;
  }
  .hero-btns .btn-primary {
    background: rgba(110, 113, 61, 0.85) !important;
    border: 1px solid rgba(110, 113, 61, 0.9) !important;
    color: var(--branco) !important;
    backdrop-filter: blur(6px);
  }
  .hero-btns .btn-ghost-dark, .hero-btns .btn-ghost {
    background: rgba(33, 56, 24, 0.30) !important;
    border: 1px solid rgba(226, 195, 154, 0.50) !important;
    color: var(--areia) !important;
    backdrop-filter: blur(6px);
  }
  /* Reset do hero-inner pra não tentar flex column */
  .hero-inner {
    display: block !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .hero-content-wrap {
    display: block !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-btns .btn {
    font-size: 10px !important;
    padding: 7px 4px !important;
    letter-spacing: 1.2px !important;
    min-height: 36px !important;
  }
  .hero h1 { font-size: 30px !important; }
}

/* ============================================================
   4) Sombra reforçada no h1 do hero — legível sobre qualquer foto
   ============================================================ */
.hero h1 {
  text-shadow:
    0 2px 4px rgba(0,0,0,0.9),
    0 4px 18px rgba(0,0,0,0.75),
    0 1px 2px rgba(0,0,0,0.85),
    0 0 6px rgba(0,0,0,0.5) !important;
}
.hero h1 em {
  text-shadow: inherit;
}
.hero-subtext {
  text-shadow:
    0 2px 4px rgba(0,0,0,0.85),
    0 2px 14px rgba(0,0,0,0.7) !important;
}

/* ============================================================
   5) Caixa "Zee · Assistente Zteo" — corrigir overflow horizontal
   ============================================================ */
.zee-section, .zee-grid, .zee-quiz { overflow-x: hidden; max-width: 100%; }

@media (max-width: 820px) {
  .zee-quiz {
    padding: 22px 18px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
  }
  .zee-form {
    width: 100%;
    box-sizing: border-box;
  }
  .zee-form label {
    width: 100%;
    box-sizing: border-box;
  }
  .zee-form input,
  .zee-form select,
  .zee-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;  /* evita auto-zoom iOS */
    padding: 11px 12px !important;
  }
  .zee-bubble-prompt {
    padding: 12px 14px !important;
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }
  .zee-header { gap: 10px !important; margin-bottom: 14px !important; padding-bottom: 12px !important; }
  .zee-avatar { width: 36px !important; height: 36px !important; font-size: 16px !important; }
  .zee-name { font-size: 14px !important; }
  .zee-status { font-size: 11px !important; }

  /* Botão "Falar direto pelo WhatsApp" não pode estourar */
  .zee-actions { flex-direction: column; gap: 10px; width: 100%; }
  .zee-actions .btn {
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    padding: 12px 14px;
  }
}
@media (max-width: 480px) {
  .zee-quiz { padding: 18px 14px !important; }
  .zee-grid { gap: 24px !important; }
}

/* Garantia geral: nada estoura o viewport horizontal */
html, body { overflow-x: hidden; max-width: 100vw; }
