/* main.css: Custom styles for Trevo landing page */

/* Seção de Serviços - Ajuste de posicionamento */
#servicos {
  position: relative;
  padding: 40px 0;
  z-index: 1;
}

/* Ajuste apenas para desktop */
@media (min-width: 1024px) {
  #servicos {
    margin-top: -40px; /* Espaço negativo para sobreposição controlada apenas no desktop */
  }
}

/* Garante que o conteúdo do header não fique escondido atrás do header fixo */
#topo {
  scroll-margin-top: 100px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
}

.card-bg {
  background-color: #B7CCBC;
}

.card-title-color {
  color: #063210; /* azul escuro/neutro para destaque */
}

.card-desc-color {
  color: #3D3D3D;
  opacity: 0.85;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: block;
}

@media (max-width: 639px) {
  .card-last-mobile {
    margin-bottom: 4rem;
  }
}

.icon-float {
  width: 3rem;
  height: 3rem;
  animation: floatY 2.2s ease-in-out infinite alternate;
}
@keyframes floatY {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px); }
}


@media (min-width: 768px) {
  .card-icon {
    width: 4rem;
    height: 4rem;
  }
}

.header-rounded {
  border-bottom-left-radius: 4rem;
  border-bottom-right-radius: 4rem;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Badge Distribuidor Autorizado Serasa */
.badge-serasa {
  border: 1px solid #d1d5db; /* gray-300 */
  background: #f3f4f6; /* gray-100 */
  color: #374151; /* gray-700 */
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 2px 0 rgba(16,24,40,0.03);
}

/* Campos do formulário com fundo #DDDDDD */
.form-card input,
.form-card select,
.form-card textarea {
  background-color: #DDDDDD !important;
}


.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  background-color: #DDDDDD !important;
}

/* Controle total do tamanho da mulher principal */
.img-woman {
  width: 420px;
  max-width: 100%;
  height: auto;
  margin-top: 2.25rem !important; /* mt-5 */
}
@media (min-width: 1024px) {
  .img-woman {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .img-woman {
    width: 500px;
  }
}
@media (min-width: 1024px) {
  .img-woman {
    width: 560px;
  }
}

/* Controle total das imagens flutuantes */
.img-flutuante {
  display: block;
  width: 60%; /* ajuste padrão, edite conforme necessário */
  height: auto;
}

/* Posicionamento individual dos gráficos flutuantes */
.icon1 {
  top: 2rem; left: 3rem;
  z-index: -2;
}
.icon2 {
  top: 10.5rem; right: 2rem;
  z-index: -1;
}

.icon3 {
  bottom: 3rem; right: 1rem;
  z-index: 40;
}

/* Efeito flutuante animado */
@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.icon1 {
  animation: flutuar 3s ease-in-out infinite;
  animation-delay: 0s;
}
.icon2 {
  animation: flutuar 3.2s ease-in-out infinite;
  animation-delay: 0.7s;
}
.icon3 {
  animation: flutuar 3.4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Ajuste responsivo se necessário */
.sobrepor-bloco-verde {
  margin-top: -5rem; /* equivalente a -mt-20 */
  position: relative;
  z-index: 50;
}
@media (max-width: 640px) {
  .icon1 {
    top: 80px !important;
    left: 60px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 5;
  }
  .icon2 {
    top: 210px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 4;
  }
  .icon3 {
    top: 180px !important;
    right: 20px !important;
    left: unset !important;
    z-index: 7;
  }
}

@media (max-width: 1024px) {
  .icon1, .icon2 {
    left: 0 !important;
    right: 0 !important;
  }
  .img-flutuante {
    width: 60px;
    max-width: 80px;
  }
}
