/* ===== MOBILE FIRST STYLES ===== */
        /* RESET E CONFIGURAÇÕES GERAIS */
        html, body {
            overflow-x: hidden;
            font-size: 14px;
        }
        
        .container {
            padding: 0 15px;
            width: 100%;
        }
        
        @media only screen and (max-width: 980px) {

            
    #hero {
        display: block;
        min-height: 60vh;
        height: auto;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat;
        padding: 0;
    }
    #hero .overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,.15) 0%,
            rgba(0,0,0,.25) 60%,
            rgba(0,0,0,.25) 100%
);
    }

    /* Esconde o conteúdo interno do hero */
    #hero .hero-grid { display: none !important; }

    .hero-copy .big {
        color: #ffffff;  /* cor só no mobile */
    }
    .hero-copy .suffix {
        color: #ffffff;  /* cor só no mobile */
    }

    /* Mostra a nova seção mobile */
    .mobile-only { display: block !important; }

    #hero-content.section.solid {
        background: transparent;
        padding: 15px 0;
    }
    .hero-content-grid { display: grid; gap: 16px; }
    .hero-copy { text-align: center; }
    #hero-content .form {
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
    }
    }
        .hero-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            text-align: center;
        }

        .hero-copy h1 {
            margin: 0 0 10px;
            line-height: 1.1;
        }

        .hero-copy .lead {
            margin: 0 0 15px;
        }
        
        .hero-copy .btn {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
            padding: 16px 24px;
            font-size: 1.1rem;
        }
        
        /* FORMULÁRIO MOBILE */
        .form {
            margin: 0 auto;
            width: 90%;
            max-width: 400px;
            padding: 20px;
            margin-top: 2rem; /* ↓ aumenta espaço entre textos e formulário */
        }

        .form h2 {
            margin: 0 0 15px;
            text-align: center;
        }
        
        .form input {
            padding: 15px;
            font-size: 16px; /* Previne zoom no iOS */
            min-height: 50px;
        }
        
        .form button {
            padding: 16px;
            font-size: 1.1rem;
            min-height: 55px;
        }

        /* REMOVER BOTÃO DA SETA */
        .benefits-arrow,
        .hero-copy .btn-seta {
            display: none !important;
        }

        /* SEÇÃO FRANQUIA INTELLIGENTE */
        .grid-2col {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .left-block {
            text-align: center;
        }
        
        .left-block h2 {
            font-size: clamp(24px, 6vw, 32px);
            line-height: 1.2;
            margin: 20px 0 15px;
        }
        
        .feature-img {
            max-width: 90%;
            margin: 0 auto 20px;
            border-width: 2px;
        }
        
        .bullets-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .bullet2 {
            padding: 20px 15px;
            text-align: left;
        }
        
        .bullet2 .icon {
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        .bullet2 h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }
        
        .bullet2 p {
            font-size: 0.95rem;
            line-height: 1.4;
        }
        
        /* SEÇÃO BENEFÍCIOS MOBILE */
        .benefits-section {
            min-height: auto;
            padding: 40px 0;
            background-position: center center !important;
        }
        
        .benefits-grid {
            grid-template-columns: 1fr;
            gap: 30px;
            text-align: center;
            min-height: auto;
        }
        
        .benefits-image {
            /*min-height: 250px;
            order: 2;*/
            display: none !important; /* COMPLETAMENTE REMOVIDA */
            min-height: 0 !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        .benefits-content {
            order: 1;
            padding: 0;
            align-items: center;
        }
        
        .benefits-content h2 {
            font-size: clamp(26px, 6vw, 34px);
            line-height: 1.2;
            margin-bottom: 25px;
        }
        
        .benefits-items {
            gap: 12px;
            margin-bottom: 25px;
        }
        
        .benefit-box {
            padding: 15px;
            min-height: 60px;
            text-align: left;
            align-items: flex-start;
        }
        
        .benefit-box .benefit-icon {
            margin-right: 12px;
            font-size: 1.3em;
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        .benefits-btn {
            width: 100%;
            max-width: 350px;
            padding: 18px 24px;
            font-size: 1.1rem;
            display: block;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }
        
        /* SEÇÃO MÉTRICAS MOBILE */
        #metricas .stats-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        #metricas .stat {
            padding: 25px 15px;
            min-height: 100px;
        }
        
        #metricas .stat strong {
            font-size: 2.5rem;
            margin-bottom: 8px;
        }
        
        #metricas .feature-img {
            max-width: 90%;
            margin: 30px auto 0;
            order: 2;
        }
        
        #metricas .stats-grid {
            order: 1;
        }
        
        /* SEÇÃO DEPOIMENTOS MOBILE */
        #depoimentos h2 {
            font-size: clamp(32px, 6vw, 48px);
            line-height: 1.3;
            margin-bottom: 30px;
        }
        
        .testi-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 20px;
            max-width: 400px;
            margin: 0 auto 30px;
        }
        
        .testi-grid .depo {
             background: transparent !important;
                padding: 0 !important;
                border-radius: 0 !important;
                box-shadow: none !important;
        }
        
        .testi-grid .thumb.video {
        width: 100%;
        aspect-ratio: 9 / 16; 
        height: auto !important;
        background-position: center;
        background-size: cover; 
        border-radius: 12px;
        margin-bottom: 15px;
        }
        
        .testi-grid h3 {
            color: #00B46D;
            font-size: 1.2rem;
            margin: 10px 0 5px;
        }
        
        .testi-grid p {
            font-size: 0.9rem;
        }
        
        #depoimentos .btn {
            width: 100%;
            max-width: 350px;
            padding: 16px 24px;
        }
        
        /* FOOTER MOBILE */
        .footer {
            padding: 30px 0 20px;
        }
        
        .footer .container.center h2 {
            font-size: clamp(20px, 5vw, 26px);
            line-height: 1.3;
            margin-bottom: 15px;
        }
        
        .footer .container.center p {
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        
        .footer .btn {
            width: 100%;
            max-width: 350px;
            margin: 20px auto;
            padding: 16px 24px;
        }
        
        /* MELHORIAS DE USABILIDADE TOUCH */
        .btn, a.btn {
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            touch-action: manipulation;
        }
        
        input, textarea, select {
            font-size: 16px; /* Previne zoom no iOS */
            touch-action: manipulation;
        }
        
        /* ANIMAÇÕES SUAVES PARA MOBILE */
        .section {
            scroll-margin-top: 20px;
        }
        
        /* OTIMIZAÇÕES DE PERFORMANCE */
        .bg-cover::before {
            background-attachment: scroll !important;
        }

    .testi-grid .thumb.video {
  width: 80%;              /* ocupa 80% da largura da tela */
  max-width: 280px;        /* limite máximo */
  aspect-ratio: 9 / 16; 
  height: auto !important;
  background-position: center;
  background-size: cover; 
  border-radius: 12px;
  margin: 0 auto 15px;     /* centraliza */
}

/* === Desktop-only offsets (evita “vazar” no mobile) === */
@media (min-width: 981px) {
  .hero-copy {
    margin-left: 150px;
    margin-top: 200px;
  }
  .form {
    padding: 60px 54px;
    border-radius: 28px;
    gap: 32px;
    max-width: 600px;
    align-self: start;
    margin-top: 200px;
    margin-left: 10px;
    min-height: 450px;
  }
  /* Garante que a seção mobile alternativa fique escondida no desktop */
  .mobile-only { display: none; }
}

/* === Ajustes coerentes p/ mobile === */
@media only screen and (max-width: 980px) {
  /* Garante a estratégia hero: desktop some, mobile aparece */
  #hero .hero-grid { display: none !important; }
  .mobile-only { display: block !important; }

  /* Hero mobile: sem offsets “gigantes” */
  #hero-content .hero-copy { margin: 0 !important; }
  #hero-content .form { margin: 0 auto !important; width: 90%; max-width: 400px; }

  /* Botões “finais” ocupam largura e ficam após o conteúdo */
  .btn-final,
  a.btn-final,
  button.btn-final {
    display: block !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 16px auto !important;
    align-self: end !important;
  }

  /* Quando o botão estiver DENTRO de um grid, força ficar na linha de baixo e centralizado */
  .btn-central, .btn-centraliza {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: flex end !important;
    margin-top: 12px !important;
  }
   /* transforma a seção metricas em coluna flex */
  #metricas .container {
    display: flex;
    flex-direction: column;
  }

  /* cards das métricas ficam em cima */
  #metricas .stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr; /* 2 colunas lado a lado */
    gap: 15px;
    order: 1;
  }

  /* botão desce pro final da seção */
  #metricas .btn-final,
  #metricas .btn-central,
  #metricas .btn-centraliza {
    order: 2;
    margin-top: 20px;     /* espaço em cima */
    align-self: center;   /* centraliza */
    width: 100%;
    max-width: 350px;
  }
}

  /* Na seção de benefícios, faz o CTA ficar sempre depois dos itens */
  .benefits-grid { grid-auto-flow: row; }
@media only screen and (max-width: 980px) {
  /* A grid da seção de benefícios vira coluna flex */
  .benefits-grid {
    display: flex;             /* sobrescreve grid no mobile */
    flex-direction: column;
    min-height: 100%;          /* garante altura completa */
  }

  /* Conteúdo normal continua em cima */
  .benefits-content {
    order: 1;
  }

  /* Botão sempre vai pro final da seção */
  .benefits-btn {
    order: 2;
    margin-top: auto;          /* cola no fundo do container */
    align-self: center;        /* centraliza horizontalmente */
  }
}

/* ===== Responsividade para iPhone Mockup e Botão ===== */

/* iPhone moldura */
.testi-grid .thumb.video {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 19.5;
  height: auto;
  background: #111 center / cover no-repeat;
  border-radius: 36px;
  border: 3px solid #222;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22), 0 0 0 4px #fff;
  overflow: hidden;
  margin: 0 auto;
  transition: border-radius 0.2s, max-width 0.2s;
}

/* Moldura superior (speaker) e inferior (botão home/face id) */
.testi-grid .thumb.video::before,
.testi-grid .thumb.video::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}
.testi-grid .thumb.video::before {
  top: 10px;
  width: 60px;
  height: 6px;
  background: #444;
  border-radius: 6px;
  opacity: 0.5;
}
.testi-grid .thumb.video::after {
  bottom: 13px;
  width: 38px;
  height: 38px;
  background: #444;
  border-radius: 50%;
  opacity: 0.15;
  animation: shine-iphone 4s linear infinite;
}

/* Simula tela interna — use um <img> ou <video> absoluto dentro */
.testi-grid .thumb.video > .iphone-screen {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: calc(100% - 48px); /* deixa espaço para moldura */
  border-radius: 28px;
  background: transparent;
  z-index: 1;
  overflow: hidden;
}

/* Responsivo para telas pequenas */
@media (max-width: 900px) {
  .testi-grid .thumb.video {
    max-width: 220px;
    border-radius: 26px;
  }
  .testi-grid .thumb.video::before {
    width: 40px;
    height: 5px;
    top: 7px;
  }
  .testi-grid .thumb.video::after {
    width: 26px;
    height: 26px;
    bottom: 8px;
  }
}
@media (max-width: 600px) {
  .testi-grid .thumb.video {
    max-width: 95vw;
    border-radius: 18px;
  }
  .testi-grid .thumb.video::before {
    width: 24px;
    height: 4px;
    top: 4px;
  }
  .testi-grid .thumb.video::after {
    width: 16px;
    height: 16px;
    bottom: 4px;
  }
}

/* Responsividade para o botão */
.btn-final,
a.btn-final,
button.btn-final {
  font-size: 1.18rem !important;
  padding: 0.95rem 1.5rem !important;
  min-height: 48px !important;
  border-radius: 22px !important;
  width: 100%;
  max-width: 350px !important;
  margin: 14px auto !important;
  transition: box-shadow .18s, transform .18s;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 600px) {
  .btn-final,
  a.btn-final,
  button.btn-final {
    font-size: 1rem !important;
    padding: 0.8rem 1rem !important;
    min-height: 40px !important;
    border-radius: 16px !important;
    max-width: 90vw !important;
  }
}
@media (max-width: 400px) {
  .btn-final,
  a.btn-final,
  button.btn-final {
    font-size: 0.95rem !important;
    max-width: 100vw !important;
  }
}

/* Deixa fundo da moldura e dos cards transparente */
.testi-grid .thumb.video,
.testi .thumb.video,
.thumb.video {
  background-color: transparent !important;
}
.testi-grid .thumb.video > .iphone-screen,
.thumb.video > .iphone-screen {
  background-color: transparent !important;
  background-image: none !important;
}
.testi-grid .depo,
.testi-grid .tcard {
  background-color: transparent !important;
}

/* Animação de brilho/reflexo no botão home/face id */
@keyframes shine-iphone {
  0% { opacity: 0.15; }
  50% { opacity: 0.22; }
  100% { opacity: 0.15; }
}