/* =============================================================
   semrush.css — Landing page Semrush (/comprar-semrush)
   Prefixo: sm-
   Paleta: violeta Semrush (#6b3bd6) + laranja (#ff642d) + laranja CTA (#ea7626)
============================================================= */

/* -------------------------------------------------------------
   CHATBOT DE QUALIFICAÇÃO
   Renderizado dentro de .ag-form-wrap após o envio do form.
   Prefixo: sm-chat-  /  sm-msg-  /  sm-reply-
------------------------------------------------------------- */
.sm-chat {
  display: flex;
  flex-direction: column;
  height: 460px;
  font-family: 'Open Sans', sans-serif;
}

/* Cabeçalho do chat */
.sm-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.sm-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6b3bd6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.sm-chat-avatar img {
  width: 26px;
  height: auto;
  filter: brightness(0) invert(1);
}

.sm-chat-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sm-chat-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.sm-chat-status {
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sm-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: sm-pulse 1.8s ease-in-out infinite;
}

@keyframes sm-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* Área de mensagens */
.sm-chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.sm-chat-messages::-webkit-scrollbar { width: 4px; }
.sm-chat-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Mensagem — lado bot (esquerda) */
.sm-msg { display: flex; }
.sm-msg--bot { justify-content: flex-start; }
.sm-msg--user { justify-content: flex-end; }

.sm-msg-bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}

.sm-msg--bot  .sm-msg-bubble { background: #f4f0fb; color: #111; border-bottom-left-radius: 4px; }
.sm-msg--user .sm-msg-bubble { background: #6b3bd6; color: #fff; border-bottom-right-radius: 4px; }

/* Indicador de digitação */
.sm-msg-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.sm-msg-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
  animation: sm-bounce 1.2s ease-in-out infinite;
}

.sm-msg-typing span:nth-child(2) { animation-delay: .2s; }
.sm-msg-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes sm-bounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: .5; }
  40%            { transform: translateY(-6px); opacity: 1;  }
}

/* Quick replies */
.sm-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
}

.sm-reply-btn {
  background: #fff;
  border: 1.5px solid #6b3bd6;
  color: #6b3bd6;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.sm-reply-btn:hover {
  background: #6b3bd6;
  color: #fff;
}
.sm-reply-btn svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Campo de input do chat */
.sm-chat-input-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-shrink: 0;
}

.sm-chat-input-row input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
}

.sm-chat-input-row input:focus { border-color: #6b3bd6; }

#sm-chat-send {
  background: #6b3bd6;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background .2s;
}

#sm-chat-send:hover { background: #5426c0; }

/* CTA final do chat */
.sm-chat-cta { padding: 10px 0 2px; }

/* Validação de e-mail corporativo — mensagem de erro */
.campo-erro {
  display: block;
  font-size: 11px;
  color: #dc3545;
  margin-top: 3px;
  margin-left: 2px;
}

input.erro {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, .15);
}

/* -------------------------------------------------------------
   BOTÃO DE ORÇAMENTO DO HEADER
   Pré-esconde no carregamento (form está visível na tela).
   JS adiciona .hdr-orcamento--show quando form sai da viewport.
   Sem !important aqui → a classe --show (com !important) vence.
------------------------------------------------------------- */
#hdrOrcamentoToggle,
#hdrOrcamentoToggleMob,
.hdr-compact-actions .hdr-orcamento {
    max-width: 0;
    opacity: 0;
    pointer-events: none;
}

/* -------------------------------------------------------------
   CONTAINER — compensa padding:0 global do main.css
   main.css define .container { padding: 0 } globalmente e
   @media(max-width:768px) .container { padding:0; max-width:100% }
   — isso remove qualquer margem lateral no mobile.
   Aqui restauramos o padding e o max-width para as seções da Agisoft.
------------------------------------------------------------- */
.sm-hero          > .container,
.sm-video-bridge  > .container,
.sm-how           > .container,
.sm-products      > .container,
.sm-requirements  > .container,
.sm-cta-blue      > .container,
.sm-precision     > .container,
.sm-why-osb       > .container,
.sm-faq           > .container {
  max-width: 1400px !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
}

@media (max-width: 991px) {
  .sm-hero          > .container,
  .sm-video-bridge  > .container,
  .sm-how           > .container,
  .sm-products      > .container,
  .sm-requirements  > .container,
  .sm-cta-blue      > .container,
  .sm-precision     > .container,
  .sm-why-osb       > .container,
  .sm-faq           > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 575px) {
  .sm-hero          > .container,
  .sm-video-bridge  > .container,
  .sm-how           > .container,
  .sm-products      > .container,
  .sm-requirements  > .container,
  .sm-cta-blue      > .container,
  .sm-precision     > .container,
  .sm-why-osb       > .container,
  .sm-faq           > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 374px) {
  .sm-hero          > .container,
  .sm-video-bridge  > .container,
  .sm-how           > .container,
  .sm-products      > .container,
  .sm-requirements  > .container,
  .sm-cta-blue      > .container,
  .sm-precision     > .container,
  .sm-why-osb       > .container,
  .sm-faq           > .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* -------------------------------------------------------------
   BREADCRUMB
------------------------------------------------------------- */
.sm-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 0 16px;
}

.sm-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.15s;
}

.sm-breadcrumb a:hover { color: #fff; }

.sm-breadcrumb strong {
  color: #fff;
  font-weight: 600;
}

/* -------------------------------------------------------------
   HERO — geral
------------------------------------------------------------- */

/* Garante layout boxed: limita a largura do conteúdo e centraliza */
.sm-hero .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/*
  padding-bottom generoso cria a "cama" azul onde o card de vídeo
  vai pousar com margin-top negativo.
*/
.sm-hero { padding-bottom: 160px; }

.sm-hero-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* -------------------------------------------------------------
   HERO — coluna esquerda
------------------------------------------------------------- */
.sm-hero-left { flex: 1.5; }

.sm-hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sm-hero-logo {
  flex-shrink: 0;
  width: 148px;
  height: 72px;
  background: #fff;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.sm-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sm-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

/* Caixa de descrição — card branco com texto escuro e borda azul esquerda */
.sm-hero-desc-box {
  background: #fff;
  border-radius: 0px;
  padding: 20px 24px;
  margin-bottom: 28px;
  width: 100%;
  border-left: 4px solid #ff642d;
}

.sm-hero-desc-box p {
  font-size: 15px;
  line-height: 1.75;
  color: #222;
  margin: 0;
}

/* Fabricante + Categoria */
.sm-hero-meta {
  display: flex;
  gap: 48px;
  margin-bottom: 28px;
}

.sm-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-meta-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.sm-meta-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.sm-meta-tags {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sm-meta-tags span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* Botão "Conheça mais a Agisoft" — fundo branco, texto azul escuro, pill */
.sm-hero-cta {
  display: inline-block;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 99px;
  padding: 11px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #6b3bd6;
  text-decoration: none;
  transition: background 0.2s;
}

.sm-hero-cta:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #6b3bd6;
}

/* -------------------------------------------------------------
   HERO — coluna direita (formulário sticky)
------------------------------------------------------------- */
.sm-hero-right {
  flex: 0 0 380px;
  width: 380px;
}

.ag-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  position: sticky;
  top: 80px;
  color: #6b3bd6;
}

/* Título do formulário: centralizado e azul */
.ag-form-wrap h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #6b3bd6;
  text-align: center;
}

/* Grupo de campo — sem label, só input com placeholder */
.ag-field {
  margin-bottom: 8px;
}

.ag-form input:not([type="submit"]),
.ag-form textarea,
.ag-form select {
  width: 100%;
  display: block;
  border: 1px solid #d9c9f0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  padding: 9px 12px;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s;
}

.ag-form input:not([type="submit"]):focus,
.ag-form textarea:focus,
.ag-form select:focus {
  outline: none;
  border-color: #6b3bd6;
}

.ag-form input:not([type="submit"])::placeholder,
.ag-form textarea::placeholder {
  color: #aaa;
}


/* Botão laranja de envio */
.ag-btn-submit {
  width: 100%;
  background: #ea7626;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
  transition: background 0.2s;
}

.ag-btn-submit:hover:not(:disabled) { background: #c9601a; }

.ag-btn-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Estado de loading do botão */
.ag-btn-submit.is-loading {
    opacity: 0.85;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Spinner inline */
.ag-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ag-spin 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes ag-spin {
    to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   VÍDEO — card notch (transição hero → conteúdo)
------------------------------------------------------------- */

/*
  TÉCNICA DO ENTALHE:
  ─────────────────────────────────────────────────────
  A <section> com background cobriria o azul do hero ao
  receber margin-top negativo. Por isso usamos um <div>
  SEM fundo (.sm-video-bridge). O div sobe com margin-top
  negativo e, como não tem cor de fundo, o azul do hero
  continua visível atrás do card branco.

  Diagrama:
  ┌─ hero azul (padding-bottom: 160px) ────────────────┐
  │  conteúdo                                           │
  │                                                     │
  │  ┌── card branco (margin-top: -110px) ───────────┐  │ ← card entra 110px
  │  │  iframe YouTube                               │  │   antes do fim do hero
  └──┼───────────────────────────────────────────────┼──┘
     │  (sm-what, fundo branco)                      │
     └───────────────────────────────────────────────┘
  ─────────────────────────────────────────────────────
*/

.sm-video-bridge {
  /* SEM background — herda a transparência para mostrar o azul do hero */
  position: relative;
  z-index: 10;
  margin-top: -110px; /* sobe o div inteiro para dentro do hero */
  padding-bottom: 40px;
}

.sm-video-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13);
  position: relative;
  z-index: 11;
  max-width: 100%;
  box-sizing: border-box;
}

/* Wrapper 16:9 responsivo */
.sm-video-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  box-sizing: border-box;
}

.sm-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;   /* impede o vídeo de estourar o card à direita no mobile */
  border: none;
  display: block;
}

/* -------------------------------------------------------------
   O QUE É — dentro do card branco, abaixo do vídeo
------------------------------------------------------------- */
.sm-what-inner {
  padding-top: 36px;
}

.sm-what-inner h2 {
  font-size: 26px;
  font-weight: 700;
  color: #6b3bd6;
  margin-bottom: 20px;
}

.sm-what-inner p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 14px;
}

.sm-what-inner p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------
   COMO FUNCIONA — GRID DE CARDS
------------------------------------------------------------- */
.sm-how {
  background: #eff4fb;
  padding: 72px 0;
}

.sm-how-title {
  font-size: 24px;
  font-weight: 700;
  color: #6b3bd6;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 48px;
}

.sm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sm-feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 22px;
}

.sm-feature-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1;
}

.sm-feature-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #6b3bd6;
  margin-bottom: 8px;
}

.sm-feature-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

/* -------------------------------------------------------------
   VERSÕES / TABS
------------------------------------------------------------- */
.sm-products {
  background: #fff;
  padding: 64px 0;
}

.sm-tabs-panel {
  background: #170b33;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden; /* impede cards de vazarem pelo border-radius */
}

.sm-tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.sm-tabs-nav {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 8px;
}

.sm-tab-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.sm-tab-btn.active,
.sm-tab-btn:hover {
  background: #6b3bd6;
  color: #fff;
}

.sm-slider-controls {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.sm-slider-arrow {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #fff;
  color: #c0c8d8;
  font-size: 26px;
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  opacity: 0.45;
  pointer-events: none;
}

/* Ativo = há conteúdo para rolar nessa direção */
.sm-slider-arrow.is-active {
  background: #6b3bd6;
  color: #fff;
  border-color: #6b3bd6;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.sm-slider-arrow.is-active:hover {
  background: #5426c0;
  border-color: #5426c0;
}

.sm-tab-content { display: none; }
.sm-tab-content.active { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* Linha inferior: [espaçador flex:1] [CTA centralizado] [setas flex:1 alinhadas à direita] */
.sm-tab-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.sm-tab-bottom-side {
  flex: 1; /* espelha o lado das setas para manter CTA no centro geométrico */
}

.sm-tab-bottom .sm-tab-cta {
  flex: 0 0 auto;
}

.sm-tab-features {
  display: flex;
  justify-content: flex-start; /* center quebra scroll — os cards partem da esquerda */
  gap: 24px;
  width: 100%;          /* garante que não ultrapasse o pai */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

/* Descrição que aparece logo abaixo das abas e acima dos cards */
.sm-tab-description {
  color: rgba(255,255,255,0.95);
  max-width: 930px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

/* Oculta a scrollbar — navegação apenas pelas setas */
.sm-tab-features          { scrollbar-width: none; -ms-overflow-style: none; }
.sm-tab-features::-webkit-scrollbar { display: none; }

.sm-tab-feature {
  flex: 0 0 min(100%, 320px);
  max-width: 360px;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
  scroll-snap-align: start;
  border-left: 4px solid #ff642d;
}

.sm-tab-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #171a2b;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sm-tab-feature p {
  font-size: 14px;
  line-height: 1.75;
  color: #36415c;
  margin: 0;
}

.sm-tab-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 14px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.sm-tab-cta-primary {
  background: #6b3bd6;
  border: 1px solid #6b3bd6;
}

.sm-tab-cta-primary:hover {
  background: #5426c0;
}

/* -------------------------------------------------------------
   REQUISITOS DO SISTEMA
------------------------------------------------------------- */
.sm-requirements {
  background: #f2f6fb;
  padding: 72px 0;
}

.sm-req-card {
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 20px;
  padding: 40px 38px;
  box-shadow: 0 18px 40px rgba(18, 54, 103, 0.06);
}

.sm-requirements h2 {
  font-size: 28px;
  font-weight: 700;
  color: #6b3bd6;
  margin-bottom: 8px;
}

.sm-req-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 40px;
}

.sm-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 32px;
}

.sm-req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sm-req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #6b3bd6;
  border-radius: 50%;
  color: #6b3bd6;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sm-req-item strong {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.5;
}

.sm-req-os-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-top: 28px;
  margin-bottom: 12px;
}

.sm-req-os-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.sm-req-os-list li {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
   CTA: TRANSFORME IMAGENS
------------------------------------------------------------- */
.sm-cta-blue { padding: 72px 0; }

.sm-cta-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.sm-cta-image {
  flex: 0 0 35%;
  min-width: 0;
}

.sm-cta-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.sm-cta-content {
  flex: 1;
}

.sm-cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sm-cta-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.sm-cta-content p:last-of-type {
  margin-bottom: 24px;
}

.sm-cta-action {
  display: flex;
  align-items: center;
}

.sm-cta-action .btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
}

/* -------------------------------------------------------------
   PRECISÃO E EFICIÊNCIA (linhas alternadas texto + imagem)
------------------------------------------------------------- */
.sm-precision {
  background: #fff;
  padding: 72px 0;
}

/* Cada linha: dois painéis lado a lado com espaçamento */
.sm-precision-row {
  display: flex;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.sm-precision-row:last-child { margin-bottom: 0; }

/* ROW invertida: imagem à esquerda, texto à direita */
.sm-precision-row--reverse { flex-direction: row-reverse; }

/* Painel de texto */
.sm-precision-content { flex: 1; }

.sm-precision-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #6b3bd6;
  margin-bottom: 20px;
  line-height: 1.35;
}

.sm-precision-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
}

.sm-precision-content p:last-child { margin-bottom: 0; }

/* Painel de imagem: largura fixa + altura controlada */
.sm-precision-image {
  flex: 0 0 46%;
  border-radius: 12px;
  overflow: hidden;
}

.sm-precision-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Variante ligeiramente menor para a segunda linha */
.sm-precision-image--sm img { height: 280px; }

/* Checklist compartilhado (soluções + why OSB) */
.sm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sm-checklist li {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid rgba(23, 71, 158, 0.1);
  position: relative;
}

.sm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #6b3bd6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='white' d='M11.5 3L5.5 9 2.5 6 1 7.5l4.5 4.5 7.5-7.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Variante branca (sobre fundo azul) */
.sm-checklist--white li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sm-checklist--white li::before {
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='white' d='M11.5 3L5.5 9 2.5 6 1 7.5l4.5 4.5 7.5-7.5z'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------
   POR QUE COMPRAR COM A OSB — fundo cinza claro, texto + imagem
------------------------------------------------------------- */
.sm-why-osb {
  background: #f2f5f9;
  padding: 72px 0;
}

.sm-why-wrap {
  display: flex;
  gap: 56px;
  align-items: center;
}

/* Coluna de texto */
.sm-why-content { flex: 1; }

.sm-why-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #6b3bd6;
  line-height: 1.2;
  margin-bottom: 20px;
}

.sm-why-content > p {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 18px;
}

/* Lista simples com marcadores disc */
.sm-why-body-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 20px;
}

.sm-why-body-list li {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 8px;
}

/* Botão teal */
.sm-why-cta {
  display: inline-block;
  background: #ff642d;
  color: #fff;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sm-why-cta:hover { background: #e0521f; color: #fff; }

/* Coluna de imagem */
.sm-why-image {
  flex: 0 0 42%;
  border-radius: 14px;
  overflow: hidden;
}

.sm-why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* -------------------------------------------------------------
   FAQ
------------------------------------------------------------- */
.sm-faq {
  background: #fff;
  padding: 72px 0;
}

.sm-faq > .container > h2 {
  font-size: 28px;
  font-weight: 700;
  color: #6b3bd6;
  text-align: center;
  margin-bottom: 48px;
}

.sm-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.sm-faq-item {
  border-bottom: 1px solid #dee2e6;
}

.sm-faq-item summary {
  font-size: 14px;
  font-weight: 600;
  color: #6b3bd6;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}

.sm-faq-item summary::-webkit-details-marker { display: none; }

.sm-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  color: #6b3bd6;
  line-height: 1;
  transition: transform 0.2s;
}

.sm-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.sm-faq-item p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  padding-bottom: 16px;
  margin: 0;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1199px) {
  .sm-hero h1    { font-size: 34px; }
  .sm-hero-right { flex: 0 0 340px; width: 340px; }
}

@media (max-width: 991px) {
  /* Reduz o espaço azul e o entalhe no mobile */
  .sm-hero          { padding-bottom: 80px; }
  .sm-video-bridge  { margin-top: -60px; }

  .sm-hero-wrap {
    flex-direction: column;
    gap: 28px;
  }
  .sm-hero-left  { width: 100%; }
  .sm-hero-right {
    width: 100%;
    flex: none;
    order: 0; /* EXPERIMENTAL: formulário DEPOIS do hero no mobile/tablet
                 (ordem natural do DOM: hero → formulário → conteúdo) */
  }
  .ag-form-wrap  { position: static; }
  .sm-hero-meta  { gap: 28px; }

  .sm-what-cols           { grid-template-columns: 1fr; gap: 16px; }
  .sm-feature-grid        { grid-template-columns: 1fr 1fr; }
  .sm-tab-features        { grid-template-columns: 1fr; gap: 20px; }
  .sm-req-grid            { grid-template-columns: 1fr; }
  .sm-cta-inner           { flex-direction: column; gap: 28px; }
  .sm-precision-row       { flex-direction: column; gap: 28px; margin-bottom: 48px; }
  .sm-precision-row--reverse { flex-direction: column; }
  .sm-precision-image     { flex: none; width: 100%; }
  .sm-precision-image img { height: 220px; }
  .sm-precision-image--sm img { height: 220px; }
  .sm-why-wrap            { flex-direction: column; gap: 32px; }
  .sm-why-image           { flex: none; width: 100%; }
  .sm-why-image img       { height: 260px; }
  .sm-faq-grid            { grid-template-columns: 1fr; }
}

/* ─── Tablet portrait ────────────────────────────────────── */
@media (max-width: 767px) {
  /* Seções: reduz padding vertical */
  .sm-how,
  .sm-products,
  .sm-requirements,
  .sm-cta-blue,
  .sm-precision,
  .sm-why-osb,
  .sm-faq           { padding: 48px 0; }

  /* Cards com padding interno generoso */
  .sm-video-card    { padding: 20px; }
  .sm-req-card      { padding: 28px 22px; }
  .sm-tabs-panel    { padding: 22px 18px; }

  /* Botões de tab: mais compactos para caber dois lado a lado */
  .sm-tab-btn       { padding: 9px 16px; font-size: 13px; }

  /* Tab features: card menor em tablet */
  .sm-tab-feature   { padding: 22px 20px; }
}

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 575px) {
  /* Seções: padding vertical reduzido */
  .sm-how,
  .sm-products,
  .sm-requirements,
  .sm-cta-blue,
  .sm-precision,
  .sm-why-osb,
  .sm-faq           { padding: 40px 0; }

  /* Tipografia hero */
  .sm-hero h1       { font-size: 26px; }
  .sm-how-title     { font-size: 18px; }
  .sm-cta-content h2      { font-size: 20px; }
  .sm-precision-content h2{ font-size: 20px; }
  .sm-why-content h2      { font-size: 22px; }
  .sm-faq > .container > h2 { font-size: 22px; }
  .sm-what-inner h2       { font-size: 20px; }

  /* Hero */
  .sm-hero          { padding-bottom: 60px; }
  .sm-hero-brand    { gap: 12px; }
  .sm-hero-logo     { width: 120px; height: 58px; }
  .sm-hero-desc-box { padding: 14px 16px; }
  .sm-hero-meta     { gap: 20px; flex-wrap: wrap; }

  /* Formulário: padding reduzido para não comprimir campos */
  .ag-form-wrap     { padding: 20px 16px; border-radius: 12px; }

  /* Cards de conteúdo */
  .sm-video-card    { padding: 16px; }
  .sm-video-bridge  { margin-top: -44px; }
  .sm-req-card      { padding: 22px 16px; }
  .sm-feature-grid  { grid-template-columns: 1fr; }
  .sm-feature-card  { padding: 20px 16px; }

  /* Tabs panel e botões */
  .sm-tabs-panel    { padding: 18px 14px; border-radius: 20px; }
  .sm-tabs-nav      { gap: 6px; padding: 6px; }
  .sm-tab-btn       { padding: 8px 10px; font-size: 12px; border-radius: 10px; }
  .sm-tab-feature   { padding: 18px 16px; }
  .sm-tab-description { font-size: 14px; }

  /* Requisitos */
  .sm-req-card      { padding: 20px 16px; }
  .sm-requirements h2 { font-size: 22px; }

  /* CTA + Precision + Why + Material */
  .sm-cta-image     { flex: none; width: 100%; }

  /* FAQ */
  .sm-faq-grid      { grid-template-columns: 1fr; }

  /* Chatbot: altura menor + reply buttons podem quebrar linha */
  .sm-chat          { height: auto; min-height: 400px; max-height: 520px; }
  .sm-reply-btn     { white-space: normal; text-align: left; }
}

/* ─── Telas muito pequenas (320px) ──────────────────────── */
@media (max-width: 374px) {
  .sm-hero h1       { font-size: 22px; }
  .ag-form-wrap     { padding: 16px 12px; }
  .sm-video-card    { padding: 12px; }
  .sm-tabs-panel    { padding: 14px 10px; }
  .sm-tab-btn       { padding: 7px 8px; font-size: 11px; }
  .sm-req-card      { padding: 18px 12px; }
  .sm-reply-btn     { font-size: 11px; padding: 5px 10px; }
}

/* =============================================================
   REDESIGN v2 — identidade própria da LP DroneDeploy
   Mantém o esqueleto do molde, mas com visual exclusivo:
   hero animado (mapeamento aéreo), etapas numeradas, ilustrações
   SVG, FAQ em cards e gradientes próprios.
   (Este bloco vem DEPOIS das regras herdadas — a cascata vence.)
============================================================= */

/* ── Scroll suave: CTA do hero rola até o conteúdo ── */
html { scroll-behavior: smooth; }
#sm-conteudo { scroll-margin-top: 90px; }

/* ── HERO Semrush: noite violeta com orbes de luz, matriz de pontos,
      barras de ranking crescendo e widget de tendência (identidade
      própria — nada de grade/varredura/drone do molde DroneDeploy) ── */
.sm-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 85% -10%, rgba(255,100,45,.22), transparent 55%),
    linear-gradient(155deg, #120a1f 0%, #241048 52%, #4c25a8 130%);
}
.sm-hero > .container { position: relative; z-index: 3; }

.sm-hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Orbes de luz desfocadas derivando lentamente */
.sm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  animation: sm-orb-drift 16s ease-in-out infinite;
}
.sm-orb-1 {
  width: 420px; height: 420px;
  top: -140px; left: -120px;
  background: #6b3bd6;
}
.sm-orb-2 {
  width: 340px; height: 340px;
  bottom: -160px; right: 22%;
  background: #ff642d;
  opacity: .3;
  animation-delay: 4s;
  animation-direction: reverse;
}
@keyframes sm-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 30px) scale(1.12); }
}

/* Matriz de pontos (textura de dados, sutil e estática) */
.sm-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 42% 30%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 75% 85% at 42% 30%, #000 0%, transparent 72%);
  opacity: .5;
}

/* Barras de ranking crescendo no rodapé do hero (equalizer de posições) */
.sm-bars {
  position: absolute;
  bottom: 0;
  left: 4%;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 130px;
}
.sm-bars span {
  width: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(to top, rgba(255,100,45,.35), rgba(107,59,214,.15));
  transform-origin: bottom;
  animation: sm-bar-grow 4.2s ease-in-out infinite;
}
.sm-bars span:nth-child(1) { height: 34%; }
.sm-bars span:nth-child(2) { height: 52%; animation-delay: .3s; }
.sm-bars span:nth-child(3) { height: 44%; animation-delay: .6s; }
.sm-bars span:nth-child(4) { height: 68%; animation-delay: .9s; }
.sm-bars span:nth-child(5) { height: 58%; animation-delay: 1.2s; }
.sm-bars span:nth-child(6) { height: 84%; animation-delay: 1.5s; }
.sm-bars span:nth-child(7) { height: 100%; animation-delay: 1.8s;
  background: linear-gradient(to top, rgba(255,100,45,.55), rgba(255,100,45,.12)); }
@keyframes sm-bar-grow {
  0%, 100% { transform: scaleY(.82); }
  50%      { transform: scaleY(1); }
}

/* Widget de tendência: mini-card de dashboard com o gráfico se desenhando */
.sm-trend-wrap {
  position: absolute;
  top: 9%;
  right: 4%;
  width: 290px;
  padding: 16px 16px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.sm-trend-wrap::before {
  /* "barra de título" do widget */
  content: "";
  display: block;
  width: 88px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
  margin-bottom: 12px;
}
.sm-trend-wrap svg { width: 100%; height: auto; display: block; }
.sm-trend-line {
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: sm-trend-draw 4.5s ease-out forwards, sm-trend-glow 3s ease-in-out 4.5s infinite;
}
@keyframes sm-trend-draw { to { stroke-dashoffset: 0; } }
@keyframes sm-trend-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255,100,45,.4)); }
  50%      { filter: drop-shadow(0 0 8px rgba(255,100,45,.8)); }
}

/* Acessibilidade: sem animação para quem prefere movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .sm-orb, .sm-bars span { animation: none; }
  .sm-trend-line { animation: none; stroke-dashoffset: 0; }
}

/* ── Chips de destaque (dentro do card "O que é") ── */
.sm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f4efff;
  color: #5a2fc0;
  border: 1px solid #ded1f6;
  border-radius: 99px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
}

/* ── COMO FUNCIONA: etapas numeradas com hover ── */
.sm-how { background: linear-gradient(180deg, #f7f3ff 0%, #efe8fb 100%); }
.sm-how-title { margin-bottom: 12px; }
.sm-how-sub {
  text-align: center;
  color: #5b6b85;
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 44px;
}
.sm-feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e8e0fa;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(23,26,43,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sm-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(107,59,214,.16);
  border-color: rgba(107,59,214,.35);
}
.sm-feature-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #6b3bd6, #ff642d);
  opacity: 0;
  transition: opacity .25s;
}
.sm-feature-card:hover::after { opacity: 1; }
.sm-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6b3bd6, #ff642d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

/* ── Ilustrações SVG exclusivas ── */
.sm-illus { width: 100%; }
.sm-illus svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(23,11,51,.16);
}
/* containers de imagem não devem cortar a sombra das ilustrações */
.sm-precision-image { overflow: visible; }

/* ── Seções azuis com gradiente próprio ── */
.sm-cta-blue {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #170b33 0%, #4a1fa8 100%);
}
.sm-cta-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='620' viewBox='0 0 900 620' fill='none' stroke='%23ffffff' stroke-width='1.3'%3E%3Cpath d='M0 90 C140 40 260 140 420 96 S700 30 900 92'/%3E%3Cpath d='M0 150 C160 100 300 200 460 150 S740 90 900 150'/%3E%3Cellipse cx='660' cy='500' rx='190' ry='95'/%3E%3Cellipse cx='660' cy='500' rx='140' ry='66'/%3E%3Cellipse cx='660' cy='500' rx='90' ry='40'/%3E%3C/svg%3E");
  background-size: 900px 620px;
  opacity: .07;
  pointer-events: none;
}
.sm-cta-blue > .container { position: relative; }

/* ── Compatibilidade: checks em teal ── */
.sm-req-icon {
  border-color: #ff642d;
  color: #e0521f;
  background: rgba(255,100,45,.08);
}

/* ── FAQ: accordion em cards ── */
.sm-faq { background: #f8f5ff; }
.sm-faq-item {
  background: #fff;
  border: 1px solid #e8e0fa;
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 2px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.sm-faq-item[open] {
  border-color: rgba(107,59,214,.4);
  box-shadow: 0 10px 26px rgba(107,59,214,.08);
}
.sm-faq-item summary { padding: 15px 0; }

/* ── Responsivo do redesign ── */
@media (max-width: 575px) {
  .sm-trend-wrap { display: none; }
  .sm-bars { display: none; }
  .sm-how-sub { font-size: 14px; margin-bottom: 32px; }
}

/* =============================================================
   REDESIGN v3 — prova social + micro-interações
   Badge do hero, faixa de estatísticas com contadores,
   reveal-on-scroll e brilho no CTA.
============================================================= */

/* ── Badge de prova social no hero ── */
.sm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,100,45,.14);
  border: 1px solid rgba(255,100,45,.45);
  color: #ffc9b0;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.sm-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff642d;
  animation: sm-ping 2.4s ease-out infinite;
}

/* ── Faixa de estatísticas (números oficiais) ──
   Título de seção padrão (H2) + subtítulo + painel único com
   barra gradiente, divisórias e contadores animados. */
.sm-stats { background: #fff; padding: 64px 0; }
.sm-stats > .container {
  max-width: 1400px !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
}

.sm-stats-title {
  font-size: 26px;
  font-weight: 700;
  color: #6b3bd6;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 10px;
}
.sm-stats-sub {
  text-align: center;
  color: #5b6b85;
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
}

.sm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(160deg, #f7f3ff, #fff);
  border: 1px solid #e8e0fa;
  border-radius: 20px;
  padding: 40px 22px;
  box-shadow: 0 16px 44px rgba(23,26,43,.07);
  position: relative;
  overflow: hidden;
}
.sm-stats-grid::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6b3bd6, #ff642d);
}
.sm-stat {
  text-align: center;
  padding: 8px 22px;
}
.sm-stat:not(:last-child) { border-right: 1px solid #e8e0fa; }
.sm-stat-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #6b3bd6, #ff642d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.sm-stat-label {
  font-size: 13px;
  color: #5b6b85;
  font-weight: 600;
  line-height: 1.4;
}

/* ── Reveal on scroll (classes aplicadas via JS) ── */
.sm-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.sm-reveal.sm-in {
  opacity: 1;
  transform: translateY(0);
}
/* O hover dos cards precisa vencer o transform do reveal */
.sm-feature-card.sm-in:hover { transform: translateY(-6px); }

/* ── Brilho suave no botão de envio do formulário ── */
.ag-btn-submit:not(:disabled) { animation: sm-glow 2.8s ease-in-out infinite; }
@keyframes sm-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,118,38,0); }
  50%      { box-shadow: 0 6px 24px 2px rgba(234,118,38,.38); }
}

@media (prefers-reduced-motion: reduce) {
  .sm-reveal { opacity: 1; transform: none; transition: none; }
  .sm-badge-dot, .ag-btn-submit:not(:disabled) { animation: none; }
}

/* ── Responsivo da faixa de números ── */
@media (max-width: 991px) {
  .sm-stats { padding: 52px 0; }
  .sm-stats > .container { padding-left: 20px !important; padding-right: 20px !important; }
  .sm-stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 30px 14px;
    row-gap: 30px;
  }
  /* grade 2×2: divisória apenas entre as colunas */
  .sm-stat:not(:last-child) { border-right: none; }
  .sm-stat:nth-child(odd) { border-right: 1px solid #e8e0fa; }
}
@media (max-width: 575px) {
  .sm-stats { padding: 40px 0; }
  .sm-stats > .container { padding-left: 16px !important; padding-right: 16px !important; }
  .sm-stats-title { font-size: 20px; }
  .sm-stats-sub { font-size: 14px; margin-bottom: 28px; }
  .sm-stats-grid { padding: 24px 10px; row-gap: 24px; }
  .sm-stat { padding: 6px 12px; }
  .sm-stat-num { font-size: 32px; }
  .sm-hero-badge { font-size: 12px; padding: 6px 12px; }
}

/* =============================================================
   SEO / SEMÂNTICA v4 — ajustes de estrutura sem mudar o visual
============================================================= */

/* Subtítulo do H1 (mantém 1 único H1 descritivo, mas discreto) */
.sm-h1-sub {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.82);
  margin-top: 8px;
  max-width: 460px;
}

/* Título da seção Soluções (H2 que faltava para a hierarquia) */
.sm-solucoes-title {
  font-size: 24px;
  font-weight: 700;
  color: #6b3bd6;
  text-align: center;
  line-height: 1.35;
  margin-bottom: 32px;
}

/* Cards "Como funciona": H3 com o MESMO visual do antigo <strong> */
.sm-feature-card h3 {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #6b3bd6;
  margin: 0 0 8px;
  line-height: 1.3;
}

@media (max-width: 575px) {
  .sm-h1-sub { font-size: 13px; }
  .sm-solucoes-title { font-size: 19px; margin-bottom: 24px; }
}

/* Âncora do formulário: para abaixo do header fixo (mostra o título do form) */
#sm-form-anchor { scroll-margin-top: 100px; }

/* =============================================================
   SEÇÃO DE PLANOS — exclusiva da LP Semrush (Pro / Guru / Business)
============================================================= */
.sm-plans { background: #fff; padding: 72px 0; }
.sm-plans > .container {
  max-width: 1400px !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
}
.sm-plans-title {
  font-size: 26px;
  font-weight: 700;
  color: #6b3bd6;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 10px;
}
.sm-plans-sub {
  text-align: center;
  color: #5b6b85;
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 40px;
}
.sm-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.sm-plan {
  position: relative;
  background: linear-gradient(160deg, #f7f3ff, #fff);
  border: 1px solid #e8e0fa;
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sm-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(107,59,214,.16);
  border-color: rgba(107,59,214,.35);
}
/* Plano do meio (Guru) em destaque */
.sm-plan--hot {
  border-color: #ff642d;
  box-shadow: 0 14px 40px rgba(255,100,45,.14);
}
.sm-plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #6b3bd6;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.sm-plan--hot .sm-plan-tag { background: #ff642d; }
.sm-plan h3 {
  font-size: 24px;
  font-weight: 800;
  color: #171a2b;
  text-align: center;
  margin: 6px 0 18px;
}
.sm-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}
.sm-plan li {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid rgba(107,59,214,.08);
}
.sm-plan li:last-child { border-bottom: none; }
.sm-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff642d;
  font-weight: 800;
}
.sm-plan-cta {
  display: block;
  text-align: center;
  background: #6b3bd6;
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.sm-plan-cta:hover { background: #5426c0; color: #fff; }
.sm-plan--hot .sm-plan-cta { background: #ff642d; }
.sm-plan--hot .sm-plan-cta:hover { background: #e0521f; }
.sm-plans-note {
  text-align: center;
  font-size: 14px;
  color: #5b6b85;
  margin-top: 28px;
}
.sm-plans-note strong { color: #6b3bd6; }

@media (max-width: 991px) {
  .sm-plans { padding: 52px 0; }
  .sm-plans > .container { padding-left: 20px !important; padding-right: 20px !important; }
  .sm-plans-grid { grid-template-columns: 1fr; gap: 26px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 575px) {
  .sm-plans { padding: 40px 0; }
  .sm-plans > .container { padding-left: 16px !important; padding-right: 16px !important; }
  .sm-plans-title { font-size: 20px; }
  .sm-plans-sub { font-size: 14px; margin-bottom: 32px; }
  .sm-plan { padding: 24px 18px; }
}

/* Tablet: o formulário sobe para o topo — o widget de tendência sairia
   atrás dele; some a partir daqui (as barras ficam até 575px) */
@media (max-width: 991px) {
  .sm-trend-wrap { display: none; }
}
