
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #374151;
}
.form-input {
  display: block;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
  transition: border-color 0.2s, box-shadow 0.2s;

}
.form-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: #d4799e;
  box-shadow: 0 0 0 2px #d4799e;
  color: #111 !important;
}
select.form-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

select:focus {
  color: #111 !important;
}


.js-scroll-animation {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transform: translateY(2rem);
}
.js-scroll-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

.anim-fade-in-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-fade-in-right {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-fade-in-up {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-fade-in-left.is-visible,
.anim-fade-in-right.is-visible,
.anim-fade-in-up.is-visible {
  opacity: 1;
  transform: translate(0);
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 10, 10, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}
.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  max-width: 90%;
  width: 56rem;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.4s ease-in-out;
}
.modal-overlay.visible .modal-content {
  transform: scale(1);
}
.modal-close-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #f3f4f6;
  color: #4b5563;
  border: none;
  border-radius: 9999px;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-close-button:hover {
  background-color: #e5e7eb;
}


@media (max-width: 640px) {
  .modal-content {
    width: 95vw;
    max-width: 100vw;
    padding: 0.75rem;
    border-radius: 0.75rem;
    max-height: 90vh;
    overflow-y: auto;
    font-size: 0.875rem;
  }
  .modal-close-button {
    top: 0.5rem;
    right: 0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .modal-content {
    width: 90vw;
    max-width: 100vw;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    box-sizing: border-box;
    max-height: 85vh;
    overflow-y: auto;
  }
  .modal-close-button {
    top: 0.5rem;
    right: 0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) and (max-height: 768px) {
  .modal-content {
    width: 85vw;
    padding: 0.75rem;
    max-height: 95vh;
    overflow: visible;
    font-size: 0.8rem;
  }
  

  .hero-title {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  

  .modal-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .modal-subtitle {
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .modal-plans-container {
    margin-top: 1rem !important;
    gap: 0.75rem !important;
  }
  
  .modal-plan-card {
    padding: 0.75rem !important;
  }
  
  .modal-plan-title {
    font-size: 0.875rem !important;
  }
  
  .modal-plan-price {
    font-size: 2rem !important;
  }
  
  .modal-plan-description {
    font-size: 0.75rem !important;
    margin: 0.5rem 0 !important;
  }
  
  .modal-plan-list {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.25rem !important;
  }
  
  .modal-plan-button {
    margin-top: 0.75rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
  }
}


.logo-white-filter {
  filter: brightness(0) invert(1);
}

#hero-img {
  transition: opacity 0.7s, transform 0.7s;
  opacity: 1;
  transform: translateX(0);
}
#hero-img.fade-out {
  opacity: 0;
  transform: translateX(80px);
}
#hero-img.fade-in {
  opacity: 1;
  transform: translateX(-80px);
}

#hero-anim {
  transition: opacity 0.7s, transform 0.7s;
  opacity: 1;
  transform: translateX(0);
}
#hero-anim.fade-out {
  opacity: 0;
  transform: translateX(80px);
}
#hero-anim.fade-in {
  opacity: 1;
  transform: translateX(0);
}


.navbar-rosa {
  background-color: #d4799e !important;
  box-shadow: 0 2px 8px 0 rgba(212, 121, 158, 0.10);
  transition: background 0.3s, box-shadow 0.3s;
}

#form {
  scroll-margin-top: 220px;
}

input.form-input:-webkit-autofill,
input.form-input:-webkit-autofill:focus,
input.form-input:-webkit-autofill:hover,
input.form-input:-webkit-autofill:active {
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
  color: #111 !important;
}
select.form-input:-webkit-autofill {
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  background-color: #fff !important;
  color: #111 !important;
}
input.form-input,
select.form-input {
  background-color: #fff !important;
  color: #111 !important;
}

/* Estilos customizados para checkboxes quadrados */
.endereco-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  background-color: white;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

.endereco-checkbox:hover {
  border-color: #d4799e;
}

.endereco-checkbox:checked {
  background-color: #d4799e;
  border-color: #d4799e;
}

.endereco-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.3125rem;
  width: 0.375rem;
  height: 0.625rem;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.endereco-checkbox:focus {
  outline: 2px solid #d4799e;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(212, 121, 158, 0.1);
}

/* Container clicável dos endereços */
.endereco-item {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.endereco-item:hover {
  border-color: #d4799e;
  background-color: #fcf8fb;
  box-shadow: 0 1px 3px 0 rgba(212, 121, 158, 0.1);
}

.endereco-item.selected {
  border-color: #d4799e;
  background-color: #fdf2f8;
  box-shadow: 0 1px 3px 0 rgba(212, 121, 158, 0.15);
}

.faq-anim-enter {
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}
.faq-anim-enter-active {
  max-height: 500px;
  opacity: 1;
}
.faq-anim-leave {
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
}
.faq-anim-leave-active {
  max-height: 0;
  opacity: 0;
}