/**
 * voz.css
 * Torpedo de Voz – layout principal: hero, features, CTA, menu Produtos, responsivo.
 * Depende: voz-variables.css (--voz-*, --rcs-*).
 */
/* ============================================
   HERO SECTION
   ============================================ */
.voz-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--voz-gradient);
  position: relative;
  overflow: hidden;
}

/* Menu Produtos: hover apenas no desktop (mobile usa toggle por clique do menu.js) */
@media (min-width: 992px) {

  .wsmenu>.wsmenu-list>li>ul.sub-menu,
  .wsmenu>.wsmenu-list>li>ul.novo-menu-rcs {
    display: none !important;
  }

  .wsmenu>.wsmenu-list>li:hover>ul.sub-menu,
  .wsmenu>.wsmenu-list>li:hover>ul.novo-menu-rcs {
    display: block !important;
  }

  [data-theme="dark"] .wsmenu>.wsmenu-list>li>ul.sub-menu,
  [data-theme="dark"] .wsmenu>.wsmenu-list>li>ul.novo-menu-rcs {
    background: #1a1a1a;
    border: 1px solid #333;
  }
}

.voz-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.32);
}

.voz-hero-grid-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-theme="dark"] .voz-hero-grid {
  color: rgba(255, 255, 255, 0.18);
}

/* Overlay: luz no centro + suave escurecimento nas bordas (vignette) */
.voz-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%,
      rgba(255, 255, 255, 0.14) 0%,
      transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 100%);
}

[data-theme="dark"] .voz-hero::before {
  background:
    radial-gradient(ellipse 85% 75% at 50% 40%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 100%);
}

.voz-hero .container {
  position: relative;
  z-index: 3;
}

.voz-hero .col-lg-6 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.voz-hero-tag {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.voz-hero-title {
  font-size: 50px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
}

.voz-hero-description {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-family: "Inter", sans-serif;
}

.voz-hero-description strong {
  color: white;
  font-weight: 700;
}

.voz-hero-cta--mobile {
  display: none;
}

#header a.botao-voz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  padding: 0px 13px;
  min-height: 42px;
  background: var(--voz-background-btn);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: var(--voz-box-shadow-btn);
}

#header a.botao-voz:hover {
  background: var(--voz-background-btn-hover);
  color: #000000;
  box-shadow: var(--voz-box-shadow-btn-hover);
}

/* Botão Principal */
.voz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--voz-background-btn);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--voz-box-shadow-btn);
  position: relative;
  overflow: hidden;
  border: none;
}

.voz-btn-primary:hover {
  background: var(--voz-background-btn-hover);
  color: #000000;
  box-shadow: var(--voz-box-shadow-btn-hover);
}

/* Efeito Ripple */
.voz-btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.voz-btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* Hero Animation Container */
.voz-hero-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.voz-svg-animated {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.voz-features {
  padding: 100px 0;
  background: var(--rcs-bg-primary, #ffffff);
}

[data-theme="dark"] .voz-features {
  background: var(--rcs-bg-primary, #0f172a);
}

.voz-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.voz-section-description {
  font-size: 18px;
  color: var(--rcs-text-secondary, #666);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

[data-theme="dark"] .voz-section-description {
  color: var(--rcs-text-secondary, #b0b0b0);
}

/* Feature Cards */
.voz-feature-card {
  background: var(--rcs-card-bg, #ffffff);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--rcs-border-color, rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .voz-feature-card {
  background: var(--rcs-card-bg, rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.1);
}

.voz-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.25);
}

.voz-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--voz-gradient);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.voz-feature-icon svg {
  width: 40px;
  height: 40px;
}

.voz-feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--rcs-text-primary, #1a1a1a);
  margin-bottom: 16px;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
}

[data-theme="dark"] .voz-feature-card h3 {
  color: var(--rcs-text-light, #ffffff);
}

.voz-feature-card p {
  font-size: 16px;
  color: var(--rcs-text-secondary, #666);
  line-height: 1.7;
  margin: 0;
}

[data-theme="dark"] .voz-feature-card p {
  color: var(--rcs-text-secondary, #b0b0b0);
}

/* ============================================
   CTA SECTION (SVG ao fundo animado + texto em destaque, estilo RCS/WhatsApp)
   ============================================ */
.voz-cta {
  padding: 80px 0;
  background: var(--voz-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .voz-cta {
  background: linear-gradient(135deg, #0b1118 0%, #023063 45%, #0a1016 100%);
}

.voz-cta .container {
  position: relative;
  z-index: 1;
}


/* SVG no fluxo (entre H2 e P), mesmo layout do SMS/WhatsApp/RCS */
.voz-cta-svg-wrap {
  margin: -30px auto -30px;
  max-width: min(400px, 70vw);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.9);
}

.voz-cta-svg-wrap .voz-cta-svg-inner {
  display: block;
  width: 100%;
  height: auto;
}

/* Modo escuro: SVG mais visível (menos apagado) */
[data-theme="dark"] .voz-cta-svg-wrap {
  opacity: 0.92;
  filter: brightness(1.4) contrast(1.08);
  color: rgba(255, 255, 255, 0.95);
}

/* Ícone mantém a mesma cor (#287591) no modo claro e escuro */
[data-theme="dark"] .voz-cta-svg-wrap .voz-cta-icon-draw {
  stroke: #287591;
}

/* Grupo de círculos – rotação suave */
.voz-cta-svg-wrap .voz-cta-bg-rotate {
  transform-origin: 230px 230px;
  animation: voz-cta-bg-spin 40s linear infinite;
}

@keyframes voz-cta-bg-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Ícone de voz: redesenha a cada 6 segundos (loop) */
.voz-cta-icon-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.voz-cta.scroll-reveal.visible .voz-cta-icon-draw-1 {
  animation: voz-cta-icon-loop 6s ease-in-out infinite;
}

.voz-cta.scroll-reveal.visible .voz-cta-icon-draw-2 {
  animation: voz-cta-icon-loop 6s ease-in-out 0.4s infinite;
}

@keyframes voz-cta-icon-loop {
  0% {
    stroke-dashoffset: 100;
  }

  15% {
    stroke-dashoffset: 0;
  }

  75% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 100;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voz-cta-svg-wrap .voz-cta-bg-rotate {
    animation: none;
  }

  .voz-cta-icon-draw {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Conteúdo: título chamativo, texto e botão */
.voz-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.voz-cta-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0px 0;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.voz-cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  line-height: 1.8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.voz-cta-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Botão CTA: mesmas proporções do WhatsApp e RCS (Começar agora + seta) */
.voz-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.voz-cta-btn:hover {
  transform: translateY(-2px);
}

.voz-cta-btn:active {
  transform: translateY(-2px) scale(1.02);
}

.voz-cta-btn .voz-btn-primary-icon {
  transition: transform 0.3s ease;
}

.voz-cta-btn:hover .voz-btn-primary-icon {
  transform: translateX(8px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .voz-hero {
    padding: 110px 0 60px;
  }

  .voz-hero-title {
    font-size: 3.2rem;
  }

  .voz-phone-wrapper {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 992px) {
  .voz-hero {
    min-height: auto;
    padding: 90px 0 50px;
  }

  .voz-hero .row {
    flex-direction: column;
    gap: 40px;
  }

  .voz-phone-col {
    width: 100%;
    order: 2;
  }

  .voz-hero .col-lg-6:first-child {
    order: 1;
  }

  .voz-hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .voz-hero {
    padding: 70px 0 40px;
  }

  .voz-hero-title {
    font-size: 2.4rem;
  }

  .voz-hero-description {
    font-size: 17px;
  }

  .voz-hero-tag {
    font-size: 13px;
    padding: 6px 18px;
  }

  .voz-phone-wrapper {
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .voz-hero {
    padding: 60px 0 35px;
  }

  .voz-hero-title {
    font-size: 2rem;
  }

  .voz-hero-description {
    font-size: 16px;
  }

  .voz-cta-svg-wrap {
    max-width: min(320px, 75vw);
  }
}

@media (max-width: 991px) {
  .voz-hero-title {
    font-size: 42px;
  }

  .voz-hero-description {
    font-size: 18px;
  }

  .voz-cta-title {
    font-size: 2.75rem;
  }

  .voz-cta {
    padding: 100px 0;
  }

  .voz-cta-svg-wrap {
    max-width: min(280px, 72vw);
  }
}

@media (max-width: 767px) {
  .voz-hero {
    padding: 100px 0 60px;
    text-align: left;
  }

  .voz-hero-title {
    font-size: 32px;
  }

  .voz-hero-description {
    font-size: 16px;
  }

  .voz-feature-card {
    margin-bottom: 30px;
  }

  .voz-cta {
    padding: 80px 0;
  }

  .voz-cta-title {
    font-size: 2.1rem;
    margin-bottom: 16px;
  }

  .voz-cta-text {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }



  .voz-cta-svg-wrap {
    max-width: min(230px, 68vw);
    margin: 14px auto 18px;
  }

  .voz-hero .col-lg-6:first-child {
    gap: 18px;
    align-items: flex-start;
  }

  .voz-hero-tag {
    align-self: flex-start;
  }

  .voz-hero-cta--desktop {
    display: none;
  }

  .voz-hero-cta--mobile {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
  }


  .voz-phone-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  /* No mobile, CTA fica acima do mockup do celular */
  .voz-phone-col .voz-hero-cta--mobile {
    order: -1;
    margin-top: 0;
    margin-bottom: 16px;
    width: 100%;
  }

  .voz-phone-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .voz-hero-cta--mobile {
    display: flex;

    justify-content: center;
  }
}


/* Efeito de Digitação nos Títulos */
.voz-typewriter {
  display: inline-block;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* width: min-content removido para funcionar melhor inline */
  /* min-height mantido para evitar salto de linha ao iniciar */
  min-height: 1.2em;
  vertical-align: bottom;
  white-space: nowrap;
}

/* Gradientes específicos com !important */
.voz-typewriter[data-gradient="whatsapp"] {
  background-image: linear-gradient(135deg,
      #25d366 0%,
      #128c7e 100%) !important;
}

.voz-typewriter[data-gradient="rcs"] {
  background-image: linear-gradient(199deg,
      #7b2fff 0%,
      #3ac6ff 100%) !important;
}

.voz-typewriter[data-gradient="sms"] {
  background-image: linear-gradient(135deg, #0066ff, #00ccff) !important;
}

/* Cursor Piscante */
.voz-typewriter::after {
  content: "|";
  display: inline-block;
  margin-left: 2px;
  color: #1a1a1a;
  -webkit-text-fill-color: #1a1a1a;
  /* Sobrescrever o transparent do pai */
  animation: voz-blink 0.7s infinite;
  font-weight: 300;
}

[data-theme="dark"] .voz-typewriter::after {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

@keyframes voz-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.voz-typewriter.typing-done::after {
  content: none !important;
  display: none !important;
}