/* ===============================
   TELA 3 - RCS (Responsiva)
   =============================== */

/* --- CARD PRINCIPAL --- */
.rcs3-card-principal {
  width: 95%;
  background: #d2d9ee;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rcs3-banner {
  width: 100%;
  height: 111px;
  object-fit: cover;
  background: #000;
}

.rcs3-texto {
  padding: 0 9px;
}

.rcs3-titulo {
  font-size: 15px;
  margin: 0 0 5px !important;
  font-weight: 700;
  color: #000000;
}

.rcs3-subtitulo {
  font-size: 13px;
  margin: 10px 0 10px 0;
  color: #272727;
}

.rcs3-botoes {
  display: flex;
  flex-direction: column;
  margin: 0 10px 10px;
}

.rcs3-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px;
  font-size: 15px;
  color: #333;
  background: #fff;
  border: none;
  cursor: default;
  pointer-events: none;
}

.rcs3-btn:first-of-type {
  box-shadow: 0 10px 14px #000000ba;
  width: 99%;
  border-radius: 10px 10px 0 0;
  padding: 10px;
  font-size: 18px;
  font-weight: 600;
  transform: scale(1.05) translateY(-2px) translateX(5px);
  z-index: 10;
  position: relative;
  background: #f8f9fa;
}

.rcs3-btn:last-of-type {
  border-radius: 0 0 10px 10px;
  border-bottom: none;
}

.rcs3-btn:not(:first-of-type):not(:last-of-type) {
  border-radius: 0;
  border-top: 1px solid rgba(71, 71, 71, 0.2);
  border-bottom: 1px solid rgba(73, 73, 73, 0.2);
}

.rcs3-btn svg {
  margin-right: 8px;
  font-size: 18px;
}

/* --- CARD FLUTUANTE (AGENDA) --- */
.rcs3-card-agenda {
  position: absolute;
  top: 21%;
  right: -228px;
  border-radius: 25px 25px 25px 8px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rcs3-card-agenda.animate,
.rcs3-card-agenda.visible {
  opacity: 1;
  transform: scale(1);
}

.rcs3-card-agenda object {
  width: 250px;
  height: auto;
  display: block;
}

/* ===============================
   RESPONSIVIDADE
   =============================== */

/* tablets e telas médias (até 1200px) */
@media (max-width: 1200px) {
  .rcs3-card-principal {
    width: 90%;
  }

  .rcs3-banner {
    height: 100px;
  }

  .rcs3-titulo {
    font-size: 15px;
  }

  .rcs3-subtitulo {
    font-size: 13px;
  }

  .rcs3-card-agenda {
    top: 120px;
    left: 85%;
    right: auto;
  }

  .rcs3-card-agenda object {
    width: 200px;
  }
}

@media (max-width: 991px) {
  .rcs-section3-phone-col .telefone-sim {
    left: -48px;
  }

  .rcs3-card-agenda object {
    width: 185px;
  }
}

@media (max-width: 775px) {
  .rcs-section3-phone-col .telefone-sim {
    left: -46px;
  }
}

/* celulares grandes (até 768px) */
@media (max-width: 700px) {
  .rcs3-card-principal {
    width: 100%;
    margin-top: 0px;
  }

  .rcs3-titulo {
    font-size: 14px;
  }

  .rcs3-subtitulo {
    font-size: 12px;
  }

  .rcs3-btn {
    font-size: 13px;
    padding: 8px;
  }

  .rcs3-card-agenda {
    right: -180px;
    top: 12%;
    left: auto;
  }

  .rcs3-card-agenda object {
    width: 200px;
  }
}

@media (max-width: 635px) {
  .rcs-section3-phone-col .telefone-sim {
    left: -70px;
  }
}

/* celulares pequenos (até 480px) */
@media (max-width: 480px) {
  .rcs-section3-phone-col .telefone-sim {
    left: 0px;
  }

  .rcs3-card-principal {
    width: 90%;
  }

  .rcs3-btn:first-of-type {
    padding: 10px;
    font-size: 15px;
  }

  .rcs3-banner {
    height: 90px;
  }

  .rcs3-titulo {
    font-size: 13px;
  }

  .rcs3-subtitulo {
    font-size: 11px;
  }

  .rcs3-btn {
    font-size: 12px;
    padding: 7px;
  }

  .rcs3-card-agenda {
    right: -84px;
    top: 70%;
    left: auto;
    border-radius: 9px 20px 20px 20px;
  }

  .rcs3-card-agenda object {
    width: 155px;
  }
}

@media (max-width: 430px) {
  .rcs-section3-phone-col .telefone-sim {
    left: -10px;
  }
}

/* telas muito pequenas (até 360px) */
@media (max-width: 360px) {
  .rcs3-card-principal {
    width: 90%;
  }

  .rcs3-banner {
    height: 80px;
  }

  .rcs3-titulo {
    font-size: 12px;
  }

  .rcs3-subtitulo {
    font-size: 10px;
  }

  .rcs3-btn {
    font-size: 11px;
    padding: 6px;
  }

  .rcs3-card-agenda {
    right: -130px;
    top: 18%;
    left: auto;
  }

  .rcs3-card-agenda object {
    width: 160px;
  }
}
