body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  font-size: 1rem; /* 16px padrão */
}

h1,
.h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}
h2,
.h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.3;
}
h3,
.h3 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
}
h4,
.h4 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
}
p,
.p,
li,
label,
input,
select,
textarea {
  font-size: 1rem;
  line-height: 1.6;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 1.5rem;
  }
  h2,
  .h2 {
    font-size: 1.2rem;
  }
  h3,
  .h3 {
    font-size: 1rem;
  }
  h4,
  .h4 {
    font-size: 0.95rem;
  }
  p,
  .p,
  li,
  label,
  input,
  select,
  textarea {
    font-size: 0.95rem;
  }
  .container {
    padding: 16px;
    margin: 8px auto;
  }
  /* Mobile: colocar os QR codes em linha e próximos das margens */
  .qr-code {
    width: 160px !important;
  }
  .qr-row {
    flex-direction: row;
    justify-content: space-between; /* empurra para as laterais */
    align-items: center;
    padding: 0 12px; /* margem interna para manter distância das bordas */
    gap: 0.5rem;
  }
  /* Centraliza conteúdos dos cards em telas pequenas */
    #testimonials .bg-white {
    text-align: center;
  }
  /* centra a linha com avatar + texto */
  #testimonials .bg-white .flex.items-center.mb-6 {
    justify-content: center;
    flex-direction: row;
    gap: 0.5rem;
  }

  /* ajusta margem do avatar quando empilhado */
  #testimonials .bg-white .w-16 {
    margin-right: 0;
    margin-bottom: 0.25rem;
  }

  /* textos dos depoimentos mais confortáveis */
  #testimonials .bg-white p,
  #testimonials .bg-white h4 {
    margin-left: 0;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
  h1,
  .h1 {
    font-size: 1.2rem;
  }
  h2,
  .h2 {
    font-size: 1rem;
  }
  h3,
  .h3 {
    font-size: 0.95rem;
  }
  h4,
  .h4 {
    font-size: 0.9rem;
  }
  p,
  .p,
  li,
  label,
  input,
  select,
  textarea {
    font-size: 0.9rem;
  }
  .container {
    padding: 8px;
    margin: 4px auto;
  }
}

.container {
  max-width: 798px;
  margin: 20px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.sapphire-blue {
  background-color: #0f52ba;
}

.sapphire-blue-text {
  color: #0f52ba;
}

.border-sapphire {
  border-color: #0f52ba;
}

.btn-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 82, 186, 0.2);
}

.btn-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(15, 82, 186, 0.1);
}

.card-hover {
  transition: all 0.3s ease;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* QR codes — tamanho fixo e responsivo sem interferir nas outras imgs */
.qr-code {
  width: 140px;
  height: auto;
  border-radius: 8px;
}

/* Container específico para organizar os QR codes.
   No desktop ficam empilhados (coluna), no mobile ficam em linha próximos às bordas. */
.qr-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}
/* Pequenos aparelhos: reduzir um pouco mais */
@media (max-width: 480px) {
  .qr-code {
    width: 100px;
  }
  .qr-row {
    padding: 0 8px;
    gap: 0.5rem;
  }
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.promo-banner {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* --- Correções para avatares e centralização dos cards (testimonials) --- */

/* Garante que o container do avatar seja exatamente quadrado e não encolha */
#testimonials .w-16 {
  width: 4rem; /* 64px */
  height: 4rem;
  flex-shrink: 0;
  border-radius: 9999px; /* rounded-full */
  overflow: hidden;
}

/* Força a imagem a cobrir totalmente o container (sem deformar) */
#testimonials .w-16 img,
#testimonials img.object-cover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
/* utilitário: se quiser forçar qualquer imagem circular em outro local */
.rounded-circle-img {
  border-radius: 9999px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
