/* =====================================================================
   ARQUIVO: rcs-home-v2.css
   DESCRIÇÃO: Estilos recriados e renomeados para a seção home RCS (linhas 273-499)
   VERSÃO: 2.0 - Recriado com novos nomes de classes
   ===================================================================== */

/* ====== CONTAINER PRINCIPAL ====== */
.rcs-home-v2-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100%;
  margin: 0 auto;
}

/* Mantem elementos da home RCS saindo para fora do mockup */
.home-rcs .telefone-sim .moldura,
.home-rcs .telefone-sim .tela {
  overflow: visible;
}

/* Mesmo comportamento nas secoes 1, 2 e 3 */
.rcs-section1 .telefone-sim .moldura,
.rcs-section1 .telefone-sim .tela,
.rcs-section2 .telefone-sim .moldura,
.rcs-section2 .telefone-sim .tela,
.rcs-section3 .telefone-sim .moldura,
.rcs-section3 .telefone-sim .tela {
  overflow: visible !important;
}

/* ====== CURSOR ANIMADO (MOUSE) - FASE 1 ====== */
/* Animação controlada via @keyframes em rcs-home-v2-animations.css */
#rcs-home-v2-mouse-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 9999 !important;
  will-change: top, left, opacity, transform;
  /* Animação definida em rcs-home-v2-animations.css */
}

/* ====== CURSOR ANIMADO (MOUSE) - FASE 3 ====== */
#rcs-home-v2-mouse-cursor-fase3 {
  position: absolute;
  pointer-events: none;
  z-index: 9999 !important;
  will-change: top, left, opacity, transform;
  /* Animação definida em rcs-home-v2-animations.css */
}

/* ====== CENTRO ====== */
.rcs-home-v2-centro {
  top: -8px;
  position: relative;
  width: 100%;
  height: 417px;
}

/* ====== CARD CENTRAL ====== */
.rcs-home-v2-card {
  width: 100%;
  height: auto;
  background: #d2d9ee;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.76);
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  opacity: 0;
  animation: rcs-home-v2-popIn 1s ease 0.3s forwards;
}

.rcs-home-v2-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.rcs-home-v2-body {
  padding: 10px;
}

.rcs-home-v2-body h3 {
  font-size: 16px;
  margin: 0 0 5px;
  color: #141414;
}

.rcs-home-v2-body p {
  font-size: 14px;
  line-height: 1.4;
  color: #161616;
  margin: 4px 0 5px;
}

.rcs-home-v2-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.rcs-home-v2-buttons span {
  background: #e9edff;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
}

/* ====== COMPOSER (ENTRADA DE MENSAGEM) ====== */
.rcs-home-v2-composer {
  position: relative;
  right: 7px;
  width: 108%;
  margin-top: 5px;
  opacity: 0;
  animation: rcs-home-v2-fadeInUp 1s ease 0.9s forwards;
}

.rcs-home-v2-chip {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 10px;
  margin-right: 5px;
}

/* ====== NOVO LAYOUT: CARD PROMOCIONAL ====== */
.rcs-home-v2-promo-card {
  position: relative;
  background: #f8fafc;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.696);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  max-width: 80%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Posição inicial e transição controladas pela animação */
}

.rcs-home-v2-promo-texto {
  font-size: 14px;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.rcs-home-v2-promo-texto strong {
  color: #000;
  font-weight: 700;
}

.rcs-home-v2-promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: text !important;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ====== RESPOSTA DO USUÁRIO (direita) ====== */
.rcs-home-v2-resposta {
  position: absolute;
  background: #e8e8e8;
  color: #000000;
  padding: 5px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  top: 33.5%;
  left: 55%;
  max-width: 62%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 51%);
  opacity: 0;
  /* Começa invisível - animação controlada por rcs-home-v2-animations.css */
}

/* ====== CARROSSEL DE 3 CARDS DE PRODUTOS (abertos lado a lado) ====== */
.rcs-home-v2-cards-produtos {
  width: 200%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  padding: 5px 0px;
  top: 35px;
  left: -110px;
  position: relative;
  overflow: visible;
}

/* ====== CARD INDIVIDUAL DE PRODUTO (com overlap e dominó) ====== */
.rcs-home-v2-card-produto {
  width: 200px;
  min-height: auto;
  background: #d2d9ee;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /* Evita conteúdo sair */
  box-shadow: 0 4px 12px rgb(0 0 0 / 52%);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  display: flex;
  flex-direction: column;
}

/* Cards lado a lado sem sobreposição */
.rcs-home-v2-card-produto:nth-child(1) {
  z-index: 3;
  /* Animação controlada por rcs-home-v2-animations.css */
}

.rcs-home-v2-card-produto:nth-child(2) {
  z-index: 2;
  /* Animação controlada por rcs-home-v2-animations.css */
}

.rcs-home-v2-card-produto:nth-child(3) {
  z-index: 1;
  /* Animação controlada por rcs-home-v2-animations.css */
}

.rcs-home-v2-card-produto:hover {
  transform: scale(1.02);
  z-index: 10 !important;
}

.rcs-home-v2-produto-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.rcs-home-v2-produto-body {
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  text-align: left;
}

.rcs-home-v2-produto-titulo {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #111;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rcs-home-v2-produto-descricao {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rcs-home-v2-produto-preco {
  font-size: 11px;
  color: #000;
  font-weight: 600;
  margin: 0;
}

.rcs-home-v2-produto-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  font: 500 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: #111;
  background: #fff;
  border: none;
  border-radius: 12px;
  margin: 0;
  margin-top: auto;
  cursor: default;
  pointer-events: none;
}

.rcs-home-v2-produto-cta:first-of-type:last-of-type {
  border-radius: 12px;
  border: none;
}

/* ====== SETAS ====== */
.rcs-home-v2-seta {
  position: absolute;
  z-index: 5;
  /* Opacidade controlada por animação */
}

.rcs-home-v2-seta-verificado {
  position: absolute;
  width: 100px;
  right: -29px;
  top: -14px;
  z-index: 10;
  overflow: visible;
  /* Permite o SVG ser cortado pelo clip-path */
  /* Animação movida para rcs-home-v2-animations.css */
}

/* SVG da seta precisa de display block para clip-path funcionar */
.rcs-home-v2-seta-verificado svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes rcs-home-v2-subirDescer {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(1px);
  }

  100% {
    transform: translateY(0);
  }
}

.rcs-home-v2-conv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== CARD VERIFICADO ====== */
.rcs-home-v2-verificado-card {
  position: absolute;
  right: -145px;
  top: 45px;
  width: 150px;
  min-height: 190px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 8px 12px rgba(21, 21, 21, 0.685);
  border: 1px solid #7b5dd6dd;
  text-align: center;
  padding: 6px 6px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  z-index: 9;
  /* Animação movida para rcs-home-v2-animations.css */
}

/* ====== WRAPPER DAS LOGOS ====== */
.rcs-home-v2-verificado-wrapper {
  position: relative;
  width: 65px;
  height: 65px;
  margin-bottom: 0px;
  perspective: 800px;
  perspective-origin: center center;
  transform-style: preserve-3d;
  overflow: visible;
}

/* ====== LOGOS ====== */
.rcs-home-v2-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.1) translateZ(-100px);
  transform-style: preserve-3d;

  backface-visibility: hidden;
  /* Transições removidas - animações CSS controlam tudo */
}

.rcs-home-v2-logo.rcs-home-v2-ativa {
  /* Estado inicial - animações CSS controlam tudo */
  /* Esta classe não deve interferir nas animações */
  /* Removendo qualquer estilo que possa interferir */
  opacity: inherit;
  transform: inherit;
  filter: inherit;
}

/* ====== TEXTO VERIFICADO ====== */
.rcs-home-v2-verificado-texto {
  font-size: 13px;
  color: #000000;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 5px;
}

.rcs-home-v2-verificado-texto strong {
  font-weight: 600;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

#rcs-esquerda-typed,
#rcs-typed-verificado {
  display: block;
}

.rcs-home-v2-hero-google {
  background: linear-gradient(90deg,
      #4285f4 0%,
      /* Azul Google */
      #ea4335 25%,
      /* Vermelho */
      #fbbc05 50%,
      /* Amarelo */
      #34a853 80%
      /* Verde */
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(66, 133, 244, 0.3);
  letter-spacing: 0.3px;
}

/* ====== CORES ====== */
.rcs-home-v2-color-google {
  color: #4285f4;
  font-weight: 700;
  font-size: 20px;
}

.rcs-home-v2-color-vivo {
  color: #7b2fff;
  font-weight: 700;
  font-size: 20px;
}

.rcs-home-v2-color-tim {
  color: #0046ad;
  font-weight: 700;
  font-size: 20px;
}

.rcs-home-v2-color-claro {
  color: #e60000;
  font-weight: 700;
  font-size: 20px;
}

/* ====== COMPOSER TELA 2 ====== */
.rcs-home-v2-tela2-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 5px;
  border: 1px solid #7e7e7e70;
  margin-top: 0px;
  border-radius: 20px;
  background: #e9eef5;
  width: 100%;
  box-sizing: border-box;
}

.rcs-home-v2-tela2-composer .rcs-home-v2-conv-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #444;
}

.rcs-home-v2-tela2-composer svg {
  width: 22px;
  height: 22px;
  color: #000;
}

.rcs-home-v2-tela2-composer .rcs-home-v2-composer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== APP BAR ====== */
.rcs-home-v2-appbar {
  margin-top: 25px;
  height: 35px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #111827;
  background: transparent;
}

.rcs-home-v2-appbar.rcs-home-v2-conv-appbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
}

.rcs-home-v2-btn-ico {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcs-home-v2-btn-ico.rcs-home-v2-btn-prev {
  grid-column: 1;
}

.rcs-home-v2-btn-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.rcs-home-v2-conv-title {
  grid-column: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rcs-home-v2-conv-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  overflow: visible;
  /* Permite que o stroke do SVG não seja cortado */
}

.rcs-home-v2-conv-logo.rcs-home-v2-conv-appbar {
  width: 30px;
  height: 30px;
}

.rcs-home-v2-titulo-app {
  color: #000;
  grid-column: 3;
  position: static !important;
  left: 68px !important;
  right: auto !important;
  margin: 0;
  min-width: 0;
  align-self: center;
  display: block;
  font-size: clamp(14px, 2.8vw, 18px);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rcs-home-v2-acoes {
  grid-column: 4;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rcs-home-v2-acoes svg {
  width: 20px;
  height: 20px;
}

/* ====== ANDROID APP ====== */
.rcs-home-v2-android-app {
  position: relative;
  /* Para o cursor se posicionar relative a este container */
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 5px;
  box-sizing: border-box;
  overflow: visible;
  /* Permite cards saírem para fora */
}

.rcs-home-v2-android-conversa {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: inherit;
  position: relative;
}

.rcs-home-v2-android-conversa h1,
.rcs-home-v2-android-conversa h2,
.rcs-home-v2-android-conversa h3 {
  font-weight: 600;
}

/* ====== ANIMAÇÕES ====== */
@keyframes rcs-home-v2-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes rcs-home-v2-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rcs-home-v2-popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rcs-home-v2-slideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rcs-home-v2-slideRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes rcs-home-v2-logoFloat {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.03) translateY(-5px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

/* ====== CLASSES DE ANIMAÇÃO ====== */
.rcs-home-v2-fadeInDelay {
  animation: rcs-home-v2-fadeInUp 1s ease 0.3s forwards;
}

.rcs-home-v2-fadeInDelay2 {
  animation: rcs-home-v2-fadeInUp 1s ease 0.9s forwards;
}

@media (max-width: 535px) {
  .rcs-home-v2-promo-texto {
    font-size: 13px;
  }

  .rcs-home-v2-promo-card {
    max-width: 75%;
  }

  .rcs-home-v2-resposta {
    top: 37.5%;
    left: 45%;
  }

  .rcs-home-v2-seta-verificado svg {
    width: 80%;
  }

  .rcs-home-v2-seta-verificado {
    right: -19px;
  }

  .rcs-home-v2-verificado-texto {
    font-size: 12px;
  }

  #rcs-typed-verificado {
    font-size: 15px;
  }

  .rcs-home-v2-verificado-wrapper {
    width: 55px;
    height: 55px;
  }

  .rcs-home-v2-verificado-card {
    right: -103px;
    top: 30px;
    width: 130px;
    min-height: 155px;
  }

  .rcs-home-v2-cards-produtos {
    width: 182%;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 455px) {
  .rcs-home-v2-promo-texto {
    font-size: 13px;
  }

  .rcs-home-v2-promo-card {
    max-width: 70%;
  }

  .rcs-home-v2-seta-verificado svg {
    width: 60%;
  }

  .rcs-home-v2-seta-verificado {
    right: -8px;
    top: -12px;
  }

  .rcs-home-v2-verificado-wrapper {
    width: 45px;
    height: 45px;
  }

  .rcs-home-v2-verificado-texto {
    font-size: 11px;
  }

  .rcs-home-v2-verificado-card {
    right: -85px;
    top: 17px;
    width: 121px;
    min-height: 137px;
  }

  .rcs-home-v2-resposta {
    top: 40.5%;
    left: 55%;
  }

  .rcs-home-v2-cards-produtos {
    width: 165%;

    top: 75px;
  }
}

@media (max-width: 360px) {
  .rcs-home-v2-resposta {
    left: 50%;
  }

  .rcs-home-v2-verificado-card {
    right: -75px;
  }

  .rcs-home-v2-cards-produtos {
    width: 176%;
  }
}

@media (max-width: 430px) {
  .rcs-home-v2-appbar {
    margin-top: 16px;
  }

  .rcs-home-v2-promo-card {
    max-width: 70%;
  }

  .rcs-home-v2-seta-verificado svg {
    width: 56%;
  }

  .rcs-home-v2-seta-verificado {
    right: -6.5px;
    top: -12px;
  }

  .rcs-home-v2-verificado-card {
    right: -88px;
    top: 17px;
    width: 130px;
    min-height: 140px;
  }

  .rcs-home-v2-verificado-wrapper {
    width: 45px;
    height: 45px;
  }

  #rcs-typed-verificado {
    font-size: 15px;
  }

  .rcs-home-v2-verificado-texto {
    font-size: 12px;
  }

  .rcs-home-v2-cards-produtos {
    width: 169%;
    top: 84px;
    left: 50%;
  }

  .rcs-home-v2-resposta {
    top: 43.5%;
  }

  .rcs-home-v2-card-produto {
    width: 140px;
  }
}

@media (max-width: 414px) {
  .rcs-home-v2-appbar {
    margin-top: 15px;
  }

  .rcs-home-v2-promo-texto {
    font-size: 12px;
  }

  .rcs-home-v2-promo-card {
    max-width: 70%;
    padding: 8px 7px;
  }

  .rcs-home-v2-seta-verificado svg {
    width: 55%;
  }

  .rcs-home-v2-seta-verificado {
    right: -6px;
    top: -12px;
  }

  .rcs-home-v2-verificado-card {
    right: -68px;
    top: 10px;
    width: 120px;
    min-height: 140px;
    padding: 2px 0px 0px;
  }

  .rcs-home-v2-verificado-texto {
    font-size: 11px;
  }

  .rcs-home-v2-verificado-wrapper {
    width: 45px;
    height: 45px;
  }

  #rcs-typed-verificado {
    font-size: 15px !important;
  }

  .rcs-home-v2-resposta {
    font-size: 14px;
    top: 38.5%;
    left: 52%;
    padding: 8px;
  }

  .rcs-home-v2-cards-produtos {
    width: 168%;
    left: 50%;
    transform: translateX(-50%);
    top: 75px;
  }

  .rcs-home-v2-produto-titulo {
    margin: 0 0 5px;
    font-size: 15px;
  }

  .rcs-home-v2-produto-descricao {
    margin: 0 0 5px;
    font-size: 12px;
  }

  .rcs-home-v2-produto-img {
    height: 75px;
  }
}

@media (max-width: 390px) {
  .rcs-home-v2-card-produto {
    width: 120px;
  }
}

@media (max-width: 375px) {
  .rcs-home-v2-promo-texto {
    font-size: 11px;
  }

  .rcs-home-v2-appbar {
    margin-top: 15px;
  }

  .rcs-home-v2-promo-btn {
    font-size: 12px;
  }

  .rcs-home-v2-seta-verificado svg {
    width: 40%;
  }

  .rcs-home-v2-seta-verificado {
    right: 1px;
    top: -11px;
  }

  .rcs-home-v2-verificado-card {
    right: -82px;
    top: 0px;
    width: 120px;
    min-height: 130px;
    padding: 2px 0px 0px;
  }

  .rcs-home-v2-verificado-texto {
    font-size: 11px;
  }

  .rcs-home-v2-verificado-wrapper {
    width: 35px;
    height: 35px;
  }

  #rcs-typed-verificado {
    font-size: 14px !important;
  }

  .rcs-home-v2-resposta {
    font-size: 11px;
    top: 36.5%;
    left: 53%;
    font-weight: 700;
  }

  .rcs-home-v2-card-produto {
    width: 115px;
  }

  .rcs-home-v2-produto-img {
    height: 80px;
  }

  .rcs-home-v2-produto-titulo {
    margin: 0 0 5px;
    font-size: 15px;
  }

  .rcs-home-v2-cards-produtos {
    width: 198%;

    gap: 5px;
    padding: 5px 0px;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
  }

  .rcs-home-v2-produto-descricao {
    margin: 0 0 9px;
    font-size: 12px;
    line-height: 1.3;
  }

  .rcs-home-v2-produto-cta {
    padding: 7px;
    font: 500 12px / 1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial,
      sans-serif;
  }

  @media only screen and (max-device-width: 720px) {
    .nld-chatbot .nld-avatar {
      bottom: 10px !important;
    }
  }

  /* Keyframe específica para telas pequenas com valores ajustados */
}