/* Estilos adicionais para a seção de promoções de index.html e para a seção de contato de contato.html */
/* Container */
.secao_contato {
  max-width: 1180px;
  margin: 5rem auto 0 auto;
  padding: 2rem 1.25rem 3rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.02) 0%, rgba(15, 118, 110, 0.05) 100%);
  border-radius: 1.5rem;
}

/* Cabeçalho do formulário */
.cabecalho_formulario {
  text-align: center;
  margin-bottom: 1rem;
}

.cabecalho_titulo {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.cabecalho_subtitulo {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* Formulário */
.form-container {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.lead-form {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.08);
  transition: all 200ms ease;
}

.lead-form:hover {
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.12);
}

/* Campos */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.phone-label {
  display: block;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

/* Input */
.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(15, 118, 110, 0.15);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: Inter, system-ui, sans-serif;
  background-color: #fff;
  transition: all 150ms ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

.form-input:hover:not(:focus) {
  border-color: rgba(15, 118, 110, 0.3);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Telefone agrupado */
.phone-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}

.phone-group {
  display: flex;
  flex-direction: column;
}

.phone-group.flex-1 {
  flex: 1;
}

.phone-ddd {
  max-width: 100%;
  text-align: center;
}

@media (min-width: 480px) {
  .phone-inputs {
    grid-template-columns: minmax(86px, 96px) minmax(0, 1fr);
    gap: 1rem;
  }

  .phone-ddd {
    width: 100%;
  }
}

/* Botão submit */
.submit-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.submit-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.22);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

.form-status {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Botão loading */
.button-text {
  transition: opacity 150ms ease;
}

.submit-button.loading .button-text {
  opacity: 0;
}

.loading-spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 150ms ease;
}

.submit-button.loading .loading-spinner {
  opacity: 1;
}

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

/* Feedback de erro */
.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 150ms ease;
}

.error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-input.error {
  border-color: #ef4444;
  background-color: #fee2e2;
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px #fee2e2;
}

/* Feedback de sucesso */
.success-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  border: 1px solid #10b981;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 300ms ease;
  pointer-events: none;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  animation: successPulse 0.6s ease-out;
}

.microcopy {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

@keyframes successPulse {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}