.section-remote {
  width: 100%;
  height: 100%;
  font-family: 'Inter', sans-serif;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


#background-remote {
  width: 100%;
  height: 100%;
  background: radial-gradient(120% 90% at 50% -40%, rgb(53, 178, 255) 0%, #000000bd 100%);
  position: absolute;
  z-index: -1;
}


:root {
  --bg: #0b0e1a;
  --blue: #26ADF7;
  --blue-dark: #1a86c4;
  --ring: rgba(38, 173, 247, 0.35);
  --text: #cfd3e0;
}

.mic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mic-stage {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anéis externos estáticos (bordas finas, como na referência) */
.ring-static {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 130, 160, 0.35);
}

.ring-static.r1 {
  width: 240px;
  height: 240px;
}

.ring-static.r2 {
  width: 190px;
  height: 190px;
}

/* Anéis pulsantes de "escutando" */
.ring-pulse {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  animation: pulse 2.2s ease-out infinite;
}

.ring-pulse.delay-1 {
  animation-delay: 0.55s;
}

.ring-pulse.delay-2 {
  animation-delay: 1.1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }

  70% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* Botão principal */
.mic-button {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #5ec8fb, var(--blue) 55%, var(--blue-dark) 100%);
  box-shadow:
    0 0 40px 6px rgba(38, 173, 247, 0.55),
    0 0 90px 20px rgba(38, 173, 247, 0.25),
    inset 0 -6px 14px rgba(0, 0, 0, 0.25);
  animation: breathe 2.2s ease-in-out infinite;
  transition: transform 0.15s ease;
}

.mic-button:active {
  transform: scale(0.96);
}

@keyframes breathe {

  0%,
  100% {
    box-shadow:
      0 0 40px 6px rgba(38, 173, 247, 0.55),
      0 0 90px 20px rgba(38, 173, 247, 0.25),
      inset 0 -6px 14px rgba(0, 0, 0, 0.25);
  }

  50% {
    box-shadow:
      0 0 55px 10px rgba(38, 173, 247, 0.75),
      0 0 120px 30px rgba(38, 173, 247, 0.35),
      inset 0 -6px 14px rgba(0, 0, 0, 0.25);
  }
}

.mic-icon {
  width: 52px;
  height: 52px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

.status {
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.status::after {
  content: '';
  display: inline-block;
  width: 1ch;
  text-align: left;
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}





























.phone {
  width: 100%;
  max-width: 560px;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  /*     box-shadow: 0 40px 100px rgba(0,0,0,0.6); */
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /*   background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.87);
  cursor: pointer;
  flex-shrink: 0;
}

.remote-status {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.822);
  letter-spacing: 0.2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.remote-status .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
}

.remote-status .dot.connected {
  background: #2eff96;
  box-shadow: 0 0 10px 1px #2eff968a;
}

.remote-status .dot.disconnected {
  background: grey;
  box-shadow: 0 0 10px 1px #8080808a;
}


.orb-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

canvas#orb {
  width: clamp(300px, 40vw, 365px);
  height: clamp(300px, 40vw, 365px);
}

.content {
  padding: 0 30px 20px;
}

.transcript {
  font-size: 18px;
  margin-top: 40px;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
  width: 100%;
  height: 160px;
  overflow-y: auto;
}

.transcript::-webkit-scrollbar {
  display: none;
}

.transcript .fade {
  color: rgba(255, 255, 255, 0.38);
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 8px 0 28px;
}

.ctrl {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.185);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.ctrl.mic {
  width: 68px;
  height: 68px;
  background: linear-gradient(145deg, var(--blue), rgb(0, 195, 255));
  border: none;
  color: #fff;
}


svg {
  display: block;
}























.remote-menu {
  width: 100px;
  height: auto;
  position: absolute;
  right: 32px;
  display: none;
  z-index: 1;
}

.show-remote-menu {
  display: block;
}

.remote-menu div {
  position: relative;
  padding: 6px;
  inset: 0;
  background-color: rgb(23, 27, 29);
  border-radius: 4px;
  pointer-events: auto;
  z-index: 2;
}

/* .remote-menu li {
  list-style: none;
  font-size: 0.85em;
  padding: 6px;
  z-index: 9;
}
 */






.wrapper-remote-pin {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
  background-color: var(--blue);
  width: 70%;
  max-width: 480px;
  height: 200px;
  z-index: 9999;
  padding: 20px;
  border-radius: 7px;
  display: none;
}

.wrapper-remote-pin input {
  width: 100%;
  padding: 14px;
  background-color: rgb(27, 27, 27);
  border: none;
  border-radius: 7px;
}

.wrapper-remote-pin button {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 7px;
  background-color: rgb(197, 197, 197);
}