/* /teste-gratis — composição do mock + skin marketing (styles.css) */

body.trial-page {
  scroll-behavior: smooth;
}

/* Destaque no headline (verde da marca, como no gradiente do cta-box) */
body.trial-page .trial-highlight {
  color: #8fd67f;
}

/* Header: CTA + login no padrão home */
body.trial-page .header-actions .btn-primary {
  white-space: nowrap;
}

/* Hero — 3 KPIs grandes (composição do mock) */
body.trial-page .trial-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

body.trial-page .trial-kpi {
  background: rgba(10, 24, 49, 0.64);
  border: 1px solid rgba(170, 195, 238, 0.24);
  border-radius: 14px;
  padding: 0.9rem 0.85rem;
  backdrop-filter: blur(8px);
}

body.trial-page .trial-kpi strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.trial-page .trial-kpi span {
  display: block;
  margin-top: 0.35rem;
  color: #d0def7;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.trial-page .hero-card .chat-note {
  text-align: center;
}

/* Seção dor — 3 colunas */
body.trial-page .trial-pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

body.trial-page .trial-pain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

body.trial-page .trial-pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d2def1;
  color: #2a3557;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(31, 63, 122, 0.06);
}

body.trial-page .trial-pain-list li::before {
  content: "✕";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.12);
  color: #c0394b;
  font-size: 0.72rem;
  font-weight: 800;
}

body.trial-page .trial-pain-visual {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d2def1;
  box-shadow: 0 18px 40px rgba(31, 63, 122, 0.14);
  aspect-ratio: 4 / 5;
  background: #dce8ff;
}

body.trial-page .trial-pain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.trial-page .trial-pain-visual-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a4d95, #3fae49);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(31, 63, 122, 0.28);
}

body.trial-page .trial-pain-copy h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: #1f3768;
}

body.trial-page .trial-pain-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

body.trial-page .trial-pain-copy p:last-child {
  margin-bottom: 0;
}

/* Timeline horizontal — 6 passos */
body.trial-page .trial-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.6rem;
  position: relative;
}

body.trial-page .trial-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 0;
  border-top: 2px dashed #9eb8e8;
  z-index: 0;
}

body.trial-page .trial-timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.25rem;
}

body.trial-page .trial-timeline-step .step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #2a4d95, #3a6fd4);
  border: 3px solid #eef4fb;
  box-shadow: 0 10px 22px rgba(42, 77, 149, 0.22);
}

body.trial-page .trial-timeline-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: #1f3768;
  line-height: 1.35;
}

body.trial-page .trial-timeline-step p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Benefícios 3×2 */
body.trial-page .trial-cards-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Features — grupos expansíveis */
body.trial-page .trial-features {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

body.trial-page .trial-features-group {
  border: 1px solid #d2def1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(31, 63, 122, 0.06);
  overflow: hidden;
}

body.trial-page .trial-features-group[open] {
  border-color: #9eb8e8;
  box-shadow: 0 14px 28px rgba(31, 63, 122, 0.1);
}

body.trial-page .trial-features-group summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 800;
  font-size: 1rem;
  color: #1f3768;
}

body.trial-page .trial-features-group summary::-webkit-details-marker {
  display: none;
}

body.trial-page .trial-features-group summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: #2a4d95;
  line-height: 1;
}

body.trial-page .trial-features-group[open] summary::after {
  content: "−";
}

body.trial-page .trial-features-list {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

body.trial-page .trial-features-list li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.35rem;
  position: relative;
}

body.trial-page .trial-features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8ff, #eaf3ff);
  border: 1px solid #b8cceb;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4d95' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12.5 9.5 17 19 7.5'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

body.trial-page .trial-features-list strong {
  color: #1f3768;
  font-size: 0.95rem;
  line-height: 1.35;
}

body.trial-page .trial-features-list span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Demo — vídeos da seção demonstração */
body.trial-page .trial-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

body.trial-page .trial-demo-card {
  background: linear-gradient(180deg, #ffffff, #f4f7fc);
  border: 1px solid #d2def1;
  border-radius: 14px;
  overflow: hidden;
  scroll-margin-top: 96px;
  box-shadow: 0 8px 18px rgba(31, 63, 122, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.trial-page .trial-demo-card:hover {
  transform: translateY(-3px);
  border-color: #9eb8e8;
  box-shadow: 0 18px 36px rgba(31, 63, 122, 0.12);
}

body.trial-page .trial-demo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #0f1c33;
  color: #4a6890;
  overflow: hidden;
}

body.trial-page .trial-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #0b1426;
}

body.trial-page .trial-demo-play {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #2a4d95;
  border: 1px solid #c5d8f5;
  box-shadow: 0 14px 28px rgba(31, 63, 122, 0.14);
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.2s ease;
}

body.trial-page .trial-demo-media.is-playing .trial-demo-play,
body.trial-page .trial-demo-media.is-playing .trial-demo-duration {
  opacity: 0;
  pointer-events: none;
}

body.trial-page .trial-demo-card:hover .trial-demo-play {
  transform: scale(1.05);
}

body.trial-page .trial-demo-play svg {
  margin-left: 3px;
}

body.trial-page .trial-demo-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(31, 55, 104, 0.82);
  color: #e2eafb;
  font-size: 0.72rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

body.trial-page .trial-demo-body {
  padding: 0.85rem 0.95rem 1rem;
}

body.trial-page .trial-demo-body h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: #1f3768;
}

body.trial-page .trial-demo-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Oferta — layout horizontal do mock dentro do cta-box */
body.trial-page .cta-box h2 {
  color: #ffffff;
}

/* Badge: não usar <p> dentro do cta-box (`.cta-box p` deixa o texto claro demais) */
body.trial-page .cta-box .trial-cta-badge {
  display: inline-flex;
  margin-bottom: 0.65rem;
  border-color: rgba(162, 193, 248, 0.55);
  background: rgba(27, 72, 156, 0.45);
  color: #d8e8ff;
}

body.trial-page .trial-offer-layout {
  display: grid;
  gap: 1.25rem;
}

body.trial-page .trial-offer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

body.trial-page .trial-offer-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

body.trial-page .trial-offer-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2eafb;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

body.trial-page .trial-offer-trust-item span:first-child {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(143, 214, 127, 0.2);
  color: #8fd67f;
  font-size: 0.85rem;
}

body.trial-page .trial-offer-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
}

body.trial-page .trial-offer-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

body.trial-page .trial-offer-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #e2eafb;
  font-size: 0.95rem;
}

body.trial-page .trial-offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8fd67f;
  font-weight: 800;
}

/* FAQ — 2 colunas */
body.trial-page .trial-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.4rem;
}

body.trial-page .trial-faq details {
  border: 1px solid #d2def1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(31, 63, 122, 0.06);
}

body.trial-page .trial-faq details[open] {
  border-color: #9eb8e8;
  box-shadow: 0 14px 28px rgba(31, 63, 122, 0.1);
}

body.trial-page .trial-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: #1f3768;
}

body.trial-page .trial-faq summary::-webkit-details-marker {
  display: none;
}

body.trial-page .trial-faq summary::after {
  content: "›";
  font-size: 1.2rem;
  color: #2a4d95;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

body.trial-page .trial-faq details[open] summary::after {
  transform: rotate(-90deg);
}

body.trial-page .trial-faq p {
  margin: 0;
  padding: 0 1.1rem 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Footer completo */
body.trial-page .trial-footer {
  padding: 2.5rem 0 1.5rem;
  background: #ffffff;
  border-top: 1px solid #d2def1;
}

body.trial-page .trial-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

body.trial-page .trial-footer-brand img {
  position: static;
  top: auto;
  left: auto;
  height: 52px;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.75rem;
  filter: none;
}

body.trial-page .trial-footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 18rem;
}

body.trial-page .trial-footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1f3768;
}

body.trial-page .trial-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

body.trial-page .trial-footer-col a {
  color: #4a6890;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

body.trial-page .trial-footer-col a:hover {
  color: #2a4d95;
}

body.trial-page .trial-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5edf8;
  color: #5f6f93;
  font-size: 0.85rem;
}

body.trial-page .trial-footer-social {
  display: flex;
  gap: 0.65rem;
}

body.trial-page .trial-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef4fb;
  border: 1px solid #d2def1;
  color: #2a4d95;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
}

body.trial-page .trial-footer-social a:hover {
  background: #e2ecff;
  border-color: #9eb8e8;
}

/* Âncoras + FAB */
body.trial-page .card.is-anchor-highlight,
body.trial-page .trial-demo-card.is-anchor-highlight {
  border-color: #6d95d8 !important;
  box-shadow: 0 0 0 3px rgba(42, 77, 149, 0.2), 0 18px 36px rgba(31, 63, 122, 0.14) !important;
}

body.trial-page .trial-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.42);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

body.trial-page .trial-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.5);
}

@media (max-width: 1100px) {
  body.trial-page .trial-pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.trial-page .trial-pain-visual {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  body.trial-page .trial-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.trial-page .trial-timeline::before {
    display: none;
  }

  body.trial-page .trial-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.trial-page .trial-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.trial-page .trial-kpis,
  body.trial-page .trial-cards-6,
  body.trial-page .trial-timeline,
  body.trial-page .trial-faq,
  body.trial-page .trial-offer-top,
  body.trial-page .trial-offer-trust,
  body.trial-page .trial-pain-grid,
  body.trial-page .trial-demo-grid,
  body.trial-page .trial-footer-grid {
    grid-template-columns: 1fr;
  }

  body.trial-page .trial-fab-label {
    display: none;
  }

  body.trial-page .trial-fab {
    padding: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.trial-page .trial-demo-card,
  body.trial-page .trial-fab,
  body.trial-page .trial-faq summary::after {
    transition: none;
  }
}
