/* Celular da hero: WhatsApp + agenda confirmada */

.v2-hero:has(.v2-phone) {
  overflow: visible;
}

.v2-hero__inner:has(.v2-phone) {
  align-items: center;
  justify-content: space-between;
  min-height: 580px;
  gap: 8px 20px;
  overflow: visible;
}

.v2-hero__media--phone {
  align-items: center;
  justify-content: center;
  max-width: 420px;
  min-height: 560px;
  overflow: visible;
  width: 100%;
  z-index: 2;
}

.v2-hero__media--phone::before {
  bottom: 8%;
  height: 70%;
  width: 80%;
}

.v2-phone-stage {
  display: grid;
  height: 620px;
  place-items: center;
  position: relative;
  width: 100%;
}

.v2-phone-toast {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(11, 13, 21, .45);
  color: #5a6772;
  display: flex;
  font-size: 12px;
  gap: 10px;
  line-height: 1.25;
  min-width: 188px;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.v2-phone-toast b {
  color: #14191e;
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.v2-phone-toast__ico {
  align-items: center;
  border-radius: 11px;
  display: flex;
  flex: none;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.v2-phone-toast--1 {
  right: -52px;
  top: 28px;
}

.v2-phone-toast--1 .v2-phone-toast__ico {
  background: #d8f8e8;
}

.v2-phone-toast--2 {
  bottom: 168px;
  left: -56px;
}

.v2-phone-toast--2 .v2-phone-toast__ico {
  background: #eee8ff;
}

.v2-phone-toast--3 {
  bottom: 92px;
  right: -48px;
}

.v2-phone-toast--3 .v2-phone-toast__ico {
  background: #e6f7ee;
}

.v2-phone-hint {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 999px;
  bottom: 4px;
  box-shadow: 0 12px 32px -10px rgba(213, 220, 33, .55);
  color: #14191e;
  cursor: pointer;
  display: inline-flex;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  left: 50%;
  padding: 10px 14px 10px 12px;
  position: absolute;
  transform: translate(-50%, 0);
  white-space: nowrap;
  z-index: 6;
}

.v2-phone-hint::after {
  border-bottom: 8px solid #fff;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  content: "";
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%);
}

.v2-phone-hint__dot {
  background: #D5DC21;
  border-radius: 50%;
  flex: none;
  height: 8px;
  position: relative;
  width: 8px;
}

.v2-phone-hint__dot::after {
  animation: v2-hint-ring 1.6s ease-out infinite;
  border: 2px solid #D5DC21;
  border-radius: 50%;
  content: "";
  inset: -5px;
  position: absolute;
}

.v2-phone-stage.is-simulating .v2-phone-toast,
.v2-phone-stage.is-simulating .v2-phone-hint {
  animation: none !important;
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity .25s ease;
}

.v2-phone {
  background: #12141a;
  border-radius: 46px;
  user-select: none;
  box-shadow:
    0 40px 80px -28px rgba(0, 0, 0, .72),
    0 0 0 1px rgba(255, 255, 255, .08) inset;
  height: 572px;
  position: relative;
  width: 282px;
  z-index: 1;
}

.v2-phone__notch {
  background: #050508;
  border-radius: 0 0 16px 16px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 11px;
  transform: translateX(-50%);
  width: 96px;
  z-index: 4;
}

.v2-phone__notch::after {
  background: #1a1c22;
  border-radius: 50%;
  content: "";
  height: 8px;
  position: absolute;
  right: 18px;
  top: 7px;
  width: 8px;
}

.v2-phone__btn {
  background: #2a2c34;
  position: absolute;
  width: 3px;
}

.v2-phone__btn--silent {
  border-radius: 2px 0 0 2px;
  height: 18px;
  left: -3px;
  top: 86px;
}

.v2-phone__btn--vol-up,
.v2-phone__btn--vol-down {
  border-radius: 2px 0 0 2px;
  height: 36px;
  left: -3px;
}

.v2-phone__btn--vol-up { top: 118px; }
.v2-phone__btn--vol-down { top: 162px; }

.v2-phone__btn--power {
  border-radius: 0 2px 2px 0;
  height: 52px;
  right: -3px;
  top: 132px;
}

.v2-phone__screen {
  background: #0b141a;
  border-radius: 36px;
  inset: 11px;
  overflow: hidden;
  position: absolute;
}

.v2-phone__face {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.v2-phone__face[hidden] {
  display: none;
}

.v2-phone.is-agenda .v2-phone__face--whatsapp {
  animation: v2-phone-out .45s ease forwards;
  pointer-events: none;
}

.v2-phone.is-agenda .v2-phone__face--agenda {
  animation: v2-phone-in .55s cubic-bezier(.22, 1, .36, 1) both;
  z-index: 2;
}

/* WhatsApp */

.v2-wa {
  color: #e9edef;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  height: 100%;
}

.v2-wa__status {
  align-items: center;
  color: #e9edef;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: space-between;
  padding: 14px 16px 0;
}

.v2-wa__status-icons {
  align-items: center;
  display: flex;
  gap: 4px;
}

.v2-wa__head {
  align-items: center;
  background: #202c33;
  display: flex;
  gap: 8px;
  margin-top: 6px;
  min-height: 52px;
  padding: 6px 12px 8px;
}

.v2-wa__back {
  border-left: 2px solid #8696a0;
  border-bottom: 2px solid #8696a0;
  display: block;
  height: 8px;
  transform: rotate(45deg);
  width: 8px;
}

.v2-wa__avatar {
  background: #774FD4;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12);
  display: block;
  flex: none;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.v2-wa__who {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.v2-wa__who strong {
  font-size: 14px;
  font-weight: 600;
}

.v2-wa__who small {
  color: #8696a0;
  font-size: 11px;
}

.v2-wa__chat {
  background-color: #0b141a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1.2'><path d='M22 28c8-2 14 8 6 12-10 5-4 16 8 12'/><circle cx='118' cy='34' r='8'/><path d='M40 92h18l6 10 6-10h14'/><path d='M102 108c12 0 18 14 8 20'/><rect x='18' y='120' width='16' height='12' rx='2'/><path d='M130 70l10 6-10 6z'/></g></svg>");
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 8px 8px;
  scrollbar-width: none;
}

.v2-wa__chat::-webkit-scrollbar {
  display: none;
}

.v2-wa__list {
  background: #1f2c34;
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 6px;
  max-width: 100%;
  padding: 10px 10px 8px;
}

.v2-wa__list-title {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.v2-wa__chev {
  border-right: 2px solid #8696a0;
  border-bottom: 2px solid #8696a0;
  flex: none;
  height: 7px;
  margin-top: 4px;
  transform: rotate(45deg);
  width: 7px;
}

.v2-wa__list p {
  color: #e9edef;
  margin: 0;
}

.v2-wa__list-foot {
  align-items: flex-end;
  color: #8696a0;
  display: flex;
  font-size: 11.5px;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
}

.v2-wa__list-foot time {
  font-size: 10.5px;
}

.v2-wa__opcoes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.v2-wa__opcao {
  align-items: center;
  background: #1f2c34;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  color: #e9edef;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px 8px 10px;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  width: 100%;
}

.v2-wa__opcao:hover,
.v2-wa__opcao:focus-visible {
  background: #26353e;
}

.v2-wa__opcao.is-pulse {
  animation: v2-wa-pulse 1.8s ease-in-out infinite;
}

.v2-wa__opcao-seta {
  border-left: 2px solid #8696a0;
  border-bottom: 2px solid #8696a0;
  height: 7px;
  left: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
}

.v2-wa__bolha {
  animation: v2-bolha-in .28s ease both;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 6px;
  max-width: 88%;
  padding: 7px 8px 5px 9px;
  width: fit-content;
}

.v2-wa__bolha--in {
  background: #1f2c34;
  border-bottom-left-radius: 2px;
}

.v2-wa__bolha--out {
  background: #005c4b;
  border-bottom-right-radius: 2px;
  margin-left: auto;
}

.v2-wa__bolha p {
  margin: 0;
}

.v2-wa__hora {
  color: #8696a0;
  display: block;
  font-size: 10px;
  margin-top: 4px;
  text-align: right;
}

.v2-wa__bolha--out .v2-wa__hora {
  color: #99beb5;
}

.v2-wa__typing {
  align-items: center;
  background: #1f2c34;
  border-radius: 12px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 6px;
  padding: 10px 12px;
}

.v2-wa__typing[hidden] {
  display: none;
}

.v2-wa__typing span {
  animation: v2-wa-dot 1s ease-in-out infinite;
  background: #8696a0;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.v2-wa__typing span:nth-child(2) { animation-delay: .15s; }
.v2-wa__typing span:nth-child(3) { animation-delay: .3s; }

.v2-wa-pix {
  background: #111b21;
  border: 1px solid #2a3942;
  border-radius: 10px;
  margin: 2px 0 4px;
  padding: 10px;
  text-align: center;
}

.v2-wa-pix__marca {
  color: #00a884;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v2-wa-pix__valor {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.v2-wa-pix__qr {
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: repeat(13, 1fr);
  height: 108px;
  margin: 0 auto 8px;
  padding: 6px;
  width: 108px;
}

.v2-wa-pix__qr i {
  background: #111;
}

.v2-wa-pix__qr i.is-off {
  background: transparent;
}

.v2-wa-pix__codigo {
  color: #8696a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-wa__composer {
  align-items: center;
  background: #1f2c33;
  display: flex;
  gap: 8px;
  padding: 7px 8px 10px;
}

.v2-wa__plus {
  color: #8696a0;
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
}

.v2-wa__input {
  background: #2a3942;
  border-radius: 18px;
  color: #8696a0;
  flex: 1;
  font-size: 12px;
  padding: 8px 12px;
}

.v2-wa__mic {
  align-items: center;
  background: #D5DC21;
  border-radius: 50%;
  display: flex;
  flex: none;
  height: 28px;
  justify-content: center;
  width: 28px;
}

/* Agenda */

.v2-agenda {
  background:
    linear-gradient(180deg, #1a0b2e 0%, #24143a 40%, #12081f 100%);
  color: #f1f1ff;
  display: flex;
  flex-direction: column;
  font-family: Poppins, Rubik, sans-serif;
  height: 100%;
  padding: 28px 12px 10px;
  position: relative;
}

.v2-agenda__toast {
  align-items: center;
  animation: v2-agenda-toast .7s cubic-bezier(.22, 1, .36, 1) .15s both;
  background: #D5DC21;
  border-radius: 12px;
  box-shadow: 0 10px 24px -8px rgba(213, 220, 33, .7);
  color: #06281a;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 1px;
  left: 12px;
  padding: 8px 10px;
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 3;
}

.v2-agenda__toast strong {
  font-size: 12.5px;
}

.v2-agenda__head {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 28px 0 12px;
}

.v2-agenda__logo {
  background: #774FD4;
  border-radius: 10px;
  display: block;
  flex: none;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.v2-agenda__head b {
  display: block;
  font-size: 13.5px;
  line-height: 1.15;
}

.v2-agenda__head small {
  color: #c7c3fb;
  font-size: 10.5px;
}

.v2-agenda__label {
  color: #99b0bb;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  margin: 8px 0 6px;
}

.v2-agenda__dias {
  display: flex;
  gap: 6px;
}

.v2-agenda__dia {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  text-align: center;
}

.v2-agenda__dia small {
  color: #99b0bb;
  display: block;
  font-size: 9px;
  font-weight: 500;
}

.v2-agenda__dia.is-on {
  background: #774FD4;
  border-color: transparent;
}

.v2-agenda__dia.is-on small {
  color: #f1f1ff;
}

.v2-agenda__quadra {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 8px;
}

.v2-agenda__quadra b {
  display: block;
  font-size: 12px;
}

.v2-agenda__quadra small {
  color: #99b0bb;
  font-size: 10.5px;
}

.v2-agenda__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.v2-agenda__slot {
  background: rgba(255, 255, 255, .08);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 7px;
}

.v2-agenda__slot.is-busy {
  color: #5a6772;
  opacity: .55;
  text-decoration: line-through;
}

.v2-agenda__slot.is-confirmado {
  animation: v2-slot-pop .7s cubic-bezier(.34, 1.4, .64, 1) both;
  background: #D5DC21;
  box-shadow: 0 0 0 0 rgba(213, 220, 33, .7);
  color: #06281a;
}

.v2-agenda__bar {
  align-items: center;
  background: #0b0d15;
  border-radius: 12px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding: 8px 8px 8px 10px;
}

.v2-agenda__bar span {
  color: #99b0bb;
  display: block;
  font-size: 10px;
}

.v2-agenda__bar b {
  color: #D5DC21;
  display: block;
  font-size: 11px;
}

.v2-agenda__replay {
  background: #774FD4;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  flex: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .v2-phone {
    animation: v2-phone-float 7s ease-in-out infinite;
  }

  .v2-hero__media--phone:hover .v2-phone {
    animation-play-state: paused;
  }

  .v2-phone-toast--1 { animation: v2-toast-pop-1 7s ease-in-out infinite both; }
  .v2-phone-toast--2 { animation: v2-toast-pop-2 7s ease-in-out infinite both; }
  .v2-phone-toast--3 { animation: v2-toast-pop-3 7s ease-in-out infinite both; }

  .v2-phone-hint {
    animation: v2-hint-float 2.4s ease-in-out infinite;
  }
}

@keyframes v2-phone-float {
  0%, 100% { transform: rotate(-2.2deg) translateY(0); }
  50% { transform: rotate(1.4deg) translateY(-12px); }
}

@keyframes v2-phone-out {
  to { opacity: 0; transform: scale(.96) translateY(8px); }
}

@keyframes v2-phone-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
}

@keyframes v2-wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 132, 0); }
  50% { box-shadow: 0 0 0 4px rgba(0, 168, 132, .28); }
}

@keyframes v2-bolha-in {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
}

@keyframes v2-wa-dot {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@keyframes v2-agenda-toast {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
}

@keyframes v2-slot-pop {
  0% { transform: scale(.6); box-shadow: 0 0 0 0 rgba(213, 220, 33, .7); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(213, 220, 33, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(213, 220, 33, 0); }
}

@keyframes v2-toast-pop-1 {
  0%, 30% { opacity: 0; transform: translateY(10px) scale(.96); }
  36%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); }
}

@keyframes v2-toast-pop-2 {
  0%, 46% { opacity: 0; transform: translateY(10px) scale(.96); }
  52%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); }
}

@keyframes v2-toast-pop-3 {
  0%, 62% { opacity: 0; transform: translateY(10px) scale(.96); }
  68%, 86% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(.98); }
}

@keyframes v2-hint-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

@keyframes v2-hint-ring {
  0% { opacity: .7; transform: scale(.6); }
  100% { opacity: 0; transform: scale(1.8); }
}

@media screen and (max-width: 1024px) {
  .v2-hero:has(.v2-phone) {
    padding-bottom: 28px;
  }

  .v2-hero__inner:has(.v2-phone) {
    min-height: auto;
  }

  .v2-hero__media--phone {
    margin: 8px auto 0;
    max-width: 100%;
    min-height: 0;
  }

  .v2-phone-stage {
    height: 580px;
  }

  .v2-phone {
    height: 520px;
    width: 256px;
  }

  .v2-phone-toast {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .v2-phone-stage {
    height: 560px;
  }

  .v2-phone {
    height: 488px;
    width: 240px;
  }

  .v2-wa-pix__qr {
    height: 92px;
    width: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-phone,
  .v2-wa__opcao.is-pulse,
  .v2-agenda__toast,
  .v2-agenda__slot.is-confirmado,
  .v2-phone-toast,
  .v2-phone-hint,
  .v2-phone-hint__dot::after {
    animation: none !important;
  }

  .v2-phone-toast {
    opacity: 1;
  }
}

