/* v56 — selo de garantia, antes/depois e prova social.
   Só classes novas (prefixo sb-); não altera estilos existentes. */

/* ---------- Botão do topo com o preço dentro ---------- */
.experience-v15 .hero-xp .hero-actions .sb-hero-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
/* Mesmo visual do botão "Quero assinar" (gradiente da marca).
   Precisa do html[data-theme] para vencer o fundo azul liso da site-v15. */
html[data-theme] .experience-v15 .hero-xp .hero-actions .sb-hero-cta,
html[data-theme] .experience-v15 .hero-xp .hero-actions .sb-hero-cta:hover {
  border-color: #337dff;
  background: linear-gradient(110deg,#00c7ff 0%,#1687ff 34%,#4057ff 63%,#8a2cff 100%);
  box-shadow: 0 10px 24px rgba(35,92,238,.18);
  color: #fff;
}
html[data-theme] .experience-v15 .hero-xp .hero-actions .sb-hero-cta:hover { filter: brightness(1.06); }
.sb-hero-cta-label { display: block; }
.sb-hero-cta-price {
  display: block;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: .9;
}

/* Título do topo: mesmo tamanho do título do Catálogo (vem da site-v55);
   a última frase usa a mesma medida da frase com barra do Catálogo. */
.experience-v15 .hero-xp h1.sb-hero-title span { display: block; }
.experience-v15 .hero-xp h1.sb-hero-title em { padding-bottom: .08em; }
.experience-v15 .hero-xp h1.sb-hero-title .sb-hero-title-sub {
  margin-top: 16px;
  color: #1d3550;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

/* Título da seção de planos no mesmo padrão do Catálogo:
   linha escura + linha em gradiente do mesmo tamanho + frase com barra azul.
   A v46 esconde o em desse título; aqui ele volta só neste título. */
.experience-v15 .xp-sales-heading h2.sb-plans-title { max-width: 820px; line-height: .93; letter-spacing: -.058em; font-weight: 830; }
.experience-v15 .xp-sales-heading h2.sb-plans-title em {
  display: block;
  padding-bottom: .12em; /* o gradiente só pinta dentro da caixa: sem isso corta o "p" */
  margin-bottom: -.12em;
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg,#2bb8ff 0%,#347eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.experience-v15 .xp-sales-heading .sb-plans-statement {
  grid-column: 1;
  grid-row: 3;
  display: block;
  max-width: 620px;
  margin-top: 6px;
  padding-left: 18px;
  border-left: 2px solid #3aa7ff;
  color: #1d3550;
  font-size: clamp(19px,1.6vw,24px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
@media (max-width: 940px) {
  .experience-v15 .xp-sales-heading .sb-plans-statement { grid-row: auto; margin-top: 2px; }
}

/* ---------- WhatsApp flutuante ---------- */
.sb-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18,140,74,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sb-whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18,140,74,.42); }
.sb-whatsapp-float:focus-visible { outline: 3px solid #142033; outline-offset: 3px; }
.sb-whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
/* A barra "Assinar agora" também fica no canto: abre espaço para o botão */
.experience-v15 .xp-conversion-dock { right: 96px; }
@media (max-width: 700px) {
  .sb-whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .sb-whatsapp-float svg { width: 28px; height: 28px; }
}

/* ---------- Selo de garantia ---------- */
.sb-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #142033;
  text-align: left;
}
.sb-guarantee-seal {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(110deg,#00c7ff 0%,#1687ff 34%,#4057ff 63%,#8a2cff 100%);
  box-shadow: 0 10px 24px rgba(41,104,255,.22);
}
.sb-guarantee-seal::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.sb-guarantee-seal b,
.sb-guarantee-seal small {
  position: relative;
  display: block;
  line-height: 1;
  text-align: center;
}
.sb-guarantee-seal b {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #1f5dff;
}
.sb-guarantee-seal small {
  margin-top: 1px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #4a5a70;
}
.sb-guarantee-seal span { position: relative; display: grid; gap: 1px; padding-top: 2px; }
.sb-guarantee-copy { display: grid; gap: 2px; font-size: 13px; line-height: 1.35; }
.sb-guarantee-copy strong { font-weight: 800; color: #142033; }
.sb-guarantee-copy span { color: #4a5a70; }

/* No topo, abaixo do botão principal */
.sb-guarantee--hero { margin-top: 22px; }

/* Selo único da seção de planos, abaixo do texto legal */
.sb-guarantee--plans {
  justify-content: center;
  width: fit-content;
  margin: 18px auto 0;
  padding: 12px 20px 12px 14px;
  border: 1px solid #dbe5f0;
  background: #fff;
}
.sb-guarantee--plans .sb-guarantee-copy { font-size: 14px; }

/* Dentro do card, logo abaixo do botão de assinar */
.sb-guarantee--card {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #dbe5f0;
  background: #f6f9fd;
}
.sb-guarantee--card .sb-guarantee-seal { width: 40px; height: 40px; }
.sb-guarantee--card .sb-guarantee-seal b { font-size: 15px; }

/* Plano Estudante: código pelo e-mail da faculdade.
   O form em grade já soma 8px de gap; 14px de margem iguala os 22px do card Profissional. */
.experience-v15 .student-application #student-code-form .subscribe-button { margin-top: 14px; }
.experience-v15 .student-application #student-code-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Cabeçalho das seções novas ---------- */
.sb-section-head { max-width: 760px; margin: 0 0 40px; }
.sb-kicker {
  display: block;
  margin-bottom: 14px;
  color: #57bcff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.sb-section-head h2 {
  margin: 0;
  color: #142033;
  font-size: clamp(40px,4.6vw,64px);
  line-height: .95;
  letter-spacing: -.058em;
  font-weight: 830;
}
.sb-section-head h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg,#2bb8ff 0%,#347eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.sb-section-head p {
  max-width: 600px;
  margin: 20px 0 0;
  color: #4a5a70;
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- Antes e depois ---------- */
/* Mesmo visual dos outros títulos: linha azul no mesmo tamanho da escura */
#compare-title em { padding-bottom: .08em; }
.sb-compare-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 56px;
  align-items: center;
}
.sb-compare-layout .sb-section-head { margin: 0; }
.sb-compare-frame {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 944 / 676;
  width: 100%;
  border: 1px solid #ceDAE7;
  background: #e9ecef;
  user-select: none;
  touch-action: pan-y;
}
.sb-compare-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.sb-compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.sb-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20,32,51,.12);
  pointer-events: none;
}
.sb-compare-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat,
    linear-gradient(110deg,#00c7ff 0%,#1687ff 34%,#4057ff 63%,#8a2cff 100%);
  box-shadow: 0 10px 24px rgba(41,104,255,.3);
}
.sb-compare-label {
  position: absolute;
  top: 16px;
  padding: 7px 11px;
  background: rgba(20,32,51,.82);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  pointer-events: none;
}
.sb-compare-label--before { left: 16px; }
.sb-compare-label--after { right: 16px; background: #1f5dff; }
.sb-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.sb-compare-range:focus-visible + .sb-compare-line::after { outline: 3px solid #142033; outline-offset: 3px; }
.sb-compare-note {
  max-width: 1080px;
  margin: 14px auto 0;
  color: #6a7a90;
  font-size: 12px;
  text-align: center;
}

/* ---------- Depoimentos (conversa estilo WhatsApp) ---------- */
/* Separação só pelo degradê de fundo, como a seção de Planos */
.experience-v15 .sb-proof {
  background:
    radial-gradient(circle at 22% 40%, rgba(47,115,232,.07), transparent 32%),
    linear-gradient(180deg, #edf3f9, #f8fbfe);
}
.sb-proof-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  align-items: center;
}
.sb-proof-layout .sb-section-head { margin: 0; }
/* Carrossel: todas as conversas na mesma célula da grade, a altura é a da maior */
.sb-chat-carousel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 34px;
}
.sb-chat-track { display: grid; width: 100%; max-width: 460px; }
.sb-chat-track > .sb-chat { grid-area: 1 / 1; }
/* A conversa que sai some na hora; a nova entra com um leve deslize (sem sobrepor as duas) */
.sb-chat-carousel:not(.is-single) .sb-chat { visibility: hidden; }
.sb-chat-carousel:not(.is-single) .sb-chat.is-active { visibility: visible; animation: sbChatIn .32s ease both; }
@keyframes sbChatIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sb-chat-carousel .sb-chat.is-active { animation: none; } }
.sb-chat-carousel.is-single .sb-chat-nav,
.sb-chat-carousel.is-single .sb-chat-dots { display: none; }
.sb-chat-nav {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5dee9;
  border-radius: 50%;
  background: #fff;
  color: #1f5dff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(20,32,51,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sb-chat-nav span { margin-top: -3px; }
.sb-chat-nav:hover { transform: scale(1.06); box-shadow: 0 10px 24px rgba(41,104,255,.22); }
.sb-chat-nav:focus-visible { outline: 3px solid #142033; outline-offset: 3px; }
.sb-chat-nav--prev { left: 0; }
.sb-chat-nav--next { right: 0; }
.sb-chat-dots { display: flex; gap: 8px; }
.sb-chat-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c6d3e2;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.sb-chat-dots button[aria-current="true"] { width: 24px; background: linear-gradient(90deg,#2bb8ff,#4057ff); }
.sb-proof-cta { margin-top: 28px; }
.sb-msg:not(:has(time)) { padding-right: 10px; }

.sb-chat {
  width: 100%;
  max-width: 460px;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #d5dee9;
  border-radius: 18px;
  background: #efeae2;
  box-shadow: 0 24px 60px rgba(20,32,51,.14);
}
.sb-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f2f5;
  border-bottom: 1px solid #e1e6ec;
}
.sb-chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2bb8ff,#4057ff);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.sb-chat-who { display: grid; gap: 1px; line-height: 1.2; }
.sb-chat-who b { color: #111b21; font-size: 15px; font-weight: 700; }
.sb-chat-who small { color: #667781; font-size: 12px; }
.sb-chat-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 14px 20px;
}
.sb-chat-day {
  align-self: center;
  margin: 6px 0 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #fff;
  color: #54656f;
  font-size: 11px;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
.sb-msg {
  position: relative;
  max-width: 82%;
  margin: 0;
  padding: 7px 56px 8px 10px;
  border-radius: 0 8px 8px 8px;
  background: #fff;
  color: #111b21;
  font-size: 14.5px;
  line-height: 1.38;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
.sb-msg + .sb-msg:not(.sb-msg--out) { border-top-left-radius: 8px; }
.sb-msg time {
  position: absolute;
  right: 9px;
  bottom: 5px;
  color: #667781;
  font-size: 11px;
}
.sb-msg--out {
  align-self: flex-end;
  margin-top: 6px;
  border-radius: 8px 0 8px 8px;
  background: #d9fdd3;
}
.sb-msg--out + .sb-chat-day { margin-top: 10px; }

/* ---------- Dúvidas: texto da esquerda centralizado com as perguntas ---------- */
.experience-v15 .xp-faq-grid { align-items: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .sb-compare-layout { grid-template-columns: 1fr; gap: 28px; }
  .sb-proof-layout { grid-template-columns: 1fr; gap: 32px; }
  .sb-proof-layout .sb-section-head { order: -1; }
}
@media (max-width: 700px) {
  .sb-section-head { margin-bottom: 28px; }
  .sb-section-head h2 { font-size: clamp(36px,10vw,48px); }
  .sb-msg { max-width: 90%; font-size: 14px; }
  .sb-chat-carousel { padding: 0 22px; }
  .sb-chat-nav { width: 38px; height: 38px; font-size: 22px; }
  .sb-compare-label { top: 10px; padding: 6px 9px; font-size: 9px; }
  .sb-compare-label--before { left: 10px; }
  .sb-compare-label--after { right: 10px; }
  .sb-guarantee-copy { font-size: 12px; }
}
