/* =============================================================================
   Vamos Conversar — estilos específicos (usa css/base.css)
   ========================================================================== */

/* ----------------------------------------------------------------- hero -- */
.ct-hero { position: relative; padding: 64px 24px 24px; overflow: hidden; }
.ct-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 480px at 50% -10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(760px 380px at 12% 8%, rgba(59, 184, 255, 0.16), transparent 55%);
}
.ct-hero__inner {
  position: relative; max-width: 640px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ct-back {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: background .2s, border-color .2s, color .2s;
}
.ct-back:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.ct-hero__inner h1 {
  font-size: clamp(28px, 4.2vw, 42px); line-height: 1.1; letter-spacing: -0.03em;
  animation: pageEnterIn .5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ct-hero__inner h1 .thin { font-weight: 100; }
.ct-hero__inner h1 strong { font-weight: 700; }
.ct-hero__inner p {
  font-size: 15px; line-height: 1.55; color: var(--text-dim); max-width: 46ch;
  animation: pageEnterIn .5s cubic-bezier(0.16, 1, 0.3, 1) .1s both;
}

/* ----------------------------------------------------------------- área -- */
.ct-main {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 24px 80px;
  position: relative;
  display: flex; align-items: flex-start; justify-content: center;
}

/* ----------------------------------------------------------------- chat -- */
.chat {
  flex: 1; min-width: 0; max-width: 600px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; height: 540px;
  animation: pageEnterIn .5s cubic-bezier(0.16, 1, 0.3, 1) .2s both;
}
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.chat__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat__who { display: flex; flex-direction: column; gap: 1px; }
.chat__name { font-weight: 700; font-size: 14px; }
.chat__status { font-size: 11.5px; color: var(--text-dim); }

.chat__scroll {
  flex: 1; overflow-y: auto;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}

.chat__msg { display: flex; animation: bubbleIn .3s ease both; }
.chat__msg--bot { justify-content: flex-start; }
.chat__msg--user { justify-content: flex-end; }

.bubble {
  max-width: 80%; padding: 12px 16px;
  font-size: 14px; line-height: 1.5;
}
.bubble--bot {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px; color: var(--text);
}
.bubble--user {
  background: var(--gradient-hero);
  border-radius: 16px 16px 4px 16px; color: #fff;
}
.chat__typing { display: flex; justify-content: flex-start; }
.bubble--typing { display: flex; gap: 4px; padding: 13px 16px; }
.bubble--typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1s ease-in-out infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }

.chat__foot { border-top: 1px solid var(--line); padding: 14px 18px; flex-shrink: 0; }

.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__quick button {
  font: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.chat__quick button:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.chat__form { display: flex; gap: 10px; align-items: center; }
.chat__input {
  font: inherit; font-size: 14px; width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text);
  padding: 12px 14px; outline: none;
  transition: border-color .2s;
}
.chat__input:focus { border-color: var(--brand); }
.chat__input::placeholder { color: var(--text-faint); }
.chat__input--area { resize: none; min-height: 44px; max-height: 44px; }

.chat__send {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chat__send:hover:not(:disabled) { background: var(--text); border-color: var(--text); color: var(--bg); }
.chat__send:disabled { opacity: .4; cursor: default; }

.chat__skip {
  margin-top: 8px; font: inherit; font-size: 12px;
  color: var(--text-faint); background: none; border: none;
  cursor: pointer; padding: 0;
}
.chat__skip:hover { color: var(--text-dim); }

.chat__done {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 13.5px;
  padding: 12px; border-radius: 11px;
  border: 1px solid var(--line); color: var(--text);
}
.chat__done:hover { color: var(--text); border-color: var(--brand); }

/* --------------------------------------------------------------- redes -- */
.socials {
  position: absolute; right: 24px; top: 12px;
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 180px; flex-shrink: 0; width: 170px;
}
.social {
  position: relative; display: flex; align-items: center;
  height: 46px; text-decoration: none;
}
.social__arrow {
  position: absolute; left: 0; top: 50%;
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%) scale(0);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social:hover .social__arrow { transform: translateY(-50%) scale(1); }
.social__pill {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 16px; border-radius: 999px; background: transparent;
  transform: translateX(0);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s;
}
.social:hover .social__pill { transform: translateX(40px); }
.social__dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--text-faint);
  opacity: 1; transition: opacity .2s;
}
.social:hover .social__dot { opacity: 0; }
.social__label {
  font-size: 19px; font-weight: 400; color: var(--text-dim);
  transition: color .2s, font-weight .2s;
}
.social:hover .social__label { font-weight: 700; color: #fff; }
[data-theme="light"] .social:hover .social__label { color: var(--text); }

/* -------------------------------------------------------------- rodapé -- */
.ct-footer {
  background: var(--navy); color: #EDEBE7; padding: 32px 24px;
}
.ct-footer > div {
  max-width: 1760px; margin: 0 auto; text-align: center;
  font-size: 12px; color: rgba(237, 235, 231, 0.5);
}

/* ------------------------------------------------------------ responsivo -- */
@media (max-width: 1024px) {
  .ct-main { flex-direction: column; align-items: center; }
  .socials {
    position: static; width: auto; padding-top: 32px;
    flex-direction: row; gap: 28px; justify-content: center;
  }
  .social:hover .social__pill { transform: translateX(30px); }
}

@media (max-width: 640px) {
  .ct-main { padding: 12px 18px 56px; }
  .chat { height: 70vh; min-height: 440px; }
  .socials { flex-direction: column; align-items: center; gap: 8px; }
}
